Current section

Files

Jump to
common_graphql_client priv npm node_modules graphql-tools utils stub.d.ts
Raw

priv/npm/node_modules/graphql-tools/utils/stub.d.ts

import { GraphQLObjectType, GraphQLInterfaceType, GraphQLInputObjectType, GraphQLNamedType, TypeNode, GraphQLType, GraphQLOutputType, GraphQLInputType } from 'graphql';
export declare function createNamedStub(name: string, type: 'object'): GraphQLObjectType;
export declare function createNamedStub(name: string, type: 'interface'): GraphQLInterfaceType;
export declare function createNamedStub(name: string, type: 'input'): GraphQLInputObjectType;
export declare function createStub(node: TypeNode, type: 'output'): GraphQLOutputType;
export declare function createStub(node: TypeNode, type: 'input'): GraphQLInputType;
export declare function createStub(node: TypeNode, type: 'output' | 'input'): GraphQLType;
export declare function isNamedStub(type: GraphQLNamedType): boolean;
export declare function getBuiltInForStub(type: GraphQLNamedType): GraphQLNamedType;