@eventcatalog/core 3.0.0-beta.25 → 3.0.0-beta.27

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.
Files changed (56) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/catalog-to-astro-content-directory.cjs +2 -19
  6. package/dist/catalog-to-astro-content-directory.d.cts +1 -2
  7. package/dist/catalog-to-astro-content-directory.d.ts +1 -2
  8. package/dist/catalog-to-astro-content-directory.js +3 -5
  9. package/dist/{chunk-NAW6EPCS.js → chunk-4CVSY4TZ.js} +1 -1
  10. package/dist/{chunk-R2BJ7MJG.js → chunk-6Z6ARMQS.js} +1 -17
  11. package/dist/{chunk-RA6AYXGJ.js → chunk-A24LNVFO.js} +1 -1
  12. package/dist/{chunk-OJA6CNVO.js → chunk-QTIXOITU.js} +1 -1
  13. package/dist/{chunk-DFHXF3VF.js → chunk-R3UXUYOX.js} +1 -1
  14. package/dist/{chunk-3SWCGDD7.js → chunk-X7U5G4IG.js} +1 -1
  15. package/dist/constants.cjs +1 -1
  16. package/dist/constants.js +1 -1
  17. package/dist/eventcatalog.cjs +1 -18
  18. package/dist/eventcatalog.js +7 -10
  19. package/dist/generate.cjs +1 -1
  20. package/dist/generate.js +3 -3
  21. package/dist/utils/cli-logger.cjs +1 -1
  22. package/dist/utils/cli-logger.js +2 -2
  23. package/eventcatalog/src/components/Grids/DomainGrid.tsx +309 -170
  24. package/eventcatalog/src/components/Grids/MessageGrid.tsx +301 -182
  25. package/eventcatalog/src/components/Grids/specification-utils.ts +106 -0
  26. package/eventcatalog/src/components/SchemaExplorer/ApiAccessSection.tsx +95 -90
  27. package/eventcatalog/src/components/SchemaExplorer/ApiContentViewer.tsx +144 -0
  28. package/eventcatalog/src/components/SchemaExplorer/Pagination.tsx +34 -8
  29. package/eventcatalog/src/components/SchemaExplorer/SchemaContentViewer.tsx +2 -2
  30. package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsHeader.tsx +140 -109
  31. package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsPanel.tsx +5 -14
  32. package/eventcatalog/src/components/SchemaExplorer/SchemaExplorer.tsx +247 -59
  33. package/eventcatalog/src/components/SchemaExplorer/SchemaFilters.tsx +64 -126
  34. package/eventcatalog/src/components/SchemaExplorer/SchemaListItem.tsx +41 -43
  35. package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +42 -15
  36. package/eventcatalog/src/components/Tables/Table.tsx +96 -77
  37. package/eventcatalog/src/components/Tables/columns/ContainersTableColumns.tsx +108 -74
  38. package/eventcatalog/src/components/Tables/columns/DomainTableColumns.tsx +74 -55
  39. package/eventcatalog/src/components/Tables/columns/FlowTableColumns.tsx +36 -36
  40. package/eventcatalog/src/components/Tables/columns/MessageTableColumns.tsx +110 -77
  41. package/eventcatalog/src/components/Tables/columns/ServiceTableColumns.tsx +105 -94
  42. package/eventcatalog/src/components/Tables/columns/SharedColumns.tsx +31 -26
  43. package/eventcatalog/src/components/Tables/columns/TeamsTableColumns.tsx +115 -215
  44. package/eventcatalog/src/components/Tables/columns/UserTableColumns.tsx +145 -243
  45. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +2 -2
  46. package/eventcatalog/src/pages/_index.astro +239 -554
  47. package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/_index.data.ts +8 -2
  48. package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/index.astro +9 -5
  49. package/eventcatalog/src/pages/directory/[type]/index.astro +6 -0
  50. package/eventcatalog/src/pages/docs/[type]/[id]/language/index.astro +194 -121
  51. package/eventcatalog/src/pages/docs/teams/[id]/index.astro +94 -70
  52. package/eventcatalog/src/pages/docs/users/[id]/index.astro +56 -45
  53. package/eventcatalog/src/pages/studio.astro +124 -72
  54. package/eventcatalog/src/stores/sidebar-store/builders/domain.ts +1 -1
  55. package/eventcatalog/src/stores/sidebar-store/builders/service.ts +1 -1
  56. package/package.json +1 -1
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "3.0.0-beta.25";
40
+ var version = "3.0.0-beta.27";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-OJA6CNVO.js";
4
- import "../chunk-3SWCGDD7.js";
3
+ } from "../chunk-QTIXOITU.js";
4
+ import "../chunk-X7U5G4IG.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "3.0.0-beta.25";
109
+ var version = "3.0.0-beta.27";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-DFHXF3VF.js";
4
- import "../chunk-OJA6CNVO.js";
5
- import "../chunk-3SWCGDD7.js";
3
+ } from "../chunk-R3UXUYOX.js";
4
+ import "../chunk-QTIXOITU.js";
5
+ import "../chunk-X7U5G4IG.js";
6
6
  import "../chunk-UPONRQSN.js";
