@pothos/plugin-add-graphql
Version:
A Pothos plugin for adding existing GraphQL types to a Pothos schema
6 lines • 539 B
TypeScript
import { type SchemaTypes } from '@pothos/core';
import { type GraphQLNamedType } from 'graphql';
export declare const referencedTypes: import("@pothos/core").ContextCache<Set<GraphQLNamedType>, object, []>;
export declare function addTypeToSchema<Types extends SchemaTypes>(builder: PothosSchemaTypes.SchemaBuilder<Types>, type: GraphQLNamedType): void;
export declare function addReferencedType<Types extends SchemaTypes>(builder: PothosSchemaTypes.SchemaBuilder<Types>, type: GraphQLNamedType): void;
//# sourceMappingURL=utils.d.ts.map