UNPKG

3.38 kBJavaScriptView Raw
1// The GraphQL query recommended for a full schema introspection.
2export { // Produce the GraphQL query recommended for a full schema introspection.
3// Accepts optional IntrospectionOptions.
4getIntrospectionQuery, // @deprecated, use getIntrospectionQuery() - will be removed in v15.
5introspectionQuery } from './introspectionQuery';
6// Gets the target Operation from a Document.
7export { getOperationAST } from './getOperationAST'; // Gets the Type for the target Operation AST.
8
9export { getOperationRootType } from './getOperationRootType'; // Convert a GraphQLSchema to an IntrospectionQuery.
10
11export { introspectionFromSchema } from './introspectionFromSchema'; // Build a GraphQLSchema from an introspection result.
12
13export { buildClientSchema } from './buildClientSchema'; // Build a GraphQLSchema from GraphQL Schema language.
14
15export { buildASTSchema, buildSchema, // @deprecated: Get the description from a schema AST node and supports legacy
16// syntax for specifying descriptions - will be removed in v16.
17getDescription } from './buildASTSchema';
18// Extends an existing GraphQLSchema from a parsed GraphQL Schema language AST.
19export { extendSchema } from './extendSchema'; // Sort a GraphQLSchema.
20
21export { lexicographicSortSchema } from './lexicographicSortSchema'; // Print a GraphQLSchema to GraphQL Schema language.
22
23export { printSchema, printType, printIntrospectionSchema } from './schemaPrinter'; // Create a GraphQLType from a GraphQL language AST.
24
25export { typeFromAST } from './typeFromAST'; // Create a JavaScript value from a GraphQL language AST with a type.
26
27export { valueFromAST } from './valueFromAST'; // Create a JavaScript value from a GraphQL language AST without a type.
28
29export { valueFromASTUntyped } from './valueFromASTUntyped'; // Create a GraphQL language AST from a JavaScript value.
30
31export { astFromValue } from './astFromValue'; // A helper to use within recursive-descent visitors which need to be aware of
32// the GraphQL type system.
33
34export { TypeInfo } from './TypeInfo'; // Coerces a JavaScript value to a GraphQL type, or produces errors.
35
36export { coerceInputValue } from './coerceInputValue'; // @deprecated use coerceInputValue - will be removed in v15.
37
38export { coerceValue } from './coerceValue'; // @deprecated use coerceInputValue - will be removed in v15.
39
40export { isValidJSValue } from './isValidJSValue'; // @deprecated use validation - will be removed in v15
41
42export { isValidLiteralValue } from './isValidLiteralValue'; // Concatenates multiple AST together.
43
44export { concatAST } from './concatAST'; // Separates an AST into an AST per Operation.
45
46export { separateOperations } from './separateOperations'; // Strips characters that are not significant to the validity or execution
47// of a GraphQL document.
48
49export { stripIgnoredCharacters } from './stripIgnoredCharacters'; // Comparators for types
50
51export { isEqualType, isTypeSubTypeOf, doTypesOverlap } from './typeComparators'; // Asserts that a string is a valid GraphQL name
52
53export { assertValidName, isValidNameError } from './assertValidName'; // Compares two GraphQLSchemas and detects breaking changes.
54
55export { BreakingChangeType, DangerousChangeType, findBreakingChanges, findDangerousChanges } from './findBreakingChanges';
56// Report all deprecated usage within a GraphQL document.
57export { findDeprecatedUsages } from './findDeprecatedUsages';