7
7
  export {
8
8
  log_build_default as default
@@ -30,8 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/catalog-to-astro-content-directory.js
31
31
  var catalog_to_astro_content_directory_exports = {};
32
32
  __export(catalog_to_astro_content_directory_exports, {
33
- catalogToAstro: () => catalogToAstro,
34
- checkAndConvertMdToMdx: () => checkAndConvertMdToMdx
33
+ catalogToAstro: () => catalogToAstro
35
34
  });
36
35
  module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
37
36
 
@@ -241,23 +240,7 @@ var catalogToAstro = async (source, astroDir) => {
241
240
  }
242
241
  await copyFiles(source, astroDir);
243
242
  };
244
- var checkAndConvertMdToMdx = async (source, astroDir) => {
245
- const files = await (0, import_glob.glob)(path3.join(source, "**"), {
246
- nodir: true,
247
- windowsPathsNoEscape: import_node_os.default.platform() == "win32",
248
- ignore: ["node_modules/**", "**/dist/**", "**/README.md"]
249
- });
250
- if (files.some((file) => file.endsWith(".md"))) {
251
- console.log(`EventCatalog now requires all markdown files to be .mdx files. Converting all .md files to .mdx...`);
252
- }
253
- for (const file of files) {
254
- if (file.endsWith(".md")) {
255
- import_fs.default.renameSync(file, file.replace(".md", ".mdx"));
256
- }
257
- }
258
- };
259
243
  // Annotate the CommonJS export names for ESM import in node:
260
244
  0 && (module.exports = {
261
- catalogToAstro,
262
- checkAndConvertMdToMdx
245
+ catalogToAstro
263
246
  });
@@ -1,4 +1,3 @@
1
1
  declare function catalogToAstro(source: any, astroDir: any): Promise<void>;
2
- declare function checkAndConvertMdToMdx(source: any, astroDir: any): Promise<void>;
3
2
 
4
- export { catalogToAstro, checkAndConvertMdToMdx };
3
+ export { catalogToAstro };
@@ -1,4 +1,3 @@
1
1
  declare function catalogToAstro(source: any, astroDir: any): Promise<void>;
2
- declare function checkAndConvertMdToMdx(source: any, astroDir: any): Promise<void>;
3
2
 
4
- export { catalogToAstro, checkAndConvertMdToMdx };
3
+ export { catalogToAstro };
@@ -1,10 +1,8 @@
1
1
  import {
2
- catalogToAstro,
3
- checkAndConvertMdToMdx
4
- } from "./chunk-R2BJ7MJG.js";
2
+ catalogToAstro
3
+ } from "./chunk-6Z6ARMQS.js";
5
4
  import "./chunk-55D645EH.js";
