@eventcatalog/sdk 2.18.2 → 2.18.3

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 ADDED
@@ -0,0 +1,28 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022-2026 boyney123
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ ---
24
+
25
+ Note: Source code within `packages/core/eventcatalog/src/enterprise/` is
26
+ licensed under the EventCatalog Commercial License and is NOT covered by the
27
+ MIT License above. See `packages/core/eventcatalog/src/enterprise/LICENSE`
28
+ for the full terms.
package/dist/index.d.mts CHANGED
@@ -324,6 +324,47 @@ declare enum DataClassification {
324
324
  Regulated = 'regulated',
325
325
  }
326
326
 
327
+ interface FlowStep {
328
+ id: string | number;
329
+ type?: 'node' | 'message' | 'user' | 'actor';
330
+ title: string;
331
+ summary?: string;
332
+ message?: ResourcePointer;
333
+ service?: ResourcePointer;
334
+ flow?: ResourcePointer;
335
+ actor?: {
336
+ name: string;
337
+ summary?: string;
338
+ };
339
+ custom?: {
340
+ title: string;
341
+ icon?: string;
342
+ type?: string;
343
+ summary?: string;
344
+ url?: string;
345
+ color?: string;
346
+ properties?: Record<string, string | number>;
347
+ height?: number;
348
+ menu?: { label: string; url?: string }[];
349
+ };
350
+ externalSystem?: {
351
+ name: string;
352
+ summary?: string;
353
+ url?: string;
354
+ };
355
+ next_step?: string | number | { id: string | number; label?: string };
356
+ next_steps?: (string | number | { id: string | number; label?: string })[];
357
+ }
358
+
359
+ interface Flow extends BaseSchema {
360
+ steps: FlowStep[];
361
+ detailsPanel?: {
362
+ owners?: DetailPanelProperty;
363
+ versions?: DetailPanelProperty;
364
+ changelog?: DetailPanelProperty;
365
+ };
366
+ }
367
+
327
368
  interface Container extends BaseSchema {
328
369
  container_type: 'database' | 'cache' | 'objectStore' | 'searchIndex' | 'dataWarehouse' | 'dataLake' | 'externalSaaS' | 'other';
329
370
  technology?: string;
@@ -355,6 +396,9 @@ type EventCatalog = {
355
396
  teams?: ExportedResource<Team>[];
356
397
  users?: ExportedResource<User>[];
357
398
  channels?: ExportedResource<Channel>[];
399
+ entities?: ExportedResource<Entity>[];
400
+ containers?: ExportedResource<Container>[];
401
+ flows?: ExportedResource<Flow>[];
358
402
  customDocs?: ExportedResource<CustomDoc>[];
359
403
  };
360
404
  };
