index.mjs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Produce the GraphQL query recommended for a full schema introspection.
  2. export { getIntrospectionQuery } from './getIntrospectionQuery.mjs';
  3. // Gets the target Operation from a Document.
  4. export { getOperationAST } from './getOperationAST.mjs'; // Gets the Type for the target Operation AST.
  5. export { getOperationRootType } from './getOperationRootType.mjs'; // Convert a GraphQLSchema to an IntrospectionQuery.
  6. export { introspectionFromSchema } from './introspectionFromSchema.mjs'; // Build a GraphQLSchema from an introspection result.
  7. export { buildClientSchema } from './buildClientSchema.mjs'; // Build a GraphQLSchema from GraphQL Schema language.
  8. export { buildASTSchema, buildSchema } from './buildASTSchema.mjs';
  9. // Extends an existing GraphQLSchema from a parsed GraphQL Schema language AST.
  10. export { extendSchema } from './extendSchema.mjs'; // Sort a GraphQLSchema.
  11. export { lexicographicSortSchema } from './lexicographicSortSchema.mjs'; // Print a GraphQLSchema to GraphQL Schema language.
  12. export {
  13. printSchema,
  14. printType,
  15. printIntrospectionSchema,
  16. } from './printSchema.mjs'; // Create a GraphQLType from a GraphQL language AST.
  17. export { typeFromAST } from './typeFromAST.mjs'; // Create a JavaScript value from a GraphQL language AST with a type.
  18. export { valueFromAST } from './valueFromAST.mjs'; // Create a JavaScript value from a GraphQL language AST without a type.
  19. export { valueFromASTUntyped } from './valueFromASTUntyped.mjs'; // Create a GraphQL language AST from a JavaScript value.
  20. export { astFromValue } from './astFromValue.mjs'; // A helper to use within recursive-descent visitors which need to be aware of the GraphQL type system.
  21. export { TypeInfo, visitWithTypeInfo } from './TypeInfo.mjs'; // Coerces a JavaScript value to a GraphQL type, or produces errors.
  22. export { coerceInputValue } from './coerceInputValue.mjs'; // Concatenates multiple AST together.
  23. export { concatAST } from './concatAST.mjs'; // Separates an AST into an AST per Operation.
  24. export { separateOperations } from './separateOperations.mjs'; // Strips characters that are not significant to the validity or execution of a GraphQL document.
  25. export { stripIgnoredCharacters } from './stripIgnoredCharacters.mjs'; // Comparators for types
  26. export {
  27. isEqualType,
  28. isTypeSubTypeOf,
  29. doTypesOverlap,
  30. } from './typeComparators.mjs'; // Asserts that a string is a valid GraphQL name
  31. export { assertValidName, isValidNameError } from './assertValidName.mjs'; // Compares two GraphQLSchemas and detects breaking changes.
  32. export {
  33. BreakingChangeType,
  34. DangerousChangeType,
  35. findBreakingChanges,
  36. findDangerousChanges,
  37. } from './findBreakingChanges.mjs';