UNPKG

520 BTypeScriptView Raw
1import { GraphQLSchema, DocumentNode, GraphQLError } from "graphql";
2import { GraphQLResolverMap } from "./schema/resolverMap";
3export interface GraphQLSchemaModule {
4 typeDefs: DocumentNode;
5 resolvers?: GraphQLResolverMap<any>;
6}
7interface GraphQLServiceDefinition {
8 schema?: GraphQLSchema;
9 errors?: GraphQLError[];
10}
11export declare function buildServiceDefinition(modules: (GraphQLSchemaModule | DocumentNode)[]): GraphQLServiceDefinition;
12export {};
13//# sourceMappingURL=buildServiceDefinition.d.ts.map
\No newline at end of file