@powerlines/plugin-graphql 0.1.253 → 0.1.255

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.
Files changed (30) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/index.cjs +4 -45
  3. package/dist/index.d.cts +2 -2
  4. package/dist/index.d.mts +2 -2
  5. package/dist/index.mjs +1 -16
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/node_modules/.pnpm/@storm-software_config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.cjs +16 -0
  8. package/dist/node_modules/.pnpm/@storm-software_config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.mjs +16 -0
  9. package/dist/node_modules/.pnpm/@storm-software_config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.mjs.map +1 -0
  10. package/dist/types/index.cjs +0 -2
  11. package/dist/types/index.d.cts +1 -2
  12. package/dist/types/index.d.mts +1 -2
  13. package/dist/types/index.mjs +0 -3
  14. package/dist/types/plugin.cjs +0 -1
  15. package/dist/types/plugin.d.cts +42 -2
  16. package/dist/types/plugin.d.cts.map +1 -0
  17. package/dist/types/plugin.d.mts +42 -2
  18. package/dist/types/plugin.d.mts.map +1 -0
  19. package/dist/types/plugin.mjs +0 -2
  20. package/package.json +7 -7
  21. package/dist/index-BgAdqTbb.d.mts +0 -1
  22. package/dist/index-CEgs-Dz2.d.cts +0 -1
  23. package/dist/plugin-C3MaN5jp.mjs +0 -1
  24. package/dist/plugin-CorCzExc.d.mts +0 -42
  25. package/dist/plugin-CorCzExc.d.mts.map +0 -1
  26. package/dist/plugin-DHXHjv16.cjs +0 -0
  27. package/dist/plugin-DQcoLST0.d.cts +0 -42
  28. package/dist/plugin-DQcoLST0.d.cts.map +0 -1
  29. package/dist/types-CTUnla4x.mjs +0 -1
  30. package/dist/types-DHkg7xmX.cjs +0 -0
@@ -0,0 +1,29 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ exports.__toESM = __toESM;
package/dist/index.cjs CHANGED
@@ -1,57 +1,16 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- //#region rolldown:runtime
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
27
-
28
- //#endregion
29
- require('./plugin-DHXHjv16.cjs');
30
- require('./types-DHkg7xmX.cjs');
2
+ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
+ const require_chunk_POXTJ6GF = require('./node_modules/.pnpm/@storm-software_config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.cjs');
31
4
  let __graphql_codegen_cli = require("@graphql-codegen/cli");
32
5
  let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
33
6
  let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
34
7
  let __stryke_path_join_paths = require("@stryke/path/join-paths");
35
8
  let __stryke_path_replace = require("@stryke/path/replace");
36
9
  let defu = require("defu");
37
- defu = __toESM(defu);
10
+ defu = require_rolldown_runtime.__toESM(defu);
38
11
  let powerlines_plugin_utils_get_config_path = require("powerlines/plugin-utils/get-config-path");
39
12
  let powerlines_plugin_utils_paths = require("powerlines/plugin-utils/paths");
40
13
 
41
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
42
- var LogLevelLabel = {
43
- SILENT: "silent",
44
- FATAL: "fatal",
45
- ERROR: "error",
46
- WARN: "warn",
47
- SUCCESS: "success",
48
- INFO: "info",
49
- DEBUG: "debug",
50
- TRACE: "trace",
51
- ALL: "all"
52
- };
53
-
54
- //#endregion
55
14
  //#region src/index.ts
