@powerlines/plugin-asyncapi 0.1.59 → 0.1.61
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.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/{plugin-29UCK_sL.d.cts → plugin-C4jwwXBD.d.mts} +3 -6
- package/dist/{plugin-Wz3_b6yJ.d.mts → plugin-Cgecba8_.d.cts} +3 -6
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, l as Plugin, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, l as Plugin, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "./plugin-Cgecba8_.cjs";
|
|
2
2
|
import "./index-CEgs-Dz2.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, l as Plugin, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, l as Plugin, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "./plugin-C4jwwXBD.mjs";
|
|
2
2
|
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GeneratorOptions } from "@asyncapi/generator";
|
|
1
2
|
import { ArrayValues } from "@stryke/types/array";
|
|
2
3
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
3
4
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
|
|
@@ -19,7 +20,6 @@ import { AssetGlob } from "@stryke/types/file";
|
|
|
19
20
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
20
21
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
21
22
|
import ts from "typescript";
|
|
22
|
-
import { GeneratorOptions } from "@asyncapi/generator";
|
|
23
23
|
import { AsyncAPIDocument } from "@asyncapi/parser/esm/models/v3/asyncapi";
|
|
24
24
|
|
|
25
25
|
//#region ../powerlines/src/types/build.d.ts
|
|
@@ -160,10 +160,7 @@ interface BuildConfig {
|
|
|
160
160
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region ../powerlines/src/types/fs.d.ts
|
|
163
|
-
|
|
164
|
-
VIRTUAL = "virtual",
|
|
165
|
-
FS = "fs",
|
|
166
|
-
}
|
|
163
|
+
type StoragePreset = "fs" | "virtual";
|
|
167
164
|
/**
|
|
168
165
|
* Interface defining the methods and properties for a storage adapter.
|
|
169
166
|
*/
|
|
@@ -1635,7 +1632,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1635
1632
|
* @param environment - The environment to check.
|
|
1636
1633
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1637
1634
|
*/
|
|
1638
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) =>
|
|
1635
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
|
|
1639
1636
|
}
|
|
1640
1637
|
//#endregion
|
|
1641
1638
|
//#region src/types/plugin.d.ts
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GeneratorOptions } from "@asyncapi/generator";
|
|
2
1
|
import { ArrayValues } from "@stryke/types/array";
|
|
3
2
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
4
3
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
|
|
@@ -20,6 +19,7 @@ import { AssetGlob } from "@stryke/types/file";
|
|
|
20
19
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
21
20
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
22
21
|
import ts from "typescript";
|
|
22
|
+
import { GeneratorOptions } from "@asyncapi/generator";
|
|
23
23
|
import { AsyncAPIDocument } from "@asyncapi/parser/esm/models/v3/asyncapi";
|
|
24
24
|
|
|
25
25
|
//#region ../powerlines/src/types/build.d.ts
|
|
@@ -160,10 +160,7 @@ interface BuildConfig {
|
|
|
160
160
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region ../powerlines/src/types/fs.d.ts
|
|
163
|
-
|
|
164
|
-
VIRTUAL = "virtual",
|
|
165
|
-
FS = "fs",
|
|
166
|
-
}
|
|
163
|
+
type StoragePreset = "fs" | "virtual";
|
|
167
164
|
/**
|
|
168
165
|
* Interface defining the methods and properties for a storage adapter.
|
|
169
166
|
*/
|
|
@@ -1635,7 +1632,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1635
1632
|
* @param environment - The environment to check.
|
|
1636
1633
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1637
1634
|
*/
|
|
1638
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) =>
|
|
1635
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
|
|
1639
1636
|
}
|
|
1640
1637
|
//#endregion
|
|
1641
1638
|
//#region src/types/plugin.d.ts
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-Cgecba8_.cjs";
|
|
2
2
|
import "../index-CEgs-Dz2.cjs";
|
|
3
3
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, __ΩAsyncAPIPluginContext, __ΩAsyncAPIPluginOptions, __ΩAsyncAPIPluginResolvedConfig, __ΩAsyncAPIPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-C4jwwXBD.mjs";
|
|
2
2
|
import "../index-BgAdqTbb.mjs";
|
|
3
3
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, __ΩAsyncAPIPluginContext, __ΩAsyncAPIPluginOptions, __ΩAsyncAPIPluginResolvedConfig, __ΩAsyncAPIPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-Cgecba8_.cjs";
|
|
2
2
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, __ΩAsyncAPIPluginContext, __ΩAsyncAPIPluginOptions, __ΩAsyncAPIPluginResolvedConfig, __ΩAsyncAPIPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩAsyncAPIPluginContext, c as __ΩAsyncAPIPluginUserConfig, i as AsyncAPIPluginUserConfig, n as AsyncAPIPluginOptions, o as __ΩAsyncAPIPluginOptions, r as AsyncAPIPluginResolvedConfig, s as __ΩAsyncAPIPluginResolvedConfig, t as AsyncAPIPluginContext } from "../plugin-C4jwwXBD.mjs";
|
|
2
2
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, __ΩAsyncAPIPluginContext, __ΩAsyncAPIPluginOptions, __ΩAsyncAPIPluginResolvedConfig, __ΩAsyncAPIPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-asyncapi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from AsyncAPI specifications.",
|
|
6
6
|
"repository": {
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
"@stryke/http": "^0.12.3",
|
|
125
125
|
"@stryke/path": "^0.22.0",
|
|
126
126
|
"defu": "^6.1.4",
|
|
127
|
-
"powerlines": "^0.30.
|
|
127
|
+
"powerlines": "^0.30.9"
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
|
-
"@powerlines/nx": "^0.10.
|
|
131
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
130
|
+
"@powerlines/nx": "^0.10.58",
|
|
131
|
+
"@powerlines/plugin-plugin": "^0.12.10",
|
|
132
132
|
"@types/node": "^24.10.1"
|
|
133
133
|
},
|
|
134
134
|
"publishConfig": { "access": "public" },
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "00fa339177561d404892937d2c24fe2a5b3df4e7"
|
|
136
136
|
}
|