UNPKG

867 BTypeScriptView Raw
1import { GraphQLInputObjectType, GraphQLInputType, GraphQLInterfaceType, GraphQLNamedType, GraphQLObjectType, GraphQLOutputType, GraphQLType, TypeNode } from 'graphql';
2export declare function createNamedStub(name: string, type: 'object'): GraphQLObjectType;
3export declare function createNamedStub(name: string, type: 'interface'): GraphQLInterfaceType;
4export declare function createNamedStub(name: string, type: 'input'): GraphQLInputObjectType;
5export declare function createStub(node: TypeNode, type: 'output'): GraphQLOutputType;
6export declare function createStub(node: TypeNode, type: 'input'): GraphQLInputType;
7export declare function createStub(node: TypeNode, type: 'output' | 'input'): GraphQLType;
8export declare function isNamedStub(type: GraphQLNamedType): boolean;
9export declare function getBuiltInForStub(type: GraphQLNamedType): GraphQLNamedType;