Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected Optional fieldName

fieldName: undefined | string

Protected Optional matchConditions

matchConditions: matchCondition[]

Protected objectFields

objectFields: ObjectField[]

Protected rootTypes

rootTypes: RootType[] = ['query', 'mutation', 'fragment']

Methods

Protected extractReponseElement

  • extractReponseElement(response: any, key: string, index?: undefined | number): any

Private generateSelectionSet

  • generateSelectionSet(fields: ObjectField[]): SelectionSetNode

matches

  • matches(nodeAndVars: NodeAndVarDefs, parents: ASTNode[]): boolean

rewriteQuery

  • rewriteQuery(nodeAndVarDefs: NodeAndVarDefs): NodeAndVarDefs

rewriteResponse

  • rewriteResponse(response: any, key: string, index?: undefined | number): any

Protected rewriteResponseElement

  • rewriteResponseElement(response: any, newElement: any, key: string, index?: undefined | number): any

rewriteVariables

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc