@eventcatalog/core 5.2.0 → 5.4.0
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/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/count-resources.cjs +10 -0
- package/dist/analytics/count-resources.js +1 -1
- package/dist/analytics/log-build.cjs +11 -1
- package/dist/analytics/log-build.js +4 -4
- package/dist/{chunk-DJCOJ77J.js → chunk-7RJN4FNG.js} +1 -1
- package/dist/{chunk-RNYFUWJI.js → chunk-EPDVXHC7.js} +4 -4
- package/dist/{chunk-XI5HQWM2.js → chunk-O2K4VPDO.js} +1 -1
- package/dist/{chunk-N2LLD5TR.js → chunk-OT2U5OES.js} +1 -1
- package/dist/{chunk-QJ7KKN2D.js → chunk-OX6TSVHY.js} +1 -1
- package/dist/{chunk-66OL4B7U.js → chunk-PAS36QHK.js} +1 -1
- package/dist/{chunk-NBYKF4Z4.js → chunk-TERJXCLK.js} +1 -1
- package/dist/{chunk-ZAZHAVKB.js → chunk-YRZK7HKX.js} +10 -0
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +1 -1
- package/dist/docs/development/developer-tools/api-catalog.md +0 -2
- package/dist/docs/development/export/01-introduction.md +1 -1
- package/dist/docs/development/export/04-reference.md +1 -1
- package/dist/docs/development/guides/fitness-functions/01-what-are-fitness-functions.md +116 -0
- package/dist/docs/development/guides/fitness-functions/02-create-fitness-function.md +222 -0
- package/dist/docs/development/guides/fitness-functions/03-global-and-resource-functions.md +198 -0
- package/dist/docs/development/guides/fitness-functions/04-run-in-ci.md +223 -0
- package/dist/docs/development/guides/fitness-functions/05-api-reference.md +271 -0
- package/dist/docs/development/guides/fitness-functions/06-examples.md +354 -0
- package/dist/docs/development/guides/fitness-functions/_category_.json +11 -0
- package/dist/docs/development/guides/owners/05-teams-reference.md +0 -12
- package/dist/docs/development/guides/owners/06-users-reference.md +0 -12
- package/dist/docs/development/upgrading/v5.md +1 -1
- package/dist/eventcatalog.cjs +26 -2
- package/dist/eventcatalog.js +28 -14
- package/dist/federation/federate.js +3 -3
- package/dist/federation/source-provider.js +2 -2
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/runtime-dependencies/@eventcatalog__fitness.mjs +3 -0
- package/dist/runtime-dependencies/@modelcontextprotocol__client.mjs +3 -0
- package/dist/runtime-dependencies/@modelcontextprotocol__server.mjs +3 -0
- package/dist/runtime-dependencies/manifest.json +3 -4
- package/dist/search-indexer.cjs +1 -1
- package/dist/search-indexer.js +1 -1
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/content.config.ts +0 -3
- package/eventcatalog/src/features/collections/resource-docs.ts +0 -1
- package/eventcatalog/src/features/mcp/apps/generated/canvas.html +73 -74
- package/eventcatalog/src/features/mcp/apps/generated/viewer.html +71 -73
- package/eventcatalog/src/features/mcp/apps/shared/app-view.tsx +1 -1
- package/eventcatalog/src/features/mcp/custom-tool-input.ts +38 -0
- package/eventcatalog/src/features/mcp/mcp-apps.ts +6 -4
- package/eventcatalog/src/features/mcp/mcp-scope.ts +2 -3
- package/eventcatalog/src/features/mcp/mcp-server.ts +24 -17
- package/eventcatalog/src/features/studio/server/canvas-mcp.ts +2 -4
- package/eventcatalog/src/features/tools/catalog-tools.ts +6 -8
- package/eventcatalog/src/pages/api-catalog/specifications/[collection]/[id]/[version]/[specification].ts +2 -4
- package/eventcatalog/src/utils/collections/adrs.ts +0 -1
- package/eventcatalog/src/utils/collections/agents.ts +0 -1
- package/eventcatalog/src/utils/collections/channels.ts +0 -1
- package/eventcatalog/src/utils/collections/commands.ts +0 -1
- package/eventcatalog/src/utils/collections/containers.ts +0 -1
- package/eventcatalog/src/utils/collections/domains.ts +0 -2
- package/eventcatalog/src/utils/collections/entities.ts +0 -1
- package/eventcatalog/src/utils/collections/events.ts +0 -1
- package/eventcatalog/src/utils/collections/flows.ts +0 -2
- package/eventcatalog/src/utils/collections/owners.ts +1 -4
- package/eventcatalog/src/utils/collections/queries.ts +0 -1
- package/eventcatalog/src/utils/collections/resource-docs.ts +1 -5
- package/eventcatalog/src/utils/collections/resource-owners.ts +1 -2
- package/eventcatalog/src/utils/collections/services.ts +0 -1
- package/eventcatalog/src/utils/collections/systems.ts +0 -1
- package/eventcatalog/src/utils/collections/teams.ts +3 -6
- package/eventcatalog/src/utils/collections/users.ts +4 -8
- package/eventcatalog/src/utils/homepage-dashboard.ts +2 -3
- package/eventcatalog/src/utils/node-graphs/flow-lanes.ts +2 -6
- package/package.json +9 -6
- package/dist/runtime-dependencies/@modelcontextprotocol__sdk.mjs +0 -3
- package/dist/runtime-dependencies/@modelcontextprotocol__sdk__server__mcp.js.mjs +0 -3
- package/dist/runtime-dependencies/@modelcontextprotocol__sdk__server__webStandardStreamableHttp.js.mjs +0 -3
- package/dist/runtime-dependencies/@modelcontextprotocol__sdk__types.js.mjs +0 -3
- package/eventcatalog/src/features/studio/server/tool-icons.ts +0 -30
- package/dist/{chunk-A2RZR3U4.js → chunk-6K7XZAYI.js} +3 -3
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"@auth/core/providers/okta": "@auth__core__providers__okta.mjs",
|
|
18
18
|
"@auth/core/types": "@auth__core__types.mjs",
|
|
19
19
|
"@eventcatalog/exporters": "@eventcatalog__exporters.mjs",
|
|
20
|
+
"@eventcatalog/fitness": "@eventcatalog__fitness.mjs",
|
|
20
21
|
"@eventcatalog/license": "@eventcatalog__license.mjs",
|
|
21
22
|
"@eventcatalog/linter": "@eventcatalog__linter.mjs",
|
|
22
23
|
"@eventcatalog/sdk": "@eventcatalog__sdk.mjs",
|
|
@@ -44,13 +45,11 @@
|
|
|
44
45
|
"@mcp-b/webmcp-polyfill": "@mcp-b__webmcp-polyfill.mjs",
|
|
45
46
|
"@mermaid-js/layout-elk": "@mermaid-js__layout-elk.mjs",
|
|
46
47
|
"@mermaid-js/layout-elk/dist/mermaid-layout-elk.core.mjs": "@mermaid-js__layout-elk__dist__mermaid-layout-elk.core.mjs.mjs",
|
|
48
|
+
"@modelcontextprotocol/client": "@modelcontextprotocol__client.mjs",
|
|
47
49
|
"@modelcontextprotocol/ext-apps": "@modelcontextprotocol__ext-apps.mjs",
|
|
48
50
|
"@modelcontextprotocol/ext-apps/react": "@modelcontextprotocol__ext-apps__react.mjs",
|
|
49
51
|
"@modelcontextprotocol/ext-apps/server": "@modelcontextprotocol__ext-apps__server.mjs",
|
|
50
|
-
"@modelcontextprotocol/
|
|
51
|
-
"@modelcontextprotocol/sdk/server/mcp.js": "@modelcontextprotocol__sdk__server__mcp.js.mjs",
|
|
52
|
-
"@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js": "@modelcontextprotocol__sdk__server__webStandardStreamableHttp.js.mjs",
|
|
53
|
-
"@modelcontextprotocol/sdk/types.js": "@modelcontextprotocol__sdk__types.js.mjs",
|
|
52
|
+
"@modelcontextprotocol/server": "@modelcontextprotocol__server.mjs",
|
|
54
53
|
"@nanostores/react": "@nanostores__react.mjs",
|
|
55
54
|
"@parcel/watcher": "@parcel__watcher.mjs",
|
|
56
55
|
"@radix-ui/react-context-menu": "@radix-ui__react-context-menu.mjs",
|
package/dist/search-indexer.cjs
CHANGED
|
@@ -140,7 +140,7 @@ var deriveRecordFromPath = async ({
|
|
|
140
140
|
const segments = normalizedRelativePath.split("/").filter(Boolean);
|
|
141
141
|
const fileName = segments[segments.length - 1] || "";
|
|
142
142
|
const fileNameWithoutExtension = removeExtension(fileName);
|
|
143
|
-
if (data.
|
|
143
|
+
if (data.draft) {
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
146
|
if (segments[0] === "docs") {
|
package/dist/search-indexer.js
CHANGED
package/dist/utils/cli-logger.js
CHANGED
|
@@ -168,7 +168,6 @@ const baseSchema = z.object({
|
|
|
168
168
|
url: z.string().optional(),
|
|
169
169
|
})
|
|
170
170
|
.optional(),
|
|
171
|
-
hidden: z.boolean().optional(),
|
|
172
171
|
editUrl: z.string().optional(),
|
|
173
172
|
resourceGroups: z
|
|
174
173
|
.array(
|
|
@@ -980,7 +979,6 @@ const users = defineCollection({
|
|
|
980
979
|
name: z.string(),
|
|
981
980
|
avatarUrl: z.string().optional(),
|
|
982
981
|
role: z.string().optional(),
|
|
983
|
-
hidden: z.boolean().optional(),
|
|
984
982
|
source: directoryEntrySource.optional(),
|
|
985
983
|
readOnly: z.boolean().optional(),
|
|
986
984
|
email: z.string().optional(),
|
|
@@ -1013,7 +1011,6 @@ const teams = defineCollection({
|
|
|
1013
1011
|
name: z.string(),
|
|
1014
1012
|
summary: z.string().optional(),
|
|
1015
1013
|
email: z.string().optional(),
|
|
1016
|
-
hidden: z.boolean().optional(),
|
|
1017
1014
|
source: directoryEntrySource.optional(),
|
|
1018
1015
|
readOnly: z.boolean().optional(),
|
|
1019
1016
|
slackDirectMessageUrl: z.string().optional(),
|