1 | import { GraphQLSchema } from 'graphql';
|
2 | import { BuildSchemaOptions } from '../interfaces';
|
3 | import { MutationTypeFactory } from './factories/mutation-type.factory';
|
4 | import { OrphanedTypesFactory } from './factories/orphaned-types.factory';
|
5 | import { QueryTypeFactory } from './factories/query-type.factory';
|
6 | import { SubscriptionTypeFactory } from './factories/subscription-type.factory';
|
7 | import { TypeDefinitionsGenerator } from './type-definitions.generator';
|
8 | export declare class GraphQLSchemaFactory {
|
9 | private readonly queryTypeFactory;
|
10 | private readonly mutationTypeFactory;
|
11 | private readonly subscriptionTypeFactory;
|
12 | private readonly orphanedTypesFactory;
|
13 | private readonly typeDefinitionsGenerator;
|
14 | private readonly logger;
|
15 | constructor(queryTypeFactory: QueryTypeFactory, mutationTypeFactory: MutationTypeFactory, subscriptionTypeFactory: SubscriptionTypeFactory, orphanedTypesFactory: OrphanedTypesFactory, typeDefinitionsGenerator: TypeDefinitionsGenerator);
|
16 | create(resolvers: Function[]): Promise<GraphQLSchema>;
|
17 | create(resolvers: Function[], scalarClasses: Function[]): Promise<GraphQLSchema>;
|
18 | create(resolvers: Function[], options: BuildSchemaOptions): Promise<GraphQLSchema>;
|
19 | create(resolvers: Function[], scalarClasses: Function[], options: BuildSchemaOptions): Promise<GraphQLSchema>;
|
20 | private assignScalarObjects;
|
21 | private addScalarTypeByClassRef;
|
22 | }
|
23 | //# sourceMappingURL=graphql-schema.factory.d.ts.map |
\ | No newline at end of file |