import { Options, Options as PowerPlantGraphQLCodegenOptions } from "@power-plant/graphql-codegen"; import { GraphQLSchema } from "graphql"; import { ResolvedConfig, UserConfig } from "powerlines"; import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin"; //#region src/types/plugin.d.ts /** * Options for the GraphQL Powerlines plugin. */ type GraphQLPluginOptions = Partial> & { /** * The GraphQL schema to generate from. * * @remarks * This can be a {@link GraphQLSchema} instance, a local file path, a remote URL * string, or a {@link URL} object. * * @defaultValue "\{projectRoot\}/schema.graphql" */ schema?: string | URL | GraphQLSchema; }; type GraphQLPluginUserConfig = UserConfig & { graphql?: GraphQLPluginOptions; }; type GraphQLPluginResolvedConfig = ResolvedConfig & PowerPlantPluginResolvedConfig & { graphql: Omit & { schema: string | URL | GraphQLSchema; filename: string; document: GraphQLSchema; }; }; type GraphQLPluginContext = PowerPlantPluginContext; //#endregion export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions }; //# sourceMappingURL=plugin.d.mts.map