@eventcatalog/core 4.0.0-beta.0 → 4.0.0-beta.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.
Files changed (44) hide show
  1. package/bin/eventcatalog.config.d.ts +1 -1
  2. package/dist/analytics/analytics.cjs +1 -1
  3. package/dist/analytics/analytics.js +2 -2
  4. package/dist/analytics/log-build.cjs +1 -1
  5. package/dist/analytics/log-build.js +3 -3
  6. package/dist/{chunk-HN45LKSL.js → chunk-24K6JJV5.js} +1 -1
  7. package/dist/{chunk-7PMNFOIL.js → chunk-7NOXTLJP.js} +1 -1
  8. package/dist/{chunk-D3MI3OFO.js → chunk-FLLYUYF2.js} +1 -1
  9. package/dist/{chunk-NAOHQDLC.js → chunk-IK6AW6IC.js} +1 -1
  10. package/dist/{chunk-JMADW4J7.js → chunk-JRCXVY3E.js} +1 -1
  11. package/dist/constants.cjs +1 -1
  12. package/dist/constants.js +1 -1
  13. package/dist/eventcatalog.cjs +1 -1
  14. package/dist/eventcatalog.config.d.cts +40 -7
  15. package/dist/eventcatalog.config.d.ts +40 -7
  16. package/dist/eventcatalog.js +5 -5
  17. package/dist/generate.cjs +1 -1
  18. package/dist/generate.js +3 -3
  19. package/dist/utils/cli-logger.cjs +1 -1
  20. package/dist/utils/cli-logger.js +2 -2
  21. package/eventcatalog/src/components/ChatPanel/ChatPanel.tsx +16 -2
  22. package/eventcatalog/src/components/CopyAsMarkdown.tsx +6 -57
  23. package/eventcatalog/src/content.config.ts +2 -0
  24. package/eventcatalog/src/enterprise/ai/chat-api.ts +4 -2
  25. package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +26 -7
  26. package/eventcatalog/src/enterprise/feature.ts +0 -4
  27. package/eventcatalog/src/enterprise/integrations/eventcatalog-features.ts +0 -9
  28. package/eventcatalog/src/enterprise/tools/catalog-tools.ts +6 -1
  29. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +343 -282
  30. package/eventcatalog/src/pages/diagrams/[id]/[version]/index.astro +6 -81
  31. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +0 -8
  32. package/eventcatalog/src/stores/sidebar-store/state.ts +4 -4
  33. package/eventcatalog/src/utils/feature.ts +0 -2
  34. package/package.json +4 -4
  35. package/eventcatalog/src/enterprise/print/_message.data.ts +0 -63
  36. package/eventcatalog/src/enterprise/print/components/PrintHeader.astro +0 -183
  37. package/eventcatalog/src/enterprise/print/components/PrintLayout.astro +0 -271
  38. package/eventcatalog/src/enterprise/print/components/PrintParticipantsTable.astro +0 -64
  39. package/eventcatalog/src/enterprise/print/components/PrintSchemaPropertiesTable.astro +0 -65
  40. package/eventcatalog/src/enterprise/print/components/PrintSchemaViewer.tsx +0 -55
  41. package/eventcatalog/src/enterprise/print/components/PrintSection.astro +0 -17
  42. package/eventcatalog/src/enterprise/print/message.astro +0 -353
  43. package/eventcatalog/src/enterprise/print/utils.ts +0 -58
  44. package/eventcatalog/src/utils/sidebar-visibility.ts +0 -41
@@ -16,7 +16,6 @@ import {
16
16
  isFullCatalogAPIEnabled,
17
17
  isDevMode,
18
18
  isIntegrationsEnabled,
19
- isExportPDFEnabled,
20
19
  isCustomDocsEnabled,
21
20
  isSSR,
22
21
  } from '../../utils/feature';
@@ -137,14 +136,6 @@ export default function eventCatalogIntegration(): AstroIntegration {
137
136
  });
138
137
  }
139
138
 
140
- // Export to PDF print pages (Scale plan)
141
- if (isExportPDFEnabled()) {
142
- params.injectRoute({
143
- pattern: '/docs/print/[type]/[id]/[version]',
144
- entrypoint: path.join(catalogDirectory, 'src/enterprise/print/message.astro'),
145
- });
146
- }
147
-
148
139
  // Fields Explorer (requires SSR — pages live outside src/pages to avoid static-mode auto-discovery)
149
140
  if (isSSR()) {
150
141
  params.injectRoute({
@@ -25,6 +25,7 @@ import { getNodesAndEdges as getNodesAndEdgesForDomain } from '@utils/node-graph
25
25
  import { getNodesAndEdges as getNodesAndEdgesForFlows } from '@utils/node-graphs/flows-node-graph';
26
26
  import { getNodesAndEdges as getNodesAndEdgesForDataProduct } from '@utils/node-graphs/data-products-node-graph';
27
27
  import { getNodesAndEdges as getNodesAndEdgesForContainer } from '@utils/node-graphs/container-node-graph';
28
+ import { getNodesAndEdges as getNodesAndEdgesForSystem } from '@utils/node-graphs/systems-node-graph';
28
29
  import { convertToMermaid } from '@utils/node-graphs/export-mermaid';
29
30
  import config from '@config';
30
31
  import { glob } from 'glob';
@@ -178,6 +179,7 @@ export const collectionSchema = z.enum([
178
179
  'queries',
179
180
  'flows',
180
181
  'domains',
182
+ 'systems',
181
183
  'channels',
182
184
  'entities',
183
185
  'containers',
@@ -196,6 +198,7 @@ export const resourceCollectionSchema = z.enum([
196
198
  'queries',
197
199
  'flows',
198
200
  'domains',
201
+ 'systems',
199
202
  'channels',
200
203
  'entities',
201
204
  'data-products',
@@ -208,6 +211,7 @@ export const visualiserCollectionSchema = z.enum([
208
211
  'agents',
209
212
  'services',
210
213
  'domains',
214
+ 'systems',
211
215
  'flows',
212
216
  'containers',
213
217
  'data-products',
@@ -1028,6 +1032,7 @@ const getNodesAndEdgesFunctions = {
1028
1032
  flows: getNodesAndEdgesForFlows,
1029
1033
  containers: getNodesAndEdgesForContainer,
1030
1034
  'data-products': getNodesAndEdgesForDataProduct,
1035
+ systems: getNodesAndEdgesForSystem,
1031
1036
  };
1032
1037
 
1033
1038
  /**
@@ -1125,5 +1130,5 @@ export const toolDescriptions = {
1125
1130
  getDataProductOutputs:
1126
1131
  'Use this tool to get the outputs (resources produced) for a data product. Returns fully hydrated output resources with their id, version, name, summary, collection type, and data contracts (if defined). Data contracts include the contract name, path, format, type, and content.',
1127
1132
  getArchitectureDiagramAsMermaid:
1128
- 'Use this tool to get the architecture diagram for a resource as Mermaid flowchart code. This shows how the resource connects to other resources (agents, services, events, channels, etc.) in the architecture. The mermaid code can be rendered to visualize the architecture or used to understand relationships. Supported collections: events, commands, queries, agents, services, domains, flows, containers, data-products.',
1133
+ 'Use this tool to get the architecture diagram for a resource as Mermaid flowchart code. This shows how the resource connects to other resources (agents, services, systems, events, channels, etc.) in the architecture. The mermaid code can be rendered to visualize the architecture or used to understand relationships. Supported collections: events, commands, queries, agents, services, domains, systems, flows, containers, data-products.',
1129
1134
  };