@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.
- package/bin/eventcatalog.config.d.ts +1 -1
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-HN45LKSL.js → chunk-24K6JJV5.js} +1 -1
- package/dist/{chunk-7PMNFOIL.js → chunk-7NOXTLJP.js} +1 -1
- package/dist/{chunk-D3MI3OFO.js → chunk-FLLYUYF2.js} +1 -1
- package/dist/{chunk-NAOHQDLC.js → chunk-IK6AW6IC.js} +1 -1
- package/dist/{chunk-JMADW4J7.js → chunk-JRCXVY3E.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.config.d.cts +40 -7
- package/dist/eventcatalog.config.d.ts +40 -7
- package/dist/eventcatalog.js +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/components/ChatPanel/ChatPanel.tsx +16 -2
- package/eventcatalog/src/components/CopyAsMarkdown.tsx +6 -57
- package/eventcatalog/src/content.config.ts +2 -0
- package/eventcatalog/src/enterprise/ai/chat-api.ts +4 -2
- package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +26 -7
- package/eventcatalog/src/enterprise/feature.ts +0 -4
- package/eventcatalog/src/enterprise/integrations/eventcatalog-features.ts +0 -9
- package/eventcatalog/src/enterprise/tools/catalog-tools.ts +6 -1
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +343 -282
- package/eventcatalog/src/pages/diagrams/[id]/[version]/index.astro +6 -81
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +0 -8
- package/eventcatalog/src/stores/sidebar-store/state.ts +4 -4
- package/eventcatalog/src/utils/feature.ts +0 -2
- package/package.json +4 -4
- package/eventcatalog/src/enterprise/print/_message.data.ts +0 -63
- package/eventcatalog/src/enterprise/print/components/PrintHeader.astro +0 -183
- package/eventcatalog/src/enterprise/print/components/PrintLayout.astro +0 -271
- package/eventcatalog/src/enterprise/print/components/PrintParticipantsTable.astro +0 -64
- package/eventcatalog/src/enterprise/print/components/PrintSchemaPropertiesTable.astro +0 -65
- package/eventcatalog/src/enterprise/print/components/PrintSchemaViewer.tsx +0 -55
- package/eventcatalog/src/enterprise/print/components/PrintSection.astro +0 -17
- package/eventcatalog/src/enterprise/print/message.astro +0 -353
- package/eventcatalog/src/enterprise/print/utils.ts +0 -58
- 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
|
};
|