pothos-schema-exporter
Version:
Plugin to output 'schema.graphql' from pothos to file
9 lines (8 loc) • 361 B
TypeScript
import { BasePlugin, SchemaTypes } from "@pothos/core";
import "./global-types.js";
import { GraphQLSchema } from "graphql";
export declare class PothosSchemaExporterPlugin<Types extends SchemaTypes> extends BasePlugin<Types> {
afterBuild(schema: GraphQLSchema): GraphQLSchema;
}
declare const pluginName: "pothosSchemaExporter";
export default pluginName;