UNPKG

2 kBJavaScriptView Raw
1export { // Predicate
2isSchema, // Assertion
3assertSchema, // GraphQL Schema definition
4GraphQLSchema } from './schema';
5export { // Predicates
6isType, isScalarType, isObjectType, isInterfaceType, isUnionType, isEnumType, isInputObjectType, isListType, isNonNullType, isInputType, isOutputType, isLeafType, isCompositeType, isAbstractType, isWrappingType, isNullableType, isNamedType, isRequiredArgument, isRequiredInputField, // Assertions
7assertType, assertScalarType, assertObjectType, assertInterfaceType, assertUnionType, assertEnumType, assertInputObjectType, assertListType, assertNonNullType, assertInputType, assertOutputType, assertLeafType, assertCompositeType, assertAbstractType, assertWrappingType, assertNullableType, assertNamedType, // Un-modifiers
8getNullableType, getNamedType, // Definitions
9GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLInputObjectType, // Type Wrappers
10GraphQLList, GraphQLNonNull } from './definition';
11export { // Predicate
12isDirective, // Assertion
13assertDirective, // Directives Definition
14GraphQLDirective, // Built-in Directives defined by the Spec
15isSpecifiedDirective, specifiedDirectives, GraphQLIncludeDirective, GraphQLSkipDirective, GraphQLDeprecatedDirective, // Constant Deprecation Reason
16DEFAULT_DEPRECATION_REASON } from './directives';
17// Common built-in scalar instances.
18export { // Predicate
19isSpecifiedScalarType, // Standard GraphQL Scalars
20specifiedScalarTypes, GraphQLInt, GraphQLFloat, GraphQLString, GraphQLBoolean, GraphQLID } from './scalars';
21export { // Predicate
22isIntrospectionType, // GraphQL Types for introspection.
23introspectionTypes, __Schema, __Directive, __DirectiveLocation, __Type, __Field, __InputValue, __EnumValue, __TypeKind, // "Enum" of Type Kinds
24TypeKind, // Meta-field definitions.
25SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef } from './introspection';
26// Validate GraphQL schema.
27export { validateSchema, assertValidSchema } from './validate';