@@ -478,11 +522,7 @@ declare const _default: (path: string) => {
478
522
  *
479
523
  */
480
524
  writeEvent: (event: Event, options?: {
481
- path? /**
482
- * Returns all events from EventCatalog
483
- * @param latestOnly - optional boolean, set to true to get only latest versions
484
- * @returns Event[]|Undefined
485
- */: string;
525
+ path?: string;
486
526
  override?: boolean;
487
527
  versionExistingContent?: boolean;
488
528
  format?: "md" | "mdx";
@@ -499,12 +539,7 @@ declare const _default: (path: string) => {
499
539
  id: string;
500
540
  version?: string;
501
541
  }, options?: {
502
- path? /**
503
- * Remove an event by an Event id
504
- *
505
- * @param id - The id of the event you want to remove
506
- *
507
- */: string;
542
+ path?: string;
508
543
  format?: "md" | "mdx";
509
544
  override?: boolean;
510
545
  }) => Promise<void>;
@@ -1052,12 +1087,7 @@ declare const _default: (path: string) => {
1052
1087
  addEventToService: (id: string, direction: string, event: {
1053
1088
  id: string;
1054
1089
  version: string;
1055
- fields? /**
1056
- * Remove an channel to EventCatalog (modeled on the standard POSIX rm utility)
1057
- *
1058
- * @param path - The path to your channel, e.g. `/Inventory/InventoryAdjusted`
1059
- *
1060
- */: string[];
1090
+ fields?: string[];
1061
1091
  }, version?: string) => Promise<void>;
1062
1092
  /**
1063
1093
  * Add a data store to a service by it's id.
@@ -1101,12 +1131,7 @@ declare const _default: (path: string) => {
1101
1131
  addCommandToService: (id: string, direction: string, event: {
1102
1132
  id: string;
1103
1133
  version: string;
1104
- fields? /**
1105
- * Remove an channel to EventCatalog (modeled on the standard POSIX rm utility)
1106
- *
1107
- * @param path - The path to your channel, e.g. `/Inventory/InventoryAdjusted`
1108
- *
1109
- */: string[];
1134
+ fields?: string[];
1110
1135
  }, version?: string) => Promise<void>;
1111
1136
  /**
1112
1137
  * Add a query to a service by it's id.
@@ -1130,12 +1155,7 @@ declare const _default: (path: string) => {
1130
1155
  addQueryToService: (id: string, direction: string, event: {
1131
1156
  id: string;
1132
1157
  version: string;
1133
- fields? /**
1134
- * Remove an channel to EventCatalog (modeled on the standard POSIX rm utility)
1135
- *
1136
- * @param path - The path to your channel, e.g. `/Inventory/InventoryAdjusted`
1137
- *
1138
- */: string[];
1158
+ fields?: string[];
1139
1159
  }, version?: string) => Promise<void>;
1140
1160
  /**
1141
1161
  * Add an entity to a service by its id.
@@ -1195,7 +1215,12 @@ declare const _default: (path: string) => {
1195
1215
  */
1196
1216
  writeDomain: (domain: Domain, options?: {
1197
1217
  path?: string;
1198
- override?: boolean;
1218
+ override? /**
1219
+ * Remove an event by an Event id
1220
+ *
1221
+ * @param id - The id of the event you want to remove
1222
+ *
1223
+ */: boolean;
1199
1224
  versionExistingContent?: boolean;
1200
1225
  format?: "md" | "mdx";
1201
1226
  }) => Promise<void>;
@@ -1664,6 +1689,29 @@ declare const _default: (path: string) => {
1664
1689
  * @returns
1665
1690
  */
1666
1691
  entityHasVersion: (id: string, version?: string) => Promise<boolean>;
1692
+ /**
1693
+ * ================================
1694
+ * Flows
1695
+ * ================================
1696
+ */
1697
+ /**
1698
+ * Returns a flow from EventCatalog
1699
+ *
1700
+ * @param id - The id of the flow to retrieve
1701
+ * @param version - Optional version of the flow
1702
+ * @returns Flow
1703
+ */
1704
+ getFlow: (id: string, version?: string) => Promise<Flow>;
1705
+ /**
1706
+ * Returns all flows from EventCatalog
1707
+ *
1708
+ * @param options - optional options to get flows
1709
+ * @param latestOnly - optional boolean, set to true to get only latest versions
1710
+ * @returns Flow[]|Undefined
1711
+ */
1712
+ getFlows: (options?: {
1713
+ latestOnly?: boolean;
1714
+ }) => Promise<Flow[]>;
1667
1715
  /**
1668
1716
  * ================================
1669
1717
  * Data Stores
@@ -1740,11 +1788,7 @@ declare const _default: (path: string) => {
1740
1788
  version?: string;
1741
1789
  }, options?: {
1742
1790
  path?: string;
1743
- format? /**
1744
- * Returns all commands from EventCatalog
1745
- * @param latestOnly - optional boolean, set to true to get only latest versions
1746
- * @returns Command[]|Undefined
1747
- */: "md" | "mdx";
1791
+ format?: "md" | "mdx";
1748
1792
  override?: boolean;
1749
1793
  }) => Promise<void>;
