1 | import { FileOutput, GraphQLSchema, DocumentFile, Types, CodegenPlugin } from 'graphql-codegen-core';
|
2 | export interface GenerateOutputOptions {
|
3 | filename: string;
|
4 | plugins: Types.ConfiguredPlugin[];
|
5 | schema: GraphQLSchema;
|
6 | documents: DocumentFile[];
|
7 | inheritedConfig: {
|
8 | [key: string]: any;
|
9 | };
|
10 | }
|
11 | export interface ExecutePluginOptions {
|
12 | name: string;
|
13 | config: Types.PluginConfig;
|
14 | schema: GraphQLSchema;
|
15 | documents: DocumentFile[];
|
16 | outputFilename: string;
|
17 | allPlugins: Types.ConfiguredPlugin[];
|
18 | }
|
19 | export declare function mergeSchemas(schemas: GraphQLSchema[]): Promise<GraphQLSchema>;
|
20 | export declare function executeCodegen(config: Types.Config): Promise<FileOutput[]>;
|
21 | export declare function generateOutput(options: GenerateOutputOptions): Promise<FileOutput>;
|
22 | export declare function getPluginByName(name: string): Promise<CodegenPlugin>;
|
23 | export declare function executePlugin(options: ExecutePluginOptions): Promise<string>;
|