@eventcatalog/core 3.35.0 → 3.35.1
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/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-LUWCWNOR.js → chunk-4SNN54V4.js} +1 -1
- package/dist/{chunk-NEWQKEP7.js → chunk-B7C4DHFE.js} +1 -1
- package/dist/{chunk-DFLUDECO.js → chunk-JEQZWJWP.js} +1 -1
- package/dist/{chunk-Y5O6SCX3.js → chunk-R4DR3YAH.js} +1 -1
- package/dist/{chunk-B2LDVIVY.js → chunk-VJ357XOI.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/docs/api/01-overview.md +74 -0
- package/dist/docs/api/02-config.md +937 -0
- package/dist/docs/api/03-domain-api.md +394 -0
- package/dist/docs/api/04-service-api.md +368 -0
- package/dist/docs/api/05-command-api.md +319 -0
- package/dist/docs/api/06-event-api.md +318 -0
- package/dist/docs/api/06-query-api.md +316 -0
- package/dist/docs/api/08-channel-api.md +317 -0
- package/dist/docs/api/08-code-blocks.md +53 -0
- package/dist/docs/api/09-flow-api.md +362 -0
- package/dist/docs/api/10-entity-api.md +285 -0
- package/dist/docs/api/11-data-api.md +268 -0
- package/dist/docs/api/12-data-product-api.md +416 -0
- package/dist/docs/api/_category_.json +12 -0
- package/dist/docs/cli/channels.md +180 -0
- package/dist/docs/cli/commands.md +183 -0
- package/dist/docs/cli/custom-docs.md +78 -0
- package/dist/docs/cli/data-products.md +177 -0
- package/dist/docs/cli/data-stores.md +166 -0
- package/dist/docs/cli/diagrams.md +147 -0
- package/dist/docs/cli/domains.md +280 -0
- package/dist/docs/cli/entities.md +138 -0
- package/dist/docs/cli/events.md +186 -0
- package/dist/docs/cli/export.md +27 -0
- package/dist/docs/cli/governance.md +24 -0
- package/dist/docs/cli/import.md +26 -0
- package/dist/docs/cli/index.md +121 -0
- package/dist/docs/cli/messages.md +69 -0
- package/dist/docs/cli/queries.md +183 -0
- package/dist/docs/cli/services.md +266 -0
- package/dist/docs/cli/snapshots.md +44 -0
- package/dist/docs/cli/teams.md +75 -0
- package/dist/docs/cli/users.md +75 -0
- package/dist/docs/cli/utilities.md +43 -0
- package/dist/docs/contributing/01-overview.md +186 -0
- package/dist/docs/contributing/_category_.json +12 -0
- package/dist/docs/development/00-why-eventcatalog.md +87 -0
- package/dist/docs/development/01-fundamentals.md +34 -0
- package/dist/docs/development/01-getting-started/_category_.json +12 -0
- package/dist/docs/development/01-getting-started/configuration-overview.md +124 -0
- package/dist/docs/development/01-getting-started/develop-and-build.md +71 -0
- package/dist/docs/development/01-getting-started/installation.md +103 -0
- package/dist/docs/development/01-getting-started/project-structure.md +269 -0
- package/dist/docs/development/_category_.json +12 -0
- package/dist/docs/development/_getting-started.mdx +15 -0
- package/dist/docs/development/agent-resources/_category_.json +6 -0
- package/dist/docs/development/agent-resources/eventcatalog-skills.md +17 -0
- package/dist/docs/development/agent-resources/llms-full.md +17 -0
- package/dist/docs/development/agent-resources/llms.md +17 -0
- package/dist/docs/development/ask-your-architecture/01-intro.md +89 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +23 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +72 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +385 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +11 -0
- package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +12 -0
- package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +216 -0
- package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +47 -0
- package/dist/docs/development/ask-your-architecture/04-skills/01-introduction.md +40 -0
- package/dist/docs/development/ask-your-architecture/04-skills/02-installation.md +60 -0
- package/dist/docs/development/ask-your-architecture/04-skills/_category_.json +11 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/01-introduction.md +63 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/02-slack-app-setup.md +154 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/03-installation.md +169 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/04-deployment.md +236 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/05-usage.md +140 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/06-troubleshooting.md +268 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/_category_.json +12 -0
- package/dist/docs/development/ask-your-architecture/_category_.json +12 -0
- package/dist/docs/development/authentication/01-introduction.md +78 -0
- package/dist/docs/development/authentication/02-enabling-authentication.md +152 -0
- package/dist/docs/development/authentication/07-rbac-middleware.md +269 -0
- package/dist/docs/development/authentication/_category_.json +11 -0
- package/dist/docs/development/authentication/providers/03-setting-up-github.md +83 -0
- package/dist/docs/development/authentication/providers/03a-setting-up-google.md +92 -0
- package/dist/docs/development/authentication/providers/04-setting-up-azure-ad.md +100 -0
- package/dist/docs/development/authentication/providers/05-setting-up-okta.md +105 -0
- package/dist/docs/development/authentication/providers/06-setting-up-auth0.md +106 -0
- package/dist/docs/development/authentication/providers/_category_.json +11 -0
- package/dist/docs/development/bring-your-own-documentation/01-introduction.md +48 -0
- package/dist/docs/development/bring-your-own-documentation/_category_.json +12 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +60 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +207 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +46 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +45 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +11 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +34 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +143 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +68 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +45 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/_category_.json +11 -0
- package/dist/docs/development/components/04-snippets.md +134 -0
- package/dist/docs/development/components/05-using-components.md +67 -0
- package/dist/docs/development/components/07-resource-references.md +136 -0
- package/dist/docs/development/components/_category_.json +12 -0
- package/dist/docs/development/components/components/01-accordian.md +41 -0
- package/dist/docs/development/components/components/02-accordian-group.md +57 -0
- package/dist/docs/development/components/components/03-admonitions.md +43 -0
- package/dist/docs/development/components/components/04-attachments.md +56 -0
- package/dist/docs/development/components/components/05-channel-information.md +29 -0
- package/dist/docs/development/components/components/06-design.md +66 -0
- package/dist/docs/development/components/components/07-entitymap.md +71 -0
- package/dist/docs/development/components/components/08-flow.md +46 -0
- package/dist/docs/development/components/components/09-link.md +32 -0
- package/dist/docs/development/components/components/10-mermaid-file-loader.md +63 -0
- package/dist/docs/development/components/components/11-message-table.md +43 -0
- package/dist/docs/development/components/components/12-nodegraph.md +167 -0
- package/dist/docs/development/components/components/13-openapi.md +55 -0
- package/dist/docs/development/components/components/14-prompt.md +69 -0
- package/dist/docs/development/components/components/15-remote-schema.md +174 -0
- package/dist/docs/development/components/components/16-resource-group-table.md +86 -0
- package/dist/docs/development/components/components/17-resource-link.md +57 -0
- package/dist/docs/development/components/components/18-schema.md +44 -0
- package/dist/docs/development/components/components/19-schema-viewer.md +69 -0
- package/dist/docs/development/components/components/20-steps.md +83 -0
- package/dist/docs/development/components/components/21-tabs.md +55 -0
- package/dist/docs/development/components/components/22-tiles.md +53 -0
- package/dist/docs/development/components/components/23-visibility.md +61 -0
- package/dist/docs/development/components/components/_category_.json +12 -0
- package/dist/docs/development/components/diagram-syntax/01-mermaid.md +218 -0
- package/dist/docs/development/components/diagram-syntax/02-plantuml.md +140 -0
- package/dist/docs/development/components/diagram-syntax/03-structurizr.md +24 -0
- package/dist/docs/development/components/diagram-syntax/04-icepanel.md +75 -0
- package/dist/docs/development/components/diagram-syntax/_category_.json +12 -0
- package/dist/docs/development/components/external-diagram-embeds/01-miro.md +64 -0
- package/dist/docs/development/components/external-diagram-embeds/02-lucid.md +47 -0
- package/dist/docs/development/components/external-diagram-embeds/03-drawio.md +46 -0
- package/dist/docs/development/components/external-diagram-embeds/04-figjam.md +44 -0
- package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +68 -0
- package/dist/docs/development/components/external-diagram-embeds/_category_.json +12 -0
- package/dist/docs/development/customization/01-customize-landing-page.md +155 -0
- package/dist/docs/development/customization/02-themes.md +429 -0
- package/dist/docs/development/customization/06-customize-tables.md +194 -0
- package/dist/docs/development/customization/_category_.json +12 -0
- package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +73 -0
- package/dist/docs/development/customization/custom-components/01-introduction.md +28 -0
- package/dist/docs/development/customization/custom-components/02-adding-components.md +145 -0
- package/dist/docs/development/customization/custom-components/03-component-styling.md +27 -0
- package/dist/docs/development/customization/custom-components/04-javascript-components.md +32 -0
- package/dist/docs/development/customization/custom-components/_category_.json +11 -0
- package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +45 -0
- package/dist/docs/development/customization/customize-sidebars/01-documentation-sidebar.md +187 -0
- package/dist/docs/development/customization/customize-sidebars/_category_.json +11 -0
- package/dist/docs/development/customization/customize-visualizer/00-visualizer-nodes.md +50 -0
- package/dist/docs/development/customization/customize-visualizer/_category_.json +11 -0
- package/dist/docs/development/deployment/_category_.json +12 -0
- package/dist/docs/development/deployment/build-and-deploy.md +71 -0
- package/dist/docs/development/deployment/build-ssr-mode.md +50 -0
- package/dist/docs/development/deployment/deployment-workflows.md +43 -0
- package/dist/docs/development/deployment/hosting-options.md +112 -0
- package/dist/docs/development/deployment/licenses.md +50 -0
- package/dist/docs/development/design/_category_.json +12 -0
- package/dist/docs/development/design/embed-designs-into-eventcatalog.md +29 -0
- package/dist/docs/development/design/further-reading.md +19 -0
- package/dist/docs/development/design/import-resources.md +27 -0
- package/dist/docs/development/design/intro.md +22 -0
- package/dist/docs/development/developer-tools/_category_.json +12 -0
- package/dist/docs/development/developer-tools/eventcatalog-linter.md +597 -0
- package/dist/docs/development/developer-tools/github-action.md +147 -0
- package/dist/docs/development/developer-tools/llms.txt.md +55 -0
- package/dist/docs/development/developer-tools/schemas.txt.md +42 -0
- package/dist/docs/development/governance/_category_.json +6 -0
- package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +62 -0
- package/dist/docs/development/governance/architecture-change-detection/02-configuration.md +134 -0
- package/dist/docs/development/governance/architecture-change-detection/03-recipes.md +309 -0
- package/dist/docs/development/governance/architecture-change-detection/04-webhooks.md +187 -0
- package/dist/docs/development/governance/architecture-change-detection/05-ci-cd.md +121 -0
- package/dist/docs/development/governance/architecture-change-detection/06-pipeline-gates.md +162 -0
- package/dist/docs/development/governance/architecture-change-detection/_category_.json +6 -0
- package/dist/docs/development/guides/12-customize-your-sidebar.md +12 -0
- package/dist/docs/development/guides/99-adding-analytics.md +138 -0
- package/dist/docs/development/guides/_category_.json +11 -0
- package/dist/docs/development/guides/changelogs/01-introduction.md +33 -0
- package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +94 -0
- package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +44 -0
- package/dist/docs/development/guides/changelogs/_category_.json +11 -0
- package/dist/docs/development/guides/channels/01-introduction.md +111 -0
- package/dist/docs/development/guides/channels/02-adding-channels.md +198 -0
- package/dist/docs/development/guides/channels/04-adding-messages-to-services.md +292 -0
- package/dist/docs/development/guides/channels/09-configuration +39 -0
- package/dist/docs/development/guides/channels/_category_.json +11 -0
- package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +44 -0
- package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +16 -0
- package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +31 -0
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +56 -0
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/data/01-introduction.md +34 -0
- package/dist/docs/development/guides/data/02-adding-data.md +86 -0
- package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +73 -0
- package/dist/docs/development/guides/data/_category_.json +11 -0
- package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +45 -0
- package/dist/docs/development/guides/data/ownership-and-components/02-components.md +17 -0
- package/dist/docs/development/guides/data/ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +32 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +57 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +71 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/data-products/01-introduction.md +116 -0
- package/dist/docs/development/guides/data-products/02-adding-data-products.md +157 -0
- package/dist/docs/development/guides/data-products/03-inputs-and-outputs.md +128 -0
- package/dist/docs/development/guides/data-products/04-contracts.md +102 -0
- package/dist/docs/development/guides/data-products/05-versioning.md +240 -0
- package/dist/docs/development/guides/data-products/06-adding-to-domains.md +52 -0
- package/dist/docs/development/guides/data-products/_category_.json +11 -0
- package/dist/docs/development/guides/diagrams/01-introduction.md +78 -0
- package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +195 -0
- package/dist/docs/development/guides/diagrams/03-referencing-diagrams.md +195 -0
- package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +204 -0
- package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +145 -0
- package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +165 -0
- package/dist/docs/development/guides/diagrams/_category_.json +10 -0
- package/dist/docs/development/guides/domains/01-introduction.md +22 -0
- package/dist/docs/development/guides/domains/02-creating-domains/02-adding-domains.md +108 -0
- package/dist/docs/development/guides/domains/02-creating-domains/02a-subdomains.md +84 -0
- package/dist/docs/development/guides/domains/02-creating-domains/03-adding-services-to-domains.md +90 -0
- package/dist/docs/development/guides/domains/02-creating-domains/04-adding-messages-to-domains.md +107 -0
- package/dist/docs/development/guides/domains/02-creating-domains/05-adding-data-products-to-domains.md +105 -0
- package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +11 -0
- package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +36 -0
- package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +75 -0
- package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +10 -0
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/01-versioning.md +40 -0
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/02-changelog.md +53 -0
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +10 -0
- package/dist/docs/development/guides/domains/05-entities/01-introduction.md +24 -0
- package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +157 -0
- package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +30 -0
- package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +134 -0
- package/dist/docs/development/guides/domains/05-entities/_category_.json +11 -0
- package/dist/docs/development/guides/domains/08-domain-integration-map.md +41 -0
- package/dist/docs/development/guides/domains/_category_.json +11 -0
- package/dist/docs/development/guides/flows/01-introduction.md +36 -0
- package/dist/docs/development/guides/flows/02-adding-flows.md +198 -0
- package/dist/docs/development/guides/flows/03-flow-nodes.md +273 -0
- package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +42 -0
- package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +43 -0
- package/dist/docs/development/guides/flows/06-versioning.md +27 -0
- package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +171 -0
- package/dist/docs/development/guides/flows/_category_.json +11 -0
- package/dist/docs/development/guides/messages/01-overview.md +57 -0
- package/dist/docs/development/guides/messages/_category_.json +11 -0
- package/dist/docs/development/guides/messages/commands/01-introduction.md +26 -0
- package/dist/docs/development/guides/messages/commands/02-adding-commands.md +131 -0
- package/dist/docs/development/guides/messages/commands/_category_.json +11 -0
- package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +37 -0
- package/dist/docs/development/guides/messages/common/02-adding-schemas.md +58 -0
- package/dist/docs/development/guides/messages/common/02-deprecating.md +71 -0
- package/dist/docs/development/guides/messages/common/02-draft-messages.md +63 -0
- package/dist/docs/development/guides/messages/common/02-examples.md +99 -0
- package/dist/docs/development/guides/messages/common/03-owners.md +40 -0
- package/dist/docs/development/guides/messages/common/04-versioning.md +27 -0
- package/dist/docs/development/guides/messages/common/05-changelog.md +73 -0
- package/dist/docs/development/guides/messages/common/07-components.md +12 -0
- package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +70 -0
- package/dist/docs/development/guides/messages/common/09-grouping-messages.md +98 -0
- package/dist/docs/development/guides/messages/common/_category_.json +11 -0
- package/dist/docs/development/guides/messages/events/01-introduction.md +25 -0
- package/dist/docs/development/guides/messages/events/02-adding-events.md +130 -0
- package/dist/docs/development/guides/messages/events/_category_.json +11 -0
- package/dist/docs/development/guides/messages/queries/01-introduction.md +25 -0
- package/dist/docs/development/guides/messages/queries/02-adding-queries.md +130 -0
- package/dist/docs/development/guides/messages/queries/_category_.json +11 -0
- package/dist/docs/development/guides/owners/_category_.json +11 -0
- package/dist/docs/development/guides/owners/teams/01-introduction.md +21 -0
- package/dist/docs/development/guides/owners/teams/02-adding-teams.md +73 -0
- package/dist/docs/development/guides/owners/teams/_category_.json +11 -0
- package/dist/docs/development/guides/owners/users/01-introduction.md +20 -0
- package/dist/docs/development/guides/owners/users/02-adding-users.md +70 -0
- package/dist/docs/development/guides/owners/users/_category_.json +11 -0
- package/dist/docs/development/guides/schemas/01-introduction.md +64 -0
- package/dist/docs/development/guides/schemas/02-schema-explorer.md +74 -0
- package/dist/docs/development/guides/schemas/03-schema-api.md +59 -0
- package/dist/docs/development/guides/schemas/04-schema-mcp.md +22 -0
- package/dist/docs/development/guides/schemas/05-field-usage.md +120 -0
- package/dist/docs/development/guides/schemas/06-fields-explorer.md +120 -0
- package/dist/docs/development/guides/schemas/_category_.json +11 -0
- package/dist/docs/development/guides/services/01-introduction.md +33 -0
- package/dist/docs/development/guides/services/02-adding-services.md +113 -0
- package/dist/docs/development/guides/services/03-creating-external-systems.md +71 -0
- package/dist/docs/development/guides/services/_category_.json +11 -0
- package/dist/docs/development/guides/services/adding-to-services/01-messages.md +229 -0
- package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +77 -0
- package/dist/docs/development/guides/services/adding-to-services/03-entities.md +47 -0
- package/dist/docs/development/guides/services/adding-to-services/04-openapi.md +97 -0
- package/dist/docs/development/guides/services/adding-to-services/05-asyncapi.md +97 -0
- package/dist/docs/development/guides/services/adding-to-services/06-graphql.md +96 -0
- package/dist/docs/development/guides/services/adding-to-services/_category_.json +10 -0
- package/dist/docs/development/guides/services/ownership-and-components/01-owners.md +41 -0
- package/dist/docs/development/guides/services/ownership-and-components/02-components.md +13 -0
- package/dist/docs/development/guides/services/ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/01-versioning.md +27 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/02-changelog.md +52 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/03-deprecating.md +70 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/upgrading/_category_.json +12 -0
- package/dist/docs/development/upgrading/upgrading.md +142 -0
- package/dist/docs/development/upgrading/v2.md +69 -0
- package/dist/docs/development/upgrading/v3.md +277 -0
- package/dist/docs/miro/_category_.json +12 -0
- package/dist/docs/miro/contributing/01-getting-involved.md +53 -0
- package/dist/docs/miro/contributing/_category_.json +11 -0
- package/dist/docs/miro/getting-started/01-overview.md +63 -0
- package/dist/docs/miro/getting-started/02-installation.md +37 -0
- package/dist/docs/miro/getting-started/03-connecting-to-eventcatalog.md +59 -0
- package/dist/docs/miro/getting-started/_category_.json +11 -0
- package/dist/docs/miro/guides/01-adding-resources-to-board.md +90 -0
- package/dist/docs/miro/guides/02-creating-new-resources.md +61 -0
- package/dist/docs/miro/guides/03-editing-resources.md +50 -0
- package/dist/docs/miro/guides/04-connected-resources.md +54 -0
- package/dist/docs/miro/guides/05-services-and-dependencies.md +54 -0
- package/dist/docs/miro/guides/06-navigating-the-board.md +44 -0
- package/dist/docs/miro/guides/07-exporting-to-eventcatalog.md +75 -0
- package/dist/docs/miro/guides/_category_.json +11 -0
- package/dist/docs/miro/specifications/01-asyncapi.md +86 -0
- package/dist/docs/miro/specifications/02-openapi.md +86 -0
- package/dist/docs/miro/specifications/03-schema-registries.md +88 -0
- package/dist/docs/miro/specifications/_category_.json +11 -0
- package/dist/docs/miro/using-ai/01-overview.md +105 -0
- package/dist/docs/miro/using-ai/_category_.json +11 -0
- package/dist/docs/plugins/01-intro.md +49 -0
- package/dist/docs/plugins/02-generators.md +76 -0
- package/dist/docs/plugins/03-all-plugins.md +26 -0
- package/dist/docs/plugins/_category_.json +12 -0
- package/dist/docs/plugins/amazon-apigateway/00-intro.md +75 -0
- package/dist/docs/plugins/amazon-apigateway/01-installation.md +198 -0
- package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +136 -0
- package/dist/docs/plugins/amazon-apigateway/03-features.md +71 -0
- package/dist/docs/plugins/amazon-apigateway/04-examples.md +15 -0
- package/dist/docs/plugins/amazon-apigateway/_category_.json +11 -0
- package/dist/docs/plugins/apicurio/00-intro.md +102 -0
- package/dist/docs/plugins/apicurio/01-installation.md +165 -0
- package/dist/docs/plugins/apicurio/02-plugin-configuration.md +682 -0
- package/dist/docs/plugins/apicurio/03-features.md +221 -0
- package/dist/docs/plugins/apicurio/04-examples.md +20 -0
- package/dist/docs/plugins/apicurio/_category_.json +12 -0
- package/dist/docs/plugins/asyncapi/00-intro.md +81 -0
- package/dist/docs/plugins/asyncapi/01-installation.md +155 -0
- package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +312 -0
- package/dist/docs/plugins/asyncapi/03-features.md +698 -0
- package/dist/docs/plugins/asyncapi/03a-workflows.md +153 -0
- package/dist/docs/plugins/asyncapi/04-examples.md +23 -0
- package/dist/docs/plugins/asyncapi/04-using-reference-objects.md +45 -0
- package/dist/docs/plugins/asyncapi/_category_.json +12 -0
- package/dist/docs/plugins/aws-glue-registry/00-intro.md +104 -0
- package/dist/docs/plugins/aws-glue-registry/00a-installation.md +305 -0
- package/dist/docs/plugins/aws-glue-registry/01-features.md +287 -0
- package/dist/docs/plugins/aws-glue-registry/02-examples.md +368 -0
- package/dist/docs/plugins/aws-glue-registry/03-api.md +282 -0
- package/dist/docs/plugins/aws-glue-registry/_category_.json +11 -0
- package/dist/docs/plugins/azure-schema-registry/00-intro.md +92 -0
- package/dist/docs/plugins/azure-schema-registry/01-installation.md +409 -0
- package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +375 -0
- package/dist/docs/plugins/azure-schema-registry/03-features.md +347 -0
- package/dist/docs/plugins/azure-schema-registry/04-examples.md +378 -0
- package/dist/docs/plugins/azure-schema-registry/_category_.json +12 -0
- package/dist/docs/plugins/backstage/00-intro.md +67 -0
- package/dist/docs/plugins/backstage/01-installation.md +250 -0
- package/dist/docs/plugins/backstage/02-api.md +51 -0
- package/dist/docs/plugins/backstage/03-examples.md +12 -0
- package/dist/docs/plugins/backstage/_category_.json +11 -0
- package/dist/docs/plugins/confluent-schema-registry/00-intro.md +90 -0
- package/dist/docs/plugins/confluent-schema-registry/01-installation.md +223 -0
- package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +473 -0
- package/dist/docs/plugins/confluent-schema-registry/03-features.md +43 -0
- package/dist/docs/plugins/confluent-schema-registry/04-examples.md +19 -0
- package/dist/docs/plugins/confluent-schema-registry/_category_.json +12 -0
- package/dist/docs/plugins/eventbridge/00-intro.md +55 -0
- package/dist/docs/plugins/eventbridge/00a-installation.md +317 -0
- package/dist/docs/plugins/eventbridge/01-features.md +225 -0
- package/dist/docs/plugins/eventbridge/02-examples.md +17 -0
- package/dist/docs/plugins/eventbridge/03-api.md +441 -0
- package/dist/docs/plugins/eventbridge/03a-workflows.md +133 -0
- package/dist/docs/plugins/eventbridge/_category_.json +11 -0
- package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +69 -0
- package/dist/docs/plugins/eventcatalog-federation/01-installation.md +182 -0
- package/dist/docs/plugins/eventcatalog-federation/02-plugin-configuration.md +208 -0
- package/dist/docs/plugins/eventcatalog-federation/03-examples.md +15 -0
- package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +193 -0
- package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +97 -0
- package/dist/docs/plugins/eventcatalog-federation/_category_.json +11 -0
- package/dist/docs/plugins/github/00-intro.md +93 -0
- package/dist/docs/plugins/github/01-installation.md +293 -0
- package/dist/docs/plugins/github/02-plugin-configuration.md +253 -0
- package/dist/docs/plugins/github/03-features.md +42 -0
- package/dist/docs/plugins/github/04-examples.md +17 -0
- package/dist/docs/plugins/github/_category_.json +12 -0
- package/dist/docs/plugins/graphql/00-intro.md +74 -0
- package/dist/docs/plugins/graphql/01-installation.md +144 -0
- package/dist/docs/plugins/graphql/02-plugin-configuration.md +127 -0
- package/dist/docs/plugins/graphql/03-features.md +197 -0
- package/dist/docs/plugins/graphql/04-examples.md +15 -0
- package/dist/docs/plugins/graphql/_category_.json +12 -0
- package/dist/docs/plugins/hookdeck/01-intro.md +152 -0
- package/dist/docs/plugins/hookdeck/02-api.md +133 -0
- package/dist/docs/plugins/hookdeck/03-cli.md +45 -0
- package/dist/docs/plugins/hookdeck/_category_.json +11 -0
- package/dist/docs/plugins/openapi/00-intro.md +78 -0
- package/dist/docs/plugins/openapi/01-installation.md +148 -0
- package/dist/docs/plugins/openapi/02-plugin-configuration.md +332 -0
- package/dist/docs/plugins/openapi/03-features.md +790 -0
- package/dist/docs/plugins/openapi/03a-workflows.md +153 -0
- package/dist/docs/plugins/openapi/04-examples.md +23 -0
- package/dist/docs/plugins/openapi/_category_.json +12 -0
- package/dist/eventcatalog.cjs +1 -1
- 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/package.json +2 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: MessageTable
|
|
6
|
+
title: MessageTable
|
|
7
|
+
description: Component for displaying messages for services and domains in EventCatalog
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
<AddedIn version="2.26.0" />
|
|
13
|
+
|
|
14
|
+
The `<MessageTable/>` component renders a table of messages for a service or domain in EventCatalog.
|
|
15
|
+
|
|
16
|
+
The component renders a paginated table of messages, with the ability to filter by message type (event, command, query), and text search.
|
|
17
|
+
|
|
18
|
+
### Use case
|
|
19
|
+
|
|
20
|
+
- Display all the messages that a service sends and receives.
|
|
21
|
+
- Display all the messages that a domain sends and receives.
|
|
22
|
+
- These are all messages that are sent and received in child services of the domain.
|
|
23
|
+
|
|
24
|
+
**Basic Example**
|
|
25
|
+
|
|
26
|
+
```jsx /domains/MyDomain/index.mdx
|
|
27
|
+
<MessageTable limit={10} showChannels={true} />
|
|
28
|
+
```
|
|
29
|
+
### Output
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
See the [demo](https://demo.eventcatalog.dev/docs/domains/Orders/0.0.3) for a full example.
|
|
33
|
+
|
|
34
|
+
### Props
|
|
35
|
+
| Name | Type | Default | Description |
|
|
36
|
+
| ----------------------- | --------- | ----------------- | ----------------------------------------------------------------- |
|
|
37
|
+
| `format` | `string` | 'all' | Which messages to render. `all` will render messages that are sent and received. `sends` will render messages that are sent and `receives` will render messages that are received. |
|
|
38
|
+
| `limit` | `number` | 10 | The number of messages to render in the table. Results are paginated. |
|
|
39
|
+
| `showChannels` | `boolean` | true | Whether to show the channel information in the table for each message. |
|
|
40
|
+
|
|
41
|
+
### Support
|
|
42
|
+
|
|
43
|
+
The `<MessageTable/>` component is supported in domains and services.
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 3
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: NodeGraph
|
|
6
|
+
title: NodeGraph
|
|
7
|
+
description: Component for EventCatalog
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
A component to visually render your information.
|
|
13
|
+
|
|
14
|
+
The `<NodeGraph/>` component is supported in domains, services, and all messages, changelogs, and custom documentation pages.
|
|
15
|
+
|
|
16
|
+
### Single NodeGraph
|
|
17
|
+
|
|
18
|
+
**Example**
|
|
19
|
+
|
|
20
|
+
```jsx /events/MyEvents/index.mdx
|
|
21
|
+
<NodeGraph/>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
#### Output
|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
#### Props
|
|
28
|
+
| Name | Type | Default | Description |
|
|
29
|
+
| ----------------------- | --------- | ----------------- | ----------------------------------------------------------------- |
|
|
30
|
+
| `maxHeight` (optional) | `string` | 30 | Max height to set the nodegraph in your document|
|
|
31
|
+
| `search` (optional) | `boolean` | true | Show or hide the search bar in the nodegraph _(Added in v2.50.3)_ |
|
|
32
|
+
| `legend` (optional) | `boolean` | true | Show or hide the legend in the nodegraph _(Added in v2.50.3)_ |
|
|
33
|
+
| `mode` (optional) | `string` ("simple" or "full") | "simple" | `simple` will render the nodegraph in a simplfied view not rendering descriptions. Full will render the nodegraph in a full view, rendering descriptions and other information _(Added in v2.50.3)_|
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## Interactive controls
|
|
37
|
+
|
|
38
|
+
<AddedIn version="3.9.0" />
|
|
39
|
+
|
|
40
|
+
All NodeGraph visualizations include interactive controls for better viewing, exploration, and sharing.
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
### View modes
|
|
45
|
+
|
|
46
|
+
Switch between two visualization modes using the view switcher dropdown.
|
|
47
|
+
|
|
48
|
+
**React Flow** - Interactive node-based visualization with drag and pan controls.
|
|
49
|
+
|
|
50
|
+
**Mermaid** - Standard Mermaid diagram view with automatic layout and pan/zoom controls.
|
|
51
|
+
|
|
52
|
+
### Export as Mermaid
|
|
53
|
+
|
|
54
|
+
Copy the NodeGraph as Mermaid diagram code to your clipboard. The diagram preserves all nodes, edges, and styling information.
|
|
55
|
+
|
|
56
|
+
Useful for sharing architectures with LLMs, documentation tools, or pasting into Mermaid-compatible renderers like [mermaid.live](https://mermaid.live).
|
|
57
|
+
|
|
58
|
+
:::tip Large diagram exports
|
|
59
|
+
If you export large NodeGraphs and they fail to render as Mermaid diagrams, increase the `maxTextSize` configuration. [Learn more about maxTextSize](/docs/api/config#mermaid).
|
|
60
|
+
:::
|
|
61
|
+
|
|
62
|
+
### Share URL
|
|
63
|
+
|
|
64
|
+
Copy the current page URL to share the visualization with your team.
|
|
65
|
+
|
|
66
|
+
## Layout persistence
|
|
67
|
+
|
|
68
|
+
<AddedIn version="3.11.0" />
|
|
69
|
+
|
|
70
|
+
Save and restore custom node positions in the visualizer during development.
|
|
71
|
+
|
|
72
|
+
When you drag nodes to arrange your visualization, a "Layout changed" indicator appears with a quick save button. Layouts are saved to `_data/visualizer-layouts/` as JSON files and can be committed to git to share with your team.
|
|
73
|
+
|
|
74
|
+
:::info Dev mode only
|
|
75
|
+
Layout persistence is only available when running EventCatalog in development mode (`npm run start`). This ensures saved layouts don't affect production builds.
|
|
76
|
+
:::
|
|
77
|
+
|
|
78
|
+
### Saving layouts
|
|
79
|
+
|
|
80
|
+
Drag any node to reposition it. When changes are detected, the "Layout changed" indicator appears in the bottom-left corner with a quick save button.
|
|
81
|
+
|
|
82
|
+
You can also save layouts from the dropdown menu:
|
|
83
|
+
|
|
84
|
+
1. Click the menu icon (three dots) in the top-right corner
|
|
85
|
+
2. Select **Layout** > **Save Layout**
|
|
86
|
+
|
|
87
|
+
Layouts are saved to `_data/visualizer-layouts/{collection}/{id}/{version}.json` in your catalog directory.
|
|
88
|
+
|
|
89
|
+
### Resetting layouts
|
|
90
|
+
|
|
91
|
+
Reset a saved layout to return to auto-positioning:
|
|
92
|
+
|
|
93
|
+
1. Click the menu icon (three dots) in the top-right corner
|
|
94
|
+
2. Select **Layout** > **Reset Layout**
|
|
95
|
+
3. Confirm the reset
|
|
96
|
+
|
|
97
|
+
This deletes the saved layout file and reloads the page with auto-calculated positions.
|
|
98
|
+
|
|
99
|
+
### Layout files
|
|
100
|
+
|
|
101
|
+
Layout files are keyed by resource (collection/id/version), so the same layout is used whether viewing in the visualizer or embedded in documentation.
|
|
102
|
+
|
|
103
|
+
Works across all visualizers including services, events, flows, domains, entity maps, and designs.
|
|
104
|
+
|
|
105
|
+
**Example layout file structure:**
|
|
106
|
+
|
|
107
|
+
```json
|
|
108
|
+
{
|
|
109
|
+
"version": 1,
|
|
110
|
+
"savedAt": "2026-01-29T12:00:00.000Z",
|
|
111
|
+
"resourceKey": "services/OrderService/1.0.0",
|
|
112
|
+
"positions": {
|
|
113
|
+
"node-1": { "x": 100, "y": 200 },
|
|
114
|
+
"node-2": { "x": 300, "y": 400 }
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Sharing layouts with your team
|
|
120
|
+
|
|
121
|
+
Saved layouts can be committed to git and shared with your team. When team members pull the changes, they'll see the same node positions in their local development environment.
|
|
122
|
+
|
|
123
|
+
Add the layout directory to your git repository:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
git add _data/visualizer-layouts
|
|
127
|
+
git commit -m "Add custom visualizer layouts"
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Multiple NodeGraphs
|
|
132
|
+
|
|
133
|
+
<AddedIn version="2.37.3" />
|
|
134
|
+
|
|
135
|
+
You can add multiple NodeGraphs to your document by using the `NodeGraph` component multiple times.
|
|
136
|
+
|
|
137
|
+
Here is an example of how to add multiple NodeGraphs to your document:
|
|
138
|
+
|
|
139
|
+
```jsx /events/MyEvents/index.mdx
|
|
140
|
+
<!-- Without any properties, this will render the current pages NodeGraph like you see in the above example -->
|
|
141
|
+
<NodeGraph/>
|
|
142
|
+
|
|
143
|
+
<!-- -->
|
|
144
|
+
<div class="grid grid-cols-2 gap-4 not-prose">
|
|
145
|
+
<!-- We tell EventCatalog to render the Orders Domain version 0.0.3 NodeGraph -->
|
|
146
|
+
<NodeGraph id="Orders" version="0.0.3" type="domain" />
|
|
147
|
+
<!-- We tell EventCatalog to render the Subscription Domain version 0.0.1 NodeGraph -->
|
|
148
|
+
<NodeGraph id="Subscription" version="0.0.1" type="domain" />
|
|
149
|
+
</div>
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
#### Output
|
|
153
|
+

|
|
154
|
+
|
|
155
|
+
You can see a demo of this [here](https://demo.eventcatalog.dev/docs/domains/E-Commerce/1.0.0)
|
|
156
|
+
|
|
157
|
+
#### Props
|
|
158
|
+
|
|
159
|
+
| Name | Type | Default | Description |
|
|
160
|
+
| ----------------------- | --------- | ----------------- | ----------------------------------------------------------------- |
|
|
161
|
+
| `id` | `string` | `undefined` | The id of the NodeGraph to render. If not provided, the current page's NodeGraph will be rendered. |
|
|
162
|
+
| `version` | `string` | `undefined` | The version of the NodeGraph to render. If not provided, the current page's NodeGraph will be rendered. |
|
|
163
|
+
| `type` | `string` | `undefined` | The type of the NodeGraph to render. If not provided, the current page's NodeGraph will be rendered. |
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 4
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: OpenAPI
|
|
6
|
+
title: OpenAPI
|
|
7
|
+
description: Component for EventCatalog
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
:::warning
|
|
12
|
+
This component is now deprecated. Please read the frontmatter API documentation [here](/docs/development/guides/services/adding-to-services/openapi).
|
|
13
|
+
:::
|
|
14
|
+
|
|
15
|
+
You can add specifications to any service in EventCatalog using the specifications frontmatter API. You can read more about it [here](/docs/development/guides/services/adding-to-services/openapi).
|
|
16
|
+
|
|
17
|
+
If you are interested in automating your EventCatalog with OpenAPI files, you can use the [OpenAPI plugin](/docs/plugins/openapi/intro).
|
|
18
|
+
|
|
19
|
+
<!-- A component to render [OpenAPI specification files](https://swagger.io/specification/) into EventCatalog.
|
|
20
|
+
|
|
21
|
+
:::tip
|
|
22
|
+
OpenAPI files can be great for your services. Remember you can version your services and all files that associate with it. This allows you to version your OpenAPI files with EventCatalog.
|
|
23
|
+
:::
|
|
24
|
+
|
|
25
|
+
### Usage
|
|
26
|
+
|
|
27
|
+
1. Add your `openapi.yml` file to your folder
|
|
28
|
+
- e.g `/events/MyEvent/openapi.yml`
|
|
29
|
+
|
|
30
|
+
When you include the component three things happen:
|
|
31
|
+
|
|
32
|
+
- You get a section in your document with a link to the spec file
|
|
33
|
+
- A button is rendered in the sidebar for the document
|
|
34
|
+
- A new page is rendered loading the OpenAPI file.
|
|
35
|
+
|
|
36
|
+
**Example**
|
|
37
|
+
|
|
38
|
+
```jsx /events/MyEvents/index.mdx
|
|
39
|
+
<OpenAPI/>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Output
|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
**New page that is created for your OpenAPI spec**
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
### Props
|
|
50
|
+
|
|
51
|
+
_No configuration required._ -->
|
|
52
|
+
|
|
53
|
+
### Support
|
|
54
|
+
|
|
55
|
+
The `<OpenAPI/>` component is supported in domains, services, and all messages, changelogs, and custom documentation pages.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 18
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
- prompt
|
|
6
|
+
- ai
|
|
7
|
+
- cursor
|
|
8
|
+
- clipboard
|
|
9
|
+
sidebar_label: Prompt
|
|
10
|
+
title: Prompt
|
|
11
|
+
description: Embed copyable AI prompts into resource documentation
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
15
|
+
|
|
16
|
+
<AddedIn version="3.32.2" />
|
|
17
|
+
|
|
18
|
+
`<Prompt />` lets you embed ready-to-use AI prompts directly in your documentation pages. Readers can copy the prompt to their clipboard or open it straight in Cursor with one click.
|
|
19
|
+
|
|
20
|
+
Place the prompt text as the slot content and configure the label and actions via props.
|
|
21
|
+
|
|
22
|
+
**Copy only (default)**
|
|
23
|
+
|
|
24
|
+
```jsx /events/OrderCreated/index.mdx
|
|
25
|
+
<Prompt description="Generate test cases for this event">
|
|
26
|
+
You are a senior QA engineer. Review the OrderCreated event schema above and write
|
|
27
|
+
Jest test cases that cover the happy path and the top three failure modes.
|
|
28
|
+
</Prompt>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Copy and open in Cursor**
|
|
32
|
+
|
|
33
|
+
```jsx /services/OrdersService/index.mdx
|
|
34
|
+
<Prompt
|
|
35
|
+
description="Generate Gherkin scenarios for this service"
|
|
36
|
+
actions={["copy", "cursor"]}
|
|
37
|
+
icon="sparkles"
|
|
38
|
+
>
|
|
39
|
+
You are a senior QA engineer. Read the attached service documentation and produce
|
|
40
|
+
Gherkin Given/When/Then scenarios covering the happy path and the top three failure modes.
|
|
41
|
+
</Prompt>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Output
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
### Props
|
|
48
|
+
|
|
49
|
+
| Name | Type | Default | Description |
|
|
50
|
+
| ---- | ---- | ------- | ----------- |
|
|
51
|
+
| `description` (required) | `string` | — | Short label shown to the reader, e.g. "Generate test cases for this event". |
|
|
52
|
+
| `actions` (optional) | `('copy' \| 'cursor')[]` | `['copy']` | Buttons to render. `'copy'` adds a clipboard button; `'cursor'` adds an "Open in Cursor" deep-link button. |
|
|
53
|
+
| `icon` (optional) | `string` | — | Lucide icon name to display beside the description. Accepts kebab-case, snake_case, or space-separated input (e.g. `"sparkles"`, `"bot-message-square"`). |
|
|
54
|
+
|
|
55
|
+
### Understand the actions
|
|
56
|
+
|
|
57
|
+
Use `actions={["copy"]}` (the default) when you only need clipboard support. Add `"cursor"` to the array when your team works in Cursor and you want a one-click "Open in Cursor" button that pre-fills the prompt.
|
|
58
|
+
|
|
59
|
+
Both actions derive their text from the slot content. HTML tags are stripped automatically, so plain text is always passed to the clipboard and the Cursor deep-link.
|
|
60
|
+
|
|
61
|
+
### Use the icon prop
|
|
62
|
+
|
|
63
|
+
Pass any [Lucide](https://lucide.dev/icons/) icon name to the `icon` prop. The component normalises the value to PascalCase internally, so `"bot-message-square"`, `"bot_message_square"`, and `"Bot Message Square"` all resolve to the same icon.
|
|
64
|
+
|
|
65
|
+
If the icon name is not found in the Lucide library, no icon is rendered and no error is thrown.
|
|
66
|
+
|
|
67
|
+
### Support
|
|
68
|
+
|
|
69
|
+
The `<Prompt />` component is supported in domains, services, all messages, changelogs, and custom documentation pages.
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 15
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
- remote schema
|
|
6
|
+
- fetch
|
|
7
|
+
- runtime
|
|
8
|
+
sidebar_label: RemoteSchema
|
|
9
|
+
title: RemoteSchema
|
|
10
|
+
description: Component for fetching and rendering remote schemas in EventCatalog
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
import EventCatalogPro from '@site/src/components/MDX/EventCatalogPro';
|
|
14
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
15
|
+
|
|
16
|
+
<AddedIn version="2.52.0" />
|
|
17
|
+
|
|
18
|
+
The **RemoteSchema** component fetches and renders schemas from remote URLs at runtime, keeping your documentation automatically synchronized with external schema sources.
|
|
19
|
+
|
|
20
|
+
**Schemas can be fetched from any accessible URL and support authentication headers for private APIs.**
|
|
21
|
+
|
|
22
|
+
:::tip
|
|
23
|
+
**The `<RemoteSchema/>` component fetches schemas at runtime.**
|
|
24
|
+
|
|
25
|
+
This ensures your documentation stays up-to-date with the latest schema versions without manual updates.
|
|
26
|
+
:::
|
|
27
|
+
|
|
28
|
+
:::info SSR Mode Required
|
|
29
|
+
The `<RemoteSchema/>` component only works in Server-Side Rendering (SSR) mode. Make sure your EventCatalog is configured to run in SSR mode to use this component. You can read more about how to configure your EventCatalog to run in SSR mode [here](/docs/development/deployment/build-ssr-mode).
|
|
30
|
+
:::
|
|
31
|
+
|
|
32
|
+
### Usage
|
|
33
|
+
|
|
34
|
+
**Basic Example**
|
|
35
|
+
|
|
36
|
+
```jsx /events/MyEvent/index.mdx
|
|
37
|
+
<RemoteSchema url="https://api.example.com/schemas/user-registered.json" />
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**With Custom Title and Height**
|
|
41
|
+
|
|
42
|
+
```jsx /events/MyEvent/index.mdx
|
|
43
|
+
<RemoteSchema
|
|
44
|
+
url="https://api.example.com/schemas/payment.json"
|
|
45
|
+
title="Payment Schema"
|
|
46
|
+
maxHeight="600"
|
|
47
|
+
/>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Fetching from Private APIs** <EventCatalogPro />
|
|
51
|
+
|
|
52
|
+
For private APIs requiring authentication, you can provide headers:
|
|
53
|
+
|
|
54
|
+
```jsx /events/MyEvent/index.mdx
|
|
55
|
+
<RemoteSchema
|
|
56
|
+
url="https://private-api.example.com/schemas/order.json"
|
|
57
|
+
headers={{
|
|
58
|
+
"Authorization": "Bearer ${API_TOKEN}",
|
|
59
|
+
"X-API-Key": "${API_KEY}"
|
|
60
|
+
}}
|
|
61
|
+
title="Order Schema"
|
|
62
|
+
/>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
:::tip Loading environment variables
|
|
66
|
+
|
|
67
|
+
Add your environment variables to the `.env` file in the root of your EventCatalog project.
|
|
68
|
+
|
|
69
|
+
The RemoteSchema component will automatically map the environment variables to the template string.
|
|
70
|
+
:::
|
|
71
|
+
|
|
72
|
+
**Using JSONPath to Extract Specific Schema Parts**
|
|
73
|
+
|
|
74
|
+
When your API returns nested schemas, use JSONPath to extract specific parts:
|
|
75
|
+
|
|
76
|
+
```jsx /events/MyEvent/index.mdx
|
|
77
|
+
<RemoteSchema
|
|
78
|
+
url="https://api.example.com/openapi.json"
|
|
79
|
+
jsonPath="$.components.schemas.UserEvent"
|
|
80
|
+
title="User Event Schema"
|
|
81
|
+
/>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Rendering as Raw JSON**
|
|
85
|
+
|
|
86
|
+
Force rendering as raw JSON instead of the schema viewer:
|
|
87
|
+
|
|
88
|
+
```jsx /events/MyEvent/index.mdx
|
|
89
|
+
<RemoteSchema
|
|
90
|
+
url="https://api.example.com/schemas/config.json"
|
|
91
|
+
renderAs="raw"
|
|
92
|
+
title="Configuration Schema"
|
|
93
|
+
/>
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Output
|
|
97
|
+
The component automatically detects JSON Schema format and renders an interactive [Schema Viewer](/docs/development/components/components/schema-viewer), or displays raw content for other formats.
|
|
98
|
+
|
|
99
|
+
### Props
|
|
100
|
+
|
|
101
|
+
| Name | Type | Default | Description |
|
|
102
|
+
| ----------------------- | --------- | ----------------- | ----------------------------------------------------------------- |
|
|
103
|
+
| `url` (required) | `string` | (empty) | The URL to fetch the schema from. Supports environment variable templating with `${VAR_NAME}` syntax. |
|
|
104
|
+
| `title` (optional) | `string` | "Remote Schema" | Title to display above the schema |
|
|
105
|
+
| `maxHeight` (optional) | `string` | "400" | Maximum height of the schema viewer in pixels |
|
|
106
|
+
| `headers` (optional) | `object` | `{}` | HTTP headers for authentication (requires EventCatalog Scale plan) |
|
|
107
|
+
| `jsonPath` (optional) | `string` | (empty) | [JSONPath expression](https://github.com/dchester/jsonpath) to extract specific parts of the response |
|
|
108
|
+
| `renderAs` (optional) | `string` | "auto" | Rendering mode: "auto", "schema", or "raw" |
|
|
109
|
+
|
|
110
|
+
### Environment Variable Support
|
|
111
|
+
|
|
112
|
+
The `url` and `headers` props support environment variable templating using `${VARIABLE_NAME}` syntax:
|
|
113
|
+
|
|
114
|
+
```md
|
|
115
|
+
<RemoteSchema
|
|
116
|
+
url="https://${API_HOST}/schemas/user.json"
|
|
117
|
+
headers={{
|
|
118
|
+
"Authorization": "Bearer ${API_TOKEN}"
|
|
119
|
+
}}
|
|
120
|
+
/>
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
:::tip Loading environment variables
|
|
124
|
+
Add your environment variables to the `.env` file in the root of your EventCatalog project.
|
|
125
|
+
|
|
126
|
+
The RemoteSchema component will automatically map the environment variables to the template string.
|
|
127
|
+
:::
|
|
128
|
+
|
|
129
|
+
### JSONPath Examples
|
|
130
|
+
|
|
131
|
+
Extract specific schema definitions from complex API responses using [JSONPath](https://github.com/dchester/jsonpath).
|
|
132
|
+
|
|
133
|
+
```md
|
|
134
|
+
<!-- Extract a specific component schema from OpenAPI -->
|
|
135
|
+
<RemoteSchema
|
|
136
|
+
url="https://api.example.com/openapi.json"
|
|
137
|
+
jsonPath="$.components.schemas.User"
|
|
138
|
+
/>
|
|
139
|
+
|
|
140
|
+
<!-- Extract from AsyncAPI -->
|
|
141
|
+
<RemoteSchema
|
|
142
|
+
url="https://api.example.com/asyncapi.json"
|
|
143
|
+
jsonPath="$.components.messages.UserCreated.payload"
|
|
144
|
+
/>
|
|
145
|
+
|
|
146
|
+
<!-- Extract from nested arrays -->
|
|
147
|
+
<RemoteSchema
|
|
148
|
+
url="https://api.example.com/schemas.json"
|
|
149
|
+
jsonPath="$.definitions[0].schema"
|
|
150
|
+
/>
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Error Handling
|
|
154
|
+
|
|
155
|
+
The component provides clear error messages for common issues:
|
|
156
|
+
|
|
157
|
+
- **Network errors**: Connection timeouts, DNS resolution failures
|
|
158
|
+
- **Authentication errors**: Invalid credentials or missing headers
|
|
159
|
+
- **JSONPath errors**: Invalid JSONPath expressions
|
|
160
|
+
- **Format errors**: Unsupported schema formats
|
|
161
|
+
|
|
162
|
+
### Benefits for Teams
|
|
163
|
+
|
|
164
|
+
- **Always up-to-date**: Schemas are fetched at runtime, ensuring documentation reflects the latest API changes
|
|
165
|
+
- **Reduced maintenance**: No need to manually update schema files when APIs change
|
|
166
|
+
- **Single source of truth**: Documentation pulls directly from your API definitions
|
|
167
|
+
- **Private API support**: Secure access to internal schemas with authentication headers
|
|
168
|
+
- **Flexible extraction**: Use JSONPath to document specific parts of large API specifications
|
|
169
|
+
|
|
170
|
+
This component bridges the gap between your live APIs and documentation, ensuring your EventCatalog always reflects the current state of your systems.
|
|
171
|
+
|
|
172
|
+
### Support
|
|
173
|
+
|
|
174
|
+
The `<RemoteSchema/>` component is supported in domains, services, and all messages, changelogs, and custom documentation pages.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: ResourceGroupTable
|
|
6
|
+
title: ResourceGroupTable
|
|
7
|
+
description: Component for displaying EventCatalog grouped resources in EventCatalog
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
<AddedIn version="2.32.0" />
|
|
13
|
+
|
|
14
|
+
The `<ResourceGroupTable/>` component renders a table of resources for your page in EventCtalog.
|
|
15
|
+
|
|
16
|
+
The component renders a paginated table of (messages, services, domains, flows, channels), with the ability to filter by resource type, and text search.
|
|
17
|
+
|
|
18
|
+
### Why use ResourceGroupTable?
|
|
19
|
+
|
|
20
|
+
Sometimes in your catalog you may want to link related resources together or group them in particular ways that EventCatalog does not naturally support.
|
|
21
|
+
|
|
22
|
+
Examples:
|
|
23
|
+
|
|
24
|
+
- List a custom list of messages in a domain page
|
|
25
|
+
- Create a "Related Resources" section on your docs for your documentation readers
|
|
26
|
+
- Create a custom list of resources in your page and let people search them easily.
|
|
27
|
+
|
|
28
|
+
### Usage
|
|
29
|
+
|
|
30
|
+
The `<ResourceGroupTable/>` component requires **frontmatter** property called **resourceGroups** defined in your resource, and then the component itself.
|
|
31
|
+
|
|
32
|
+
1. Adding `resourceGroup` property to your resource
|
|
33
|
+
```md title="example /domains/Orders/index.mdx"
|
|
34
|
+
---
|
|
35
|
+
id: Orders
|
|
36
|
+
name: Orders
|
|
37
|
+
version: 0.0.3
|
|
38
|
+
owners:
|
|
39
|
+
- dboyne
|
|
40
|
+
- full-stack
|
|
41
|
+
# Here we define the resourceGroups, in this example we create a group called core resources
|
|
42
|
+
# We create a list called `related-resources` and we group these services.
|
|
43
|
+
# Remember you can define any group of information you want, and link to any catalog resource
|
|
44
|
+
resourceGroups:
|
|
45
|
+
- id: related-resources
|
|
46
|
+
title: Core resources
|
|
47
|
+
items:
|
|
48
|
+
- id: InventoryService
|
|
49
|
+
type: service
|
|
50
|
+
- id: OrdersService
|
|
51
|
+
type: service
|
|
52
|
+
- id: NotificationService
|
|
53
|
+
type: service
|
|
54
|
+
- id: ShippingService
|
|
55
|
+
type: service
|
|
56
|
+
---
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
**Basic Example**
|
|
61
|
+
|
|
62
|
+
```md /domains/MyDomain/index.mdx
|
|
63
|
+
---
|
|
64
|
+
#domain frontmatter
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
<ResourceGroupTable id="related-resources" limit={4} showOwners={true} title="Core resources for the Orders domain" description="Resources that are related to the Orders domain, you may find them useful" />
|
|
68
|
+
```
|
|
69
|
+
### Output
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+
You can see the demo of this in the [Orders domain page](https://demo.eventcatalog.dev/domains/Orders/0.0.3).
|
|
73
|
+
|
|
74
|
+
### Props
|
|
75
|
+
| Name | Type | Default | Description |
|
|
76
|
+
| ----------------------- | --------- | ----------------- | ----------------------------------------------------------------- |
|
|
77
|
+
| `id` | `string` | none | Id of the resource group to render. |
|
|
78
|
+
| `title` | `string` | 'Related Resources' | The title shown above the table. |
|
|
79
|
+
| `subtitle` | `string` | 'Resources' | The title shown inside the table. |
|
|
80
|
+
| `description` | `string` | 'Resources that are related to the current resource.' | The description of the table. |
|
|
81
|
+
| `limit` | `number` | 10 | The number of resources to render in the table. Results are paginated. |
|
|
82
|
+
| `showOwners` | `boolean` | false | Whether to show the owners of the resources in the table. |
|
|
83
|
+
|
|
84
|
+
### Support
|
|
85
|
+
|
|
86
|
+
The `<ResourceGroupTable/>` component is supported on all EventCatalog pages.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: ResourceLink
|
|
6
|
+
title: ResourceLink
|
|
7
|
+
description: Create links in your documentation to resources in EventCatalog
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
<AddedIn version="2.32.3" />
|
|
13
|
+
|
|
14
|
+
:::tip Prefer wiki-style syntax
|
|
15
|
+
For most use cases, we recommend using the newer [resource references](/docs/development/components/resource-references) syntax instead:
|
|
16
|
+
|
|
17
|
+
```md
|
|
18
|
+
[[service|InventoryService]]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
This provides interactive tooltips and a more natural writing experience. Use `<ResourceLink/>` only when you need custom link text or explicit component control.
|
|
22
|
+
:::
|
|
23
|
+
|
|
24
|
+
The `<ResourceLink/>` component renders a link to a resource in EventCatalog.
|
|
25
|
+
|
|
26
|
+
**Basic Example**
|
|
27
|
+
|
|
28
|
+
```jsx /domains/MyDomain/index.mdx
|
|
29
|
+
<ResourceLink id="InventoryService" type="service" />
|
|
30
|
+
|
|
31
|
+
<ResourceLink id="InventoryService" type="service" version="1.0.0" />
|
|
32
|
+
|
|
33
|
+
<ResourceLink id="InventoryService" type="service">This is a custom link</ResourceLink>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Props
|
|
37
|
+
| Name | Type | Default | Required | Description |
|
|
38
|
+
| ----------------------- | --------- | ----------------- | -------- | ----------------------------------------------------------------- |
|
|
39
|
+
| `id` | `string` | none | Yes | Id of the resource group to render. |
|
|
40
|
+
| `type` | `string` | none | Yes | The type of resource to render (service, event, query, command, channel, flow, domain, user, team) |
|
|
41
|
+
| `version` | `string` | none | Optional. The version of the resource to render, by default the latest version is used. | Version of the resource to link to.
|
|
42
|
+
|
|
43
|
+
### Recommended alternative
|
|
44
|
+
|
|
45
|
+
<AddedIn version="3.6.1" />
|
|
46
|
+
|
|
47
|
+
For most documentation, prefer the wiki-style syntax which provides interactive tooltips:
|
|
48
|
+
|
|
49
|
+
```md
|
|
50
|
+
The [[service|InventoryService]] manages inventory.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
See [Resource references](/docs/development/components/resource-references) for full documentation.
|
|
54
|
+
|
|
55
|
+
### Support
|
|
56
|
+
|
|
57
|
+
The `<ResourceLink/>` component is supported on all EventCatalog pages.
|