@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
19 lines (18 loc) • 610 B
TypeScript
import { DefinitionsGeneratorOptions } from './graphql-ast.explorer';
export declare class GraphQLDefinitionsFactory {
private readonly gqlAstExplorer;
private readonly gqlTypesLoader;
generate(options: {
typePaths: string[];
path: string;
outputAs?: 'class' | 'interface';
watch?: boolean;
debug?: boolean;
federation?: boolean;
typeDefs?: string | string[];
} & DefinitionsGeneratorOptions): Promise<void>;
private exploreAndEmit;
private exploreAndEmitFederation;
private exploreAndEmitRegular;
private printMessage;
}