@powerlines/plugin-graphql 0.1.400 → 0.1.402

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -54,7 +54,7 @@ const plugin = (options = {}) => {
54
54
  async prepare() {
55
55
  const result = await (0, _graphql_codegen_cli.generate)({
56
56
  ...this.graphql.codegen,
57
- cwd: (0, _stryke_path_join_paths.joinPaths)(this.workspaceConfig.workspaceRoot, this.config.root)
57
+ cwd: (0, _stryke_path_join_paths.joinPaths)(this.config.cwd, this.config.root)
58
58
  }, false);
59
59
  if ((0, _stryke_path_is_parent_path.isParentPath)(this.config.graphql.outputPath, this.builtinsPath)) await Promise.all(result.map(async (output) => this.emitBuiltin(output.content, (0, _stryke_path_file_path_fns.findFileName)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_replace.replacePath)(this.config.graphql.outputPath, this.builtinsPath), output.filename), { withExtension: false }))));
60
60
  else await Promise.all(result.map(async (output) => this.fs.write((0, _stryke_path_join_paths.joinPaths)(this.config.graphql.outputPath, output.filename), output.content)));
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig } from "./types/plugin.cjs";
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./types/plugin.cjs";
2
2
  import { Plugin } from "powerlines";
3
3
 
4
4
  //#region src/index.d.ts
@@ -15,5 +15,5 @@ declare module "powerlines" {
15
15
  */
16
16
  declare const plugin: <TContext extends GraphQLPluginContext = GraphQLPluginContext>(options?: GraphQLPluginOptions) => Plugin<TContext>;
17
17
  //#endregion
18
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, plugin as default, plugin };
18
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig, plugin as default, plugin };
19
19
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAwCY,MAAA;IACR,OAAA,GAAU,oBAAA;EAAA;AAAA;;;;;;;cAUD,MAAA,oBACM,oBAAA,GAAuB,oBAAA,EAExC,OAAA,GAAS,oBAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAoCY,MAAA;IACR,OAAA,GAAU,oBAAA;EAAA;AAAA;;;;;;;cAUD,MAAA,oBACM,oBAAA,GAAuB,oBAAA,EAExC,OAAA,GAAS,oBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig } from "./types/plugin.mjs";
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./types/plugin.mjs";
2
2
  import { Plugin } from "powerlines";
3
3
 
4
4
  //#region src/index.d.ts
