api documentation for graphql (v0.9.2)

A Query Language and Runtime which can target any service.

table of contents

  1. module graphql
    1. function graphql (schema, requestString, rootValue, contextValue, variableValues, operationName)
    2. function graphql.GraphQLDirective (config)
    3. function graphql.GraphQLEnumType (config)
    4. function graphql.GraphQLError ( // eslint-disable-line no-redeclare message, nodes, source, positions, path, originalError)
    5. function graphql.GraphQLInputObjectType (config)
    6. function graphql.GraphQLInterfaceType (config)
    7. function graphql.GraphQLList (type)
    8. function graphql.GraphQLNonNull (type)
    9. function graphql.GraphQLObjectType (config)
    10. function graphql.GraphQLScalarType (config)
    11. function graphql.GraphQLSchema (config)
    12. function graphql.GraphQLUnionType (config)
    13. function graphql.Source (body, name)
    14. function graphql.TypeInfo (schema, // NOTE: this experimental optional second parameter is only needed in order // to support non-spec-compliant codebases. You should never need to use it. getFieldDefFn)
    15. function graphql.ValidationContext (schema, ast, typeInfo)
    16. function graphql.assertAbstractType (type)
    17. function graphql.assertCompositeType (type)
    18. function graphql.assertInputType (type)
    19. function graphql.assertLeafType (type)
    20. function graphql.assertNamedType (type)
    21. function graphql.assertOutputType (type)
    22. function graphql.assertType (type)
    23. function graphql.assertValidName (name, isIntrospection)
    24. function graphql.astFromValue (value, type)
    25. function graphql.buildASTSchema (ast)
    26. function graphql.buildClientSchema (introspection)
    27. function graphql.buildSchema (source)
    28. function graphql.concatAST (asts)
    29. function graphql.defaultFieldResolver (source, args, context, info)
    30. function graphql.doTypesOverlap (schema, typeA, typeB)
    31. function graphql.execute (schema, document, rootValue, contextValue, variableValues, operationName)
    32. function graphql.extendSchema (schema, documentAST)
    33. function graphql.findBreakingChanges (oldSchema, newSchema)
    34. function graphql.findDeprecatedUsages (schema, ast)
    35. function graphql.formatError (error)
    36. function graphql.getLocation (source, position)
    37. function graphql.getNamedType (type)
    38. function graphql.getNullableType (type)
    39. function graphql.getOperationAST (documentAST, operationName)
    40. function graphql.isAbstractType (type)
    41. function graphql.isCompositeType (type)
    42. function graphql.isEqualType (typeA, typeB)
    43. function graphql.isInputType (type)
    44. function graphql.isLeafType (type)
    45. function graphql.isNamedType (type)
    46. function graphql.isOutputType (type)
    47. function graphql.isType (type)
    48. function graphql.isTypeSubTypeOf (schema, maybeSubType, superType)
    49. function graphql.isValidJSValue (value, type)
    50. function graphql.isValidLiteralValue (type, valueNode)
    51. function graphql.parse (source, options)
    52. function graphql.parseType (source, options)
    53. function graphql.parseValue (source, options)
    54. function graphql.print (ast)
    55. function graphql.printSchema (schema)
    56. function graphql.printType (type)
    57. function graphql.responsePathAsArray (path)
    58. function graphql.separateOperations (documentAST)
    59. function graphql.typeFromAST (schema, typeNode)
    60. function graphql.validate (schema, ast, rules)
    61. function graphql.valueFromAST (valueNode, type, variables)
    62. function graphql.visit (root, visitor, keyMap)
    63. function graphql.visitInParallel (visitors)
    64. function graphql.visitWithTypeInfo (typeInfo, visitor)
    65. object graphql.BREAK
    66. object graphql.DirectiveLocation
    67. object graphql.GraphQLBoolean
    68. object graphql.GraphQLDeprecatedDirective
    69. object graphql.GraphQLEnumType.prototype
    70. object graphql.GraphQLFloat
    71. object graphql.GraphQLID
    72. object graphql.GraphQLIncludeDirective
    73. object graphql.GraphQLInputObjectType.prototype
    74. object graphql.GraphQLInt
    75. object graphql.GraphQLInterfaceType.prototype
    76. object graphql.GraphQLList.prototype
    77. object graphql.GraphQLNonNull.prototype
    78. object graphql.GraphQLObjectType.prototype
    79. object graphql.GraphQLScalarType.prototype
    80. object graphql.GraphQLSchema.prototype
    81. object graphql.GraphQLSkipDirective
    82. object graphql.GraphQLString
    83. object graphql.GraphQLUnionType.prototype
    84. object graphql.Kind
    85. object graphql.SchemaMetaFieldDef
    86. object graphql.TokenKind
    87. object graphql.TypeInfo.prototype
    88. object graphql.TypeKind
    89. object graphql.TypeMetaFieldDef
    90. object graphql.TypeNameMetaFieldDef
    91. object graphql.ValidationContext.prototype
    92. object graphql.__Directive
    93. object graphql.__DirectiveLocation
    94. object graphql.__EnumValue
    95. object graphql.__Field
    96. object graphql.__InputValue
    97. object graphql.__Schema
    98. object graphql.__Type
    99. object graphql.__TypeKind
    100. object graphql.definition
    101. object graphql.directives
    102. object graphql.find
    103. object graphql.invariant
    104. object graphql.isInvalid
    105. object graphql.isNullish
    106. object graphql.keyMap
    107. object graphql.keyValMap
    108. object graphql.lexer
    109. object graphql.locatedError
    110. object graphql.location
    111. object graphql.parser
    112. object graphql.printer
    113. object graphql.quotedOrList
    114. object graphql.schema
    115. object graphql.schemaPrinter
    116. object graphql.source
    117. object graphql.specifiedDirectives
    118. object graphql.specifiedRules
    119. object graphql.suggestionList
    120. object graphql.syntaxError
    121. object graphql.typeComparators
    122. object graphql.values
    123. object graphql.visitor
    124. string graphql.DEFAULT_DEPRECATION_REASON
    125. string graphql.introspectionQuery
  2. module graphql.GraphQLEnumType
    1. function graphql.GraphQLEnumType (config)
  3. module graphql.GraphQLEnumType.prototype
    1. function graphql.GraphQLEnumType.prototype._getNameLookup ()
    2. function graphql.GraphQLEnumType.prototype._getValueLookup ()
    3. function graphql.GraphQLEnumType.prototype.getValue (name)
    4. function graphql.GraphQLEnumType.prototype.getValues ()
    5. function graphql.GraphQLEnumType.prototype.inspect ()
    6. function graphql.GraphQLEnumType.prototype.parseLiteral (valueNode)
    7. function graphql.GraphQLEnumType.prototype.parseValue (value)
    8. function graphql.GraphQLEnumType.prototype.serialize (value)
    9. function graphql.GraphQLEnumType.prototype.toJSON ()
    10. function graphql.GraphQLEnumType.prototype.toString ()
  4. module graphql.GraphQLError
    1. function graphql.GraphQLError ( // eslint-disable-line no-redeclare message, nodes, source, positions, path, originalError)
  5. module graphql.GraphQLInputObjectType
    1. function graphql.GraphQLInputObjectType (config)
  6. module graphql.GraphQLInputObjectType.prototype
    1. function graphql.GraphQLInputObjectType.prototype._defineFieldMap ()
    2. function graphql.GraphQLInputObjectType.prototype.getFields ()
    3. function graphql.GraphQLInputObjectType.prototype.inspect ()
    4. function graphql.GraphQLInputObjectType.prototype.toJSON ()
    5. function graphql.GraphQLInputObjectType.prototype.toString ()
  7. module graphql.GraphQLInterfaceType
    1. function graphql.GraphQLInterfaceType (config)
  8. module graphql.GraphQLInterfaceType.prototype
    1. function graphql.GraphQLInterfaceType.prototype.getFields ()
    2. function graphql.GraphQLInterfaceType.prototype.inspect ()
    3. function graphql.GraphQLInterfaceType.prototype.toJSON ()
    4. function graphql.GraphQLInterfaceType.prototype.toString ()
  9. module graphql.GraphQLList
    1. function graphql.GraphQLList (type)
  10. module graphql.GraphQLList.prototype
    1. function graphql.GraphQLList.prototype.inspect ()
    2. function graphql.GraphQLList.prototype.toJSON ()
    3. function graphql.GraphQLList.prototype.toString ()
  11. module graphql.GraphQLNonNull
    1. function graphql.GraphQLNonNull (type)
  12. module graphql.GraphQLNonNull.prototype
    1. function graphql.GraphQLNonNull.prototype.inspect ()
    2. function graphql.GraphQLNonNull.prototype.toJSON ()
    3. function graphql.GraphQLNonNull.prototype.toString ()
  13. module graphql.GraphQLObjectType
    1. function graphql.GraphQLObjectType (config)
  14. module graphql.GraphQLObjectType.prototype
    1. function graphql.GraphQLObjectType.prototype.getFields ()
    2. function graphql.GraphQLObjectType.prototype.getInterfaces ()
    3. function graphql.GraphQLObjectType.prototype.inspect ()
    4. function graphql.GraphQLObjectType.prototype.toJSON ()
    5. function graphql.GraphQLObjectType.prototype.toString ()
  15. module graphql.GraphQLScalarType
    1. function graphql.GraphQLScalarType (config)
  16. module graphql.GraphQLScalarType.prototype
    1. function graphql.GraphQLScalarType.prototype.inspect ()
    2. function graphql.GraphQLScalarType.prototype.parseLiteral (valueNode)
    3. function graphql.GraphQLScalarType.prototype.parseValue (value)
    4. function graphql.GraphQLScalarType.prototype.serialize (value)
    5. function graphql.GraphQLScalarType.prototype.toJSON ()
    6. function graphql.GraphQLScalarType.prototype.toString ()
  17. module graphql.GraphQLSchema
    1. function graphql.GraphQLSchema (config)
  18. module graphql.GraphQLSchema.prototype
    1. function graphql.GraphQLSchema.prototype.getDirective (name)
    2. function graphql.GraphQLSchema.prototype.getDirectives ()
    3. function graphql.GraphQLSchema.prototype.getMutationType ()
    4. function graphql.GraphQLSchema.prototype.getPossibleTypes (abstractType)
    5. function graphql.GraphQLSchema.prototype.getQueryType ()
    6. function graphql.GraphQLSchema.prototype.getSubscriptionType ()
    7. function graphql.GraphQLSchema.prototype.getType (name)
    8. function graphql.GraphQLSchema.prototype.getTypeMap ()
    9. function graphql.GraphQLSchema.prototype.isPossibleType (abstractType, possibleType)
  19. module graphql.GraphQLUnionType
    1. function graphql.GraphQLUnionType (config)
  20. module graphql.GraphQLUnionType.prototype
    1. function graphql.GraphQLUnionType.prototype.getTypes ()
    2. function graphql.GraphQLUnionType.prototype.inspect ()
    3. function graphql.GraphQLUnionType.prototype.toJSON ()
    4. function graphql.GraphQLUnionType.prototype.toString ()
  21. module graphql.SchemaMetaFieldDef
    1. function graphql.SchemaMetaFieldDef.resolve (source, args, context, _ref4)
    2. object graphql.SchemaMetaFieldDef.args
    3. object graphql.SchemaMetaFieldDef.type
    4. string graphql.SchemaMetaFieldDef.description
    5. string graphql.SchemaMetaFieldDef.name
  22. module graphql.TypeInfo
    1. function graphql.TypeInfo (schema, // NOTE: this experimental optional second parameter is only needed in order // to support non-spec-compliant codebases. You should never need to use it. getFieldDefFn)
  23. module graphql.TypeInfo.prototype
    1. function graphql.TypeInfo.prototype.enter (node)
    2. function graphql.TypeInfo.prototype.getArgument ()
    3. function graphql.TypeInfo.prototype.getDirective ()
    4. function graphql.TypeInfo.prototype.getEnumValue ()
    5. function graphql.TypeInfo.prototype.getFieldDef ()
    6. function graphql.TypeInfo.prototype.getInputType ()
    7. function graphql.TypeInfo.prototype.getParentType ()
    8. function graphql.TypeInfo.prototype.getType ()
    9. function graphql.TypeInfo.prototype.leave (node)
  24. module graphql.TypeMetaFieldDef
    1. function graphql.TypeMetaFieldDef.resolve (source, _ref5, context, _ref6)
    2. object graphql.TypeMetaFieldDef.args
    3. object graphql.TypeMetaFieldDef.type
    4. string graphql.TypeMetaFieldDef.description
    5. string graphql.TypeMetaFieldDef.name
  25. module graphql.TypeNameMetaFieldDef
    1. function graphql.TypeNameMetaFieldDef.resolve (source, args, context, _ref7)
    2. object graphql.TypeNameMetaFieldDef.args
    3. object graphql.TypeNameMetaFieldDef.type
    4. string graphql.TypeNameMetaFieldDef.description
    5. string graphql.TypeNameMetaFieldDef.name
  26. module graphql.ValidationContext
    1. function graphql.ValidationContext (schema, ast, typeInfo)
  27. module graphql.ValidationContext.prototype
    1. function graphql.ValidationContext.prototype.getArgument ()
    2. function graphql.ValidationContext.prototype.getDirective ()
    3. function graphql.ValidationContext.prototype.getDocument ()
    4. function graphql.ValidationContext.prototype.getErrors ()
    5. function graphql.ValidationContext.prototype.getFieldDef ()
    6. function graphql.ValidationContext.prototype.getFragment (name)
    7. function graphql.ValidationContext.prototype.getFragmentSpreads (node)
    8. function graphql.ValidationContext.prototype.getInputType ()
    9. function graphql.ValidationContext.prototype.getParentType ()
    10. function graphql.ValidationContext.prototype.getRecursiveVariableUsages (operation)
    11. function graphql.ValidationContext.prototype.getRecursivelyReferencedFragments (operation)
    12. function graphql.ValidationContext.prototype.getSchema ()
    13. function graphql.ValidationContext.prototype.getType ()
    14. function graphql.ValidationContext.prototype.getVariableUsages (node)
    15. function graphql.ValidationContext.prototype.reportError (error)
  28. module graphql.assertValidName
    1. function graphql.assertValidName (name, isIntrospection)
    2. function graphql.assertValidName.formatWarning (error)
  29. module graphql.astFromValue
    1. function graphql.astFromValue (value, type)
  30. module graphql.buildASTSchema
    1. function graphql.buildASTSchema (ast)
    2. function graphql.buildASTSchema.buildSchema (source)
    3. function graphql.buildASTSchema.getDeprecationReason (directives)
    4. function graphql.buildASTSchema.getDescription (node)
  31. module graphql.buildClientSchema
    1. function graphql.buildClientSchema (introspection)
  32. module graphql.concatAST
    1. function graphql.concatAST (asts)
  33. module graphql.definition
    1. function graphql.definition.GraphQLEnumType (config)
    2. function graphql.definition.GraphQLInputObjectType (config)
    3. function graphql.definition.GraphQLInterfaceType (config)
    4. function graphql.definition.GraphQLList (type)
    5. function graphql.definition.GraphQLNonNull (type)
    6. function graphql.definition.GraphQLObjectType (config)
    7. function graphql.definition.GraphQLScalarType (config)
    8. function graphql.definition.GraphQLUnionType (config)
    9. function graphql.definition.assertAbstractType (type)
    10. function graphql.definition.assertCompositeType (type)
    11. function graphql.definition.assertInputType (type)
    12. function graphql.definition.assertLeafType (type)
    13. function graphql.definition.assertNamedType (type)
    14. function graphql.definition.assertOutputType (type)
    15. function graphql.definition.assertType (type)
    16. function graphql.definition.getNamedType (type)
    17. function graphql.definition.getNullableType (type)
    18. function graphql.definition.isAbstractType (type)
    19. function graphql.definition.isCompositeType (type)
    20. function graphql.definition.isInputType (type)
    21. function graphql.definition.isLeafType (type)
    22. function graphql.definition.isNamedType (type)
    23. function graphql.definition.isOutputType (type)
    24. function graphql.definition.isType (type)
  34. module graphql.directives
    1. function graphql.directives.GraphQLDirective (config)
    2. object graphql.directives.DirectiveLocation
    3. object graphql.directives.GraphQLDeprecatedDirective
    4. object graphql.directives.GraphQLIncludeDirective
    5. object graphql.directives.GraphQLSkipDirective
    6. object graphql.directives.specifiedDirectives
    7. string graphql.directives.DEFAULT_DEPRECATION_REASON
  35. module graphql.execute
    1. function graphql.execute (schema, document, rootValue, contextValue, variableValues, operationName)
    2. function graphql.execute.defaultFieldResolver (source, args, context, info)
    3. function graphql.execute.responsePathAsArray (path)
  36. module graphql.extendSchema
    1. function graphql.extendSchema (schema, documentAST)
  37. module graphql.find
    1. function graphql.find.default (list, predicate)
  38. module graphql.findBreakingChanges
    1. function graphql.findBreakingChanges (oldSchema, newSchema)
    2. function graphql.findBreakingChanges.findArgChanges (oldSchema, newSchema)
    3. function graphql.findBreakingChanges.findDangerousChanges (oldSchema, newSchema)
    4. function graphql.findBreakingChanges.findFieldsThatChangedType (oldSchema, newSchema)
    5. function graphql.findBreakingChanges.findRemovedTypes (oldSchema, newSchema)
    6. function graphql.findBreakingChanges.findTypesRemovedFromUnions (oldSchema, newSchema)
    7. function graphql.findBreakingChanges.findTypesThatChangedKind (oldSchema, newSchema)
    8. function graphql.findBreakingChanges.findValuesRemovedFromEnums (oldSchema, newSchema)
    9. object graphql.findBreakingChanges.BreakingChangeType
    10. object graphql.findBreakingChanges.DangerousChangeType
  39. module graphql.findDeprecatedUsages
    1. function graphql.findDeprecatedUsages (schema, ast)
  40. module graphql.formatError
    1. function graphql.formatError (error)
  41. module graphql.getOperationAST
    1. function graphql.getOperationAST (documentAST, operationName)
  42. module graphql.graphql
    1. function graphql.graphql (schema, requestString, rootValue, contextValue, variableValues, operationName)
  43. module graphql.invariant
    1. function graphql.invariant.default (condition, message)
  44. module graphql.isInvalid
    1. function graphql.isInvalid.default (value)
  45. module graphql.isNullish
    1. function graphql.isNullish.default (value)
  46. module graphql.isValidJSValue
    1. function graphql.isValidJSValue (value, type)
  47. module graphql.isValidLiteralValue
    1. function graphql.isValidLiteralValue (type, valueNode)
  48. module graphql.keyMap
    1. function graphql.keyMap.default (list, keyFn)
  49. module graphql.keyValMap
    1. function graphql.keyValMap.default (list, keyFn, valFn)
  50. module graphql.lexer
    1. function graphql.lexer.createLexer (source, options)
    2. function graphql.lexer.getTokenDesc (token)
    3. object graphql.lexer.TokenKind
  51. module graphql.locatedError
    1. function graphql.locatedError (originalError, nodes, path)
  52. module graphql.location
    1. function graphql.location.getLocation (source, position)
  53. module graphql.parser
    1. function graphql.parser.parse (source, options)
    2. function graphql.parser.parseConstValue (lexer)
    3. function graphql.parser.parseNamedType (lexer)
    4. function graphql.parser.parseType (source, options)
    5. function graphql.parser.parseTypeReference (lexer)
    6. function graphql.parser.parseValue (source, options)
  54. module graphql.printer
    1. function graphql.printer.print (ast)
  55. module graphql.quotedOrList
    1. function graphql.quotedOrList.default (items)
  56. module graphql.schema
    1. function graphql.schema.GraphQLSchema (config)
  57. module graphql.schemaPrinter
    1. function graphql.schemaPrinter.printIntrospectionSchema (schema)
    2. function graphql.schemaPrinter.printSchema (schema)
    3. function graphql.schemaPrinter.printType (type)
  58. module graphql.separateOperations
    1. function graphql.separateOperations (documentAST)
  59. module graphql.source
    1. function graphql.source.Source (body, name)
  60. module graphql.specifiedRules
    1. function graphql.specifiedRules.0 (context)
    2. function graphql.specifiedRules.1 (context)
    3. function graphql.specifiedRules.10 (context)
    4. function graphql.specifiedRules.11 (context)
    5. function graphql.specifiedRules.12 (context)
    6. function graphql.specifiedRules.13 (context)
    7. function graphql.specifiedRules.14 (context)
    8. function graphql.specifiedRules.15 (context)
    9. function graphql.specifiedRules.16 (context)
    10. function graphql.specifiedRules.17 (context)
    11. function graphql.specifiedRules.18 (context)
    12. function graphql.specifiedRules.19 (context)
    13. function graphql.specifiedRules.2 (context)
    14. function graphql.specifiedRules.20 (context)
    15. function graphql.specifiedRules.21 (context)
    16. function graphql.specifiedRules.22 (context)
    17. function graphql.specifiedRules.23 (context)
    18. function graphql.specifiedRules.24 (context)
    19. function graphql.specifiedRules.3 (context)
    20. function graphql.specifiedRules.4 (context)
    21. function graphql.specifiedRules.5 (context)
    22. function graphql.specifiedRules.6 (context)
    23. function graphql.specifiedRules.7 (context)
    24. function graphql.specifiedRules.8 (context)
    25. function graphql.specifiedRules.9 (context)
  61. module graphql.suggestionList
    1. function graphql.suggestionList.default (input, options)
  62. module graphql.syntaxError
    1. function graphql.syntaxError (source, position, description)
  63. module graphql.typeComparators
    1. function graphql.typeComparators.doTypesOverlap (schema, typeA, typeB)
    2. function graphql.typeComparators.isEqualType (typeA, typeB)
    3. function graphql.typeComparators.isTypeSubTypeOf (schema, maybeSubType, superType)
  64. module graphql.typeFromAST
    1. function graphql.typeFromAST (schema, typeNode)
  65. module graphql.validate
    1. function graphql.validate (schema, ast, rules)
    2. function graphql.validate.ValidationContext (schema, ast, typeInfo)
    3. function graphql.validate.visitUsingRules (schema, typeInfo, documentAST, rules)
  66. module graphql.valueFromAST
    1. function graphql.valueFromAST (valueNode, type, variables)
  67. module graphql.values
    1. function graphql.values.getArgumentValues (def, node, variableValues)
    2. function graphql.values.getVariableValues (schema, varDefNodes, inputs)
  68. module graphql.visitor
    1. function graphql.visitor.visit (root, visitor, keyMap)
    2. function graphql.visitor.visitInParallel (visitors)
    3. function graphql.visitor.visitWithTypeInfo (typeInfo, visitor)
    4. object graphql.visitor.BREAK
    5. object graphql.visitor.QueryDocumentKeys

module graphql

function graphql (schema, requestString, rootValue, contextValue, variableValues, operationName)

function graphql.GraphQLDirective (config)

function graphql.GraphQLEnumType (config)

function graphql.GraphQLError ( // eslint-disable-line no-redeclare message, nodes, source, positions, path, originalError)

function graphql.GraphQLInputObjectType (config)

function graphql.GraphQLInterfaceType (config)

function graphql.GraphQLList (type)

function graphql.GraphQLNonNull (type)

function graphql.GraphQLObjectType (config)

function graphql.GraphQLScalarType (config)

function graphql.GraphQLSchema (config)

function graphql.GraphQLUnionType (config)

function graphql.Source (body, name)

function graphql.TypeInfo (schema, // NOTE: this experimental optional second parameter is only needed in order // to support non-spec-compliant codebases. You should never need to use it. getFieldDefFn)

function graphql.ValidationContext (schema, ast, typeInfo)

function graphql.assertAbstractType (type)

function graphql.assertCompositeType (type)

function graphql.assertInputType (type)

function graphql.assertLeafType (type)

function graphql.assertNamedType (type)

function graphql.assertOutputType (type)

function graphql.assertType (type)

function graphql.assertValidName (name, isIntrospection)

function graphql.astFromValue (value, type)

function graphql.buildASTSchema (ast)

function graphql.buildClientSchema (introspection)

function graphql.buildSchema (source)

function graphql.concatAST (asts)

function graphql.defaultFieldResolver (source, args, context, info)

function graphql.doTypesOverlap (schema, typeA, typeB)

function graphql.execute (schema, document, rootValue, contextValue, variableValues, operationName)

function graphql.extendSchema (schema, documentAST)

function graphql.findBreakingChanges (oldSchema, newSchema)

function graphql.findDeprecatedUsages (schema, ast)

function graphql.formatError (error)

function graphql.getLocation (source, position)

function graphql.getNamedType (type)

function graphql.getNullableType (type)

function graphql.getOperationAST (documentAST, operationName)

function graphql.isAbstractType (type)

function graphql.isCompositeType (type)

function graphql.isEqualType (typeA, typeB)

function graphql.isInputType (type)

function graphql.isLeafType (type)

function graphql.isNamedType (type)

function graphql.isOutputType (type)

function graphql.isType (type)

function graphql.isTypeSubTypeOf (schema, maybeSubType, superType)

function graphql.isValidJSValue (value, type)

function graphql.isValidLiteralValue (type, valueNode)

function graphql.parse (source, options)

function graphql.parseType (source, options)

function graphql.parseValue (source, options)

function graphql.print (ast)

function graphql.printSchema (schema)

function graphql.printType (type)

function graphql.responsePathAsArray (path)

function graphql.separateOperations (documentAST)

function graphql.typeFromAST (schema, typeNode)

function graphql.validate (schema, ast, rules)

function graphql.valueFromAST (valueNode, type, variables)

function graphql.visit (root, visitor, keyMap)

function graphql.visitInParallel (visitors)

function graphql.visitWithTypeInfo (typeInfo, visitor)

module graphql.GraphQLEnumType

function graphql.GraphQLEnumType (config)

module graphql.GraphQLEnumType.prototype

function graphql.GraphQLEnumType.prototype._getNameLookup ()

function graphql.GraphQLEnumType.prototype._getValueLookup ()

function graphql.GraphQLEnumType.prototype.getValue (name)

function graphql.GraphQLEnumType.prototype.getValues ()

function graphql.GraphQLEnumType.prototype.inspect ()

function graphql.GraphQLEnumType.prototype.parseLiteral (valueNode)

function graphql.GraphQLEnumType.prototype.parseValue (value)

function graphql.GraphQLEnumType.prototype.serialize (value)

function graphql.GraphQLEnumType.prototype.toJSON ()

function graphql.GraphQLEnumType.prototype.toString ()

module graphql.GraphQLError

function graphql.GraphQLError ( // eslint-disable-line no-redeclare message, nodes, source, positions, path, originalError)

module graphql.GraphQLInputObjectType

function graphql.GraphQLInputObjectType (config)

module graphql.GraphQLInputObjectType.prototype

function graphql.GraphQLInputObjectType.prototype._defineFieldMap ()

function graphql.GraphQLInputObjectType.prototype.getFields ()

function graphql.GraphQLInputObjectType.prototype.inspect ()

function graphql.GraphQLInputObjectType.prototype.toJSON ()

function graphql.GraphQLInputObjectType.prototype.toString ()

module graphql.GraphQLInterfaceType

function graphql.GraphQLInterfaceType (config)

module graphql.GraphQLInterfaceType.prototype

function graphql.GraphQLInterfaceType.prototype.getFields ()

function graphql.GraphQLInterfaceType.prototype.inspect ()

function graphql.GraphQLInterfaceType.prototype.toJSON ()

function graphql.GraphQLInterfaceType.prototype.toString ()

module graphql.GraphQLList

function graphql.GraphQLList (type)

module graphql.GraphQLList.prototype

function graphql.GraphQLList.prototype.inspect ()

function graphql.GraphQLList.prototype.toJSON ()

function graphql.GraphQLList.prototype.toString ()

module graphql.GraphQLNonNull

function graphql.GraphQLNonNull (type)

module graphql.GraphQLNonNull.prototype

function graphql.GraphQLNonNull.prototype.inspect ()

function graphql.GraphQLNonNull.prototype.toJSON ()

function graphql.GraphQLNonNull.prototype.toString ()

module graphql.GraphQLObjectType

function graphql.GraphQLObjectType (config)

module graphql.GraphQLObjectType.prototype

function graphql.GraphQLObjectType.prototype.getFields ()

function graphql.GraphQLObjectType.prototype.getInterfaces ()

function graphql.GraphQLObjectType.prototype.inspect ()

function graphql.GraphQLObjectType.prototype.toJSON ()

function graphql.GraphQLObjectType.prototype.toString ()

module graphql.GraphQLScalarType

function graphql.GraphQLScalarType (config)

module graphql.GraphQLScalarType.prototype

function graphql.GraphQLScalarType.prototype.inspect ()

function graphql.GraphQLScalarType.prototype.parseLiteral (valueNode)

function graphql.GraphQLScalarType.prototype.parseValue (value)

function graphql.GraphQLScalarType.prototype.serialize (value)

function graphql.GraphQLScalarType.prototype.toJSON ()

function graphql.GraphQLScalarType.prototype.toString ()

module graphql.GraphQLSchema

function graphql.GraphQLSchema (config)

module graphql.GraphQLSchema.prototype

function graphql.GraphQLSchema.prototype.getDirective (name)

function graphql.GraphQLSchema.prototype.getDirectives ()

function graphql.GraphQLSchema.prototype.getMutationType ()

function graphql.GraphQLSchema.prototype.getPossibleTypes (abstractType)

function graphql.GraphQLSchema.prototype.getQueryType ()

function graphql.GraphQLSchema.prototype.getSubscriptionType ()

function graphql.GraphQLSchema.prototype.getType (name)

function graphql.GraphQLSchema.prototype.getTypeMap ()

function graphql.GraphQLSchema.prototype.isPossibleType (abstractType, possibleType)

module graphql.GraphQLUnionType

function graphql.GraphQLUnionType (config)

module graphql.GraphQLUnionType.prototype

function graphql.GraphQLUnionType.prototype.getTypes ()

function graphql.GraphQLUnionType.prototype.inspect ()

function graphql.GraphQLUnionType.prototype.toJSON ()

function graphql.GraphQLUnionType.prototype.toString ()

module graphql.SchemaMetaFieldDef

function graphql.SchemaMetaFieldDef.resolve (source, args, context, _ref4)

module graphql.TypeInfo

function graphql.TypeInfo (schema, // NOTE: this experimental optional second parameter is only needed in order // to support non-spec-compliant codebases. You should never need to use it. getFieldDefFn)

module graphql.TypeInfo.prototype

function graphql.TypeInfo.prototype.enter (node)

function graphql.TypeInfo.prototype.getArgument ()

function graphql.TypeInfo.prototype.getDirective ()

function graphql.TypeInfo.prototype.getEnumValue ()

function graphql.TypeInfo.prototype.getFieldDef ()

function graphql.TypeInfo.prototype.getInputType ()

function graphql.TypeInfo.prototype.getParentType ()

function graphql.TypeInfo.prototype.getType ()

function graphql.TypeInfo.prototype.leave (node)

module graphql.TypeMetaFieldDef

function graphql.TypeMetaFieldDef.resolve (source, _ref5, context, _ref6)

module graphql.TypeNameMetaFieldDef

function graphql.TypeNameMetaFieldDef.resolve (source, args, context, _ref7)

module graphql.ValidationContext

function graphql.ValidationContext (schema, ast, typeInfo)

module graphql.ValidationContext.prototype

function graphql.ValidationContext.prototype.getArgument ()

function graphql.ValidationContext.prototype.getDirective ()

function graphql.ValidationContext.prototype.getDocument ()

function graphql.ValidationContext.prototype.getErrors ()

function graphql.ValidationContext.prototype.getFieldDef ()

function graphql.ValidationContext.prototype.getFragment (name)

function graphql.ValidationContext.prototype.getFragmentSpreads (node)

function graphql.ValidationContext.prototype.getInputType ()

function graphql.ValidationContext.prototype.getParentType ()

function graphql.ValidationContext.prototype.getRecursiveVariableUsages (operation)

function graphql.ValidationContext.prototype.getRecursivelyReferencedFragments (operation)

function graphql.ValidationContext.prototype.getSchema ()

function graphql.ValidationContext.prototype.getType ()

function graphql.ValidationContext.prototype.getVariableUsages (node)

function graphql.ValidationContext.prototype.reportError (error)

module graphql.assertValidName

function graphql.assertValidName (name, isIntrospection)

function graphql.assertValidName.formatWarning (error)

module graphql.astFromValue

function graphql.astFromValue (value, type)

module graphql.buildASTSchema

function graphql.buildASTSchema (ast)

function graphql.buildASTSchema.buildSchema (source)

function graphql.buildASTSchema.getDeprecationReason (directives)

function graphql.buildASTSchema.getDescription (node)

module graphql.buildClientSchema

function graphql.buildClientSchema (introspection)

module graphql.concatAST

function graphql.concatAST (asts)

module graphql.definition

function graphql.definition.GraphQLEnumType (config)

function graphql.definition.GraphQLInputObjectType (config)

function graphql.definition.GraphQLInterfaceType (config)

function graphql.definition.GraphQLList (type)

function graphql.definition.GraphQLNonNull (type)

function graphql.definition.GraphQLObjectType (config)

function graphql.definition.GraphQLScalarType (config)

function graphql.definition.GraphQLUnionType (config)

function graphql.definition.assertAbstractType (type)

function graphql.definition.assertCompositeType (type)

function graphql.definition.assertInputType (type)

function graphql.definition.assertLeafType (type)

function graphql.definition.assertNamedType (type)

function graphql.definition.assertOutputType (type)

function graphql.definition.assertType (type)

function graphql.definition.getNamedType (type)

function graphql.definition.getNullableType (type)

function graphql.definition.isAbstractType (type)

function graphql.definition.isCompositeType (type)

function graphql.definition.isInputType (type)

function graphql.definition.isLeafType (type)

function graphql.definition.isNamedType (type)

function graphql.definition.isOutputType (type)

function graphql.definition.isType (type)

module graphql.directives

function graphql.directives.GraphQLDirective (config)

module graphql.execute

function graphql.execute (schema, document, rootValue, contextValue, variableValues, operationName)

function graphql.execute.defaultFieldResolver (source, args, context, info)

function graphql.execute.responsePathAsArray (path)

module graphql.extendSchema

function graphql.extendSchema (schema, documentAST)

module graphql.find

function graphql.find.default (list, predicate)

module graphql.findBreakingChanges

function graphql.findBreakingChanges (oldSchema, newSchema)

function graphql.findBreakingChanges.findArgChanges (oldSchema, newSchema)

function graphql.findBreakingChanges.findDangerousChanges (oldSchema, newSchema)

function graphql.findBreakingChanges.findFieldsThatChangedType (oldSchema, newSchema)

function graphql.findBreakingChanges.findRemovedTypes (oldSchema, newSchema)

function graphql.findBreakingChanges.findTypesRemovedFromUnions (oldSchema, newSchema)

function graphql.findBreakingChanges.findTypesThatChangedKind (oldSchema, newSchema)

function graphql.findBreakingChanges.findValuesRemovedFromEnums (oldSchema, newSchema)

module graphql.findDeprecatedUsages

function graphql.findDeprecatedUsages (schema, ast)

module graphql.formatError

function graphql.formatError (error)

module graphql.getOperationAST

function graphql.getOperationAST (documentAST, operationName)

module graphql.graphql

function graphql.graphql (schema, requestString, rootValue, contextValue, variableValues, operationName)

module graphql.invariant

function graphql.invariant.default (condition, message)

module graphql.isInvalid

function graphql.isInvalid.default (value)

module graphql.isNullish

function graphql.isNullish.default (value)

module graphql.isValidJSValue

function graphql.isValidJSValue (value, type)

module graphql.isValidLiteralValue

function graphql.isValidLiteralValue (type, valueNode)

module graphql.keyMap

function graphql.keyMap.default (list, keyFn)

module graphql.keyValMap

function graphql.keyValMap.default (list, keyFn, valFn)

module graphql.lexer

function graphql.lexer.createLexer (source, options)

function graphql.lexer.getTokenDesc (token)

module graphql.locatedError

function graphql.locatedError (originalError, nodes, path)

module graphql.location

function graphql.location.getLocation (source, position)

module graphql.parser

function graphql.parser.parse (source, options)

function graphql.parser.parseConstValue (lexer)

function graphql.parser.parseNamedType (lexer)

function graphql.parser.parseType (source, options)

function graphql.parser.parseTypeReference (lexer)

function graphql.parser.parseValue (source, options)

module graphql.printer

function graphql.printer.print (ast)

module graphql.quotedOrList

function graphql.quotedOrList.default (items)

module graphql.schema

function graphql.schema.GraphQLSchema (config)

module graphql.schemaPrinter

function graphql.schemaPrinter.printIntrospectionSchema (schema)

function graphql.schemaPrinter.printSchema (schema)

function graphql.schemaPrinter.printType (type)

module graphql.separateOperations

function graphql.separateOperations (documentAST)

module graphql.source

function graphql.source.Source (body, name)

module graphql.specifiedRules

function graphql.specifiedRules.0 (context)

function graphql.specifiedRules.1 (context)

function graphql.specifiedRules.10 (context)

function graphql.specifiedRules.11 (context)

function graphql.specifiedRules.12 (context)

function graphql.specifiedRules.13 (context)

function graphql.specifiedRules.14 (context)

function graphql.specifiedRules.15 (context)

function graphql.specifiedRules.16 (context)

function graphql.specifiedRules.17 (context)

function graphql.specifiedRules.18 (context)

function graphql.specifiedRules.19 (context)

function graphql.specifiedRules.2 (context)

function graphql.specifiedRules.20 (context)

function graphql.specifiedRules.21 (context)

function graphql.specifiedRules.22 (context)

function graphql.specifiedRules.23 (context)

function graphql.specifiedRules.24 (context)

function graphql.specifiedRules.3 (context)

function graphql.specifiedRules.4 (context)

function graphql.specifiedRules.5 (context)

function graphql.specifiedRules.6 (context)

function graphql.specifiedRules.7 (context)

function graphql.specifiedRules.8 (context)

function graphql.specifiedRules.9 (context)

module graphql.suggestionList

function graphql.suggestionList.default (input, options)

module graphql.syntaxError

function graphql.syntaxError (source, position, description)

module graphql.typeComparators

function graphql.typeComparators.doTypesOverlap (schema, typeA, typeB)

function graphql.typeComparators.isEqualType (typeA, typeB)

function graphql.typeComparators.isTypeSubTypeOf (schema, maybeSubType, superType)

module graphql.typeFromAST

function graphql.typeFromAST (schema, typeNode)

module graphql.validate

function graphql.validate (schema, ast, rules)

function graphql.validate.ValidationContext (schema, ast, typeInfo)

function graphql.validate.visitUsingRules (schema, typeInfo, documentAST, rules)

module graphql.valueFromAST

function graphql.valueFromAST (valueNode, type, variables)

module graphql.values

function graphql.values.getArgumentValues (def, node, variableValues)

function graphql.values.getVariableValues (schema, varDefNodes, inputs)

module graphql.visitor

function graphql.visitor.visit (root, visitor, keyMap)

function graphql.visitor.visitInParallel (visitors)

function graphql.visitor.visitWithTypeInfo (typeInfo, visitor)

[ this document was created with utility2 ]