6
5
  import "./chunk-UPONRQSN.js";
7
6
  export {
8
- catalogToAstro,
9
- checkAndConvertMdToMdx
7
+ catalogToAstro
10
8
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-3SWCGDD7.js";
3
+ } from "./chunk-X7U5G4IG.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -50,23 +50,7 @@ var catalogToAstro = async (source, astroDir) => {
50
50
  }
51
51
  await copyFiles(source, astroDir);
52
52
  };
53
- var checkAndConvertMdToMdx = async (source, astroDir) => {
54
- const files = await glob(path.join(source, "**"), {
55
- nodir: true,
56
- windowsPathsNoEscape: os.platform() == "win32",
57
- ignore: ["node_modules/**", "**/dist/**", "**/README.md"]
58
- });
59
- if (files.some((file) => file.endsWith(".md"))) {
60
- console.log(`EventCatalog now requires all markdown files to be .mdx files. Converting all .md files to .mdx...`);
61
- }
62
- for (const file of files) {
63
- if (file.endsWith(".md")) {
64
- fs.renameSync(file, file.replace(".md", ".mdx"));
65
- }
66
- }
67
- };
68
53
 
69
54
  export {
70
- catalogToAstro,
71
- checkAndConvertMdToMdx
55
+ catalogToAstro
72
56
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-NAW6EPCS.js";
3
+ } from "./chunk-4CVSY4TZ.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-3SWCGDD7.js";
3
+ } from "./chunk-X7U5G4IG.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-OJA6CNVO.js";
3
+ } from "./chunk-QTIXOITU.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.0.0-beta.25";
2
+ var version = "3.0.0-beta.27";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.0.0-beta.25";
28
+ var version = "3.0.0-beta.27";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-3SWCGDD7.js";
3
+ } from "./chunk-X7U5G4IG.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
109
109
  var import_picocolors = __toESM(require("picocolors"), 1);
110
110
 
111
111
  // package.json
112
- var version = "3.0.0-beta.25";
112
+ var version = "3.0.0-beta.27";
113
113
 
114
114
  // src/constants.ts
115
115
  var VERSION = version;
@@ -479,21 +479,6 @@ var catalogToAstro = async (source, astroDir) => {
479
479
  }
480
480
  await copyFiles(source, astroDir);
481
481
  };
482
- var checkAndConvertMdToMdx = async (source, astroDir) => {
483
- const files = await (0, import_glob.glob)(path4.join(source, "**"), {
484
- nodir: true,
485
- windowsPathsNoEscape: import_node_os.default.platform() == "win32",
486
- ignore: ["node_modules/**", "**/dist/**", "**/README.md"]
487
- });
488
- if (files.some((file) => file.endsWith(".md"))) {
489
- console.log(`EventCatalog now requires all markdown files to be .mdx files. Converting all .md files to .mdx...`);
490
- }
491
- for (const file of files) {
492
- if (file.endsWith(".md")) {
493
- import_fs.default.renameSync(file, file.replace(".md", ".mdx"));
494
- }
495
- }
496
- };
497
482
 
498
483
  // src/resolve-catalog-dependencies.js
499
484
  var import_node_path4 = __toESM(require("path"), 1);
@@ -763,7 +748,6 @@ program.command("dev").description("Run development server of EventCatalog").opt
763
748
  if (options.forceRecreate) clearCore();
764
749
  copyCore();
765
750
  await resolve_catalog_dependencies_default(dir, core);
766
- await checkAndConvertMdToMdx(dir, core);
767
751
  await runMigrations(dir);
768
752
  await catalogToAstro(dir, core);
