UNPKG

1.48 kBTypeScriptView Raw
1import { BuildSchemaOptions } from '../interfaces';
2import { EnumDefinitionFactory } from './factories/enum-definition.factory';
3import { InputTypeDefinitionFactory } from './factories/input-type-definition.factory';
4import { InterfaceDefinitionFactory } from './factories/interface-definition.factory';
5import { ObjectTypeDefinitionFactory } from './factories/object-type-definition.factory';
6import { UnionDefinitionFactory } from './factories/union-definition.factory';
7import { TypeDefinitionsStorage } from './storages/type-definitions.storage';
8export declare class TypeDefinitionsGenerator {
9 private readonly typeDefinitionsStorage;
10 private readonly enumDefinitionFactory;
11 private readonly inputTypeDefinitionFactory;
12 private readonly objectTypeDefinitionFactory;
13 private readonly interfaceDefinitionFactory;
14 private readonly unionDefinitionFactory;
15 constructor(typeDefinitionsStorage: TypeDefinitionsStorage, enumDefinitionFactory: EnumDefinitionFactory, inputTypeDefinitionFactory: InputTypeDefinitionFactory, objectTypeDefinitionFactory: ObjectTypeDefinitionFactory, interfaceDefinitionFactory: InterfaceDefinitionFactory, unionDefinitionFactory: UnionDefinitionFactory);
16 generate(options: BuildSchemaOptions): void;
17 private generateInputTypeDefs;
18 private generateObjectTypeDefs;
19 private generateInterfaceDefs;
20 private generateEnumDefs;
21 private generateUnionDefs;
22}
23//# sourceMappingURL=type-definitions.generator.d.ts.map
\No newline at end of file