UNPKG

1.12 kBTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { AutoSchemaFileValue, GqlModuleOptions } from './interfaces';
3import { BuildSchemaOptions } from './interfaces/build-schema-options.interface';
4import { GraphQLSchemaFactory } from './schema-builder/graphql-schema.factory';
5import { FileSystemHelper } from './schema-builder/helpers/file-system.helper';
6import { ScalarsExplorerService } from './services';
7export declare class GraphQLSchemaBuilder {
8 private readonly scalarsExplorerService;
9 private readonly gqlSchemaFactory;
10 private readonly fileSystemHelper;
11 constructor(scalarsExplorerService: ScalarsExplorerService, gqlSchemaFactory: GraphQLSchemaFactory, fileSystemHelper: FileSystemHelper);
12 build(autoSchemaFile: AutoSchemaFileValue, options: GqlModuleOptions, resolvers: Function[]): Promise<any>;
13 generateSchema(resolvers: Function[], autoSchemaFile: AutoSchemaFileValue, options?: BuildSchemaOptions, sortSchema?: boolean, transformSchema?: (schema: GraphQLSchema) => GraphQLSchema | Promise<GraphQLSchema>): Promise<GraphQLSchema>;
14}
15//# sourceMappingURL=graphql-schema.builder.d.ts.map
\No newline at end of file