@eventcatalog/generator-asyncapi 6.2.0 → 6.2.1
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/LICENSE +19 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright (c) 2024-2026 EventCatalog Ltd
|
|
2
|
+
|
|
3
|
+
This software is dual-licensed:
|
|
4
|
+
|
|
5
|
+
* For open-source projects: licensed under the GNU Affero General Public
|
|
6
|
+
License v3.0 (AGPL-3.0). See LICENSE-OPENSOURCE.md for the full terms.
|
|
7
|
+
|
|
8
|
+
* For proprietary, internal, or commercial use: licensed under the EventCatalog
|
|
9
|
+
Commercial License. See LICENSE-COMMERCIAL.md for the full terms.
|
|
10
|
+
|
|
11
|
+
If you are using these plugins for internal business purposes and do not wish
|
|
12
|
+
to release your source code under AGPL-3.0, you must obtain a Commercial
|
|
13
|
+
License.
|
|
14
|
+
|
|
15
|
+
To obtain a Commercial License:
|
|
16
|
+
- Purchase a subscription at https://www.eventcatalog.dev/pricing
|
|
17
|
+
- Purchase individual plugins at https://eventcatalog.cloud/
|
|
18
|
+
- Free 14-day trial at https://eventcatalog.cloud/
|
|
19
|
+
- Contact us at hello@eventcatalog.dev
|
package/dist/index.js
CHANGED
|
@@ -1543,7 +1543,7 @@ var import_path3 = __toESM(require("path"));
|
|
|
1543
1543
|
// package.json
|
|
1544
1544
|
var package_default = {
|
|
1545
1545
|
name: "@eventcatalog/generator-asyncapi",
|
|
1546
|
-
version: "6.2.
|
|
1546
|
+
version: "6.2.1",
|
|
1547
1547
|
description: "AsyncAPI generator for EventCatalog",
|
|
1548
1548
|
scripts: {
|
|
1549
1549
|
build: "tsup",
|
|
@@ -1581,7 +1581,7 @@ var package_default = {
|
|
|
1581
1581
|
dependencies: {
|
|
1582
1582
|
"@asyncapi/avro-schema-parser": "3.0.24",
|
|
1583
1583
|
"@asyncapi/parser": "3.6.0",
|
|
1584
|
-
"@eventcatalog/sdk": "2.18.
|
|
1584
|
+
"@eventcatalog/sdk": "2.18.4",
|
|
1585
1585
|
chalk: "4.1.2",
|
|
1586
1586
|
"fs-extra": "^11.2.0",
|
|
1587
1587
|
glob: "^12.0.0",
|
|
@@ -4286,6 +4286,8 @@ var index_default = async (config, options) => {
|
|
|
4286
4286
|
let badges = null;
|
|
4287
4287
|
let attachments = null;
|
|
4288
4288
|
let diagrams = null;
|
|
4289
|
+
let flows = null;
|
|
4290
|
+
let entities = null;
|
|
4289
4291
|
let serviceSpecifications = {};
|
|
4290
4292
|
let serviceSpecificationsFiles = [];
|
|
4291
4293
|
let configuredWritesTo = service.writesTo || [];
|
|
@@ -4523,6 +4525,8 @@ Processing domain: ${domainName} (v${domainVersion})`));
|
|
|
4523
4525
|
badges = latestServiceInCatalog.badges || null;
|
|
4524
4526
|
attachments = latestServiceInCatalog.attachments || null;
|
|
4525
4527
|
diagrams = latestServiceInCatalog.diagrams || null;
|
|
4528
|
+
flows = latestServiceInCatalog.flows || null;
|
|
4529
|
+
entities = latestServiceInCatalog.entities || null;
|
|
4526
4530
|
serviceWritesTo = latestServiceInCatalog.writesTo ? latestServiceInCatalog.writesTo : configuredWritesTo;
|
|
4527
4531
|
serviceReadsFrom = latestServiceInCatalog.readsFrom ? latestServiceInCatalog.readsFrom : configuredReadsFrom;
|
|
4528
4532
|
if (latestServiceInCatalog.version !== version) {
|
|
@@ -4556,6 +4560,8 @@ Processing domain: ${domainName} (v${domainVersion})`));
|
|
|
4556
4560
|
...repository && { repository },
|
|
4557
4561
|
...styles2 && { styles: styles2 },
|
|
4558
4562
|
...diagrams && { diagrams },
|
|
4563
|
+
...flows && { flows },
|
|
4564
|
+
...entities && { entities },
|
|
4559
4565
|
...isServiceMarkedAsDraft && { draft: true },
|
|
4560
4566
|
...attachments && { attachments },
|
|
4561
4567
|
...serviceWritesTo.length > 0 ? { writesTo: serviceWritesTo } : {},
|