769
753
  const canEmbedPages = await (0, import_license.isFeatureEnabled)(
@@ -825,7 +809,6 @@ program.command("build").description("Run build of EventCatalog").action(async (
825
809
  isBackstagePluginEnabled: canEmbedPages || isEventCatalogScale
826
810
  });
827
811
  await resolve_catalog_dependencies_default(dir, core);
828
- await checkAndConvertMdToMdx(dir, core);
829
812
  await runMigrations(dir);
830
813
  await catalogToAstro(dir, core);
831
814
  checkForUpdate();
@@ -6,29 +6,28 @@ import {
6
6
  } from "./chunk-PLNJC7NZ.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-DFHXF3VF.js";
10
- import "./chunk-OJA6CNVO.js";
9
+ } from "./chunk-R3UXUYOX.js";
10
+ import "./chunk-QTIXOITU.js";
11
11
  import {
12
12
  runMigrations
13
13
  } from "./chunk-BH3JMNAV.js";
14
14
  import "./chunk-622JYJWG.js";
15
15
  import {
16
- catalogToAstro,
17
- checkAndConvertMdToMdx
18
- } from "./chunk-R2BJ7MJG.js";
16
+ catalogToAstro
17
+ } from "./chunk-6Z6ARMQS.js";
19
18
  import "./chunk-55D645EH.js";
20
19
  import {
21
20
  isOutputServer
22
21
  } from "./chunk-5VBIXL6C.js";
23
22
  import {
24
23
  generate
25
- } from "./chunk-RA6AYXGJ.js";
24
+ } from "./chunk-A24LNVFO.js";
26
25
  import {
27
26
  logger
28
- } from "./chunk-NAW6EPCS.js";
27
+ } from "./chunk-4CVSY4TZ.js";
29
28
  import {
30
29
  VERSION
31
- } from "./chunk-3SWCGDD7.js";
30
+ } from "./chunk-X7U5G4IG.js";
32
31
  import "./chunk-UPONRQSN.js";
33
32
 
34
33
  // src/eventcatalog.ts
@@ -141,7 +140,6 @@ program.command("dev").description("Run development server of EventCatalog").opt
141
140
  if (options.forceRecreate) clearCore();
142
141
  copyCore();
143
142
  await resolve_catalog_dependencies_default(dir, core);
144
- await checkAndConvertMdToMdx(dir, core);
145
143
  await runMigrations(dir);
146
144
  await catalogToAstro(dir, core);
147
145
  const canEmbedPages = await isFeatureEnabled(
@@ -203,7 +201,6 @@ program.command("build").description("Run build of EventCatalog").action(async (
203
201
  isBackstagePluginEnabled: canEmbedPages || isEventCatalogScale
204
202
  });
205
203
  await resolve_catalog_dependencies_default(dir, core);
206
- await checkAndConvertMdToMdx(dir, core);
207
204
  await runMigrations(dir);
208
205
  await catalogToAstro(dir, core);
209
206
  checkForUpdate();
package/dist/generate.cjs CHANGED
@@ -73,7 +73,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
73
73
  var import_picocolors = __toESM(require("picocolors"), 1);
74
74
 
75
75
  // package.json
76
- var version = "3.0.0-beta.25";
76
+ var version = "3.0.0-beta.27";
77
77
 
78
78
  // src/constants.ts
79
79
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-RA6AYXGJ.js";
4
- import "./chunk-NAW6EPCS.js";
5
- import "./chunk-3SWCGDD7.js";
3
+ } from "./chunk-A24LNVFO.js";
4
+ import "./chunk-4CVSY4TZ.js";
5
+ import "./chunk-X7U5G4IG.js";
6
6
  import "./chunk-UPONRQSN.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "3.0.0-beta.25";
39
+ var version = "3.0.0-beta.27";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-NAW6EPCS.js";
4
- import "../chunk-3SWCGDD7.js";
3
+ } from "../chunk-4CVSY4TZ.js";
4
+ import "../chunk-X7U5G4IG.js";
5
5
  export {
6
6
  logger
7
7
  };