UNPKG

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