@eventcatalog/core 3.34.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-K5AM6PPU.js → chunk-4SNN54V4.js} +1 -1
- package/dist/{chunk-623CFR4T.js → chunk-B7C4DHFE.js} +1 -1
- package/dist/{chunk-BJWMR3ZH.js → chunk-JEQZWJWP.js} +1 -1
- package/dist/{chunk-PP7EDIPX.js → chunk-R4DR3YAH.js} +1 -1
- package/dist/{chunk-IO6EMN5C.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/eventcatalog/src/components/Search/SearchModal.tsx +23 -34
- package/eventcatalog/src/components/Search/search-utils.spec.ts +36 -0
- package/eventcatalog/src/components/Search/search-utils.ts +34 -0
- package/eventcatalog/src/components/SideNav/NestedSideBar/SearchBar.tsx +7 -1
- package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +2 -0
- package/eventcatalog/src/stores/sidebar-store/builders/flow.ts +77 -0
- package/eventcatalog/src/stores/sidebar-store/builders/message.ts +10 -1
- package/eventcatalog/src/stores/sidebar-store/builders/service.ts +10 -3
- package/eventcatalog/src/stores/sidebar-store/state.ts +126 -2
- package/eventcatalog/src/utils/collections/flows.ts +3 -2
- package/package.json +4 -4
|
@@ -0,0 +1,937 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog api
|
|
5
|
+
sidebar_label: eventcatalog.config.js
|
|
6
|
+
title: eventcatalog.config.js
|
|
7
|
+
description: Understanding the configuration file for EventCatalog.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
## Overview {#overview}
|
|
13
|
+
|
|
14
|
+
`eventcatalog.config.js` contains configurations for your site and is placed in the root directory of your site.
|
|
15
|
+
|
|
16
|
+
## Required fields {#required-fields}
|
|
17
|
+
|
|
18
|
+
### `cId` {#cId}
|
|
19
|
+
|
|
20
|
+
- Type: `string`
|
|
21
|
+
|
|
22
|
+
An automated generated ID for your catalog. EventCatalog will generate this for you.
|
|
23
|
+
|
|
24
|
+
```js title="eventcatalog.config.js"
|
|
25
|
+
module.exports = {
|
|
26
|
+
cId: '107fdebb-7c68-42cc-975d-413b1d30d758',
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### `title` {#title}
|
|
31
|
+
|
|
32
|
+
- Type: `string`
|
|
33
|
+
|
|
34
|
+
Title for your website.
|
|
35
|
+
|
|
36
|
+
```js title="eventcatalog.config.js"
|
|
37
|
+
module.exports = {
|
|
38
|
+
title: 'EventCatalog',
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### `organizationName` {#organizationName}
|
|
43
|
+
|
|
44
|
+
- Type: `string`
|
|
45
|
+
|
|
46
|
+
Your organization name.
|
|
47
|
+
|
|
48
|
+
```js title="eventcatalog.config.js"
|
|
49
|
+
module.exports = {
|
|
50
|
+
organizationName: 'Your Company',
|
|
51
|
+
};
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Optional fields {#optional-fields}
|
|
55
|
+
|
|
56
|
+
### `base` {#base}
|
|
57
|
+
|
|
58
|
+
- Type: `string`
|
|
59
|
+
- Default value: `/`
|
|
60
|
+
|
|
61
|
+
The base path to deploy to. EventCatalog will use this path as the root for your pages and assets both in development and in production build.
|
|
62
|
+
|
|
63
|
+
```js title="eventcatalog.config.js"
|
|
64
|
+
module.exports = {
|
|
65
|
+
base: '/',
|
|
66
|
+
};
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### `output` {#output}
|
|
70
|
+
|
|
71
|
+
<AddedIn version="2.35.4" />
|
|
72
|
+
|
|
73
|
+
- Type: `string`
|
|
74
|
+
- Default value: `static`
|
|
75
|
+
|
|
76
|
+
The output type for your EventCatalog, choose from `static` or `server`.
|
|
77
|
+
|
|
78
|
+
:::info "What is the difference between static and server?"
|
|
79
|
+
|
|
80
|
+
- `static` - The default output type for EventCatalog. This will output a static website that you can host anywhere.
|
|
81
|
+
- `server` - This will output a Node.js server that you can host anywhere. This is required for certain features like the [EventCatalog Chat](/features/ai-assistant) (bring your own keys). The easiest way to host this is with our [Docker image](/docs/development/deployment/hosting-options#hosting-a-server).
|
|
82
|
+
|
|
83
|
+
:::
|
|
84
|
+
|
|
85
|
+
```js title="eventcatalog.config.js"
|
|
86
|
+
module.exports = {
|
|
87
|
+
output: 'static',
|
|
88
|
+
};
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### `outDir` {#outDir}
|
|
92
|
+
|
|
93
|
+
<AddedIn version="2.11.4" />
|
|
94
|
+
|
|
95
|
+
- Type: `string`
|
|
96
|
+
- Default value: `dist`
|
|
97
|
+
|
|
98
|
+
The output path of your EventCatalog. By default it will output to the `dist` folder.
|
|
99
|
+
|
|
100
|
+
```js title="eventcatalog.config.js"
|
|
101
|
+
module.exports = {
|
|
102
|
+
// Catalog would output to the /build folder
|
|
103
|
+
outDir: 'build',
|
|
104
|
+
};
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### `trailingSlash` {#trailingSlash}
|
|
108
|
+
|
|
109
|
+
- Type: `boolean`
|
|
110
|
+
- Default: `false`
|
|
111
|
+
|
|
112
|
+
Set the route matching behavior of the dev server. Choose from the following options:
|
|
113
|
+
|
|
114
|
+
'true' - Only match URLs that include a trailing slash (ex: “/foo/“)
|
|
115
|
+
'false' - Match URLs regardless of whether a trailing ”/” exists
|
|
116
|
+
|
|
117
|
+
Use this configuration option if your production host has strict handling of how trailing slashes work or do not work.
|
|
118
|
+
|
|
119
|
+
```js title="eventcatalog.config.js"
|
|
120
|
+
module.exports = {
|
|
121
|
+
// Setting to true will add / onto all routes e.g http://website.com/visualiser/
|
|
122
|
+
trailingSlash: true,
|
|
123
|
+
};
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### `port` {#port}
|
|
127
|
+
|
|
128
|
+
- Type: `number`
|
|
129
|
+
- Default: 3000
|
|
130
|
+
|
|
131
|
+
Configure the port EventCatalog is running on.
|
|
132
|
+
|
|
133
|
+
```js title="eventcatalog.config.js"
|
|
134
|
+
module.exports = {
|
|
135
|
+
// Changes the port from default 3000 to 5000
|
|
136
|
+
port: 5000,
|
|
137
|
+
};
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### `host` {#host}
|
|
141
|
+
|
|
142
|
+
<AddedIn version="2.42.9" />
|
|
143
|
+
|
|
144
|
+
- Type: `string` | `boolean`
|
|
145
|
+
- Default: `false`
|
|
146
|
+
|
|
147
|
+
Set which network IP addresses the dev server should listen on (i.e. non-localhost IPs).
|
|
148
|
+
|
|
149
|
+
- `false` - do not expose on a network IP address
|
|
150
|
+
- `true` - listen on all addresses, including LAN and public addresses
|
|
151
|
+
- `[custom-address]` - expose on a network IP address at `[custom-address]`
|
|
152
|
+
|
|
153
|
+
```js title="eventcatalog.config.js"
|
|
154
|
+
module.exports = {
|
|
155
|
+
host: '0.0.0.0',
|
|
156
|
+
};
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### `server.allowedHosts` {#server.allowedHosts}
|
|
160
|
+
|
|
161
|
+
<AddedIn version="2.64.0" />
|
|
162
|
+
|
|
163
|
+
- Type: `string[]` | `true`
|
|
164
|
+
- Default: `[]`
|
|
165
|
+
|
|
166
|
+
A list of hostnames that Astro is allowed to respond to. When the value is set to true, any hostname is allowed.
|
|
167
|
+
|
|
168
|
+
You can read more on the Astro documentation [here](https://docs.astro.build/en/reference/configuration-reference/#serverallowedhosts).
|
|
169
|
+
|
|
170
|
+
```js title="eventcatalog.config.js"
|
|
171
|
+
module.exports = {
|
|
172
|
+
server: {
|
|
173
|
+
allowedHosts: ['example.com', 'subdomain.example.com'],
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### `generators` {#generators}
|
|
179
|
+
|
|
180
|
+
- Type: `Generator[]`
|
|
181
|
+
- Default: `[]`
|
|
182
|
+
|
|
183
|
+
Generators are the foundation of plugins with EventCatalog. EventCatalog will call your generators on build.
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
```js title="eventcatalog.config.js"
|
|
187
|
+
module.exports = {
|
|
188
|
+
generators: [
|
|
189
|
+
[
|
|
190
|
+
// This will load plugin.js in the root of your catalog
|
|
191
|
+
'<rootDir>/plugin.js',
|
|
192
|
+
// configuration for your generator
|
|
193
|
+
{
|
|
194
|
+
customValue: true,
|
|
195
|
+
test: "Add any configuration values you want"
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
],
|
|
199
|
+
};
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### `environments` {#environment}
|
|
203
|
+
|
|
204
|
+
<AddedIn version="2.48.2" />
|
|
205
|
+
|
|
206
|
+
- Type: `object`
|
|
207
|
+
- Default: `{}`
|
|
208
|
+
|
|
209
|
+
Optional configuration for EventCatalog environments.
|
|
210
|
+
|
|
211
|
+
When environments are set, a dropdown will be shown in the top right of the EventCatalog allowing your users to switch between environments.
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
```js title="eventcatalog.config.js"
|
|
215
|
+
module.exports = {
|
|
216
|
+
environments: [
|
|
217
|
+
{
|
|
218
|
+
// Name of the environment
|
|
219
|
+
name: 'Development',
|
|
220
|
+
// URL of the environment
|
|
221
|
+
url: 'https://demo.eventcatalog.dev',
|
|
222
|
+
// Description of the environment
|
|
223
|
+
description: 'Local development environment',
|
|
224
|
+
// Short name of the environment (optional, used in the dropdown)
|
|
225
|
+
shortName: 'Dev'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: 'Test',
|
|
229
|
+
url: 'https://demo.eventcatalog.dev',
|
|
230
|
+
description: 'Test environment for QA',
|
|
231
|
+
shortName: 'Test'
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: 'Production',
|
|
235
|
+
url: 'https://demo.eventcatalog.dev',
|
|
236
|
+
description: 'Production environment',
|
|
237
|
+
shortName: 'Prod'
|
|
238
|
+
},
|
|
239
|
+
]
|
|
240
|
+
};
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### `landingPage` {#landingPage}
|
|
244
|
+
|
|
245
|
+
- Type: `string`
|
|
246
|
+
- Default: `'/docs'`
|
|
247
|
+
|
|
248
|
+
Configure the landing page URL your EventCatalog loads. By default EventCatalog loads `/` (the default or [custom landing page](/docs/development/customization/customize-landing-page#how-to-customize-your-landing-page)).
|
|
249
|
+
|
|
250
|
+
Clicking on the EventCatalog logo (or [your custom logo](/docs/api/config#logo)), will also go to this URL.
|
|
251
|
+
|
|
252
|
+
If you set this value the `Home` icon in the vertical navigation will not be shown and your users will be redirected to this default URL.
|
|
253
|
+
|
|
254
|
+
You can set this to any EventCatalog page URL.
|
|
255
|
+
|
|
256
|
+
Examples:
|
|
257
|
+
|
|
258
|
+
- `/visualiser`
|
|
259
|
+
- `/discover/events`
|
|
260
|
+
- `/docs/services/InventoryService/0.0.2`
|
|
261
|
+
|
|
262
|
+
```js title="eventcatalog.config.js"
|
|
263
|
+
module.exports = {
|
|
264
|
+
landingPage: '/visualiser',
|
|
265
|
+
};
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### `sidebar` {#sidebar}
|
|
269
|
+
|
|
270
|
+
<AddedIn version="2.30.1" />
|
|
271
|
+
|
|
272
|
+
- Type: `Array[{ id: string, visible: boolean }]`
|
|
273
|
+
|
|
274
|
+
Configure the [application sidebar](/docs/development/customization/customize-sidebars/application-sidebar) in EventCatalog.
|
|
275
|
+
|
|
276
|
+
Show/hide items in the sidebar, [see list of options](/docs/development/customization/customize-sidebars/application-sidebar#showhide-items-in-the-application-sidebar).
|
|
277
|
+
|
|
278
|
+
```js title="eventcatalog.config.js"
|
|
279
|
+
module.exports = {
|
|
280
|
+
sidebar: {
|
|
281
|
+
// Will hide the AI chat feature in the sidebar
|
|
282
|
+
id: '/chat',
|
|
283
|
+
visible: false
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### `visualiser` {#visualiser}
|
|
289
|
+
|
|
290
|
+
<AddedIn version="2.42.0" />
|
|
291
|
+
|
|
292
|
+
- Type: `object`
|
|
293
|
+
|
|
294
|
+
Configuration for the [EventCatalog visualiser](/features/visualization).
|
|
295
|
+
|
|
296
|
+
```js title="eventcatalog.config.js"
|
|
297
|
+
module.exports = {
|
|
298
|
+
visualiser: {
|
|
299
|
+
// visualizer is enabled by default
|
|
300
|
+
// you can turn it off by setting it to false
|
|
301
|
+
enabled: true,
|
|
302
|
+
|
|
303
|
+
channels: {
|
|
304
|
+
// The render mode for channels in the visualiser
|
|
305
|
+
// Flat or single
|
|
306
|
+
renderMode: 'flat'
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
<!-- Table of configuration -->
|
|
313
|
+
| Configuration | Option | Default | Description |
|
|
314
|
+
| ------------- | ----------- | ----------- | ----------- |
|
|
315
|
+
| `visualiser.enabled` | `true` or `false` | `true` | **Enabled or disables the visualiser**. Setting this to false will not render any visualiser pages in your catalog and also remove references to the visualiser features in your catalog. _(Added in 2.65.1)_ |
|
|
316
|
+
| `visualiser.channels.renderMode` | `flat` or `single` | `flat` | The render mode for the visualiser. `flat` means the channel node is duplicated for each message. `single` means the channel node is a single node for all messages. Depending on your use case/preferences you may want to use one or the other. |
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
### `docs` {#docs}
|
|
324
|
+
|
|
325
|
+
- Type: `object`
|
|
326
|
+
|
|
327
|
+
Configure the [documentation sidebar](/docs/development/customization/customize-sidebars/documentation-sidebar) in EventCatalog.
|
|
328
|
+
|
|
329
|
+
```js title="eventcatalog.config.js"
|
|
330
|
+
module.exports = {
|
|
331
|
+
docs: {
|
|
332
|
+
sidebar: {
|
|
333
|
+
type: 'LIST_VIEW'
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
Configuration for the documentation sidebar.
|
|
340
|
+
|
|
341
|
+
### `docs.sidebar` options
|
|
342
|
+
|
|
343
|
+
#### Sidebar Type
|
|
344
|
+
|
|
345
|
+
You can choose between `LIST_VIEW` or `TREE_VIEW` to render your documentation.
|
|
346
|
+
|
|
347
|
+
- `LIST_VIEW` will render your docs as you see in the [demo](https://demo.eventcatalog.dev/docs/)
|
|
348
|
+
- `TREE_VIEW` will render the DOCS as a tree view and map your file system folder structure.
|
|
349
|
+
- Can be useful for large catalogs and navigation
|
|
350
|
+
|
|
351
|
+
<AddedIn version="2.28.0" />
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
```js title="eventcatalog.config.js"
|
|
355
|
+
docs: {
|
|
356
|
+
sidebar: {
|
|
357
|
+
type: 'LIST_VIEW'
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Show/Hide Orphaned Messages
|
|
363
|
+
|
|
364
|
+
<AddedIn version="2.61.8" />
|
|
365
|
+
|
|
366
|
+
Any messages that do not belong to a service will be shown as orphaned messages in the sidebar (LIST_VIEW only).
|
|
367
|
+
|
|
368
|
+
If you wish to hide orphaned messages you can set the `showOrphanedMessages` to `false`.
|
|
369
|
+
|
|
370
|
+
```js title="eventcatalog.config.js"
|
|
371
|
+
docs: {
|
|
372
|
+
sidebar: {
|
|
373
|
+
type: 'LIST_VIEW',
|
|
374
|
+
// Default is true
|
|
375
|
+
showOrphanedMessages: false,
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
### `chat` {#chat}
|
|
381
|
+
|
|
382
|
+
- Type: `object`
|
|
383
|
+
|
|
384
|
+
Configuration for the EventCatalog AI chat feature.
|
|
385
|
+
|
|
386
|
+
:::info
|
|
387
|
+
The `chat` property requires a Starter or Scale plan and `output: 'server'` to take effect.
|
|
388
|
+
:::
|
|
389
|
+
|
|
390
|
+
```js title="eventcatalog.config.js"
|
|
391
|
+
module.exports = {
|
|
392
|
+
chat: {
|
|
393
|
+
// Set to false to disable the AI chat feature entirely
|
|
394
|
+
enabled: false,
|
|
395
|
+
},
|
|
396
|
+
};
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
| Option | Type | Default | Description |
|
|
400
|
+
| ------ | ---- | ------- | ----------- |
|
|
401
|
+
| `chat.enabled` | `boolean` | `true` | Enables or disables the AI chat feature. Set to `false` to hide the chat UI and prevent chat requests even when all other prerequisites are met. |
|
|
402
|
+
|
|
403
|
+
### `changelog` {#changelog}
|
|
404
|
+
|
|
405
|
+
- Type: `object`
|
|
406
|
+
|
|
407
|
+
Configuration for EventCatalog Changelog.
|
|
408
|
+
|
|
409
|
+
**Changelogs are disabled by default.**
|
|
410
|
+
|
|
411
|
+
You can enable changelogs by setting `enabled` to `true`.
|
|
412
|
+
|
|
413
|
+
```js title="eventcatalog.config.js"
|
|
414
|
+
module.exports = {
|
|
415
|
+
changelog: {
|
|
416
|
+
// Default is false
|
|
417
|
+
enabled: true,
|
|
418
|
+
},
|
|
419
|
+
};
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
### `editUrl` {#editUrl}
|
|
423
|
+
|
|
424
|
+
- Type: `string`
|
|
425
|
+
|
|
426
|
+
URL used when people want to edit the documentation. For example your GitHub repo and branch.
|
|
427
|
+
|
|
428
|
+
```js title="eventcatalog.config.js"
|
|
429
|
+
module.exports = {
|
|
430
|
+
editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
|
|
431
|
+
};
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
### `repositoryUrl` {#repositoryUrl}
|
|
435
|
+
|
|
436
|
+
<AddedIn version="2.42.3" />
|
|
437
|
+
|
|
438
|
+
- Type: `string`
|
|
439
|
+
|
|
440
|
+
:::tip
|
|
441
|
+
For Stater or Scale plans. This gives you the ability to show your own GitHub repository in EventCatalog (in the header bar).
|
|
442
|
+
:::
|
|
443
|
+
|
|
444
|
+
URL to your repository for EventCatalog.
|
|
445
|
+
|
|
446
|
+
```js title="eventcatalog.config.js"
|
|
447
|
+
module.exports = {
|
|
448
|
+
repositoryUrl: 'https://github.com/boyney123/eventcatalog-demo',
|
|
449
|
+
};
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### `logo` {#logo}
|
|
453
|
+
|
|
454
|
+
- Type: `object`
|
|
455
|
+
|
|
456
|
+
Logo, alt and text for your company logo.
|
|
457
|
+
|
|
458
|
+
:::tip Public directory
|
|
459
|
+
Add your logo to your `/public` directory.
|
|
460
|
+
:::
|
|
461
|
+
|
|
462
|
+
```js title="eventcatalog.config.js"
|
|
463
|
+
module.exports = {
|
|
464
|
+
logo: {
|
|
465
|
+
// This logo is located at public/logo.svg
|
|
466
|
+
src: '/logo.svg',
|
|
467
|
+
alt: 'Company logo',
|
|
468
|
+
text: 'Urban Slice | EventCatalog',
|
|
469
|
+
},
|
|
470
|
+
};
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
**Example output**
|
|
474
|
+
|
|
475
|
+

|
|
476
|
+
|
|
477
|
+
### `homepageLink` {#homepageLink}
|
|
478
|
+
|
|
479
|
+
- Type: `string`
|
|
480
|
+
|
|
481
|
+
URL used when people want to link the logo & title in the top navigation to the homepage of a website.
|
|
482
|
+
|
|
483
|
+
```js title="eventcatalog.config.js"
|
|
484
|
+
module.exports = {
|
|
485
|
+
homepageLink: 'https://eventcatalog.dev',
|
|
486
|
+
};
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
### `mdxOptimize` {#mdxOptimize}
|
|
490
|
+
|
|
491
|
+
- Type: `string`
|
|
492
|
+
|
|
493
|
+
This is an optional configuration setting to optimize the MDX output for faster builds. This may be useful if you have many catalog files and notice slow builds. However, this option may generate some unescaped HTML, so make sure your catalog interactive parts still work correctly after enabling it.
|
|
494
|
+
|
|
495
|
+
This is disabled by default.
|
|
496
|
+
|
|
497
|
+
Read [Astro documentation on optimize for MDX](https://docs.astro.build/en/guides/integrations-guide/mdx/#optimize) for more information.
|
|
498
|
+
|
|
499
|
+
```js title="eventcatalog.config.js"
|
|
500
|
+
module.exports = {
|
|
501
|
+
mdxOptimize: true
|
|
502
|
+
};
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### `compress` {#compress}
|
|
506
|
+
|
|
507
|
+
<AddedIn version="2.48.5" />
|
|
508
|
+
|
|
509
|
+
- Type: `boolean`
|
|
510
|
+
|
|
511
|
+
Setting this to true will automatically compress all your CSS, HTML, SVG, JavaScript, JSON and image files in the Astro outDir folder.
|
|
512
|
+
|
|
513
|
+
This is disabled by default from EventCatalog v2.61.9.
|
|
514
|
+
|
|
515
|
+
**This only works for static builds.**
|
|
516
|
+
|
|
517
|
+
```js title="eventcatalog.config.js"
|
|
518
|
+
module.exports = {
|
|
519
|
+
compress: true
|
|
520
|
+
};
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### `asyncAPI.renderParsedSchemas` {#asyncAPI.renderParsedSchemas}
|
|
524
|
+
|
|
525
|
+
<AddedIn version="2.12.1" />
|
|
526
|
+
|
|
527
|
+
- Type: `boolean`
|
|
528
|
+
|
|
529
|
+
EventCatalog will render your AsyncAPI files into their own pages. By default EventCatalog will read your AsyncAPI files and parse your schemas to render them on the screen. Part of this process is validating your schemas and also adding metadata onto them (default).
|
|
530
|
+
|
|
531
|
+
If you want to keep your schemas as they are then you can set the `asyncAPI.renderParsedSchemas` to false.
|
|
532
|
+
|
|
533
|
+
:::tip Having issues rendering AsyncAPI files?
|
|
534
|
+
If you are having issues seeing or rendering your AsyncAPI file try setting the renderParsedSchemas to `false`
|
|
535
|
+
:::
|
|
536
|
+
|
|
537
|
+
```js title="eventcatalog.config.js"
|
|
538
|
+
module.exports = {
|
|
539
|
+
asyncAPI: {
|
|
540
|
+
renderParsedSchemas: false // default is true
|
|
541
|
+
}
|
|
542
|
+
};
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
### `mermaid` {#mermaid}
|
|
546
|
+
|
|
547
|
+
<AddedIn version="2.18.1" />
|
|
548
|
+
|
|
549
|
+
- Type: `object`
|
|
550
|
+
|
|
551
|
+
EventCatalog uses [mermaid](https://mermaid.js.org/) to render diagrams.
|
|
552
|
+
|
|
553
|
+
Using mermaid you can render icons in your diagrams (e.g [AWS architecture icons](/docs/development/components/diagram-syntax/mermaid#architecture-diagrams-with-icons)).
|
|
554
|
+
|
|
555
|
+
<img src="/img/mermaid/mermaid-custom-icons.png" alt="Example output of mermaid" style={{width: "20%"}}/>
|
|
556
|
+
|
|
557
|
+
```js title="eventcatalog.config.js"
|
|
558
|
+
module.exports = {
|
|
559
|
+
mermaid: {
|
|
560
|
+
iconPacks: ['logos'], // will load https://icones.js.org/collection/logos into eventcatalog
|
|
561
|
+
maxTextSize: 100000 // maximum text size for Mermaid diagrams (default: 100000)
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
You can choose from over **200,000 icons** from [icones.js.org](https://icones.js.org/collection/logos).
|
|
567
|
+
|
|
568
|
+
#### `mermaid.iconPacks`
|
|
569
|
+
|
|
570
|
+
<AddedIn version="2.18.1" />
|
|
571
|
+
|
|
572
|
+
- Type: `string[]`
|
|
573
|
+
- Default: `[]`
|
|
574
|
+
|
|
575
|
+
Icon packs to load from [icones.js.org](https://icones.js.org/). Use icon pack names like `['logos', 'mdi']` to load AWS, Azure, and other service icons.
|
|
576
|
+
|
|
577
|
+
[Learn more about using icons in mermaid diagrams](/docs/development/components/diagram-syntax/mermaid#architecture-diagrams-with-icons).
|
|
578
|
+
|
|
579
|
+
#### `mermaid.maxTextSize`
|
|
580
|
+
|
|
581
|
+
<AddedIn version="3.9.1" />
|
|
582
|
+
|
|
583
|
+
- Type: `number`
|
|
584
|
+
- Default: `100000`
|
|
585
|
+
|
|
586
|
+
Maximum text size for Mermaid diagrams in characters. Increase this value if you have large diagrams that fail to render.
|
|
587
|
+
|
|
588
|
+
```js title="eventcatalog.config.js"
|
|
589
|
+
module.exports = {
|
|
590
|
+
mermaid: {
|
|
591
|
+
maxTextSize: 200000 // Allow larger diagrams
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
```
|
|
595
|
+
|
|
596
|
+
### `rss` {#rss}
|
|
597
|
+
|
|
598
|
+
<AddedIn version="2.21.1" />
|
|
599
|
+
|
|
600
|
+
- Type: `object`
|
|
601
|
+
- Default: `{ enabled: false, limit: 15 }`
|
|
602
|
+
|
|
603
|
+
Configure RSS feeds for catalog resources. RSS feeds are disabled by default.
|
|
604
|
+
|
|
605
|
+
When enabled, EventCatalog creates feeds for messages, services, domains, flows, and an `all` feed that combines the latest changes across supported resource types.
|
|
606
|
+
|
|
607
|
+
```js title="eventcatalog.config.js"
|
|
608
|
+
module.exports = {
|
|
609
|
+
rss: {
|
|
610
|
+
enabled: true,
|
|
611
|
+
limit: 20,
|
|
612
|
+
},
|
|
613
|
+
};
|
|
614
|
+
```
|
|
615
|
+
|
|
616
|
+
#### `rss.enabled`
|
|
617
|
+
|
|
618
|
+
- Type: `boolean`
|
|
619
|
+
- Default: `false`
|
|
620
|
+
|
|
621
|
+
Turns RSS feeds on or off.
|
|
622
|
+
|
|
623
|
+
#### `rss.limit`
|
|
624
|
+
|
|
625
|
+
- Type: `number`
|
|
626
|
+
- Default: `15`
|
|
627
|
+
|
|
628
|
+
Controls the maximum number of items returned in each feed.
|
|
629
|
+
|
|
630
|
+
Items are ordered by the last updated date of the resource file, with the most recently changed items first.
|
|
631
|
+
|
|
632
|
+
#### Feed URLs
|
|
633
|
+
|
|
634
|
+
After RSS is enabled, EventCatalog serves feeds at these paths:
|
|
635
|
+
|
|
636
|
+
| Feed | Path | Demo |
|
|
637
|
+
| --- | --- | --- |
|
|
638
|
+
| Events | `/rss/events/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/events/rss.xml) |
|
|
639
|
+
| Commands | `/rss/commands/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/commands/rss.xml) |
|
|
640
|
+
| Queries | `/rss/queries/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/queries/rss.xml) |
|
|
641
|
+
| Services | `/rss/services/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/services/rss.xml) |
|
|
642
|
+
| Domains | `/rss/domains/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/domains/rss.xml) |
|
|
643
|
+
| Flows | `/rss/flows/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/flows/rss.xml) |
|
|
644
|
+
| Everything | `/rss/all/rss.xml` | [View demo](https://demo.eventcatalog.dev/rss/all/rss.xml) |
|
|
645
|
+
|
|
646
|
+
### `llms.txt` {#llms.txt}
|
|
647
|
+
|
|
648
|
+
<AddedIn version="2.20.0" />
|
|
649
|
+
|
|
650
|
+
Enable tools like Claude, ChatGPT, GitHub Copilot, and Cursor to quickly understand your EventCatalog.
|
|
651
|
+
|
|
652
|
+
```js title="eventcatalog.config.js"
|
|
653
|
+
{
|
|
654
|
+
llmsTxt: {
|
|
655
|
+
enabled: true,
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
See the [LLMs documentation](/docs/development/developer-tools/llms.txt) for more information, how you can use it and examples.
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
### `fullCatalogAPIEnabled` {#fullCatalogAPIEnabled}
|
|
664
|
+
|
|
665
|
+
<AddedIn version="3.10.2" />
|
|
666
|
+
|
|
667
|
+
- Type: `boolean`
|
|
668
|
+
- Default: `true`
|
|
669
|
+
|
|
670
|
+
Enable or disable the full catalog API which allows you to get the full catalog dump in the `/api/catalog` endpoint.
|
|
671
|
+
|
|
672
|
+
```js title="eventcatalog.config.js"
|
|
673
|
+
module.exports = {
|
|
674
|
+
api: {
|
|
675
|
+
fullCatalogAPIEnabled: false, // default is true
|
|
676
|
+
}
|
|
677
|
+
};
|
|
678
|
+
```
|
|
679
|
+
### `domains` {#domains}
|
|
680
|
+
|
|
681
|
+
<AddedIn version="2.63.0" />
|
|
682
|
+
|
|
683
|
+
- Type: `object`
|
|
684
|
+
|
|
685
|
+
Configuration for the domains table.
|
|
686
|
+
|
|
687
|
+
```js title="eventcatalog.config.js"
|
|
688
|
+
module.exports = {
|
|
689
|
+
domains: {
|
|
690
|
+
tableConfiguration: {
|
|
691
|
+
columns: {
|
|
692
|
+
name: { visible: true, label: 'Name' },
|
|
693
|
+
summary: { visible: true, label: 'Summary' },
|
|
694
|
+
services: { visible: true, label: 'Services' },
|
|
695
|
+
badges: { visible: true, label: 'Badges' },
|
|
696
|
+
actions: { visible: true, label: 'Actions' },
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
```
|
|
702
|
+
|
|
703
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
704
|
+
|
|
705
|
+
### `events` {#events}
|
|
706
|
+
|
|
707
|
+
<AddedIn version="2.63.0" />
|
|
708
|
+
|
|
709
|
+
- Type: `object`
|
|
710
|
+
|
|
711
|
+
Configuration for the events table.
|
|
712
|
+
|
|
713
|
+
```js title="eventcatalog.config.js"
|
|
714
|
+
module.exports = {
|
|
715
|
+
events: {
|
|
716
|
+
tableConfiguration: {
|
|
717
|
+
columns: {
|
|
718
|
+
name: { visible: true, label: 'Name' },
|
|
719
|
+
summary: { visible: true, label: 'Summary' },
|
|
720
|
+
producers: { visible: true, label: 'Producers' },
|
|
721
|
+
consumers: { visible: true, label: 'Consumers' },
|
|
722
|
+
badges: { visible: true, label: 'Badges' },
|
|
723
|
+
actions: { visible: true, label: 'Actions' },
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
731
|
+
|
|
732
|
+
### `queries` {#queries}
|
|
733
|
+
|
|
734
|
+
<AddedIn version="2.63.0" />
|
|
735
|
+
|
|
736
|
+
- Type: `object`
|
|
737
|
+
|
|
738
|
+
Configuration for the queries table.
|
|
739
|
+
|
|
740
|
+
```js title="eventcatalog.config.js"
|
|
741
|
+
module.exports = {
|
|
742
|
+
queries: {
|
|
743
|
+
tableConfiguration: {
|
|
744
|
+
columns: {
|
|
745
|
+
name: { visible: true, label: 'Name' },
|
|
746
|
+
summary: { visible: true, label: 'Summary' },
|
|
747
|
+
producers: { visible: true, label: 'Producers' },
|
|
748
|
+
consumers: { visible: true, label: 'Consumers' },
|
|
749
|
+
badges: { visible: true, label: 'Badges' },
|
|
750
|
+
actions: { visible: true, label: 'Actions' },
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
### `commands` {#commands}
|
|
758
|
+
|
|
759
|
+
<AddedIn version="2.63.0" />
|
|
760
|
+
|
|
761
|
+
- Type: `object`
|
|
762
|
+
|
|
763
|
+
Configuration for the commands table.
|
|
764
|
+
|
|
765
|
+
```js title="eventcatalog.config.js"
|
|
766
|
+
module.exports = {
|
|
767
|
+
commands: {
|
|
768
|
+
tableConfiguration: {
|
|
769
|
+
columns: {
|
|
770
|
+
name: { visible: true, label: 'Name' },
|
|
771
|
+
summary: { visible: true, label: 'Summary' },
|
|
772
|
+
producers: { visible: true, label: 'Producers' },
|
|
773
|
+
consumers: { visible: true, label: 'Consumers' },
|
|
774
|
+
badges: { visible: true, label: 'Badges' },
|
|
775
|
+
actions: { visible: true, label: 'Actions' },
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
```
|
|
781
|
+
|
|
782
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
783
|
+
|
|
784
|
+
### `services` {#services}
|
|
785
|
+
|
|
786
|
+
<AddedIn version="2.63.0" />
|
|
787
|
+
|
|
788
|
+
- Type: `object`
|
|
789
|
+
|
|
790
|
+
Configuration for the services table.
|
|
791
|
+
|
|
792
|
+
```js title="eventcatalog.config.js"
|
|
793
|
+
module.exports = {
|
|
794
|
+
services: {
|
|
795
|
+
tableConfiguration: {
|
|
796
|
+
columns: {
|
|
797
|
+
name: { visible: true, label: 'Name' },
|
|
798
|
+
summary: { visible: true, label: 'Summary' },
|
|
799
|
+
sends: { visible: true, label: 'Sends' },
|
|
800
|
+
receives: { visible: true, label: 'Receives' },
|
|
801
|
+
badges: { visible: true, label: 'Badges' },
|
|
802
|
+
actions: { visible: true, label: 'Actions' },
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
};
|
|
807
|
+
```
|
|
808
|
+
|
|
809
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
810
|
+
|
|
811
|
+
### `containers` {#containers}
|
|
812
|
+
|
|
813
|
+
<AddedIn version="2.63.0" />
|
|
814
|
+
|
|
815
|
+
- Type: `object`
|
|
816
|
+
|
|
817
|
+
Configuration for the containers table.
|
|
818
|
+
|
|
819
|
+
```js title="eventcatalog.config.js"
|
|
820
|
+
module.exports = {
|
|
821
|
+
containers: {
|
|
822
|
+
tableConfiguration: {
|
|
823
|
+
columns: {
|
|
824
|
+
name: { visible: true, label: 'Name' },
|
|
825
|
+
summary: { visible: true, label: 'Summary' },
|
|
826
|
+
writes: { visible: true, label: 'Writes' },
|
|
827
|
+
reads: { visible: true, label: 'Reads' },
|
|
828
|
+
badges: { visible: true, label: 'Badges' },
|
|
829
|
+
actions: { visible: true, label: 'Actions' },
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
};
|
|
834
|
+
```
|
|
835
|
+
|
|
836
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
837
|
+
|
|
838
|
+
### `flows` {#flows}
|
|
839
|
+
|
|
840
|
+
<AddedIn version="2.63.0" />
|
|
841
|
+
|
|
842
|
+
- Type: `object`
|
|
843
|
+
|
|
844
|
+
Configuration for the flows table.
|
|
845
|
+
|
|
846
|
+
```js title="eventcatalog.config.js"
|
|
847
|
+
module.exports = {
|
|
848
|
+
flows: {
|
|
849
|
+
tableConfiguration: {
|
|
850
|
+
columns: {
|
|
851
|
+
name: { visible: true, label: 'Name' },
|
|
852
|
+
summary: { visible: true, label: 'Summary' },
|
|
853
|
+
version: { visible: true, label: 'Version' },
|
|
854
|
+
badges: { visible: true, label: 'Badges' },
|
|
855
|
+
actions: { visible: true, label: 'Actions' },
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
};
|
|
860
|
+
```
|
|
861
|
+
|
|
862
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
863
|
+
|
|
864
|
+
### `users` {#users}
|
|
865
|
+
|
|
866
|
+
<AddedIn version="2.63.0" />
|
|
867
|
+
|
|
868
|
+
- Type: `object`
|
|
869
|
+
|
|
870
|
+
Configuration for the users table.
|
|
871
|
+
|
|
872
|
+
```js title="eventcatalog.config.js"
|
|
873
|
+
module.exports = {
|
|
874
|
+
users: {
|
|
875
|
+
tableConfiguration: {
|
|
876
|
+
columns: {
|
|
877
|
+
name: { visible: true, label: 'Name' },
|
|
878
|
+
email: { visible: true, label: 'Email' },
|
|
879
|
+
slackDirectMessageUrl: { visible: true, label: 'Slack URL' },
|
|
880
|
+
summary: { visible: true, label: 'Summary' },
|
|
881
|
+
badges: { visible: true, label: 'Badges' },
|
|
882
|
+
actions: { visible: true, label: 'Actions' },
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
};
|
|
887
|
+
```
|
|
888
|
+
|
|
889
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|
|
890
|
+
|
|
891
|
+
### `scalarConfiguration` {#scalarConfiguration}
|
|
892
|
+
|
|
893
|
+
- Type: `object`
|
|
894
|
+
|
|
895
|
+
Pass custom configuration directly to the [Scalar](https://scalar.com/) OpenAPI reference component. Any properties set here are spread into Scalar's configuration, allowing you to override or extend the defaults EventCatalog applies.
|
|
896
|
+
|
|
897
|
+
This is useful when you need Scalar-specific behaviour such as routing API requests through a proxy, changing the theme, or disabling built-in UI controls.
|
|
898
|
+
|
|
899
|
+
```js title="eventcatalog.config.js"
|
|
900
|
+
module.exports = {
|
|
901
|
+
scalarConfiguration: {
|
|
902
|
+
// Route OpenAPI requests through a proxy
|
|
903
|
+
proxy: 'https://proxy.example.com',
|
|
904
|
+
},
|
|
905
|
+
};
|
|
906
|
+
```
|
|
907
|
+
|
|
908
|
+
Refer to the [Scalar configuration reference](https://github.com/scalar/scalar/blob/main/documentation/configuration.md) for the full list of supported options.
|
|
909
|
+
|
|
910
|
+
:::info Note on defaults
|
|
911
|
+
EventCatalog sets several Scalar options by default (such as `theme`, `showSidebar`, and `hideDarkModeToggle`). Any matching keys in `scalarConfiguration` will override these defaults.
|
|
912
|
+
:::
|
|
913
|
+
|
|
914
|
+
### `teams` {#teams}
|
|
915
|
+
|
|
916
|
+
<AddedIn version="2.63.0" />
|
|
917
|
+
|
|
918
|
+
- Type: `object`
|
|
919
|
+
|
|
920
|
+
Configuration for the teams table.
|
|
921
|
+
|
|
922
|
+
```js title="eventcatalog.config.js"
|
|
923
|
+
module.exports = {
|
|
924
|
+
teams: {
|
|
925
|
+
tableConfiguration: {
|
|
926
|
+
columns: {
|
|
927
|
+
name: { visible: true, label: 'Name' },
|
|
928
|
+
summary: { visible: true, label: 'Summary' },
|
|
929
|
+
badges: { visible: true, label: 'Badges' },
|
|
930
|
+
actions: { visible: true, label: 'Actions' },
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
};
|
|
935
|
+
```
|
|
936
|
+
|
|
937
|
+
See the [Customize tables](/docs/development/customization/customize-tables) documentation for more information and examples.
|