1 | import { CodegenPlugin, Profiler, Types } from '@graphql-codegen/plugin-helpers';
|
2 | import { DocumentNode, GraphQLSchema } from 'graphql';
|
3 | export interface ExecutePluginOptions {
|
4 | name: string;
|
5 | config: Types.PluginConfig;
|
6 | parentConfig: Types.PluginConfig;
|
7 | schema: DocumentNode;
|
8 | schemaAst?: GraphQLSchema;
|
9 | documents: Types.DocumentFile[];
|
10 | outputFilename: string;
|
11 | allPlugins: Types.ConfiguredPlugin[];
|
12 | skipDocumentsValidation?: Types.SkipDocumentsValidationOptions;
|
13 | pluginContext?: {
|
14 | [key: string]: any;
|
15 | };
|
16 | profiler?: Profiler;
|
17 | }
|
18 | export declare function executePlugin(options: ExecutePluginOptions, plugin: CodegenPlugin): Promise<Types.PluginOutput>;
|