1750
1794
  /**
@@ -1933,4 +1977,4 @@ declare const _default: (path: string) => {
1933
1977
  toDSL: (resource: (Event | Command | Query | Service | Domain) | (Event | Command | Query | Service | Domain)[], options: ToDSLOptions) => Promise<string>;
1934
1978
  };
1935
1979
 
1936
- export { type Badge, type BaseSchema, type CatalogSnapshot, type Changelog, type Channel, type ChannelPointer, type Command, type Container, type CustomDoc, type DataProduct, type DataProductOutputPointer, type Diagram, type DiffSummary, type Domain, type Entity, type Event, type EventCatalog, type Message, type Operation, type Query, type ReceivesPointer, type RelationshipChange, type ResourceChange, type ResourceChangeType, type ResourceGroup, type ResourcePointer, type SendsPointer, type Service, type SnapshotDiff, type SnapshotGitInfo, type SnapshotMeta, type SnapshotOptions, type SnapshotResourceType, type SnapshotResources, type SnapshotResult, type Specification, type Specifications, type Team, type UbiquitousLanguage, type UbiquitousLanguageDictionary, type User, _default as default };
1980
+ export { type Badge, type BaseSchema, type CatalogSnapshot, type Changelog, type Channel, type ChannelPointer, type Command, type Container, type CustomDoc, type DataProduct, type DataProductOutputPointer, type Diagram, type DiffSummary, type Domain, type Entity, type Event, type EventCatalog, type Flow, type FlowStep, type Message, type Operation, type Query, type ReceivesPointer, type RelationshipChange, type ResourceChange, type ResourceChangeType, type ResourceGroup, type ResourcePointer, type SendsPointer, type Service, type SnapshotDiff, type SnapshotGitInfo, type SnapshotMeta, type SnapshotOptions, type SnapshotResourceType, type SnapshotResources, type SnapshotResult, type Specification, type Specifications, type Team, type UbiquitousLanguage, type UbiquitousLanguageDictionary, type User, _default as default };
package/dist/index.d.ts CHANGED
@@ -324,6 +324,47 @@ declare enum DataClassification {
324
324
  Regulated = 'regulated',
325
325
  }
326
326
 
327
+ interface FlowStep {
328
+ id: string | number;
329
+ type?: 'node' | 'message' | 'user' | 'actor';
330
+ title: string;
331
+ summary?: string;
332
+ message?: ResourcePointer;
333
+ service?: ResourcePointer;
334
+ flow?: ResourcePointer;
335
+ actor?: {
336
+ name: string;
337
+ summary?: string;
338
+ };
339
+ custom?: {
340
+ title: string;
341
+ icon?: string;
342
+ type?: string;
343
+ summary?: string;
344
+ url?: string;
345
+ color?: string;
346
+ properties?: Record<string, string | number>;
347
+ height?: number;
348
+ menu?: { label: string; url?: string }[];
349
+ };
350
+ externalSystem?: {
351
+ name: string;
352
+ summary?: string;
353
+ url?: string;
354
+ };
355
+ next_step?: string | number | { id: string | number; label?: string };
356
+ next_steps?: (string | number | { id: string | number; label?: string })[];
357
+ }
358
+
359
+ interface Flow extends BaseSchema {
360
+ steps: FlowStep[];
361
+ detailsPanel?: {
362
+ owners?: DetailPanelProperty;
363
+ versions?: DetailPanelProperty;
364
+ changelog?: DetailPanelProperty;
365
+ };
366
+ }
367
+
327
368
  interface Container extends BaseSchema {
328
369
  container_type: 'database' | 'cache' | 'objectStore' | 'searchIndex' | 'dataWarehouse' | 'dataLake' | 'externalSaaS' | 'other';
329
370
  technology?: string;
@@ -355,6 +396,9 @@ type EventCatalog = {
355
396
  teams?: ExportedResource<Team>[];
356
397
  users?: ExportedResource<User>[];
357
398
  channels?: ExportedResource<Channel>[];
399
+ entities?: ExportedResource<Entity>[];
400
+ containers?: ExportedResource<Container>[];
401
+ flows?: ExportedResource<Flow>[];
358
402
  customDocs?: ExportedResource<CustomDoc>[];
359
403
  };
360
404
  };
@@ -478,11 +522,7 @@ declare const _default: (path: string) => {
478
522
  *
479
523
  */