@@ -15,5 +15,5 @@ declare module "powerlines" {
15
15
  */
16
16
  declare const plugin: <TContext extends GraphQLPluginContext = GraphQLPluginContext>(options?: GraphQLPluginOptions) => Plugin<TContext>;
17
17
  //#endregion
18
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, plugin as default, plugin };
18
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig, plugin as default, plugin };
19
19
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAwCY,MAAA;IACR,OAAA,GAAU,oBAAA;EAAA;AAAA;;;;;;;cAUD,MAAA,oBACM,oBAAA,GAAuB,oBAAA,EAExC,OAAA,GAAS,oBAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAoCY,MAAA;IACR,OAAA,GAAU,oBAAA;EAAA;AAAA;;;;;;;cAUD,MAAA,oBACM,oBAAA,GAAuB,oBAAA,EAExC,OAAA,GAAS,oBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.mjs CHANGED
@@ -51,7 +51,7 @@ const plugin = (options = {}) => {
51
51
  async prepare() {
52
52
  const result = await generate({
53
53
  ...this.graphql.codegen,
54
- cwd: joinPaths(this.workspaceConfig.workspaceRoot, this.config.root)
54
+ cwd: joinPaths(this.config.cwd, this.config.root)
55
55
  }, false);
56
56
  if (isParentPath(this.config.graphql.outputPath, this.builtinsPath)) await Promise.all(result.map(async (output) => this.emitBuiltin(output.content, findFileName(joinPaths(replacePath(this.config.graphql.outputPath, this.builtinsPath), output.filename), { withExtension: false }))));
57
57
  else await Promise.all(result.map(async (output) => this.fs.write(joinPaths(this.config.graphql.outputPath, output.filename), output.content)));
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n generate,\n loadContext,\n updateContextWithCliFlags\n} from \"@graphql-codegen/cli\";\nimport { LogLevelLabel } from \"@storm-software/config-tools/types\";\nimport { findFileName } from \"@stryke/path/file-path-fns\";\nimport { isParentPath } from \"@stryke/path/is-parent-path\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines\";\nimport { getConfigPath, replacePathTokens } from \"powerlines/plugin-utils\";\nimport {\n GraphQLPluginContext,\n GraphQLPluginOptions,\n GraphQLPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n graphql?: GraphQLPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate GraphQL for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends GraphQLPluginContext = GraphQLPluginContext\n>(\n options: GraphQLPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"graphql\",\n config() {\n let configFile = options.configFile;\n if (!configFile) {\n configFile = getConfigPath(this, \"codegen\");\n if (!configFile) {\n configFile = getConfigPath(this, \"graphql-codegen\");\n if (!configFile) {\n throw new Error(\n `No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's \\`configFile\\` options.`\n );\n }\n }\n }\n\n return {\n graphql: defu(options, {\n configFile,\n silent: this.config.logLevel === null,\n verbose:\n this.config.logLevel === LogLevelLabel.DEBUG ||\n this.config.logLevel === LogLevelLabel.TRACE,\n debug: this.config.mode === \"development\",\n outputPath: joinPaths(\"{builtinPath}\", \"graphql\")\n })\n } as Partial<GraphQLPluginUserConfig>;\n },\n async configResolved() {\n this.dependencies.graphql = \"latest\";\n\n this.config.graphql.outputPath = replacePathTokens(\n this,\n this.config.graphql.outputPath\n );\n\n this.graphql ??= {} as GraphQLPluginContext[\"graphql\"];\n\n this.graphql.codegen = await loadContext(this.config.graphql.configFile);\n updateContextWithCliFlags(this.graphql.codegen, {\n require: [],\n overwrite: true,\n project: this.config.root,\n ...this.config.graphql,\n config: this.config.graphql.configFile,\n watch: false\n });\n },\n async prepare() {\n const result = await generate(\n {\n ...this.graphql.codegen,\n cwd: joinPaths(this.workspaceConfig.workspaceRoot, this.config.root)\n } as Parameters<typeof generate>[0],\n false\n );\n\n if (isParentPath(this.config.graphql.outputPath, this.builtinsPath)) {\n await Promise.all(\n result.map(async output =>\n this.emitBuiltin(\n output.content,\n findFileName(\n joinPaths(\n replacePath(\n this.config.graphql.outputPath,\n this.builtinsPath\n ),\n output.filename\n ),\n { withExtension: false }\n )\n )\n )\n );\n } else {\n await Promise.all(\n result.map(async output =>\n this.fs.write(\n joinPaths(this.config.graphql.outputPath, output.filename),\n output.content\n )\n )\n );\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;AAmDA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;GACP,IAAI,aAAa,QAAQ;AACzB,OAAI,CAAC,YAAY;AACf,iBAAa,cAAc,MAAM,UAAU;AAC3C,QAAI,CAAC,YAAY;AACf,kBAAa,cAAc,MAAM,kBAAkB;AACnD,SAAI,CAAC,WACH,OAAM,IAAI,MACR,qIACD;;;AAKP,UAAO,EACL,SAAS,KAAK,SAAS;IACrB;IACA,QAAQ,KAAK,OAAO,aAAa;IACjC,SACE,KAAK,OAAO,aAAa,cAAc,SACvC,KAAK,OAAO,aAAa,cAAc;IACzC,OAAO,KAAK,OAAO,SAAS;IAC5B,YAAY,UAAU,iBAAiB,UAAU;IAClD,CAAC,EACH;;EAEH,MAAM,iBAAiB;AACrB,QAAK,aAAa,UAAU;AAE5B,QAAK,OAAO,QAAQ,aAAa,kBAC/B,MACA,KAAK,OAAO,QAAQ,WACrB;AAED,QAAK,YAAY,EAAE;AAEnB,QAAK,QAAQ,UAAU,MAAM,YAAY,KAAK,OAAO,QAAQ,WAAW;AACxE,6BAA0B,KAAK,QAAQ,SAAS;IAC9C,SAAS,EAAE;IACX,WAAW;IACX,SAAS,KAAK,OAAO;IACrB,GAAG,KAAK,OAAO;IACf,QAAQ,KAAK,OAAO,QAAQ;IAC5B,OAAO;IACR,CAAC;;EAEJ,MAAM,UAAU;GACd,MAAM,SAAS,MAAM,SACnB;IACE,GAAG,KAAK,QAAQ;IAChB,KAAK,UAAU,KAAK,gBAAgB,eAAe,KAAK,OAAO,KAAK;IACrE,EACD,MACD;AAED,OAAI,aAAa,KAAK,OAAO,QAAQ,YAAY,KAAK,aAAa,CACjE,OAAM,QAAQ,IACZ,OAAO,IAAI,OAAM,WACf,KAAK,YACH,OAAO,SACP,aACE,UACE,YACE,KAAK,OAAO,QAAQ,YACpB,KAAK,aACN,EACD,OAAO,SACR,EACD,EAAE,eAAe,OAAO,CACzB,CACF,CACF,CACF;OAED,OAAM,QAAQ,IACZ,OAAO,IAAI,OAAM,WACf,KAAK,GAAG,MACN,UAAU,KAAK,OAAO,QAAQ,YAAY,OAAO,SAAS,EAC1D,OAAO,QACR,CACF,CACF;;EAGN"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n generate,\n loadContext,\n updateContextWithCliFlags\n} from \"@graphql-codegen/cli\";\nimport { LogLevelLabel } from \"@storm-software/config-tools/types\";\nimport { findFileName } from \"@stryke/path/file-path-fns\";\nimport { isParentPath } from \"@stryke/path/is-parent-path\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines\";\nimport { getConfigPath, replacePathTokens } from \"powerlines/plugin-utils\";\nimport { GraphQLPluginContext, GraphQLPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n graphql?: GraphQLPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate GraphQL for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends GraphQLPluginContext = GraphQLPluginContext\n>(\n options: GraphQLPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"graphql\",\n config() {\n let configFile = options.configFile;\n if (!configFile) {\n configFile = getConfigPath(this, \"codegen\");\n if (!configFile) {\n configFile = getConfigPath(this, \"graphql-codegen\");\n if (!configFile) {\n throw new Error(\n `No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's \\`configFile\\` options.`\n );\n }\n }\n }\n\n return {\n graphql: defu(options, {\n configFile,\n silent: this.config.logLevel === null,\n verbose:\n this.config.logLevel === LogLevelLabel.DEBUG ||\n this.config.logLevel === LogLevelLabel.TRACE,\n debug: this.config.mode === \"development\",\n outputPath: joinPaths(\"{builtinPath}\", \"graphql\")\n })\n };\n },\n async configResolved() {\n this.dependencies.graphql = \"latest\";\n\n this.config.graphql.outputPath = replacePathTokens(\n this,\n this.config.graphql.outputPath\n );\n\n this.graphql ??= {} as GraphQLPluginContext[\"graphql\"];\n\n this.graphql.codegen = await loadContext(this.config.graphql.configFile);\n updateContextWithCliFlags(this.graphql.codegen, {\n require: [],\n overwrite: true,\n project: this.config.root,\n ...this.config.graphql,\n config: this.config.graphql.configFile,\n watch: false\n });\n },\n async prepare() {\n const result = await generate(\n {\n ...this.graphql.codegen,\n cwd: joinPaths(this.config.cwd, this.config.root)\n } as Parameters<typeof generate>[0],\n false\n );\n\n if (isParentPath(this.config.graphql.outputPath, this.builtinsPath)) {\n await Promise.all(\n result.map(async output =>\n this.emitBuiltin(\n output.content,\n findFileName(\n joinPaths(\n replacePath(\n this.config.graphql.outputPath,\n this.builtinsPath\n ),\n output.filename\n ),\n { withExtension: false }\n )\n )\n )\n );\n } else {\n await Promise.all(\n result.map(async output =>\n this.fs.write(\n joinPaths(this.config.graphql.outputPath, output.filename),\n output.content\n )\n )\n );\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;AA+CA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;GACP,IAAI,aAAa,QAAQ;AACzB,OAAI,CAAC,YAAY;AACf,iBAAa,cAAc,MAAM,UAAU;AAC3C,QAAI,CAAC,YAAY;AACf,kBAAa,cAAc,MAAM,kBAAkB;AACnD,SAAI,CAAC,WACH,OAAM,IAAI,MACR,qIACD;;;AAKP,UAAO,EACL,SAAS,KAAK,SAAS;IACrB;IACA,QAAQ,KAAK,OAAO,aAAa;IACjC,SACE,KAAK,OAAO,aAAa,cAAc,SACvC,KAAK,OAAO,aAAa,cAAc;IACzC,OAAO,KAAK,OAAO,SAAS;IAC5B,YAAY,UAAU,iBAAiB,UAAU;IAClD,CAAC,EACH;;EAEH,MAAM,iBAAiB;AACrB,QAAK,aAAa,UAAU;AAE5B,QAAK,OAAO,QAAQ,aAAa,kBAC/B,MACA,KAAK,OAAO,QAAQ,WACrB;AAED,QAAK,YAAY,EAAE;AAEnB,QAAK,QAAQ,UAAU,MAAM,YAAY,KAAK,OAAO,QAAQ,WAAW;AACxE,6BAA0B,KAAK,QAAQ,SAAS;IAC9C,SAAS,EAAE;IACX,WAAW;IACX,SAAS,KAAK,OAAO;IACrB,GAAG,KAAK,OAAO;IACf,QAAQ,KAAK,OAAO,QAAQ;IAC5B,OAAO;IACR,CAAC;;EAEJ,MAAM,UAAU;GACd,MAAM,SAAS,MAAM,SACnB;IACE,GAAG,KAAK,QAAQ;IAChB,KAAK,UAAU,KAAK,OAAO,KAAK,KAAK,OAAO,KAAK;IAClD,EACD,MACD;AAED,OAAI,aAAa,KAAK,OAAO,QAAQ,YAAY,KAAK,aAAa,CACjE,OAAM,QAAQ,IACZ,OAAO,IAAI,OAAM,WACf,KAAK,YACH,OAAO,SACP,aACE,UACE,YACE,KAAK,OAAO,QAAQ,YACpB,KAAK,aACN,EACD,OAAO,SACR,EACD,EAAE,eAAe,OAAO,CACzB,CACF,CACF,CACF;OAED,OAAM,QAAQ,IACZ,OAAO,IAAI,OAAM,WACf,KAAK,GAAG,MACN,UAAU,KAAK,OAAO,QAAQ,YAAY,OAAO,SAAS,EAC1D,OAAO,QACR,CACF,CACF;;EAGN"}
@@ -1,2 +1,2 @@
1
- import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig } from "./plugin.cjs";
2
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig };
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./plugin.cjs";
2
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig } from "./plugin.mjs";
2
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig };
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./plugin.mjs";
2
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
@@ -31,6 +31,10 @@ type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig =
31
31
  codegen: CodegenContext;
