UNPKG

572 BTypeScriptView Raw
1import { DefinitionsGeneratorOptions } from './graphql-ast.explorer';
2export declare class GraphQLDefinitionsFactory {
3 private readonly gqlAstExplorer;
4 private readonly gqlTypesLoader;
5 generate(options: {
6 typePaths: string[];
7 path: string;
8 outputAs?: 'class' | 'interface';
9 watch?: boolean;
10 debug?: boolean;
11 federation?: boolean;
12 } & DefinitionsGeneratorOptions): Promise<void>;
13 private exploreAndEmit;
14 private exploreAndEmitFederation;
15 private exploreAndEmitRegular;
16 private printMessage;
17}