480
524
  writeEvent: (event: Event, options?: {
481
- path? /**
482
- * Returns all events from EventCatalog
483
- * @param latestOnly - optional boolean, set to true to get only latest versions
484
- * @returns Event[]|Undefined
485
- */: string;
525
+ path?: string;
486
526
  override?: boolean;
487
527
  versionExistingContent?: boolean;
488
528
  format?: "md" | "mdx";
@@ -499,12 +539,7 @@ declare const _default: (path: string) => {
499
539
  id: string;
500
540
  version?: string;
501
541
  }, options?: {
502
- path? /**
503
- * Remove an event by an Event id
504
- *
505
- * @param id - The id of the event you want to remove
506
- *
507
- */: string;
542
+ path?: string;
508
543
  format?: "md" | "mdx";
509
544
  override?: boolean;
510
545
  }) => Promise<void>;
@@ -1052,12 +1087,7 @@ declare const _default: (path: string) => {
1052
1087
  addEventToService: (id: string, direction: string, event: {
1053
1088
  id: string;
1054
1089
  version: string;
1055
- fields? /**
1056
- * Remove an channel to EventCatalog (modeled on the standard POSIX rm utility)
1057
- *
1058
- * @param path - The path to your channel, e.g. `/Inventory/InventoryAdjusted`
1059
- *
1060
- */: string[];
1090
+ fields?: string[];
1061
1091
  }, version?: string) => Promise<void>;
1062
1092
  /**
1063
1093
  * Add a data store to a service by it's id.
@@ -1101,12 +1131,7 @@ declare const _default: (path: string) => {
1101
1131
  addCommandToService: (id: string, direction: string, event: {
1102
1132
  id: string;
1103
1133
  version: string;
1104
- fields? /**
1105
- * Remove an channel to EventCatalog (modeled on the standard POSIX rm utility)
1106
- *
1107
- * @param path - The path to your channel, e.g. `/Inventory/InventoryAdjusted`
1108
- *
1109
- */: string[];
1134
+ fields?: string[];
1110
1135
  }, version?: string) => Promise<void>;
1111
1136
  /**
1112
1137
  * Add a query to a service by it's id.
@@ -1130,12 +1155,7 @@ declare const _default: (path: string) => {
1130
1155
  addQueryToService: (id: string, direction: string, event: {
1131
1156
  id: string;
1132
1157
  version: string;
1133
- fields? /**
1134
- * Remove an channel to EventCatalog (modeled on the standard POSIX rm utility)
1135
- *
1136
- * @param path - The path to your channel, e.g. `/Inventory/InventoryAdjusted`
1137
- *
1138
- */: string[];
1158
+ fields?: string[];
1139
1159
  }, version?: string) => Promise<void>;
1140
1160
  /**
1141
1161
  * Add an entity to a service by its id.
@@ -1195,7 +1215,12 @@ declare const _default: (path: string) => {
1195
1215
  */
1196
1216
  writeDomain: (domain: Domain, options?: {
1197
1217
  path?: string;
1198
- override?: boolean;
1218
+ override? /**
1219
+ * Remove an event by an Event id
1220
+ *
1221
+ * @param id - The id of the event you want to remove
1222
+ *
1223
+ */: boolean;
1199
1224
  versionExistingContent?: boolean;
1200
1225
  format?: "md" | "mdx";
1201
1226
  }) => Promise<void>;
