@powerlines/plugin-untyped 0.2.191 → 0.2.193
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-BgAdqTbb.d.mts +1 -0
- package/dist/index-CEgs-Dz2.d.cts +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +4 -3
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-5Qn-3Vmh.d.mts +37 -0
- package/dist/plugin-5Qn-3Vmh.d.mts.map +1 -0
- package/dist/plugin-C3MaN5jp.mjs +1 -0
- package/dist/plugin-CpGeqL2G.d.cts +37 -0
- package/dist/plugin-CpGeqL2G.d.cts.map +1 -0
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -35
- package/dist/types/plugin.d.mts +1 -35
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-CTUnla4x.mjs +1 -0
- package/dist/types-DHkg7xmX.cjs +0 -0
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
require('./plugin-DHXHjv16.cjs');
|
|
3
|
+
require('./types-DHkg7xmX.cjs');
|
|
2
4
|
let __storm_software_untyped_generate = require("@storm-software/untyped/generate");
|
|
3
5
|
let __stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
4
6
|
let powerlines_plugin_utils_paths = require("powerlines/plugin-utils/paths");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UntypedPluginContext,
|
|
2
|
-
import "./
|
|
1
|
+
import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "./plugin-CpGeqL2G.cjs";
|
|
2
|
+
import "./index-CEgs-Dz2.cjs";
|
|
3
3
|
import { Plugin } from "powerlines/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
@@ -12,4 +12,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
12
12
|
*/
|
|
13
13
|
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options?: UntypedPluginOptions) => Plugin<TContext>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig, plugin as default, plugin };
|
|
15
|
+
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig, plugin as default, plugin };
|
|
16
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAiCA;;;;AAIU,cAJG,MAIH,EAAA,CAAA,iBAHS,oBAGT,GAHgC,oBAGhC,CAAA,CAAA,OAAA,CAAA,EADC,oBACD,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UntypedPluginContext,
|
|
2
|
-
import "./
|
|
1
|
+
import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "./plugin-5Qn-3Vmh.mjs";
|
|
2
|
+
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
import { Plugin } from "powerlines/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
@@ -12,4 +12,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
12
12
|
*/
|
|
13
13
|
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options?: UntypedPluginOptions) => Plugin<TContext>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig, plugin as default, plugin };
|
|
15
|
+
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig, plugin as default, plugin };
|
|
16
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAiCA;;;;AAIU,cAJG,MAIH,EAAA,CAAA,iBAHS,oBAGT,GAHgC,oBAGhC,CAAA,CAAA,OAAA,CAAA,EADC,oBACD,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import "./plugin-C3MaN5jp.mjs";
|
|
2
|
+
import "./types-CTUnla4x.mjs";
|
|
1
3
|
import { getGenerateAction } from "@storm-software/untyped/generate";
|
|
2
4
|
import { toArray } from "@stryke/convert/to-array";
|
|
3
5
|
import { replacePathTokens } from "powerlines/plugin-utils/paths";
|
|
@@ -35,4 +37,5 @@ const plugin = (options = {}) => {
|
|
|
35
37
|
var src_default = plugin;
|
|
36
38
|
|
|
37
39
|
//#endregion
|
|
38
|
-
export { src_default as default, plugin };
|
|
40
|
+
export { src_default as default, plugin };
|
|
41
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +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 type { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { getGenerateAction } from \"@storm-software/untyped/generate\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport { replacePathTokens } from \"powerlines/plugin-utils/paths\";\nimport type { Plugin } from \"powerlines/types/plugin\";\nimport { UntypedPluginContext, UntypedPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends UntypedPluginContext = UntypedPluginContext\n>(\n options: UntypedPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"untyped\",\n config() {\n return {\n untyped: {\n schema: \"{projectRoot}/**/{untyped.ts,*.untyped.ts}\",\n ...options\n }\n };\n },\n async configResolved() {\n if (!this.config.untyped.schema) {\n throw new Error(\n \"Untyped plugin requires a schema path or glob pattern to be specified in the configuration.\"\n );\n }\n\n this.config.untyped.schema = toArray(this.config.untyped.schema).map(\n path => replacePathTokens(this, path)\n );\n\n this.untyped = getGenerateAction(\n this.workspaceConfig as StormWorkspaceConfig\n );\n },\n async prepare() {\n return this.untyped({\n entry: this.config.untyped.schema,\n outputPath: this.config.untyped.outputPath,\n generatedBy: this.config.framework\n });\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;AAiCA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,SAAS;IACP,QAAQ;IACR,GAAG;IACJ,EACF;;EAEH,MAAM,iBAAiB;AACrB,OAAI,CAAC,KAAK,OAAO,QAAQ,OACvB,OAAM,IAAI,MACR,8FACD;AAGH,QAAK,OAAO,QAAQ,SAAS,QAAQ,KAAK,OAAO,QAAQ,OAAO,CAAC,KAC/D,SAAQ,kBAAkB,MAAM,KAAK,CACtC;AAED,QAAK,UAAU,kBACb,KAAK,gBACN;;EAEH,MAAM,UAAU;AACd,UAAO,KAAK,QAAQ;IAClB,OAAO,KAAK,OAAO,QAAQ;IAC3B,YAAY,KAAK,OAAO,QAAQ;IAChC,aAAa,KAAK,OAAO;IAC1B,CAAC;;EAEL;;AAGH,kBAAe"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { getGenerateAction } from "@storm-software/untyped/generate";
|
|
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
|
+
interface UntypedPluginOptions {
|
|
8
|
+
/**
|
|
9
|
+
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue "\{projectRoot\}/**\/\{untyped.ts,*.untyped.ts\}"
|
|
12
|
+
*/
|
|
13
|
+
schema?: string | string[];
|
|
14
|
+
/**
|
|
15
|
+
* The path for the generated Untyped output files
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* By default, it will generate the output files alongside each schema file.
|
|
19
|
+
*/
|
|
20
|
+
outputPath?: string;
|
|
21
|
+
}
|
|
22
|
+
interface UntypedPluginUserConfig extends UserConfig {
|
|
23
|
+
untyped?: UntypedPluginOptions;
|
|
24
|
+
}
|
|
25
|
+
interface UntypedPluginResolvedConfig extends ResolvedConfig {
|
|
26
|
+
untyped: UntypedPluginOptions;
|
|
27
|
+
}
|
|
28
|
+
interface UntypedPluginContext<TResolvedConfig extends UntypedPluginResolvedConfig = UntypedPluginResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
29
|
+
untyped: ReturnType<typeof getGenerateAction>;
|
|
30
|
+
}
|
|
31
|
+
declare type __ΩUntypedPluginOptions = any[];
|
|
32
|
+
declare type __ΩUntypedPluginUserConfig = any[];
|
|
33
|
+
declare type __ΩUntypedPluginResolvedConfig = any[];
|
|
34
|
+
declare type __ΩUntypedPluginContext = any[];
|
|
35
|
+
//#endregion
|
|
36
|
+
export { __ΩUntypedPluginContext as a, __ΩUntypedPluginUserConfig as c, UntypedPluginUserConfig as i, UntypedPluginOptions as n, __ΩUntypedPluginOptions as o, UntypedPluginResolvedConfig as r, __ΩUntypedPluginResolvedConfig as s, UntypedPluginContext as t };
|
|
37
|
+
//# sourceMappingURL=plugin-5Qn-3Vmh.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-5Qn-3Vmh.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UAyBiB,oBAAA;;AAAjB;AAiBA;AAIA;AAIA;EAC0B,MAAA,CAAA,EAAA,MAAA,GAAA,MAAA,EAAA;EACtB;;;;;;;;UAVa,uBAAA,SAAgC;YACrC;;UAGK,2BAAA,SAAoC;WAC1C;;UAGM,6CACS,8BACtB,qCACM,cAAc;WACb,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { getGenerateAction } from "@storm-software/untyped/generate";
|
|
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
|
+
interface UntypedPluginOptions {
|
|
8
|
+
/**
|
|
9
|
+
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue "\{projectRoot\}/**\/\{untyped.ts,*.untyped.ts\}"
|
|
12
|
+
*/
|
|
13
|
+
schema?: string | string[];
|
|
14
|
+
/**
|
|
15
|
+
* The path for the generated Untyped output files
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* By default, it will generate the output files alongside each schema file.
|
|
19
|
+
*/
|
|
20
|
+
outputPath?: string;
|
|
21
|
+
}
|
|
22
|
+
interface UntypedPluginUserConfig extends UserConfig {
|
|
23
|
+
untyped?: UntypedPluginOptions;
|
|
24
|
+
}
|
|
25
|
+
interface UntypedPluginResolvedConfig extends ResolvedConfig {
|
|
26
|
+
untyped: UntypedPluginOptions;
|
|
27
|
+
}
|
|
28
|
+
interface UntypedPluginContext<TResolvedConfig extends UntypedPluginResolvedConfig = UntypedPluginResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
29
|
+
untyped: ReturnType<typeof getGenerateAction>;
|
|
30
|
+
}
|
|
31
|
+
declare type __ΩUntypedPluginOptions = any[];
|
|
32
|
+
declare type __ΩUntypedPluginUserConfig = any[];
|
|
33
|
+
declare type __ΩUntypedPluginResolvedConfig = any[];
|
|
34
|
+
declare type __ΩUntypedPluginContext = any[];
|
|
35
|
+
//#endregion
|
|
36
|
+
export { __ΩUntypedPluginContext as a, __ΩUntypedPluginUserConfig as c, UntypedPluginUserConfig as i, UntypedPluginOptions as n, __ΩUntypedPluginOptions as o, UntypedPluginResolvedConfig as r, __ΩUntypedPluginResolvedConfig as s, UntypedPluginContext as t };
|
|
37
|
+
//# sourceMappingURL=plugin-CpGeqL2G.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-CpGeqL2G.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UAyBiB,oBAAA;;AAAjB;AAiBA;AAIA;AAIA;EAC0B,MAAA,CAAA,EAAA,MAAA,GAAA,MAAA,EAAA;EACtB;;;;;;;;UAVa,uBAAA,SAAgC;YACrC;;UAGK,2BAAA,SAAoC;WAC1C;;UAGM,6CACS,8BACtB,qCACM,cAAc;WACb,kBAAkB"}
|
|
File without changes
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { UntypedPluginContext,
|
|
1
|
+
import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-CpGeqL2G.cjs";
|
|
2
|
+
import "../index-CEgs-Dz2.cjs";
|
|
2
3
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { UntypedPluginContext,
|
|
1
|
+
import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-5Qn-3Vmh.mjs";
|
|
2
|
+
import "../index-BgAdqTbb.mjs";
|
|
2
3
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-DHXHjv16.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
import {
|
|
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
|
-
interface UntypedPluginOptions {
|
|
8
|
-
/**
|
|
9
|
-
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
10
|
-
*
|
|
11
|
-
* @defaultValue "\{projectRoot\}/**\/\{untyped.ts,*.untyped.ts\}"
|
|
12
|
-
*/
|
|
13
|
-
schema?: string | string[];
|
|
14
|
-
/**
|
|
15
|
-
* The path for the generated Untyped output files
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* By default, it will generate the output files alongside each schema file.
|
|
19
|
-
*/
|
|
20
|
-
outputPath?: string;
|
|
21
|
-
}
|
|
22
|
-
interface UntypedPluginUserConfig extends UserConfig {
|
|
23
|
-
untyped?: UntypedPluginOptions;
|
|
24
|
-
}
|
|
25
|
-
interface UntypedPluginResolvedConfig extends ResolvedConfig {
|
|
26
|
-
untyped: UntypedPluginOptions;
|
|
27
|
-
}
|
|
28
|
-
interface UntypedPluginContext<TResolvedConfig extends UntypedPluginResolvedConfig = UntypedPluginResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
29
|
-
untyped: ReturnType<typeof getGenerateAction>;
|
|
30
|
-
}
|
|
31
|
-
declare type __ΩUntypedPluginOptions = any[];
|
|
32
|
-
declare type __ΩUntypedPluginUserConfig = any[];
|
|
33
|
-
declare type __ΩUntypedPluginResolvedConfig = any[];
|
|
34
|
-
declare type __ΩUntypedPluginContext = any[];
|
|
35
|
-
//#endregion
|
|
1
|
+
import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-CpGeqL2G.cjs";
|
|
36
2
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
import {
|
|
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
|
-
interface UntypedPluginOptions {
|
|
8
|
-
/**
|
|
9
|
-
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
10
|
-
*
|
|
11
|
-
* @defaultValue "\{projectRoot\}/**\/\{untyped.ts,*.untyped.ts\}"
|
|
12
|
-
*/
|
|
13
|
-
schema?: string | string[];
|
|
14
|
-
/**
|
|
15
|
-
* The path for the generated Untyped output files
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* By default, it will generate the output files alongside each schema file.
|
|
19
|
-
*/
|
|
20
|
-
outputPath?: string;
|
|
21
|
-
}
|
|
22
|
-
interface UntypedPluginUserConfig extends UserConfig {
|
|
23
|
-
untyped?: UntypedPluginOptions;
|
|
24
|
-
}
|
|
25
|
-
interface UntypedPluginResolvedConfig extends ResolvedConfig {
|
|
26
|
-
untyped: UntypedPluginOptions;
|
|
27
|
-
}
|
|
28
|
-
interface UntypedPluginContext<TResolvedConfig extends UntypedPluginResolvedConfig = UntypedPluginResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
29
|
-
untyped: ReturnType<typeof getGenerateAction>;
|
|
30
|
-
}
|
|
31
|
-
declare type __ΩUntypedPluginOptions = any[];
|
|
32
|
-
declare type __ΩUntypedPluginUserConfig = any[];
|
|
33
|
-
declare type __ΩUntypedPluginResolvedConfig = any[];
|
|
34
|
-
declare type __ΩUntypedPluginContext = any[];
|
|
35
|
-
//#endregion
|
|
1
|
+
import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-5Qn-3Vmh.mjs";
|
|
36
2
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-untyped",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.193",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -91,14 +91,14 @@
|
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@storm-software/untyped": "^0.24.62",
|
|
93
93
|
"@stryke/convert": "^0.6.37",
|
|
94
|
-
"powerlines": "^0.38.
|
|
94
|
+
"powerlines": "^0.38.7"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
97
|
+
"@powerlines/plugin-plugin": "^0.12.191",
|
|
98
98
|
"@storm-software/config": "^1.135.1",
|
|
99
99
|
"@types/node": "^24.10.9"
|
|
100
100
|
},
|
|
101
101
|
"publishConfig": { "access": "public" },
|
|
102
102
|
"types": "./dist/index.d.cts",
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "d389997536baee28d116675d7916d9bfa5596dce"
|
|
104
104
|
}
|