@eventcatalog/sdk 2.29.1 → 2.29.2
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.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2578,6 +2578,8 @@ var cloneStep = (step) => ({
|
|
|
2578
2578
|
...step.message ? { message: { ...step.message } } : {},
|
|
2579
2579
|
...step.agent ? { agent: { ...step.agent } } : {},
|
|
2580
2580
|
...step.service ? { service: { ...step.service } } : {},
|
|
2581
|
+
...step.systems ? { systems: { ...step.systems } } : {},
|
|
2582
|
+
...step.system ? { system: { ...step.system } } : {},
|
|
2581
2583
|
...step.flow ? { flow: { ...step.flow } } : {},
|
|
2582
2584
|
...step.container ? { container: { ...step.container } } : {},
|
|
2583
2585
|
...step.dataProduct ? { dataProduct: { ...step.dataProduct } } : {},
|
|
@@ -3330,6 +3332,8 @@ var getGraph = (directory) => {
|
|
|
3330
3332
|
if (step.message) await addPointers([step.message], ["event", "command", "query"]);
|
|
3331
3333
|
if (step.agent) await addPointers([step.agent], ["agent"]);
|
|
3332
3334
|
if (step.service) await addPointers([step.service], ["service"]);
|
|
3335
|
+
if (step.systems) await addPointers([step.systems], ["system"]);
|
|
3336
|
+
if (step.system) await addPointers([step.system], ["system"]);
|
|
3333
3337
|
if (step.flow) await addPointers([step.flow], ["flow"]);
|
|
3334
3338
|
if (step.container) await addPointers([step.container], ["container"]);
|
|
3335
3339
|
if (step.dataProduct) await addPointers([step.dataProduct], ["data-product"]);
|
|
@@ -3804,6 +3808,8 @@ var normalizeSpecifications = async (resource, resourcePath, hashContent) => {
|
|
|
3804
3808
|
};
|
|
3805
3809
|
var getFlowReferences = (steps) => steps.flatMap((step) => [
|
|
3806
3810
|
...step.service ? [{ kind: "service", ...step.service }] : [],
|
|
3811
|
+
...step.systems ? [{ kind: "system", ...step.systems }] : [],
|
|
3812
|
+
...step.system ? [{ kind: "system", ...step.system }] : [],
|
|
3807
3813
|
...step.message ? [{ kind: "message", ...step.message }] : [],
|
|
3808
3814
|
...step.agent ? [{ kind: "agent", ...step.agent }] : [],
|
|
3809
3815
|
...step.container ? [{ kind: "container", ...step.container }] : [],
|