1 | import { GraphQLSchema } from 'graphql';
|
2 | import { GqlModuleOptions } from './interfaces';
|
3 | import { GraphQLSchemaFactory } from './schema-builder/graphql-schema.factory';
|
4 | import { FileSystemHelper } from './schema-builder/helpers/file-system.helper';
|
5 | import { ScalarsExplorerService } from './services';
|
6 | export declare class GraphQLSchemaBuilder {
|
7 | private readonly scalarsExplorerService;
|
8 | private readonly gqlSchemaFactory;
|
9 | private readonly fileSystemHelper;
|
10 | constructor(scalarsExplorerService: ScalarsExplorerService, gqlSchemaFactory: GraphQLSchemaFactory, fileSystemHelper: FileSystemHelper);
|
11 | build(autoSchemaFile: string | boolean, options: GqlModuleOptions, resolvers: Function[]): Promise<any>;
|
12 | buildFederatedSchema(autoSchemaFile: string | boolean, options: GqlModuleOptions, resolvers: Function[]): Promise<GraphQLSchema>;
|
13 | private buildSchema;
|
14 | private loadFederationDirectives;
|
15 | }
|