@@ -1664,6 +1689,29 @@ declare const _default: (path: string) => {
1664
1689
  * @returns
1665
1690
  */
1666
1691
  entityHasVersion: (id: string, version?: string) => Promise<boolean>;
1692
+ /**
1693
+ * ================================
1694
+ * Flows
1695
+ * ================================
1696
+ */
1697
+ /**
1698
+ * Returns a flow from EventCatalog
1699
+ *
1700
+ * @param id - The id of the flow to retrieve
1701
+ * @param version - Optional version of the flow
1702
+ * @returns Flow
1703
+ */
1704
+ getFlow: (id: string, version?: string) => Promise<Flow>;
1705
+ /**
1706
+ * Returns all flows from EventCatalog
1707
+ *
1708
+ * @param options - optional options to get flows
1709
+ * @param latestOnly - optional boolean, set to true to get only latest versions
1710
+ * @returns Flow[]|Undefined
1711
+ */
1712
+ getFlows: (options?: {
1713
+ latestOnly?: boolean;
1714
+ }) => Promise<Flow[]>;
1667
1715
  /**
1668
1716
  * ================================
1669
1717
  * Data Stores
@@ -1740,11 +1788,7 @@ declare const _default: (path: string) => {
1740
1788
  version?: string;
1741
1789
  }, options?: {
1742
1790
  path?: string;
1743
- format? /**
1744
- * Returns all commands from EventCatalog
1745
- * @param latestOnly - optional boolean, set to true to get only latest versions
1746
- * @returns Command[]|Undefined
1747
- */: "md" | "mdx";
1791
+ format?: "md" | "mdx";
1748
1792
  override?: boolean;
1749
1793
  }) => Promise<void>;
