@powerlines/plugin-asyncapi 0.1.41 → 0.1.42

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.
@@ -1467,7 +1467,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1467
1467
  * @param other - The other plugin to compare against.
1468
1468
  * @returns `true` if the two plugins are the same, `false` otherwise.
1469
1469
  */
1470
- dedupe?: false | ((other: Plugin<any>) => boolean);
1470
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1471
1471
  /**
1472
1472
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1473
1473
  */
@@ -1478,7 +1478,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1478
1478
  * @param environment - The environment to check.
1479
1479
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1480
1480
  */
1481
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1481
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1482
1482
  }
1483
1483
 
1484
1484
  interface AsyncAPIPluginOptions {
@@ -1467,7 +1467,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1467
1467
  * @param other - The other plugin to compare against.
1468
1468
  * @returns `true` if the two plugins are the same, `false` otherwise.
1469
1469
  */
1470
- dedupe?: false | ((other: Plugin<any>) => boolean);
1470
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1471
1471
  /**
1472
1472
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1473
1473
  */
@@ -1478,7 +1478,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1478
1478
  * @param environment - The environment to check.
1479
1479
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1480
1480
  */
1481
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1481
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1482
1482
  }
1483
1483
 
1484
1484
  interface AsyncAPIPluginOptions {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-Dusx2Dcx.cjs';
2
- export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-Dusx2Dcx.cjs';
1
+ import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-BJhMz3ik.cjs';
2
+ export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-BJhMz3ik.cjs';
3
3
  import '@asyncapi/generator';
4
4
  import '@asyncapi/parser/esm/models/v3/asyncapi';
5
5
  import '@storm-software/build-tools/types';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-Dusx2Dcx.js';
2
- export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-Dusx2Dcx.js';
1
+ import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-BJhMz3ik.js';
2
+ export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-BJhMz3ik.js';
3
3
  import '@asyncapi/generator';
4
4
  import '@asyncapi/parser/esm/models/v3/asyncapi';
5
5
  import '@storm-software/build-tools/types';
@@ -1,4 +1,4 @@
1
- export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-Dusx2Dcx.cjs';
1
+ export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-BJhMz3ik.cjs';
2
2
  import '@asyncapi/generator';
3
3
  import '@asyncapi/parser/esm/models/v3/asyncapi';
4
4
  import '@storm-software/build-tools/types';
@@ -1,4 +1,4 @@
1
- export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-Dusx2Dcx.js';
1
+ export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-BJhMz3ik.js';
2
2
  import '@asyncapi/generator';
3
3
  import '@asyncapi/parser/esm/models/v3/asyncapi';
4
4
  import '@storm-software/build-tools/types';
@@ -1,6 +1,6 @@
1
1
  import '@asyncapi/generator';
2
2
  import '@asyncapi/parser/esm/models/v3/asyncapi';
3
- export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-Dusx2Dcx.cjs';
3
+ export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-BJhMz3ik.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  import '@storm-software/config/types';
@@ -1,6 +1,6 @@
1
1
  import '@asyncapi/generator';
2
2
  import '@asyncapi/parser/esm/models/v3/asyncapi';
3
- export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-Dusx2Dcx.js';
3
+ export { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from '../index-BJhMz3ik.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-asyncapi",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code from AsyncAPI specifications.",
6
6
  "repository": {
@@ -106,13 +106,13 @@
106
106
  "@stryke/http": "^0.11.9",
107
107
  "@stryke/path": "^0.21.2",
108
108
  "defu": "^6.1.4",
109
- "powerlines": "^0.25.0"
109
+ "powerlines": "^0.25.1"
110
110
  },
111
111
  "devDependencies": {
112
- "@powerlines/nx": "^0.10.38",
113
- "@powerlines/plugin-plugin": "^0.11.46",
112
+ "@powerlines/nx": "^0.10.39",
113
+ "@powerlines/plugin-plugin": "^0.11.47",
114
114
  "@types/node": "^24.10.1"
115
115
  },
116
116
  "publishConfig": { "access": "public" },
117
- "gitHead": "acb1d0727c31f10519b7a59d73d245e6949414d3"
117
+ "gitHead": "de1daa466d1524b287e2748490c1e56ab9002b07"
118
118
  }