56
15
  /**
57
16
  * A Powerlines plugin to integrate GraphQL for code generation.
@@ -74,7 +33,7 @@ const plugin = (options = {}) => {
74
33
  return { graphql: (0, defu.default)(options, {
75
34
  configFile,
76
35
  silent: this.config.logLevel === null,
77
- verbose: this.config.logLevel === LogLevelLabel.DEBUG || this.config.logLevel === LogLevelLabel.TRACE,
36
+ verbose: this.config.logLevel === require_chunk_POXTJ6GF.LogLevelLabel.DEBUG || this.config.logLevel === require_chunk_POXTJ6GF.LogLevelLabel.TRACE,
78
37
  debug: this.config.mode === "development",
79
38
  outputPath: (0, __stryke_path_join_paths.joinPaths)("{builtinPath}", "graphql")
80
39
  }) };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "./plugin-DQcoLST0.cjs";
2
- import "./index-CEgs-Dz2.cjs";
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./types/plugin.cjs";
2
+ import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "./plugin-CorCzExc.mjs";
2
- import "./index-BgAdqTbb.mjs";
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./types/plugin.mjs";
2
+ import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
- import "./plugin-C3MaN5jp.mjs";
2
- import "./types-CTUnla4x.mjs";
1
+ import { LogLevelLabel } from "./node_modules/.pnpm/@storm-software_config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.mjs";
3
2
  import { generate, loadContext, updateContextWithCliFlags } from "@graphql-codegen/cli";
4
3
  import { findFileName } from "@stryke/path/file-path-fns";
5
4
  import { isParentPath } from "@stryke/path/is-parent-path";
@@ -9,20 +8,6 @@ import defu from "defu";
9
8
  import { getConfigPath } from "powerlines/plugin-utils/get-config-path";
10
9
  import { replacePathTokens } from "powerlines/plugin-utils/paths";
11
10
 
12
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
13
- var LogLevelLabel = {
14
- SILENT: "silent",
15
- FATAL: "fatal",
16
- ERROR: "error",
17
- WARN: "warn",
18
- SUCCESS: "success",
19
- INFO: "info",
20
- DEBUG: "debug",
21
- TRACE: "trace",
22
- ALL: "all"
23
- };
24
-
25
- //#endregion
26
11
  //#region src/index.ts
27
12
  /**
28
13
  * A Powerlines plugin to integrate GraphQL for code generation.
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../node_modules/.pnpm/@storm-software+config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js","../src/index.ts"],"sourcesContent":["// src/types.ts\nvar LogLevel = {\n SILENT: 0,\n FATAL: 10,\n ERROR: 20,\n WARN: 30,\n SUCCESS: 35,\n INFO: 40,\n DEBUG: 60,\n TRACE: 70,\n ALL: 100\n};\nvar LogLevelLabel = {\n SILENT: \"silent\",\n FATAL: \"fatal\",\n ERROR: \"error\",\n WARN: \"warn\",\n SUCCESS: \"success\",\n INFO: \"info\",\n DEBUG: \"debug\",\n TRACE: \"trace\",\n ALL: \"all\"\n};\n\nexport {\n LogLevel,\n LogLevelLabel\n};\n","/* -------------------------------------------------------------------\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 { getConfigPath } from \"powerlines/plugin-utils/get-config-path\";\nimport { replacePathTokens } from \"powerlines/plugin-utils/paths\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n GraphQLPluginContext,\n GraphQLPluginOptions,\n GraphQLPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\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.projectRoot,\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(\n this.workspaceConfig.workspaceRoot,\n this.config.projectRoot\n )\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"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAYA,IAAI,gBAAgB;CAClB,QAAQ;CACR,OAAO;CACP,OAAO;CACP,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,OAAO;CACP,KAAK;CACN;;;;;;;;;;ACwBD,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,UACH,KAAK,gBAAgB,eACrB,KAAK,OAAO,YACb;IACF,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;;AAGH,kBAAe"}
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 { getConfigPath } from \"powerlines/plugin-utils/get-config-path\";\nimport { replacePathTokens } from \"powerlines/plugin-utils/paths\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n GraphQLPluginContext,\n GraphQLPluginOptions,\n GraphQLPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\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.projectRoot,\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(\n this.workspaceConfig.workspaceRoot,\n this.config.projectRoot\n )\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":";;;;;;;;;;;;;;;;;AA8CA,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,UACH,KAAK,gBAAgB,eACrB,KAAK,OAAO,YACb;IACF,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;;AAGH,kBAAe"}
@@ -0,0 +1,16 @@
1
+
2
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
3
+ var LogLevelLabel = {
4
+ SILENT: "silent",
5
+ FATAL: "fatal",
6
+ ERROR: "error",
7
+ WARN: "warn",
8
+ SUCCESS: "success",
9
+ INFO: "info",
10
+ DEBUG: "debug",
11
+ TRACE: "trace",
12
+ ALL: "all"
13
+ };
14
+
15
+ //#endregion
16
+ exports.LogLevelLabel = LogLevelLabel;
@@ -0,0 +1,16 @@
1
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
2
+ var LogLevelLabel = {
3
+ SILENT: "silent",
4
+ FATAL: "fatal",
5
+ ERROR: "error",
6
+ WARN: "warn",
7
+ SUCCESS: "success",
8
+ INFO: "info",
9
+ DEBUG: "debug",
10
+ TRACE: "trace",
11
+ ALL: "all"
12
+ };
13
+
14
+ //#endregion
15
+ export { LogLevelLabel };
16
+ //# sourceMappingURL=chunk-POXTJ6GF.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-POXTJ6GF.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@storm-software+config-tools@1.189.0_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js"],"sourcesContent":["// src/types.ts\nvar LogLevel = {\n SILENT: 0,\n FATAL: 10,\n ERROR: 20,\n WARN: 30,\n SUCCESS: 35,\n INFO: 40,\n DEBUG: 60,\n TRACE: 70,\n ALL: 100\n};\nvar LogLevelLabel = {\n SILENT: \"silent\",\n FATAL: \"fatal\",\n ERROR: \"error\",\n WARN: \"warn\",\n SUCCESS: \"success\",\n INFO: \"info\",\n DEBUG: \"debug\",\n TRACE: \"trace\",\n ALL: \"all\"\n};\n\nexport {\n LogLevel,\n LogLevelLabel\n};\n"],"x_google_ignoreList":[0],"mappings":";AAYA,IAAI,gBAAgB;CAClB,QAAQ;CACR,OAAO;CACP,OAAO;CACP,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,OAAO;CACP,KAAK;CACN"}
@@ -1,2 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
2
- require('../types-DHkg7xmX.cjs');
@@ -1,3 +1,2 @@
1
- import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-DQcoLST0.cjs";
2
- import "../index-CEgs-Dz2.cjs";
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./plugin.cjs";
3
2
  export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
@@ -1,3 +1,2 @@
1
- import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-CorCzExc.mjs";
2
- import "../index-BgAdqTbb.mjs";
1
+ import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig } from "./plugin.mjs";
3
2
  export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
@@ -1,4 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
- import "../types-CTUnla4x.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
@@ -1,2 +1,42 @@
1
- import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-DQcoLST0.cjs";
2
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
1
+ import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
2
+ import { UserConfig } from "powerlines/types/config";
3
+ import { PluginContext } from "powerlines/types/context";
4
+ import { ResolvedConfig } from "powerlines/types/resolved";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ type GraphQLPluginOptions = Partial<Omit<YamlCliFlags, "config" | "watch">> & {
8
+ /**
9
+ * The path to a custom GraphQL Codegen configuration file.
10
+ *
11
+ * @remarks
12
+ * If not provided, the plugin will attempt to locate a configuration file by searching for one of the following filenames in the project root (in order): "codegen.yml", "codegen.yaml", "codegen.json", "codegen.js", "codegen.cjs".
13
+ */
14
+ configFile?: string;
15
+ /**
16
+ * The path to the output file generated by the plugin.
17
+ *
18
+ * @remarks
19
+ * If using the default value, the file can be imported from "powerlines:graphql/schema-name". This field allows the use of the "\{builtinPath\}" token to refer to the built-in Powerlines plugins directory - the value will be replaced with the correct file path by the plugin.
20
+ *
21
+ * @defaultValue "\{builtinPath\}/graphql"
22
+ */
23
+ outputPath?: string;
24
+ };
25
+ type GraphQLPluginUserConfig = UserConfig & {
26
+ graphql?: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
27
+ };
28
+ type GraphQLPluginResolvedConfig = ResolvedConfig & {
29
+ graphql: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
30
+ };
31
+ type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig = GraphQLPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
32
+ graphql: {
33
+ codegen: CodegenContext;
34
+ };
35
+ };
36
+ declare type __ΩGraphQLPluginOptions = any[];
37
+ declare type __ΩGraphQLPluginUserConfig = any[];
38
+ declare type __ΩGraphQLPluginResolvedConfig = any[];
39
+ declare type __ΩGraphQLPluginContext = any[];
40
+ //#endregion
41
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
42
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,oBAAA,GAAuB,QACjC,KAAK;;AADP;;;;;EAsBY,UAAA,CAAA,EAAA,MAAA;EAA0B;;;;;;;;EAM1B,UAAA,CAAA,EAAA,MAAA;AAGZ,CAAA;AAA0C,KAT9B,uBAAA,GAA0B,UASI,GAAA;EAEtC,OAAA,CAAA,EAVQ,IAUR,CATA,YASA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GANA,IAMA,CANK,oBAML,EAAA,YAAA,GAAA,YAAA,CAAA,GALA,QAKA,CALS,IAKT,CALc,oBAKd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CADO;AAIF,KALG,2BAAA,GAA8B,cAKjC,GAAA;EAAL,OAAA,EAJO,IAIP,CAHA,YAGA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GAAA,IAAA,CAAK,oBAAL,EAAA,YAAA,GAAA,YAAA,CAAA,GACA,QADA,CACS,IADT,CACc,oBADd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CACc;AAAL,KAGD,oBAHC,CAAA,wBAKT,2BALS,GAKqB,2BALrB,CAAA,GAMT,aANS,CAMK,eANL,CAAA,GAAA;EAAT,OAAA,EAAA;IAAQ,OAAA,EAQC,cARD;EAGA,CAAA;CAER;AAA8B,uCAAA,GAAA,EAAA;AAChB,0CAAA,GAAA,EAAA;AAAd,8CAAA,GAAA,EAAA;AAES,uCAAA,GAAA,EAAA"}
@@ -1,2 +1,42 @@
1
- import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-CorCzExc.mjs";
2
- export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
1
+ import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
2
+ import { UserConfig } from "powerlines/types/config";
3
+ import { PluginContext } from "powerlines/types/context";
4
+ import { ResolvedConfig } from "powerlines/types/resolved";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ type GraphQLPluginOptions = Partial<Omit<YamlCliFlags, "config" | "watch">> & {
8
+ /**
9
+ * The path to a custom GraphQL Codegen configuration file.
10
+ *
11
+ * @remarks
12
+ * If not provided, the plugin will attempt to locate a configuration file by searching for one of the following filenames in the project root (in order): "codegen.yml", "codegen.yaml", "codegen.json", "codegen.js", "codegen.cjs".
13
+ */
14
+ configFile?: string;
15
+ /**
16
+ * The path to the output file generated by the plugin.
17
+ *
18
+ * @remarks
19
+ * If using the default value, the file can be imported from "powerlines:graphql/schema-name". This field allows the use of the "\{builtinPath\}" token to refer to the built-in Powerlines plugins directory - the value will be replaced with the correct file path by the plugin.
20
+ *
21
+ * @defaultValue "\{builtinPath\}/graphql"
22
+ */
23
+ outputPath?: string;
24
+ };
25
+ type GraphQLPluginUserConfig = UserConfig & {
26
+ graphql?: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
27
+ };
28
+ type GraphQLPluginResolvedConfig = ResolvedConfig & {
29
+ graphql: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
30
+ };
31
+ type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig = GraphQLPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
32
+ graphql: {
33
+ codegen: CodegenContext;
34
+ };
35
+ };
36
+ declare type __ΩGraphQLPluginOptions = any[];
37
+ declare type __ΩGraphQLPluginUserConfig = any[];
38
+ declare type __ΩGraphQLPluginResolvedConfig = any[];
39
+ declare type __ΩGraphQLPluginContext = any[];
40
+ //#endregion
41
+ export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
42
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,oBAAA,GAAuB,QACjC,KAAK;;AADP;;;;;EAsBY,UAAA,CAAA,EAAA,MAAA;EAA0B;;;;;;;;EAM1B,UAAA,CAAA,EAAA,MAAA;AAGZ,CAAA;AAA0C,KAT9B,uBAAA,GAA0B,UASI,GAAA;EAEtC,OAAA,CAAA,EAVQ,IAUR,CATA,YASA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GANA,IAMA,CANK,oBAML,EAAA,YAAA,GAAA,YAAA,CAAA,GALA,QAKA,CALS,IAKT,CALc,oBAKd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CADO;AAIF,KALG,2BAAA,GAA8B,cAKjC,GAAA;EAAL,OAAA,EAJO,IAIP,CAHA,YAGA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GAAA,IAAA,CAAK,oBAAL,EAAA,YAAA,GAAA,YAAA,CAAA,GACA,QADA,CACS,IADT,CACc,oBADd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CACc;AAAL,KAGD,oBAHC,CAAA,wBAKT,2BALS,GAKqB,2BALrB,CAAA,GAMT,aANS,CAMK,eANL,CAAA,GAAA;EAAT,OAAA,EAAA;IAAQ,OAAA,EAQC,cARD;EAGA,CAAA;CAER;AAA8B,uCAAA,GAAA,EAAA;AAChB,0CAAA,GAAA,EAAA;AAAd,8CAAA,GAAA,EAAA;AAES,uCAAA,GAAA,EAAA"}
@@ -1,3 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-graphql",
3
- "version": "0.1.253",
3
+ "version": "0.1.255",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code from GraphQL schemas.",
6
6
  "repository": {
@@ -90,19 +90,19 @@
90
90
  "keywords": ["graphql", "powerlines", "storm-software", "powerlines-plugin"],
91
91
  "dependencies": {
92
92
  "@graphql-codegen/cli": "^6.1.1",
93
- "@stryke/path": "^0.26.3",
94
- "@stryke/type-checks": "^0.5.22",
95
- "@stryke/types": "^0.10.36",
93
+ "@stryke/path": "^0.26.4",
94
+ "@stryke/type-checks": "^0.5.23",
95
+ "@stryke/types": "^0.10.37",
96
96
  "defu": "^6.1.4",
97
97
  "jiti": "^2.6.1",
98
- "powerlines": "^0.38.19"
98
+ "powerlines": "^0.38.21"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@graphql-codegen/plugin-helpers": "^6.1.0",
102
- "@powerlines/plugin-plugin": "^0.12.203",
102
+ "@powerlines/plugin-plugin": "^0.12.205",
103
103
  "@types/node": "^24.10.9"
104
104
  },
105
105
  "publishConfig": { "access": "public" },
106
106
  "types": "./dist/index.d.cts",
107
- "gitHead": "ed4d8044dcb6e1de7843b3908424bb0a7e636620"
107
+ "gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
108
108
  }
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1,42 +0,0 @@
1
- import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
2
- import { UserConfig } from "powerlines/types/config";
3
- import { PluginContext } from "powerlines/types/context";
4
- import { ResolvedConfig } from "powerlines/types/resolved";
5
-
6
- //#region src/types/plugin.d.ts
7
- type GraphQLPluginOptions = Partial<Omit<YamlCliFlags, "config" | "watch">> & {
8
- /**
9
- * The path to a custom GraphQL Codegen configuration file.
10
- *
11
- * @remarks
12
- * If not provided, the plugin will attempt to locate a configuration file by searching for one of the following filenames in the project root (in order): "codegen.yml", "codegen.yaml", "codegen.json", "codegen.js", "codegen.cjs".
13
- */
14
- configFile?: string;
15
- /**
16
- * The path to the output file generated by the plugin.
17
- *
18
- * @remarks
19
- * If using the default value, the file can be imported from "powerlines:graphql/schema-name". This field allows the use of the "\{builtinPath\}" token to refer to the built-in Powerlines plugins directory - the value will be replaced with the correct file path by the plugin.
20
- *
21
- * @defaultValue "\{builtinPath\}/graphql"
22
- */
23
- outputPath?: string;
24
- };
25
- type GraphQLPluginUserConfig = UserConfig & {
26
- graphql?: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
27
- };
28
- type GraphQLPluginResolvedConfig = ResolvedConfig & {
29
- graphql: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
30
- };
31
- type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig = GraphQLPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
32
- graphql: {
33
- codegen: CodegenContext;
34
- };
35
- };
36
- declare type __ΩGraphQLPluginOptions = any[];
37
- declare type __ΩGraphQLPluginUserConfig = any[];
38
- declare type __ΩGraphQLPluginResolvedConfig = any[];
39
- declare type __ΩGraphQLPluginContext = any[];
40
- //#endregion
41
- export { __ΩGraphQLPluginContext as a, __ΩGraphQLPluginUserConfig as c, GraphQLPluginUserConfig as i, GraphQLPluginOptions as n, __ΩGraphQLPluginOptions as o, GraphQLPluginResolvedConfig as r, __ΩGraphQLPluginResolvedConfig as s, GraphQLPluginContext as t };
42
- //# sourceMappingURL=plugin-CorCzExc.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-CorCzExc.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,oBAAA,GAAuB,QACjC,KAAK;;AADP;;;;;EAsBY,UAAA,CAAA,EAAA,MAAA;EAA0B;;;;;;;;EAM1B,UAAA,CAAA,EAAA,MAAA;AAGZ,CAAA;AAA0C,KAT9B,uBAAA,GAA0B,UASI,GAAA;EAEtC,OAAA,CAAA,EAVQ,IAUR,CATA,YASA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GANA,IAMA,CANK,oBAML,EAAA,YAAA,GAAA,YAAA,CAAA,GALA,QAKA,CALS,IAKT,CALc,oBAKd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CADO;AAIF,KALG,2BAAA,GAA8B,cAKjC,GAAA;EAAL,OAAA,EAJO,IAIP,CAHA,YAGA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GAAA,IAAA,CAAK,oBAAL,EAAA,YAAA,GAAA,YAAA,CAAA,GACA,QADA,CACS,IADT,CACc,oBADd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CACc;AAAL,KAGD,oBAHC,CAAA,wBAKT,2BALS,GAKqB,2BALrB,CAAA,GAMT,aANS,CAMK,eANL,CAAA,GAAA;EAAT,OAAA,EAAA;IAAQ,OAAA,EAQC,cARD;EAGA,CAAA;CAER;AAA8B,uCAAA,GAAA,EAAA;AAChB,0CAAA,GAAA,EAAA;AAAd,8CAAA,GAAA,EAAA;AAES,uCAAA,GAAA,EAAA"}
File without changes
@@ -1,42 +0,0 @@
1
- import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
2
- import { UserConfig } from "powerlines/types/config";
3
- import { PluginContext } from "powerlines/types/context";
4
- import { ResolvedConfig } from "powerlines/types/resolved";
5
-
6
- //#region src/types/plugin.d.ts
7
- type GraphQLPluginOptions = Partial<Omit<YamlCliFlags, "config" | "watch">> & {
8
- /**
9
- * The path to a custom GraphQL Codegen configuration file.
10
- *
11
- * @remarks
12
- * If not provided, the plugin will attempt to locate a configuration file by searching for one of the following filenames in the project root (in order): "codegen.yml", "codegen.yaml", "codegen.json", "codegen.js", "codegen.cjs".
13
- */
14
- configFile?: string;
15
- /**
16
- * The path to the output file generated by the plugin.
17
- *
18
- * @remarks
19
- * If using the default value, the file can be imported from "powerlines:graphql/schema-name". This field allows the use of the "\{builtinPath\}" token to refer to the built-in Powerlines plugins directory - the value will be replaced with the correct file path by the plugin.
20
- *
21
- * @defaultValue "\{builtinPath\}/graphql"
22
- */
23
- outputPath?: string;
24
- };
25
- type GraphQLPluginUserConfig = UserConfig & {
26
- graphql?: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
27
- };
28
- type GraphQLPluginResolvedConfig = ResolvedConfig & {
29
- graphql: Omit<YamlCliFlags, "config" | "watch" | "project" | "overwrite" | "require"> & Omit<GraphQLPluginOptions, "outputPath" | "configFile"> & Required<Pick<GraphQLPluginOptions, "outputPath" | "configFile">>;
30
- };
31
- type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig = GraphQLPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
32
- graphql: {
33
- codegen: CodegenContext;
34
- };
35
- };
36
- declare type __ΩGraphQLPluginOptions = any[];
37
- declare type __ΩGraphQLPluginUserConfig = any[];
38
- declare type __ΩGraphQLPluginResolvedConfig = any[];
39
- declare type __ΩGraphQLPluginContext = any[];
40
- //#endregion
41
- export { __ΩGraphQLPluginContext as a, __ΩGraphQLPluginUserConfig as c, GraphQLPluginUserConfig as i, GraphQLPluginOptions as n, __ΩGraphQLPluginOptions as o, GraphQLPluginResolvedConfig as r, __ΩGraphQLPluginResolvedConfig as s, GraphQLPluginContext as t };
42
- //# sourceMappingURL=plugin-DQcoLST0.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-DQcoLST0.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,oBAAA,GAAuB,QACjC,KAAK;;AADP;;;;;EAsBY,UAAA,CAAA,EAAA,MAAA;EAA0B;;;;;;;;EAM1B,UAAA,CAAA,EAAA,MAAA;AAGZ,CAAA;AAA0C,KAT9B,uBAAA,GAA0B,UASI,GAAA;EAEtC,OAAA,CAAA,EAVQ,IAUR,CATA,YASA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GANA,IAMA,CANK,oBAML,EAAA,YAAA,GAAA,YAAA,CAAA,GALA,QAKA,CALS,IAKT,CALc,oBAKd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CADO;AAIF,KALG,2BAAA,GAA8B,cAKjC,GAAA;EAAL,OAAA,EAJO,IAIP,CAHA,YAGA,EAAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,CAAA,GAAA,IAAA,CAAK,oBAAL,EAAA,YAAA,GAAA,YAAA,CAAA,GACA,QADA,CACS,IADT,CACc,oBADd,EAAA,YAAA,GAAA,YAAA,CAAA,CAAA;CACc;AAAL,KAGD,oBAHC,CAAA,wBAKT,2BALS,GAKqB,2BALrB,CAAA,GAMT,aANS,CAMK,eANL,CAAA,GAAA;EAAT,OAAA,EAAA;IAAQ,OAAA,EAQC,cARD;EAGA,CAAA;CAER;AAA8B,uCAAA,GAAA,EAAA;AAChB,0CAAA,GAAA,EAAA;AAAd,8CAAA,GAAA,EAAA;AAES,uCAAA,GAAA,EAAA"}
@@ -1 +0,0 @@
1
- export { };
File without changes