UNPKG

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