32
32
  };
33
33
  };
34
+ declare type __ΩGraphQLPluginOptions = any[];
35
+ declare type __ΩGraphQLPluginUserConfig = any[];
36
+ declare type __ΩGraphQLPluginResolvedConfig = any[];
37
+ declare type __ΩGraphQLPluginContext = any[];
34
38
  //#endregion
35
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig };
39
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
36
40
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,YAAA;;AADP;;;;;EASE,UAAA;EATwC;;;;;;;;EAmBxC,UAAA;AAAA;AAAA,KAGU,uBAAA,GAA0B,UAAA;EACpC,OAAA,GAAU,IAAA,CACR,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,2BAAA,GAA8B,cAAA;EACxC,OAAA,EAAS,IAAA,CACP,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,oBAAA,yBACc,2BAAA,GACtB,2BAAA,IACA,aAAA,CAAc,eAAA;EAChB,OAAA;IACE,OAAA,EAAS,cAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,YAAA;;AADP;;;;;EASE,UAAA;EATwC;;;;;;;;EAmBxC,UAAA;AAAA;AAAA,KAGU,uBAAA,GAA0B,UAAA;EACpC,OAAA,GAAU,IAAA,CACR,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,2BAAA,GAA8B,cAAA;EACxC,OAAA,EAAS,IAAA,CACP,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,oBAAA,yBACc,2BAAA,GACtB,2BAAA,IACA,aAAA,CAAc,eAAA;EAChB,OAAA;IACE,OAAA,EAAS,cAAA;EAAA;AAAA;AAAA"}
@@ -31,6 +31,10 @@ type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig =
31
31
  codegen: CodegenContext;