1750
1794
  /**
@@ -1933,4 +1977,4 @@ declare const _default: (path: string) => {
1933
1977
  toDSL: (resource: (Event | Command | Query | Service | Domain) | (Event | Command | Query | Service | Domain)[], options: ToDSLOptions) => Promise<string>;
1934
1978
  };
1935
1979
 
1936
- export { type Badge, type BaseSchema, type CatalogSnapshot, type Changelog, type Channel, type ChannelPointer, type Command, type Container, type CustomDoc, type DataProduct, type DataProductOutputPointer, type Diagram, type DiffSummary, type Domain, type Entity, type Event, type EventCatalog, type Message, type Operation, type Query, type ReceivesPointer, type RelationshipChange, type ResourceChange, type ResourceChangeType, type ResourceGroup, type ResourcePointer, type SendsPointer, type Service, type SnapshotDiff, type SnapshotGitInfo, type SnapshotMeta, type SnapshotOptions, type SnapshotResourceType, type SnapshotResources, type SnapshotResult, type Specification, type Specifications, type Team, type UbiquitousLanguage, type UbiquitousLanguageDictionary, type User, _default as default };
1980
+ export { type Badge, type BaseSchema, type CatalogSnapshot, type Changelog, type Channel, type ChannelPointer, type Command, type Container, type CustomDoc, type DataProduct, type DataProductOutputPointer, type Diagram, type DiffSummary, type Domain, type Entity, type Event, type EventCatalog, type Flow, type FlowStep, type Message, type Operation, type Query, type ReceivesPointer, type RelationshipChange, type ResourceChange, type ResourceChangeType, type ResourceGroup, type ResourcePointer, type SendsPointer, type Service, type SnapshotDiff, type SnapshotGitInfo, type SnapshotMeta, type SnapshotOptions, type SnapshotResourceType, type SnapshotResources, type SnapshotResult, type Specification, type Specifications, type Team, type UbiquitousLanguage, type UbiquitousLanguageDictionary, type User, _default as default };
package/dist/index.js CHANGED
@@ -2004,7 +2004,19 @@ var getEventCatalogConfigurationFile = (directory) => async () => {
2004
2004
  }
2005
2005
  };
2006
2006
  var dumpCatalog = (directory) => async (options) => {
2007
- const { getDomains: getDomains2, getServices: getServices2, getEvents: getEvents2, getQueries: getQueries2, getCommands: getCommands2, getChannels: getChannels2, getTeams: getTeams2, getUsers: getUsers3 } = src_default(directory);
2007
+ const {
2008
+ getDomains: getDomains2,
2009
+ getServices: getServices2,
2010
+ getEvents: getEvents2,
2011
+ getQueries: getQueries2,
2012
+ getCommands: getCommands2,
2013
+ getChannels: getChannels2,
2014
+ getTeams: getTeams2,
2015
+ getUsers: getUsers3,
2016
+ getEntities: getEntities2,
2017
+ getDataStores: getDataStores2,
2018
+ getFlows: getFlows2
2019
+ } = src_default(directory);
2008
2020
  const { includeMarkdown = true } = options || {};
2009
2021
  const domains = await getDomains2();
2010
2022
  const services = await getServices2();
@@ -2014,6 +2026,9 @@ var dumpCatalog = (directory) => async (options) => {
2014
2026
  const teams = await getTeams2();
2015
2027
  const users = await getUsers3();
2016
2028
  const channels = await getChannels2();
2029
+ const entities = await getEntities2();
2030
+ const containers = await getDataStores2();
2031
+ const flows = await getFlows2();
2017
2032
  const [
2018
2033
  hydratedDomains,
2019
2034
  hydratedServices,
@@ -2022,7 +2037,10 @@ var dumpCatalog = (directory) => async (options) => {
2022
2037
  hydratedCommands,
2023
2038
  hydratedTeams,
2024
2039
  hydratedUsers,
2025
- hydratedChannels
2040
+ hydratedChannels,
2041
+ hydratedEntities,
2042
+ hydratedContainers,
2043
+ hydratedFlows
2026
2044
  ] = await Promise.all([
2027
2045
  hydrateResource(directory, domains),
2028
2046
  hydrateResource(directory, services),
@@ -2031,7 +2049,10 @@ var dumpCatalog = (directory) => async (options) => {
2031
2049
  hydrateResource(directory, commands),
2032
2050
  hydrateResource(directory, teams),
2033
2051
  hydrateResource(directory, users),
2034
- hydrateResource(directory, channels)
2052
+ hydrateResource(directory, channels),
2053
+ hydrateResource(directory, entities),
2054
+ hydrateResource(directory, containers),
2055
+ hydrateResource(directory, flows)
2035
2056
  ]);
2036
2057
  return {
2037
2058
  version: DUMP_VERSION,
@@ -2047,7 +2068,10 @@ var dumpCatalog = (directory) => async (options) => {
2047
2068
  },
2048
2069
  teams: filterCollection(hydratedTeams, { includeMarkdown }),
2049
2070
  users: filterCollection(hydratedUsers, { includeMarkdown }),
2050
- channels: filterCollection(hydratedChannels, { includeMarkdown })
2071
+ channels: filterCollection(hydratedChannels, { includeMarkdown }),
2072
+ entities: filterCollection(hydratedEntities, { includeMarkdown }),
2073
+ containers: filterCollection(hydratedContainers, { includeMarkdown }),
2074
+ flows: filterCollection(hydratedFlows, { includeMarkdown })
2051
2075
  }
2052
2076
  };
2053
2077
  };
@@ -2492,6 +2516,10 @@ var entityHasVersion = (directory) => async (id, version) => {
2492
2516
  return !!file;
2493
2517
  };
2494
2518
 
2519
+ // src/flows.ts
2520
+ var getFlow = (directory) => async (id, version) => getResource(directory, id, version, { type: "flow" });
2521
+ var getFlows = (directory) => async (options) => getResources(directory, { type: "flows", latestOnly: options?.latestOnly });
2522
+
2495
2523
  // src/containers.ts
2496
2524
  var import_promises12 = __toESM(require("fs/promises"));
2497
2525
  var import_node_path19 = require("path");
@@ -3546,6 +3574,27 @@ var src_default = (path8) => {
3546
3574
  * @returns
3547
3575
  */
3548
3576
  entityHasVersion: entityHasVersion((0, import_node_path22.join)(path8)),
3577
+ /**
3578
+ * ================================
3579
+ * Flows
3580
+ * ================================
3581
+ */
3582
+ /**
3583
+ * Returns a flow from EventCatalog
3584
+ *
3585
+ * @param id - The id of the flow to retrieve
3586
+ * @param version - Optional version of the flow
3587
+ * @returns Flow
3588
+ */
3589
+ getFlow: getFlow((0, import_node_path22.join)(path8)),
3590
+ /**
3591
+ * Returns all flows from EventCatalog
3592
+ *
3593
+ * @param options - optional options to get flows
3594
+ * @param latestOnly - optional boolean, set to true to get only latest versions
3595
+ * @returns Flow[]|Undefined
3596
+ */
3597
+ getFlows: getFlows((0, import_node_path22.join)(path8)),
3549
3598
  /**
3550
3599
  * ================================
3551
3600
  * Data Stores