@eventcatalog/core 3.35.0 → 3.36.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-6D65JSOA.js} +1 -1
- package/dist/{chunk-NEWQKEP7.js → chunk-C7JCOHTI.js} +1 -1
- package/dist/chunk-D6IBLY3O.js +320 -0
- package/dist/{chunk-Y5O6SCX3.js → chunk-HDENGAZL.js} +1 -1
- package/dist/{chunk-DFLUDECO.js → chunk-UJ7DX4SA.js} +3 -3
- package/dist/{chunk-3KXCGYET.js → chunk-ULZYHF3V.js} +5 -0
- package/dist/{chunk-B2LDVIVY.js → chunk-V22QY5Q3.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 +959 -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/03-search.md +79 -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 +434 -35
- package/dist/eventcatalog.config.d.cts +8 -0
- package/dist/eventcatalog.config.d.ts +8 -0
- package/dist/eventcatalog.js +87 -10
- package/dist/features.cjs +6 -0
- package/dist/features.d.cts +2 -1
- package/dist/features.d.ts +2 -1
- package/dist/features.js +3 -1
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/search-indexer.cjs +356 -0
- package/dist/search-indexer.d.cts +30 -0
- package/dist/search-indexer.d.ts +30 -0
- package/dist/search-indexer.js +10 -0
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/astro.config.mjs +28 -32
- package/eventcatalog/src/components/Search/SearchModal.tsx +248 -148
- package/eventcatalog/src/components/Search/search-utils.spec.ts +138 -1
- package/eventcatalog/src/components/Search/search-utils.ts +271 -0
- package/eventcatalog/src/env.d.ts +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog landing page
|
|
5
|
+
sidebar_label: Custom landing page
|
|
6
|
+
title: Customize landing page
|
|
7
|
+
description: Customize landing pages in EventCatalog
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
<AddedIn version="2.37.1" />
|
|
13
|
+
|
|
14
|
+
EventCatalog provides a landing page for your catalog, this is the first page that users see when they visit your catalog. See the demo [here](https://demo.eventcatalog.dev/).
|
|
15
|
+
|
|
16
|
+
You can customize the landing page with your own content, HTML and EventCatalog components.
|
|
17
|
+
|
|
18
|
+
:::info
|
|
19
|
+
Landing page customization is only available for customers on [paid plans](https://www.eventcatalog.dev/pricing). You can get a 14 day free trial of EventCatalog Starter Plan on [EventCatalog Cloud](https://eventcatalog.cloud).
|
|
20
|
+
:::
|
|
21
|
+
|
|
22
|
+
### Example of a custom landing page
|
|
23
|
+
|
|
24
|
+
You can add any HTML you want to your landing page, in this example we have added custom content using EventCatalog components, which includes the
|
|
25
|
+
visualizer for a domains, subdomains and flows.
|
|
26
|
+
|
|
27
|
+
<div className="space-y-2 text-center mb-8">
|
|
28
|
+
<img src="/img/landing-page-example.png" alt="EventCatalog Custom Landing Page" className="rounded-lg mb-0" />
|
|
29
|
+
<a href="https://demo.eventcatalog.dev" className="block p-0 m-0">View custom landing page demo</a>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
## How to customize your landing page
|
|
33
|
+
|
|
34
|
+
1. Setup and configure your [EventCatalog Starter or Scale License key](/docs/development/getting-started/configuration-overview#configuring-environment-variables).
|
|
35
|
+
- You can get a 14 day free trial of EventCatalog Starter Plan on [EventCatalog Cloud](https://eventcatalog.cloud).
|
|
36
|
+
1. Create a new folder called `pages` and an Astro file called `homepage.astro`
|
|
37
|
+
- Example: `/pages/homepage.astro`
|
|
38
|
+
1. Add the contents to your Astro file.
|
|
39
|
+
- You can see a full example of this on our [GitHub repository](https://github.com/event-catalog/eventcatalog/blob/main/examples/default/pages/homepage.astro).
|
|
40
|
+
1. Run `npm run dev` or `npm run build` to see your changes.
|
|
41
|
+
|
|
42
|
+
:::info What is Astro?
|
|
43
|
+
[Astro](https://astro.build/) is a static site builder that powers EventCatalog. You can learn more about Astro [here](https://docs.astro.build/en/getting-started/).
|
|
44
|
+
:::
|
|
45
|
+
|
|
46
|
+
**Example of homepage.astro**
|
|
47
|
+
|
|
48
|
+
```md title="/pages/homepage.astro"
|
|
49
|
+
---
|
|
50
|
+
# Import EventCatalog components to use in your landing page
|
|
51
|
+
const { Tile, Tiles, Flow, NodeGraph, Admonition } = Astro.props.components;
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
<div class="p-8 pt-2 max-w-8xl mx-auto">
|
|
55
|
+
<h1 class="text-4xl font-bold text-gray-800 mb-4">Welcome to FlowMart's EventCatalog</h1>
|
|
56
|
+
<p class="text-lg text-gray-600 mb-8">Explore the events, services, and domains that power the FlowMart ecosystem. This catalog provides a centralized place to discover and understand our asynchronous architecture.</p>
|
|
57
|
+
|
|
58
|
+
<Admonition type="info" title="Demo application">
|
|
59
|
+
<p>This is a demo of the EventCatalog and what it can do. The company is called FlowMart and they are an e-commerce company.</p>
|
|
60
|
+
<p>Using EventCatalog, we documented their systems (domains, services, events, commands, flows) and how they fit together.</p>
|
|
61
|
+
</Admonition>
|
|
62
|
+
|
|
63
|
+
<div class="grid grid-cols-2 gap-4 border-b border-gray-200 pb-8 pt-4">
|
|
64
|
+
<div class="col-span-1">
|
|
65
|
+
<h2 class="text-2xl font-semibold text-gray-700 mb-2">E-Commerce Domain</h2>
|
|
66
|
+
<p class="text-gray-500 mb-2">The core domain of FlowMart, responsible for all e-commerce operations.</p>
|
|
67
|
+
<NodeGraph id="E-Commerce" version="1.0.0" type="domain" />
|
|
68
|
+
</div>
|
|
69
|
+
<div class="col-span-1">
|
|
70
|
+
<h2 class="text-2xl font-semibold text-gray-700 mb-2">Orders Domain</h2>
|
|
71
|
+
<p class="text-gray-500 mb-2">The sub-domain responsible for all orders.</p>
|
|
72
|
+
<NodeGraph id="Orders" version="0.0.3" type="domain" />
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-span-1">
|
|
75
|
+
<h2 class="text-2xl font-semibold text-gray-700 mb-2">Payment Domain</h2>
|
|
76
|
+
<p class="text-gray-500 mb-2">The sub-domain responsible for all payments.</p>
|
|
77
|
+
<NodeGraph id="Payment" version="0.0.1" type="domain" />
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-span-1">
|
|
80
|
+
<h2 class="text-2xl font-semibold text-gray-700 mb-2">Subscription Domain</h2>
|
|
81
|
+
<p class="text-gray-500 mb-2">The sub-domain responsible for all subscriptions.</p>
|
|
82
|
+
<NodeGraph id="Subscription" version="0.0.1" type="domain" />
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div class="bg-blue-50 p-6 rounded-lg shadow-md mb-12">
|
|
87
|
+
<h2 class="text-2xl font-semibold text-blue-800 mb-3">Discover Our Architecture</h2>
|
|
88
|
+
<p class="text-gray-700 mb-4">
|
|
89
|
+
Navigate through our Domains to understand the different business capabilities, explore Services to see the microservices involved, and dive into Events and Commands to see how they communicate.
|
|
90
|
+
</p>
|
|
91
|
+
<p class="text-gray-700">
|
|
92
|
+
Use the search bar above or browse the sections in the sidebar to get started.
|
|
93
|
+
</p>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<div class="grid grid-cols-2 gap-4 border-b border-gray-200 pb-8">
|
|
97
|
+
<div class="col-span-1">
|
|
98
|
+
<h2 class="text-2xl font-semibold text-gray-700 mb-2">Cancel Subscription Flow</h2>
|
|
99
|
+
<p class="text-gray-500 mb-2">This flow is triggered when a user cancels their subscription.</p>
|
|
100
|
+
<Flow id="CancelSubscription" version="latest" includeKey={false} />
|
|
101
|
+
</div>
|
|
102
|
+
<div class="col-span-1">
|
|
103
|
+
<h2 class="text-2xl font-semibold text-gray-700 mb-2">Payment Flow</h2>
|
|
104
|
+
<p class="text-gray-500 mb-2">This flow documents how a payment is processed at FlowMart.</p>
|
|
105
|
+
<Flow id="PaymentFlow" version="latest" includeKey={false} />
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
<div class="border-b border-gray-200 pb-8 py-4">
|
|
110
|
+
<h2 class="text-3xl font-semibold text-gray-700 py-4">Quick Links</h2>
|
|
111
|
+
<p class="text-gray-700 mb-4">Learn how to get started with EventCatalog, create domains, services, events, and commands.</p>
|
|
112
|
+
<Tiles columns={3}>
|
|
113
|
+
<Tile icon="BookOpenIcon" href="https://eventcatalog.dev/docs/development/getting-started" title="Getting started with EventCatalog" description="How to get started with EventCatalog" />
|
|
114
|
+
<Tile icon="RectangleGroupIcon" href="https://eventcatalog.dev/docs/development/guides/domains/creating-domains/adding-domains" title="Creating domains" description="Learn how to create domains in your event catalog" />
|
|
115
|
+
<Tile icon="ServerIcon" href="https://eventcatalog.dev/docs/development/guides/services/adding-services" title="Creating services" description="Learn how to create services in your event catalog" />
|
|
116
|
+
<Tile icon="ChatBubbleLeftIcon" iconColor="text-blue-500" href="https://eventcatalog.dev/docs/development/guides/messages/commands/introduction" title="Creating commands" description="Learn how to create commands in your event catalog" />
|
|
117
|
+
<Tile icon="BoltIcon" iconColor="text-orange-500" href="https://eventcatalog.dev/docs/development/guides/messages/events/introduction" title="Creating events" description="Learn how to create events in your event catalog" />
|
|
118
|
+
<Tile icon="UserGroupIcon" iconColor="text-green-500" href="https://eventcatalog.dev/docs/owners" title="Assigning owners to resources" description="Learn how to assign owners to resources in your event catalog" />
|
|
119
|
+
</Tiles>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div class="pb-8 py-4">
|
|
123
|
+
<h2 class="text-3xl font-semibold text-gray-700 mb-6 pt-4">Join the community</h2>
|
|
124
|
+
|
|
125
|
+
<p class="text-gray-700 mb-4">Our project and community is growing fast. We have over 1000+ members in our <a href="https://eventcatalog.dev/discord" class="text-blue-500 hover:text-blue-600">Discord community</a>.</p>
|
|
126
|
+
|
|
127
|
+
<Tiles columns={2}>
|
|
128
|
+
<Tile icon="UserGroupIcon" iconColor="text-green-500" href="https://eventcatalog.dev/discord" title="Join the Discord community" description="Join the community to get help and support" />
|
|
129
|
+
<Tile icon="StarIcon" iconColor="text-yellow-500" href="https://github.com/event-catalog/eventcatalog/stargazers" title="Star EventCatalog on GitHub" description="If you like the project, please star it on GitHub to show your support ❤️" />
|
|
130
|
+
</Tiles>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
See the example output [here](https://demo.eventcatalog.dev)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Using components
|
|
142
|
+
|
|
143
|
+
You can use EventCatalog components in your custom landing page.
|
|
144
|
+
|
|
145
|
+
These include embedding visuals, flows, and more.
|
|
146
|
+
|
|
147
|
+
Example:
|
|
148
|
+
|
|
149
|
+
```md
|
|
150
|
+
<Tiles columns={3}>
|
|
151
|
+
<Tile icon="BookOpenIcon" href="https://eventcatalog.dev/docs/development/getting-started" title="Getting started with EventCatalog" description="How to get started with EventCatalog" />
|
|
152
|
+
</Tiles>
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
You can get a list of components [here](/docs/components).
|
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
---
|
|
2
|
+
keywords:
|
|
3
|
+
- EventCatalog themes
|
|
4
|
+
- dark mode
|
|
5
|
+
- light mode
|
|
6
|
+
- customization
|
|
7
|
+
- custom theme
|
|
8
|
+
sidebar_label: Themes
|
|
9
|
+
title: Themes
|
|
10
|
+
description: Customize the look and feel of your catalog with built-in themes, dark/light mode, and custom themes
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
import PlanBanner from '@site/src/components/MDX/PlanBanner';
|
|
14
|
+
|
|
15
|
+
EventCatalog comes with a selection of built-in themes and supports both light and dark modes out of the box.
|
|
16
|
+
|
|
17
|
+
## Choosing a theme
|
|
18
|
+
|
|
19
|
+
To set a theme, add the `theme` property to your `eventcatalog.config.js` file:
|
|
20
|
+
|
|
21
|
+
```js title="eventcatalog.config.js"
|
|
22
|
+
export default {
|
|
23
|
+
// ... other config
|
|
24
|
+
theme: 'sapphire',
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Available themes
|
|
29
|
+
|
|
30
|
+
EventCatalog includes the following built-in themes:
|
|
31
|
+
|
|
32
|
+
| Theme | Description |
|
|
33
|
+
|-------|-------------|
|
|
34
|
+
| `default` | Purple accent - the original EventCatalog look |
|
|
35
|
+
| `ocean` | Teal accent - calm and professional |
|
|
36
|
+
| `sapphire` | Blue accent - premium enterprise feel |
|
|
37
|
+
| `sunset` | Orange accent - warm and energetic |
|
|
38
|
+
| `forest` | Dark green accent - natural and grounded |
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Light and dark mode
|
|
42
|
+
|
|
43
|
+
EventCatalog supports both light and dark modes. Users can toggle between modes using the theme switcher in the header.
|
|
44
|
+
|
|
45
|
+
### How it works
|
|
46
|
+
|
|
47
|
+
- The theme toggle appears in the header navigation
|
|
48
|
+
- **System preference by default**: New visitors see light or dark mode based on their operating system preference
|
|
49
|
+
- **Remembers user choice**: Once a user manually toggles the theme, their preference is saved and used on future visits
|
|
50
|
+
- **Syncs across tabs**: Theme changes sync across browser tabs
|
|
51
|
+
- **Responds to system changes**: If no manual preference is set, the theme automatically updates when the user changes their OS dark mode setting
|
|
52
|
+
|
|
53
|
+
### Theme persistence
|
|
54
|
+
|
|
55
|
+
When a user manually selects light or dark mode, their preference is stored in `localStorage` under the key `eventcatalog-theme`. This ensures their choice persists across page reloads and browser sessions.
|
|
56
|
+
|
|
57
|
+
If no preference is stored, EventCatalog automatically follows the user's system preference using the `prefers-color-scheme` media query.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Creating custom themes
|
|
62
|
+
|
|
63
|
+
<PlanBanner plan="Scale" />
|
|
64
|
+
|
|
65
|
+
Custom themes allow you to fully brand EventCatalog with your organization's colors. You define your theme in `eventcatalog.styles.css` using CSS variables.
|
|
66
|
+
|
|
67
|
+
### Step 1: Create your theme CSS
|
|
68
|
+
|
|
69
|
+
Add your custom theme to `eventcatalog.styles.css` in your project root. Your theme needs to define CSS variables for both light and dark modes.
|
|
70
|
+
|
|
71
|
+
```css title="eventcatalog.styles.css"
|
|
72
|
+
/**
|
|
73
|
+
* Custom "ruby" theme - Red accent colors
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
/* Light Mode */
|
|
77
|
+
:root[data-catalog-theme="ruby"],
|
|
78
|
+
:root[data-catalog-theme="ruby"][data-theme="light"] {
|
|
79
|
+
/* Accent colors */
|
|
80
|
+
--ec-accent: 220 38 38; /* red-600 */
|
|
81
|
+
--ec-accent-hover: 185 28 28; /* red-700 */
|
|
82
|
+
--ec-accent-subtle: 254 226 226; /* red-100 */
|
|
83
|
+
--ec-accent-text: 153 27 27; /* red-800 */
|
|
84
|
+
|
|
85
|
+
/* Buttons */
|
|
86
|
+
--ec-button-bg: 185 28 28; /* red-700 */
|
|
87
|
+
--ec-button-bg-hover: 153 27 27; /* red-800 */
|
|
88
|
+
--ec-button-text: 255 255 255;
|
|
89
|
+
|
|
90
|
+
/* Sidebar */
|
|
91
|
+
--ec-sidebar-active-bg: 185 28 28;
|
|
92
|
+
--ec-sidebar-active-text: 255 255 255;
|
|
93
|
+
--ec-sidebar-hover-bg: 185 28 28;
|
|
94
|
+
|
|
95
|
+
/* You can override any CSS variable here */
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Dark Mode */
|
|
99
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] {
|
|
100
|
+
/* Accent colors - use lighter shades for dark mode */
|
|
101
|
+
--ec-accent: 248 113 113; /* red-400 */
|
|
102
|
+
--ec-accent-hover: 239 68 68; /* red-500 */
|
|
103
|
+
--ec-accent-subtle: 127 29 29 / 0.3;
|
|
104
|
+
--ec-accent-text: 252 165 165; /* red-300 */
|
|
105
|
+
|
|
106
|
+
/* Buttons */
|
|
107
|
+
--ec-button-bg: 220 38 38; /* red-600 */
|
|
108
|
+
--ec-button-bg-hover: 239 68 68; /* red-500 */
|
|
109
|
+
--ec-button-text: 255 255 255;
|
|
110
|
+
|
|
111
|
+
/* Sidebar */
|
|
112
|
+
--ec-sidebar-active-bg: 220 38 38;
|
|
113
|
+
--ec-sidebar-active-text: 255 255 255;
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Step 2: Set the theme in config
|
|
118
|
+
|
|
119
|
+
Reference your custom theme name in `eventcatalog.config.js`:
|
|
120
|
+
|
|
121
|
+
```js title="eventcatalog.config.js"
|
|
122
|
+
export default {
|
|
123
|
+
// ... other config
|
|
124
|
+
theme: 'ruby', // Matches data-catalog-theme="ruby" in your CSS
|
|
125
|
+
};
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Step 3: Test both modes
|
|
129
|
+
|
|
130
|
+
Start your catalog and test both light and dark modes to ensure all colors look correct:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
npm run dev
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Toggle between light and dark mode using the theme switcher in the header.
|
|
137
|
+
|
|
138
|
+
:::tip Tailwind Color Reference
|
|
139
|
+
Use [Tailwind CSS colors](https://tailwindcss.com/docs/customizing-colors) as a reference for your RGB values. For example, `red-600` is `220 38 38`.
|
|
140
|
+
:::
|
|
141
|
+
|
|
142
|
+
:::caution RGB Format Required
|
|
143
|
+
CSS variables must use space-separated RGB values (e.g., `220 38 38`) **without** the `rgb()` wrapper. This allows EventCatalog to apply opacity modifiers like `rgb(var(--ec-accent) / 0.5)`.
|
|
144
|
+
:::
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Full CSS variable reference
|
|
149
|
+
|
|
150
|
+
Here are all available CSS variables you can customize:
|
|
151
|
+
|
|
152
|
+
### Core colors
|
|
153
|
+
|
|
154
|
+
| Variable | Description |
|
|
155
|
+
|----------|-------------|
|
|
156
|
+
| `--ec-accent` | Primary accent color for highlights and interactive elements |
|
|
157
|
+
| `--ec-accent-hover` | Accent color on hover |
|
|
158
|
+
| `--ec-accent-subtle` | Light accent background (badges, highlights) |
|
|
159
|
+
| `--ec-accent-text` | Text color on accent backgrounds |
|
|
160
|
+
| `--ec-accent-gradient-from` | Gradient start color |
|
|
161
|
+
| `--ec-accent-gradient-to` | Gradient end color |
|
|
162
|
+
|
|
163
|
+
### Header
|
|
164
|
+
|
|
165
|
+
| Variable | Description |
|
|
166
|
+
|----------|-------------|
|
|
167
|
+
| `--ec-header-bg` | Header background |
|
|
168
|
+
| `--ec-header-text` | Header text color |
|
|
169
|
+
| `--ec-header-border` | Header border color |
|
|
170
|
+
|
|
171
|
+
### Sidebar
|
|
172
|
+
|
|
173
|
+
| Variable | Description |
|
|
174
|
+
|----------|-------------|
|
|
175
|
+
| `--ec-sidebar-bg` | Sidebar background |
|
|
176
|
+
| `--ec-sidebar-bg-gradient` | Sidebar gradient end color |
|
|
177
|
+
| `--ec-sidebar-border` | Sidebar border |
|
|
178
|
+
| `--ec-sidebar-text` | Sidebar text color |
|
|
179
|
+
| `--ec-sidebar-active-bg` | Active item background |
|
|
180
|
+
| `--ec-sidebar-active-text` | Active item text |
|
|
181
|
+
| `--ec-sidebar-hover-bg` | Hover item background |
|
|
182
|
+
|
|
183
|
+
### Rail
|
|
184
|
+
|
|
185
|
+
| Variable | Description |
|
|
186
|
+
|----------|-------------|
|
|
187
|
+
| `--ec-rail-bg` | Inset panel/navigation rail background, sits slightly off the page background |
|
|
188
|
+
| `--ec-rail-active-bg` | Active item background within a rail |
|
|
189
|
+
|
|
190
|
+
### Content area
|
|
191
|
+
|
|
192
|
+
| Variable | Description |
|
|
193
|
+
|----------|-------------|
|
|
194
|
+
| `--ec-content-bg` | Nested sidebar content background |
|
|
195
|
+
| `--ec-content-text` | Content text |
|
|
196
|
+
| `--ec-content-text-muted` | Muted text |
|
|
197
|
+
| `--ec-content-text-secondary` | Secondary text |
|
|
198
|
+
| `--ec-content-border` | Content borders |
|
|
199
|
+
| `--ec-content-hover` | Hover background |
|
|
200
|
+
| `--ec-content-active` | Active item background |
|
|
201
|
+
|
|
202
|
+
### Page
|
|
203
|
+
|
|
204
|
+
| Variable | Description |
|
|
205
|
+
|----------|-------------|
|
|
206
|
+
| `--ec-page-bg` | Main page background |
|
|
207
|
+
| `--ec-page-text` | Page text color |
|
|
208
|
+
| `--ec-page-text-muted` | Muted/secondary text |
|
|
209
|
+
| `--ec-page-border` | Page borders |
|
|
210
|
+
|
|
211
|
+
### Buttons
|
|
212
|
+
|
|
213
|
+
| Variable | Description |
|
|
214
|
+
|----------|-------------|
|
|
215
|
+
| `--ec-button-bg` | Button background |
|
|
216
|
+
| `--ec-button-bg-hover` | Button hover background |
|
|
217
|
+
| `--ec-button-text` | Button text color |
|
|
218
|
+
|
|
219
|
+
### Form inputs
|
|
220
|
+
|
|
221
|
+
| Variable | Description |
|
|
222
|
+
|----------|-------------|
|
|
223
|
+
| `--ec-input-bg` | Input field background |
|
|
224
|
+
| `--ec-input-border` | Input field border |
|
|
225
|
+
| `--ec-input-text` | Input field text |
|
|
226
|
+
| `--ec-input-placeholder` | Placeholder text color |
|
|
227
|
+
|
|
228
|
+
### Dropdowns
|
|
229
|
+
|
|
230
|
+
| Variable | Description |
|
|
231
|
+
|----------|-------------|
|
|
232
|
+
| `--ec-dropdown-bg` | Dropdown background |
|
|
233
|
+
| `--ec-dropdown-text` | Dropdown text |
|
|
234
|
+
| `--ec-dropdown-hover` | Dropdown hover background |
|
|
235
|
+
| `--ec-dropdown-border` | Dropdown border |
|
|
236
|
+
|
|
237
|
+
### Icons
|
|
238
|
+
|
|
239
|
+
| Variable | Description |
|
|
240
|
+
|----------|-------------|
|
|
241
|
+
| `--ec-icon-color` | Default icon color |
|
|
242
|
+
| `--ec-icon-hover` | Icon hover color |
|
|
243
|
+
|
|
244
|
+
### Other
|
|
245
|
+
|
|
246
|
+
| Variable | Description |
|
|
247
|
+
|----------|-------------|
|
|
248
|
+
| `--ec-card-bg` | Card/elevated surface background |
|
|
249
|
+
| `--ec-code-bg` | Code block background |
|
|
250
|
+
| `--ec-group-icon-bg` | Group header icon background |
|
|
251
|
+
| `--ec-group-icon-text` | Group header icon text |
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## Dark mode prose overrides
|
|
256
|
+
|
|
257
|
+
For custom themes, you may want to customize how markdown content (prose) appears in dark mode:
|
|
258
|
+
|
|
259
|
+
```css title="eventcatalog.styles.css"
|
|
260
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] .prose {
|
|
261
|
+
--tw-prose-body: rgb(163 163 163);
|
|
262
|
+
--tw-prose-headings: rgb(245 245 245);
|
|
263
|
+
--tw-prose-links: rgb(248 113 113); /* Match your accent */
|
|
264
|
+
--tw-prose-bold: rgb(245 245 245);
|
|
265
|
+
--tw-prose-code: rgb(245 245 245);
|
|
266
|
+
--tw-prose-pre-bg: rgb(23 23 23);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] .prose a {
|
|
270
|
+
color: rgb(248 113 113);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] .prose a:hover {
|
|
274
|
+
color: rgb(252 165 165);
|
|
275
|
+
}
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## Example: Complete custom theme
|
|
281
|
+
|
|
282
|
+
Here's a complete example of a custom "ruby" red theme you can use as a starting point:
|
|
283
|
+
|
|
284
|
+
<details>
|
|
285
|
+
<summary>View full ruby theme CSS</summary>
|
|
286
|
+
|
|
287
|
+
```css title="eventcatalog.styles.css"
|
|
288
|
+
/**
|
|
289
|
+
* Ruby Theme - Custom Red Theme
|
|
290
|
+
*/
|
|
291
|
+
|
|
292
|
+
/* Ruby Light Mode */
|
|
293
|
+
:root[data-catalog-theme="ruby"],
|
|
294
|
+
:root[data-catalog-theme="ruby"][data-theme="light"] {
|
|
295
|
+
--ec-header-bg: 255 255 255;
|
|
296
|
+
--ec-header-text: 23 23 23;
|
|
297
|
+
--ec-header-border: 229 229 229;
|
|
298
|
+
|
|
299
|
+
--ec-primary: 220 38 38;
|
|
300
|
+
--ec-primary-hover: 185 28 28;
|
|
301
|
+
|
|
302
|
+
--ec-accent: 220 38 38;
|
|
303
|
+
--ec-accent-hover: 185 28 28;
|
|
304
|
+
--ec-accent-subtle: 254 226 226;
|
|
305
|
+
--ec-accent-text: 153 27 27;
|
|
306
|
+
--ec-accent-gradient-from: 239 68 68;
|
|
307
|
+
--ec-accent-gradient-to: 185 28 28;
|
|
308
|
+
|
|
309
|
+
--ec-button-bg: 185 28 28;
|
|
310
|
+
--ec-button-bg-hover: 153 27 27;
|
|
311
|
+
--ec-button-text: 255 255 255;
|
|
312
|
+
|
|
313
|
+
--ec-dropdown-bg: 255 255 255;
|
|
314
|
+
--ec-dropdown-text: 64 64 64;
|
|
315
|
+
--ec-dropdown-hover: 254 242 242;
|
|
316
|
+
--ec-dropdown-border: 229 229 229;
|
|
317
|
+
|
|
318
|
+
--ec-icon-color: 82 82 82;
|
|
319
|
+
--ec-icon-hover: 185 28 28;
|
|
320
|
+
|
|
321
|
+
--ec-sidebar-bg: 255 255 255;
|
|
322
|
+
--ec-sidebar-bg-gradient: 254 242 242;
|
|
323
|
+
--ec-sidebar-border: 229 229 229;
|
|
324
|
+
--ec-sidebar-text: 82 82 82;
|
|
325
|
+
--ec-sidebar-active-bg: 185 28 28;
|
|
326
|
+
--ec-sidebar-active-text: 255 255 255;
|
|
327
|
+
--ec-sidebar-hover-bg: 185 28 28;
|
|
328
|
+
|
|
329
|
+
--ec-content-bg: 255 255 255;
|
|
330
|
+
--ec-content-text: 23 23 23;
|
|
331
|
+
--ec-content-text-muted: 82 82 82;
|
|
332
|
+
--ec-content-text-secondary: 115 115 115;
|
|
333
|
+
--ec-content-border: 229 229 229;
|
|
334
|
+
--ec-content-hover: 250 250 250;
|
|
335
|
+
--ec-content-active: 254 226 226;
|
|
336
|
+
|
|
337
|
+
--ec-input-bg: 255 255 255;
|
|
338
|
+
--ec-input-border: 212 212 212;
|
|
339
|
+
--ec-input-text: 23 23 23;
|
|
340
|
+
--ec-input-placeholder: 163 163 163;
|
|
341
|
+
|
|
342
|
+
--ec-group-icon-bg: 254 226 226;
|
|
343
|
+
--ec-group-icon-text: 153 27 27;
|
|
344
|
+
|
|
345
|
+
--ec-page-bg: 255 255 255;
|
|
346
|
+
--ec-page-text: 23 23 23;
|
|
347
|
+
--ec-page-text-muted: 82 82 82;
|
|
348
|
+
--ec-page-border: 229 229 229;
|
|
349
|
+
|
|
350
|
+
--ec-card-bg: 255 255 255;
|
|
351
|
+
--ec-code-bg: 250 250 250;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/* Ruby Dark Mode */
|
|
355
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] {
|
|
356
|
+
--ec-header-bg: 23 23 23;
|
|
357
|
+
--ec-header-text: 245 245 245;
|
|
358
|
+
--ec-header-border: 38 38 38;
|
|
359
|
+
|
|
360
|
+
--ec-accent: 248 113 113;
|
|
361
|
+
--ec-accent-hover: 239 68 68;
|
|
362
|
+
--ec-accent-subtle: 127 29 29 / 0.3;
|
|
363
|
+
--ec-accent-text: 252 165 165;
|
|
364
|
+
--ec-accent-gradient-from: 248 113 113;
|
|
365
|
+
--ec-accent-gradient-to: 239 68 68;
|
|
366
|
+
|
|
367
|
+
--ec-button-bg: 220 38 38;
|
|
368
|
+
--ec-button-bg-hover: 239 68 68;
|
|
369
|
+
--ec-button-text: 255 255 255;
|
|
370
|
+
|
|
371
|
+
--ec-dropdown-bg: 23 23 23;
|
|
372
|
+
--ec-dropdown-text: 212 212 212;
|
|
373
|
+
--ec-dropdown-hover: 38 38 38;
|
|
374
|
+
--ec-dropdown-border: 64 64 64;
|
|
375
|
+
|
|
376
|
+
--ec-icon-color: 163 163 163;
|
|
377
|
+
--ec-icon-hover: 252 165 165;
|
|
378
|
+
|
|
379
|
+
--ec-sidebar-bg: 10 10 10;
|
|
380
|
+
--ec-sidebar-bg-gradient: 10 10 10;
|
|
381
|
+
--ec-sidebar-border: 38 38 38;
|
|
382
|
+
--ec-sidebar-text: 163 163 163;
|
|
383
|
+
--ec-sidebar-active-bg: 220 38 38;
|
|
384
|
+
--ec-sidebar-active-text: 255 255 255;
|
|
385
|
+
--ec-sidebar-hover-bg: 38 38 38;
|
|
386
|
+
|
|
387
|
+
--ec-content-bg: 10 10 10;
|
|
388
|
+
--ec-content-text: 245 245 245;
|
|
389
|
+
--ec-content-text-muted: 163 163 163;
|
|
390
|
+
--ec-content-text-secondary: 163 163 163;
|
|
391
|
+
--ec-content-border: 38 38 38;
|
|
392
|
+
--ec-content-hover: 23 23 23;
|
|
393
|
+
--ec-content-active: 38 38 38;
|
|
394
|
+
|
|
395
|
+
--ec-input-bg: 23 23 23;
|
|
396
|
+
--ec-input-border: 64 64 64;
|
|
397
|
+
--ec-input-text: 245 245 245;
|
|
398
|
+
--ec-input-placeholder: 115 115 115;
|
|
399
|
+
|
|
400
|
+
--ec-group-icon-bg: 38 38 38;
|
|
401
|
+
--ec-group-icon-text: 252 165 165;
|
|
402
|
+
|
|
403
|
+
--ec-page-bg: 10 10 10;
|
|
404
|
+
--ec-page-text: 245 245 245;
|
|
405
|
+
--ec-page-text-muted: 163 163 163;
|
|
406
|
+
--ec-page-border: 38 38 38;
|
|
407
|
+
|
|
408
|
+
--ec-card-bg: 10 10 10;
|
|
409
|
+
--ec-code-bg: 23 23 23;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* Ruby theme prose overrides */
|
|
413
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] .prose {
|
|
414
|
+
--tw-prose-body: rgb(163 163 163);
|
|
415
|
+
--tw-prose-headings: rgb(245 245 245);
|
|
416
|
+
--tw-prose-links: rgb(248 113 113);
|
|
417
|
+
--tw-prose-bold: rgb(245 245 245);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] .prose a {
|
|
421
|
+
color: rgb(248 113 113);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
:root[data-catalog-theme="ruby"][data-theme="dark"] .prose a:hover {
|
|
425
|
+
color: rgb(252 165 165);
|
|
426
|
+
}
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
</details>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog search
|
|
5
|
+
- full-content search
|
|
6
|
+
- indexed search
|
|
7
|
+
- pagefind
|
|
8
|
+
- search configuration
|
|
9
|
+
sidebar_label: Search
|
|
10
|
+
title: Search
|
|
11
|
+
description: Configure resource metadata search or opt-in to full-content indexed search
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
15
|
+
|
|
16
|
+
<AddedIn version="3.36.0" />
|
|
17
|
+
|
|
18
|
+
EventCatalog ships with two search modes. The default is a fast metadata search that works with no extra configuration. An opt-in indexed mode adds full-content search powered by [Pagefind](https://pagefind.app/).
|
|
19
|
+
|
|
20
|
+
## Understand the modes
|
|
21
|
+
|
|
22
|
+
**Resource search (default)** indexes the metadata of every catalog resource — names, summaries, badges, types, and identifiers. It is fast, requires no build step, and works in both `static` and `server` output modes.
|
|
23
|
+
|
|
24
|
+
**Indexed search (opt-in)** builds a static index of the full markdown content of your catalog at build time. It can find matches inside the body of a page, changelogs, custom docs, and resource docs — not just the frontmatter fields.
|
|
25
|
+
|
|
26
|
+
## Enable indexed search
|
|
27
|
+
|
|
28
|
+
Set `search.type` to `'indexed'` in `eventcatalog.config.js`:
|
|
29
|
+
|
|
30
|
+
```js title="eventcatalog.config.js"
|
|
31
|
+
module.exports = {
|
|
32
|
+
search: {
|
|
33
|
+
type: 'indexed',
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
No other changes are required. The index is built automatically as part of `eventcatalog build` and also during `eventcatalog dev`.
|
|
39
|
+
|
|
40
|
+
## What gets indexed
|
|
41
|
+
|
|
42
|
+
When indexed search is enabled, the following content is included in the index:
|
|
43
|
+
|
|
44
|
+
- All catalog resources: events, commands, queries, services, domains, subdomains, channels, containers, data products, entities, and flows
|
|
45
|
+
- Custom docs pages
|
|
46
|
+
- Resource docs
|
|
47
|
+
- Changelogs
|
|
48
|
+
|
|
49
|
+
## When the index is built
|
|
50
|
+
|
|
51
|
+
During `eventcatalog build`, the indexer runs after the Astro build and writes the index to `<outDir>/pagefind`.
|
|
52
|
+
|
|
53
|
+
During `eventcatalog dev`, the index is built on startup and rebuilt automatically whenever any `.md` or `.mdx` file changes (debounced to avoid excessive rebuilds). The first build may take a few seconds depending on the size of your catalog. Subsequent incremental rebuilds are faster.
|
|
54
|
+
|
|
55
|
+
## Result ranking
|
|
56
|
+
|
|
57
|
+
Indexed results are ranked by relevance. Matches in the resource title and identifier score highest, followed by matches in the summary and type. Content-body matches score lower than title matches but are still surfaced when no title match is found.
|
|
58
|
+
|
|
59
|
+
## Auth and the `/pagefind` assets
|
|
60
|
+
|
|
61
|
+
:::warning Private catalogs
|
|
62
|
+
If your catalog uses authentication (an `eventcatalog.auth.js` file is present), the generated `/pagefind` directory is served as static client-readable assets. Anyone who can load the page can download the index, which contains the full text of all indexed content.
|
|
63
|
+
|
|
64
|
+
Ensure your deployment platform protects the `/pagefind` path behind the same authentication layer as the rest of your catalog.
|
|
65
|
+
:::
|
|
66
|
+
|
|
67
|
+
## Keep resource search
|
|
68
|
+
|
|
69
|
+
To stay on the default resource search, either omit the `search` key entirely or set the type explicitly:
|
|
70
|
+
|
|
71
|
+
```js title="eventcatalog.config.js"
|
|
72
|
+
module.exports = {
|
|
73
|
+
search: {
|
|
74
|
+
type: 'resource', // default, no index built
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Existing catalogs are not affected by this feature — no changes are needed unless you want to opt in.
|