UNPKG

969 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { GraphQLAstExplorer } from './graphql-ast.explorer';
3import { GraphQLSchemaBuilder } from './graphql-schema.builder';
4import { GqlModuleOptions } from './interfaces';
5import { ResolversExplorerService, ScalarsExplorerService } from './services';
6export declare class GraphQLFactory {
7 private readonly resolversExplorerService;
8 private readonly scalarsExplorerService;
9 private readonly graphqlAstExplorer;
10 private readonly gqlSchemaBuilder;
11 constructor(resolversExplorerService: ResolversExplorerService, scalarsExplorerService: ScalarsExplorerService, graphqlAstExplorer: GraphQLAstExplorer, gqlSchemaBuilder: GraphQLSchemaBuilder);
12 generateSchema<T extends GqlModuleOptions>(options?: T): Promise<GraphQLSchema>;
13 private overrideOrExtendResolvers;
14 generateDefinitions(typeDefs: string | string[], options: GqlModuleOptions): Promise<void>;
15}
16//# sourceMappingURL=graphql.factory.d.ts.map
\No newline at end of file