@powerlines/plugin-asyncapi 0.1.27 → 0.1.30

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.
@@ -1185,6 +1185,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1185
1185
  * @returns A logger function
1186
1186
  */
1187
1187
  extendLog: (name: string) => LogFn;
1188
+ /**
1189
+ * Generates a checksum representing the current context state
1190
+ *
1191
+ * @returns A promise that resolves to a string representing the checksum
1192
+ */
1193
+ generateChecksum: () => Promise<string>;
1188
1194
  }
1189
1195
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1190
1196
  /**
@@ -1185,6 +1185,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1185
1185
  * @returns A logger function
1186
1186
  */
1187
1187
  extendLog: (name: string) => LogFn;
1188
+ /**
1189
+ * Generates a checksum representing the current context state
1190
+ *
1191
+ * @returns A promise that resolves to a string representing the checksum
1192
+ */
1193
+ generateChecksum: () => Promise<string>;
1188
1194
  }
1189
1195
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1190
1196
  /**
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-AIcA5K2x.cjs';
2
- export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-AIcA5K2x.cjs';
1
+ import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-BgWfpMM9.cjs';
2
+ export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-BgWfpMM9.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-AIcA5K2x.js';
2
- export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-AIcA5K2x.js';
1
+ import { A as AsyncAPIPluginContext, a as AsyncAPIPluginOptions, P as Plugin } from './index-BgWfpMM9.js';
2
+ export { c as AsyncAPIPluginResolvedConfig, b as AsyncAPIPluginUserConfig, f as __ΩAsyncAPIPluginContext, _ as __ΩAsyncAPIPluginOptions, e as __ΩAsyncAPIPluginResolvedConfig, d as __ΩAsyncAPIPluginUserConfig } from './index-BgWfpMM9.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-AIcA5K2x.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-BgWfpMM9.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-AIcA5K2x.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-BgWfpMM9.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-AIcA5K2x.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-BgWfpMM9.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-AIcA5K2x.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-BgWfpMM9.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.27",
3
+ "version": "0.1.30",
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.3",
107
107
  "@stryke/path": "^0.19.2",
108
108
  "defu": "^6.1.4",
109
- "powerlines": "^0.23.7"
109
+ "powerlines": "^0.23.10"
110
110
  },
111
111
  "devDependencies": {
112
- "@powerlines/nx": "^0.10.24",
113
- "@powerlines/plugin-plugin": "^0.11.32",
112
+ "@powerlines/nx": "^0.10.27",
113
+ "@powerlines/plugin-plugin": "^0.11.35",
114
114
  "@types/node": "^24.10.1"
115
115
  },
116
116
  "publishConfig": { "access": "public" },
117
- "gitHead": "76575e78b1db97f4786341913ad2ec42ec1de504"
117
+ "gitHead": "5a6b8349dc29bf9e496ed5dee32c6cfb8d9bff4e"
118
118
  }