32
32
  };
33
33
  };
34
+ declare type __ΩGraphQLPluginOptions = any[];
35
+ declare type __ΩGraphQLPluginUserConfig = any[];
36
+ declare type __ΩGraphQLPluginResolvedConfig = any[];
37
+ declare type __ΩGraphQLPluginContext = any[];
34
38
  //#endregion
35
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig };
39
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
36
40
  //# sourceMappingURL=plugin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,YAAA;;AADP;;;;;EASE,UAAA;EATwC;;;;;;;;EAmBxC,UAAA;AAAA;AAAA,KAGU,uBAAA,GAA0B,UAAA;EACpC,OAAA,GAAU,IAAA,CACR,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,2BAAA,GAA8B,cAAA;EACxC,OAAA,EAAS,IAAA,CACP,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,oBAAA,yBACc,2BAAA,GACtB,2BAAA,IACA,aAAA,CAAc,eAAA;EAChB,OAAA;IACE,OAAA,EAAS,cAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,YAAA;;AADP;;;;;EASE,UAAA;EATwC;;;;;;;;EAmBxC,UAAA;AAAA;AAAA,KAGU,uBAAA,GAA0B,UAAA;EACpC,OAAA,GAAU,IAAA,CACR,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,2BAAA,GAA8B,cAAA;EACxC,OAAA,EAAS,IAAA,CACP,YAAA,8DAGA,IAAA,CAAK,oBAAA,iCACL,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA;AAAA,KAGN,oBAAA,yBACc,2BAAA,GACtB,2BAAA,IACA,aAAA,CAAc,eAAA;EAChB,OAAA;IACE,OAAA,EAAS,cAAA;EAAA;AAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-graphql",
