UNPKG

1.26 kBTypeScriptView Raw
1import type { GraphQLField, GraphQLNamedType } from './definition';
2import { GraphQLEnumType, GraphQLObjectType } from './definition';
3export declare const __Schema: GraphQLObjectType;
4export declare const __Directive: GraphQLObjectType;
5export declare const __DirectiveLocation: GraphQLEnumType;
6export declare const __Type: GraphQLObjectType;
7export declare const __Field: GraphQLObjectType;
8export declare const __InputValue: GraphQLObjectType;
9export declare const __EnumValue: GraphQLObjectType;
10declare enum TypeKind {
11 SCALAR = 'SCALAR',
12 OBJECT = 'OBJECT',
13 INTERFACE = 'INTERFACE',
14 UNION = 'UNION',
15 ENUM = 'ENUM',
16 INPUT_OBJECT = 'INPUT_OBJECT',
17 LIST = 'LIST',
18 NON_NULL = 'NON_NULL',
19}
20export { TypeKind };
21export declare const __TypeKind: GraphQLEnumType;
22/**
23 * Note that these are GraphQLField and not GraphQLFieldConfig,
24 * so the format for args is different.
25 */
26export declare const SchemaMetaFieldDef: GraphQLField<unknown, unknown>;
27export declare const TypeMetaFieldDef: GraphQLField<unknown, unknown>;
28export declare const TypeNameMetaFieldDef: GraphQLField<unknown, unknown>;
29export declare const introspectionTypes: ReadonlyArray<GraphQLNamedType>;
30export declare function isIntrospectionType(type: GraphQLNamedType): boolean;