1 | import { DefinitionsGeneratorOptions, GraphQLAstExplorer } from './graphql-ast.explorer';
|
2 | import { GraphQLTypesLoader } from './graphql-types.loader';
|
3 | export type GenerateOptions = DefinitionsGeneratorOptions & {
|
4 | typePaths: string[];
|
5 | path: string;
|
6 | outputAs?: 'class' | 'interface';
|
7 | watch?: boolean;
|
8 | debug?: boolean;
|
9 | typeDefs?: string | string[];
|
10 | };
|
11 | export declare class GraphQLDefinitionsFactory {
|
12 | protected readonly gqlAstExplorer: GraphQLAstExplorer;
|
13 | protected readonly gqlTypesLoader: GraphQLTypesLoader;
|
14 | generate(options: GenerateOptions): Promise<void>;
|
15 | protected exploreAndEmit(typePaths: string[], path: string, outputAs: 'class' | 'interface', isDebugEnabled: boolean, definitionsGeneratorOptions: DefinitionsGeneratorOptions, typeDefs?: string | string[]): Promise<void>;
|
16 | protected printMessage(text: string, isEnabled: boolean): void;
|
17 | }
|
18 |
|
\ | No newline at end of file |