Files
personal_site/frontend/node_modules/@graphql-tools/utils/es5/stub.d.ts
T

10 lines
867 B
TypeScript

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;