- plugin(schema: GraphQLSchema, documents: DocumentFile[], config: TypeScriptTypettaPluginConfig, info?: {
allPlugins?: ConfiguredPlugin[];
outputFile?: string;
pluginContext?: {
[key: string]: any;
};
[key: string]: any;
}): Promisable<PluginOutput>
-
Parameters
-
schema: GraphQLSchema
-
documents: DocumentFile[]
-
config: TypeScriptTypettaPluginConfig
-
Optional
info: {
allPlugins?: ConfiguredPlugin[];
outputFile?: string;
pluginContext?: {
[key: string]: any;
};
[key: string]: any;
}
-
[key: string]: any
-
Optional
allPlugins?: ConfiguredPlugin[]
-
Optional
outputFile?: string
-
Optional
pluginContext?: {
[key: string]: any;
}
Returns Promisable<PluginOutput>