3
- "version": "0.1.400",
3
+ "version": "0.1.402",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to generate project code from GraphQL schemas.",
6
6
  "keywords": ["graphql", "powerlines", "storm-software", "powerlines-plugin"],
@@ -90,20 +90,20 @@
90
90
  "typings": "dist/index.d.mts",
91
91
  "files": ["dist/**/*"],
92
92
  "dependencies": {
93
- "@graphql-codegen/cli": "^6.3.0",
94
- "@storm-software/config-tools": "^1.189.76",
93
+ "@graphql-codegen/cli": "^6.3.1",
94
+ "@storm-software/config-tools": "^1.189.77",
95
95
  "@stryke/path": "^0.27.4",
96
96
  "@stryke/type-checks": "^0.6.1",
97
97
  "@stryke/types": "^0.11.3",
98
98
  "defu": "^6.1.7",
99
99
  "jiti": "^2.6.1",
100
- "powerlines": "^0.42.40"
100
+ "powerlines": "^0.43.0"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@graphql-codegen/plugin-helpers": "^6.3.0",
104
- "@powerlines/plugin-plugin": "^0.12.350",
104
+ "@powerlines/plugin-plugin": "^0.12.352",
105
105
  "@types/node": "^25.6.0"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
- "gitHead": "53fe118324ce5a30936fc934f219781021d72844"
108
+ "gitHead": "49eae5ce8145cd6ae873cb4d9b3d747f7132c82d"
109
109
  }