@eventcatalog/core 4.1.3 → 4.1.5
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-DDGOJV25.js → chunk-DIUAURE2.js} +1 -1
- package/dist/{chunk-WEDJTUSQ.js → chunk-E6IUV4GX.js} +1 -1
- package/dist/{chunk-TUKKXNQR.js → chunk-G74MXXTG.js} +1 -1
- package/dist/{chunk-PDQER3NQ.js → chunk-GIU3S4CI.js} +1 -1
- package/dist/{chunk-G3D7IZ67.js → chunk-X77TET65.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/docs/api/02-config.md +166 -14
- package/dist/docs/api/08-code-blocks.md +1 -1
- package/dist/docs/development/00-why-eventcatalog.md +29 -40
- package/dist/docs/development/01-fundamentals.md +58 -7
- package/dist/docs/development/01-getting-started/configuration-overview.md +1 -93
- package/dist/docs/development/01-getting-started/develop-and-build.md +4 -3
- package/dist/docs/development/01-getting-started/installation.md +3 -3
- package/dist/docs/development/01-getting-started/project-structure.md +74 -141
- package/dist/docs/development/ask-your-architecture/01-intro.md +8 -76
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +4 -3
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +2 -1
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +1 -3
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +2 -2
- package/dist/docs/development/{developer-tools/llms.txt.md → ask-your-architecture/02-llms.txt.md} +1 -2
- package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +2 -2
- package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +2 -2
- package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +2 -25
- package/dist/docs/development/{developer-tools/schemas.txt.md → ask-your-architecture/03-schemas.txt.md} +1 -2
- package/dist/docs/development/ask-your-architecture/04-agents/01-overview.md +27 -0
- package/dist/docs/development/ask-your-architecture/04-agents/02-code-to-docs.md +124 -0
- package/dist/docs/development/ask-your-architecture/04-agents/03-breaking-changes.md +170 -0
- package/dist/docs/development/ask-your-architecture/04-agents/_category_.json +12 -0
- package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/_category_.json +2 -2
- package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/03-installation.md +1 -1
- package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/_category_.json +2 -1
- package/dist/docs/development/ask-your-architecture/_category_.json +2 -2
- package/dist/docs/development/authentication/01-introduction.md +3 -3
- package/dist/docs/development/authentication/02-enabling-authentication.md +2 -2
- package/dist/docs/development/authentication/providers/03-setting-up-github.md +25 -1
- package/dist/docs/development/authentication/providers/03a-setting-up-google.md +0 -1
- package/dist/docs/development/bring-your-own-documentation/01-introduction.md +29 -25
- package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +9 -8
- package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +70 -32
- package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +4 -1
- package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +2 -1
- package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +1 -1
- package/dist/docs/development/bring-your-own-documentation/diagrams/01-introduction.md +56 -0
- package/dist/docs/development/bring-your-own-documentation/diagrams/02-creating-diagrams.md +262 -0
- package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/03-referencing-diagrams.md +3 -87
- package/dist/docs/development/bring-your-own-documentation/diagrams/05-comparing-diagrams.md +25 -0
- package/dist/docs/development/bring-your-own-documentation/diagrams/07-reference.md +144 -0
- package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/_category_.json +2 -1
- package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +2 -4
- package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +138 -43
- package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +38 -9
- package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +62 -13
- package/dist/docs/development/components/04-snippets.md +0 -2
- package/dist/docs/development/components/05-using-components.md +4 -16
- package/dist/docs/development/components/07-resource-references.md +1 -1
- package/dist/docs/development/components/_category_.json +3 -3
- package/dist/docs/development/components/components/01-accordian.md +1 -1
- package/dist/docs/development/components/components/03-admonitions.md +1 -1
- package/dist/docs/development/components/components/04-agent-tools.md +2 -2
- package/dist/docs/development/components/components/05-attachments.md +1 -1
- package/dist/docs/development/components/components/07-design.md +1 -2
- package/dist/docs/development/components/components/08-entitymap.md +2 -2
- package/dist/docs/development/components/components/09-flow.md +1 -1
- package/dist/docs/development/components/components/10-link.md +1 -1
- package/dist/docs/development/components/components/11-mermaid-file-loader.md +1 -1
- package/dist/docs/development/components/components/12-message-table.md +1 -1
- package/dist/docs/development/components/components/13-nodegraph.md +1 -1
- package/dist/docs/development/components/components/14-openapi.md +3 -3
- package/dist/docs/development/components/components/15-prompt.md +2 -6
- package/dist/docs/development/components/components/16-remote-schema.md +5 -3
- package/dist/docs/development/components/components/17-resource-group-table.md +1 -1
- package/dist/docs/development/components/components/18-resource-link.md +1 -1
- package/dist/docs/development/components/components/19-schema.md +1 -1
- package/dist/docs/development/components/components/20-schema-viewer.md +1 -1
- package/dist/docs/development/components/components/21-steps.md +1 -1
- package/dist/docs/development/components/components/22-tabs.md +1 -1
- package/dist/docs/development/components/components/23-tiles.md +1 -1
- package/dist/docs/development/components/components/24-visibility.md +1 -1
- package/dist/docs/development/components/components/_category_.json +1 -1
- package/dist/docs/development/components/custom-components/01-introduction.md +74 -0
- package/dist/docs/development/components/custom-components/02-create-your-first-component.md +71 -0
- package/dist/docs/development/components/custom-components/03-pass-data-into-components.md +86 -0
- package/dist/docs/development/components/custom-components/04-fetch-data-in-components.md +191 -0
- package/dist/docs/development/components/custom-components/05-style-components.md +60 -0
- package/dist/docs/development/components/custom-components/06-add-client-side-scripts.md +67 -0
- package/dist/docs/development/components/custom-components/07-reference.md +115 -0
- package/dist/docs/development/components/custom-components/_category_.json +11 -0
- package/dist/docs/development/components/{external-diagram-embeds/03-drawio.md → diagram-syntax/01-drawio.md} +2 -3
- package/dist/docs/development/components/{external-diagram-embeds/04-figjam.md → diagram-syntax/02-figjam.md} +1 -2
- package/dist/docs/development/components/diagram-syntax/{04-icepanel.md → 03-icepanel.md} +1 -2
- package/dist/docs/development/components/diagram-syntax/04-likec4.md +136 -0
- package/dist/docs/development/components/{external-diagram-embeds/02-lucid.md → diagram-syntax/05-lucid.md} +2 -3
- package/dist/docs/development/components/diagram-syntax/{01-mermaid.md → 06-mermaid.md} +1 -1
- package/dist/docs/development/components/{external-diagram-embeds/01-miro.md → diagram-syntax/07-miro.md} +2 -3
- package/dist/docs/development/components/diagram-syntax/{02-plantuml.md → 08-plantuml.md} +3 -3
- package/dist/docs/development/components/diagram-syntax/{03-structurizr.md → 09-structurizr.md} +1 -1
- package/dist/docs/development/components/diagram-syntax/_category_.json +3 -3
- package/dist/docs/development/customization/01-customize-landing-page.md +7 -15
- package/dist/docs/development/customization/02-themes.md +1 -0
- package/dist/docs/development/customization/03-application-sidebar.md +246 -0
- package/dist/docs/development/customization/03-search.md +2 -2
- package/dist/docs/development/customization/{customize-sidebars/01-documentation-sidebar.md → 04-documentation-sidebar.md} +4 -4
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/01-introduction.md +94 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/02-create-a-custom-page.md +177 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/03-create-an-api-route.md +128 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/04-reference.md +138 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/_category_.json +12 -0
- package/dist/docs/development/customization/06-customize-tables.md +3 -3
- package/dist/docs/development/customization/07-resource-icons.md +190 -0
- package/dist/docs/development/customization/_category_.json +1 -1
- package/dist/docs/development/customization/customize-visualizer/_category_.json +2 -2
- package/dist/docs/development/deployment/hosting-options.md +1 -2
- package/dist/docs/development/developer-tools/api-catalog.md +1 -1
- package/dist/docs/development/developer-tools/eventcatalog-linter.md +137 -2
- package/dist/docs/development/governance/_category_.json +1 -0
- package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +2 -2
- package/dist/docs/development/guides/98-versioning-resources.md +192 -0
- package/dist/docs/development/guides/99-adding-analytics.md +0 -1
- package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +2 -2
- package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +2 -2
- package/dist/docs/development/guides/changelogs/04-reference.md +77 -0
- package/dist/docs/development/guides/changelogs/_category_.json +2 -2
- package/dist/docs/development/guides/domains/01-introduction.md +14 -9
- package/dist/docs/development/guides/domains/{02-creating-domains/02-adding-domains.md → 02-create-domain.md} +32 -16
- package/dist/docs/development/guides/domains/{02-creating-domains/02a-subdomains.md → 03-model-subdomains.md} +22 -10
- package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +1 -1
- package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +2 -6
- package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +2 -2
- package/dist/docs/development/guides/domains/04-add-resources-to-domains/01-add-systems-to-domains.md +154 -0
- package/dist/docs/development/guides/domains/{02-creating-domains/03-adding-services-to-domains.md → 04-add-resources-to-domains/02-add-services-to-domains.md} +6 -37
- package/dist/docs/development/guides/domains/{02-creating-domains/04-adding-messages-to-domains.md → 04-add-resources-to-domains/03-add-messages-to-domains.md} +4 -6
- package/dist/docs/development/guides/domains/{02-creating-domains/05-adding-data-products-to-domains.md → 04-add-resources-to-domains/04-add-data-products-to-domains.md} +6 -5
- package/dist/docs/development/guides/domains/04-add-resources-to-domains/05-add-entities-to-domains.md +115 -0
- package/dist/docs/development/guides/domains/04-add-resources-to-domains/_category_.json +11 -0
- package/dist/docs/development/guides/domains/{08-domain-integration-map.md → 06-visualize-domains/01-domain-integration-map.md} +5 -6
- package/dist/docs/development/guides/domains/06-visualize-domains/_category_.json +12 -0
- package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/01-versioning.md → 07-version-domains.md} +5 -6
- package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/02-changelog.md → 08-add-changelog.md} +6 -7
- package/dist/docs/development/guides/domains/09-reference.md +517 -0
- package/dist/docs/development/guides/owners/01-what-are-teams-and-users.md +46 -0
- package/dist/docs/development/guides/owners/02-create-team.md +110 -0
- package/dist/docs/development/guides/owners/03-create-user.md +99 -0
- package/dist/docs/development/guides/owners/05-teams-reference.md +144 -0
- package/dist/docs/development/guides/owners/06-users-reference.md +128 -0
- package/dist/docs/development/guides/owners/_category_.json +2 -2
- package/dist/docs/development/guides/owners/automated-teams-and-users/_category_.json +11 -0
- package/dist/docs/development/guides/owners/automated-teams-and-users/create-your-own-connector.md +108 -0
- package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-github.md +156 -0
- package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-microsoft-entra.md +253 -0
- package/dist/docs/development/guides/resources/_category_.json +11 -0
- package/dist/docs/development/guides/resources/adrs/01-introduction.md +37 -0
- package/dist/docs/development/guides/resources/adrs/02-creating-adrs.md +211 -0
- package/dist/docs/development/guides/resources/adrs/03-linking-resources.md +52 -0
- package/dist/docs/development/guides/resources/adrs/04-relationships.md +80 -0
- package/dist/docs/development/guides/resources/adrs/06-reference.md +247 -0
- package/dist/docs/development/guides/resources/adrs/_category_.json +11 -0
- package/dist/docs/development/guides/{agents → resources/agents}/01-introduction.md +1 -16
- package/dist/docs/development/guides/resources/agents/02-create-agent.md +188 -0
- package/dist/docs/development/guides/{agents → resources/agents}/03-adding-tools.md +3 -4
- package/dist/docs/development/guides/{agents → resources/agents}/04-model-metadata.md +2 -2
- package/dist/docs/development/guides/{agents/adding-to-agents/01-messages.md → resources/agents/05-add-messages-to-agents.md} +5 -4
- package/dist/docs/development/guides/{agents/adding-to-agents/02-datastores.md → resources/agents/06-add-data-stores-to-agents.md} +4 -15
- package/dist/docs/development/guides/resources/agents/11-reference.md +238 -0
- package/dist/docs/development/guides/{agents → resources/agents}/_category_.json +2 -2
- package/dist/docs/development/guides/resources/data/01-introduction.md +15 -0
- package/dist/docs/development/guides/resources/data/02-adding-data.md +184 -0
- package/dist/docs/development/guides/resources/data/03-add-read-write-relationships.md +128 -0
- package/dist/docs/development/guides/resources/data/04-reference.md +211 -0
- package/dist/docs/development/guides/{data → resources/data}/_category_.json +3 -3
- package/dist/docs/development/guides/{data-products → resources/data-products}/01-introduction.md +1 -17
- package/dist/docs/development/guides/resources/data-products/02-adding-data-products.md +174 -0
- package/dist/docs/development/guides/{data-products → resources/data-products}/03-inputs-and-outputs.md +4 -6
- package/dist/docs/development/guides/{data-products → resources/data-products}/04-contracts.md +2 -4
- package/dist/docs/development/guides/resources/data-products/07-reference.md +201 -0
- package/dist/docs/development/guides/{data-products → resources/data-products}/_category_.json +3 -3
- package/dist/docs/development/guides/resources/entities/01-introduction.md +26 -0
- package/dist/docs/development/guides/resources/entities/02-create-entity.md +162 -0
- package/dist/docs/development/guides/resources/entities/03-model-entity-relationships.md +115 -0
- package/dist/docs/development/guides/resources/entities/04-add-entities-to-resources.md +188 -0
- package/dist/docs/development/guides/resources/entities/05-entity-maps.md +48 -0
- package/dist/docs/development/guides/resources/entities/06-reference.md +273 -0
- package/dist/docs/development/guides/{domains/05-entities → resources/entities}/_category_.json +4 -4
- package/dist/docs/development/guides/resources/flows/01-introduction.md +28 -0
- package/dist/docs/development/guides/resources/flows/02-create-flow.md +304 -0
- package/dist/docs/development/guides/{flows/03-flow-nodes.md → resources/flows/03-model-flow-steps.md} +6 -6
- package/dist/docs/development/guides/resources/flows/04-add-flows-to-resources.md +149 -0
- package/dist/docs/development/guides/resources/flows/06-reference.md +226 -0
- package/dist/docs/development/guides/{flows → resources/flows}/_category_.json +3 -3
- package/dist/docs/development/guides/resources/messages/01-what-are-messages.md +104 -0
- package/dist/docs/development/guides/{messages/events/01-introduction.md → resources/messages/02-message-types/01-events.md} +3 -7
- package/dist/docs/development/guides/{messages/commands/01-introduction.md → resources/messages/02-message-types/02-commands.md} +4 -7
- package/dist/docs/development/guides/resources/messages/02-message-types/03-queries.md +20 -0
- package/dist/docs/development/guides/resources/messages/02-message-types/_category_.json +11 -0
- package/dist/docs/development/guides/resources/messages/03-create-messages/01-create-event.md +137 -0
- package/dist/docs/development/guides/resources/messages/03-create-messages/02-create-command.md +156 -0
- package/dist/docs/development/guides/resources/messages/03-create-messages/03-create-query.md +158 -0
- package/dist/docs/development/guides/{messages/common/02-draft-messages.md → resources/messages/03-create-messages/04-create-draft-message.md} +5 -7
- package/dist/docs/development/guides/resources/messages/03-create-messages/_category_.json +11 -0
- package/dist/docs/development/guides/resources/messages/04-connect-messages/01-map-producers-and-consumers.md +32 -0
- package/dist/docs/development/guides/resources/messages/04-connect-messages/02-shared-messages-across-boundaries.md +170 -0
- package/dist/docs/development/guides/{messages/common/09-grouping-messages.md → resources/messages/04-connect-messages/03-group-messages.md} +2 -4
- package/dist/docs/development/guides/resources/messages/04-connect-messages/_category_.json +11 -0
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/01-introduction.md +4 -28
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/02-adding-channels.md +77 -62
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/04-adding-messages-to-services.md +10 -14
- package/dist/docs/development/guides/resources/messages/04-message-channels/05-reference.md +177 -0
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/_category_.json +3 -3
- package/dist/docs/development/guides/{messages/common/04-versioning.md → resources/messages/08-versioning-and-lifecycle/01-version-messages.md} +39 -4
- package/dist/docs/development/guides/{messages/common/05-changelog.md → resources/messages/08-versioning-and-lifecycle/02-add-changelog.md} +5 -6
- package/dist/docs/development/guides/{messages/common/02-deprecating.md → resources/messages/08-versioning-and-lifecycle/03-deprecate-messages.md} +4 -4
- package/dist/docs/development/guides/resources/messages/08-versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/{messages/common/02-examples.md → resources/messages/09-add-usage-examples.md} +59 -22
- package/dist/docs/development/guides/resources/messages/10-reference.md +439 -0
- package/dist/docs/development/guides/resources/messages/_category_.json +11 -0
- package/dist/docs/development/guides/resources/schemas/01-what-are-schemas-and-specifications.md +25 -0
- package/dist/docs/development/guides/resources/schemas/02-add-schemas-to-messages.md +63 -0
- package/dist/docs/development/guides/resources/schemas/03-add-schemas-to-data-stores.md +90 -0
- package/dist/docs/development/guides/{services/adding-to-services/04-openapi.md → resources/schemas/03-add-specifications-to-services/01-add-openapi-specifications.md} +33 -24
- package/dist/docs/development/guides/{services/adding-to-services/05-asyncapi.md → resources/schemas/03-add-specifications-to-services/02-add-asyncapi-specifications.md} +33 -23
- package/dist/docs/development/guides/{services/adding-to-services/06-graphql.md → resources/schemas/03-add-specifications-to-services/03-add-graphql-schemas.md} +36 -26
- package/dist/docs/development/guides/resources/schemas/03-add-specifications-to-services/_category_.json +11 -0
- package/dist/docs/development/guides/{schemas/02-schema-explorer.md → resources/schemas/04-explore-schemas/01-schema-explorer.md} +3 -26
- package/dist/docs/development/guides/{schemas/06-fields-explorer.md → resources/schemas/04-explore-schemas/02-fields-explorer.md} +8 -10
- package/dist/docs/development/guides/{schemas/05-field-usage.md → resources/schemas/04-explore-schemas/03-consumer-field-usage.md} +1 -3
- package/dist/docs/development/guides/resources/schemas/04-explore-schemas/_category_.json +11 -0
- package/dist/docs/development/guides/{schemas/03-schema-api.md → resources/schemas/05-schema-api.md} +6 -11
- package/dist/docs/development/guides/{schemas/04-schema-mcp.md → resources/schemas/06-schema-mcp.md} +5 -6
- package/dist/docs/development/guides/resources/schemas/07-reference.md +23 -0
- package/dist/docs/development/guides/{schemas → resources/schemas}/_category_.json +3 -3
- package/dist/docs/development/guides/resources/services/01-introduction.md +27 -0
- package/dist/docs/development/guides/resources/services/02-create-service.md +195 -0
- package/dist/docs/development/guides/resources/services/03-create-external-service.md +52 -0
- package/dist/docs/development/guides/resources/services/04-add-resources-to-services/01-add-messages-to-services.md +142 -0
- package/dist/docs/development/guides/resources/services/04-add-resources-to-services/02-add-data-stores-to-services.md +45 -0
- package/dist/docs/development/guides/{services/adding-to-services/03-entities.md → resources/services/04-add-resources-to-services/03-add-entities-to-services.md} +7 -11
- package/dist/docs/development/guides/resources/services/04-add-resources-to-services/_category_.json +11 -0
- package/dist/docs/development/guides/{services/ownership-and-components/01-owners.md → resources/services/06-ownership-and-components/01-add-service-owners.md} +3 -4
- package/dist/docs/development/guides/{services/ownership-and-components/02-components.md → resources/services/06-ownership-and-components/02-use-components.md} +4 -4
- package/dist/docs/development/guides/resources/services/06-ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/{services/versioning-and-lifecycle/01-versioning.md → resources/services/07-versioning-and-lifecycle/01-version-services.md} +4 -3
- package/dist/docs/development/guides/{services/versioning-and-lifecycle/02-changelog.md → resources/services/07-versioning-and-lifecycle/02-add-changelog.md} +5 -5
- package/dist/docs/development/guides/{services/versioning-and-lifecycle/03-deprecating.md → resources/services/07-versioning-and-lifecycle/03-deprecate-services.md} +5 -4
- package/dist/docs/development/guides/resources/services/07-versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/resources/services/08-reference.md +295 -0
- package/dist/docs/development/guides/{services → resources/services}/_category_.json +3 -3
- package/dist/docs/development/guides/systems/01-introduction.md +119 -0
- package/dist/docs/development/guides/systems/02-create-system.md +127 -0
- package/dist/docs/development/guides/systems/03-add-resources-to-systems.md +157 -0
- package/dist/docs/development/guides/systems/04-model-relationships-and-actors.md +86 -0
- package/dist/docs/development/guides/systems/05-system-context-maps.md +67 -0
- package/dist/docs/development/guides/systems/06-reference.md +329 -0
- package/dist/docs/development/guides/{messages/queries → systems}/_category_.json +5 -5
- package/dist/docs/development/license-keys/_category_.json +1 -1
- package/dist/docs/development/license-keys/integrations.md +20 -9
- package/dist/docs/development/license-keys/overview.md +7 -18
- package/dist/docs/development/license-keys/plans.md +9 -18
- package/dist/docs/development/upgrading/v2.md +1 -2
- package/dist/docs/development/upgrading/v3.md +2 -3
- package/dist/docs/development/upgrading/v4.md +377 -0
- package/dist/docs/editor/00-overview.md +3 -3
- package/dist/docs/editor/01-first-edit.md +1 -1
- package/dist/docs/editor/explanation/markdown-mdx-git.md +1 -1
- package/dist/docs/editor/how-to/add-schemas-and-specifications.md +5 -5
- package/dist/docs/editor/how-to/edit-resource.md +1 -1
- package/dist/docs/editor/how-to/use-flow-editor.md +5 -5
- package/dist/docs/editor/how-to/use-slash-commands.md +2 -2
- package/dist/docs/editor/reference/supported-content.md +2 -2
- package/dist/docs/editor/reference/supported-resources.md +14 -14
- package/dist/docs/plugins/amazon-apigateway/00-intro.md +8 -8
- package/dist/docs/plugins/amazon-apigateway/01-installation.md +10 -12
- package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +5 -4
- package/dist/docs/plugins/apicurio/00-intro.md +8 -8
- package/dist/docs/plugins/apicurio/01-installation.md +12 -2
- package/dist/docs/plugins/apicurio/02-plugin-configuration.md +7 -9
- package/dist/docs/plugins/apicurio/03-features.md +2 -2
- package/dist/docs/plugins/asyncapi/00-intro.md +8 -8
- package/dist/docs/plugins/asyncapi/01-installation.md +10 -11
- package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +5 -5
- package/dist/docs/plugins/asyncapi/03-features.md +9 -9
- package/dist/docs/plugins/aws-glue-registry/00-intro.md +8 -8
- package/dist/docs/plugins/aws-glue-registry/00a-installation.md +16 -6
- package/dist/docs/plugins/aws-glue-registry/01-features.md +2 -2
- package/dist/docs/plugins/azure-schema-registry/00-intro.md +10 -10
- package/dist/docs/plugins/azure-schema-registry/01-installation.md +15 -5
- package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +4 -4
- package/dist/docs/plugins/azure-schema-registry/04-examples.md +1 -1
- package/dist/docs/plugins/backstage/00-intro.md +3 -3
- package/dist/docs/plugins/backstage/01-installation.md +7 -15
- package/dist/docs/plugins/confluent-schema-registry/00-intro.md +8 -8
- package/dist/docs/plugins/confluent-schema-registry/01-installation.md +12 -4
- package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +3 -3
- package/dist/docs/plugins/eventbridge/00a-installation.md +21 -21
- package/dist/docs/plugins/eventbridge/01-features.md +3 -3
- package/dist/docs/plugins/eventbridge/03-api.md +5 -5
- package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +6 -6
- package/dist/docs/plugins/eventcatalog-federation/01-installation.md +10 -11
- package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +2 -2
- package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +5 -6
- package/dist/docs/plugins/github/00-intro.md +8 -8
- package/dist/docs/plugins/github/01-installation.md +12 -5
- package/dist/docs/plugins/graphql/00-intro.md +8 -8
- package/dist/docs/plugins/graphql/01-installation.md +11 -11
- package/dist/docs/plugins/graphql/02-plugin-configuration.md +3 -4
- package/dist/docs/plugins/graphql/03-features.md +4 -4
- package/dist/docs/plugins/openapi/00-intro.md +8 -8
- package/dist/docs/plugins/openapi/01-installation.md +10 -11
- package/dist/docs/plugins/openapi/02-plugin-configuration.md +7 -6
- package/dist/docs/plugins/openapi/03-features.md +6 -7
- package/dist/docs/tutorial/01-start-here.md +75 -0
- package/dist/docs/tutorial/02-install-eventcatalog.md +98 -0
- package/dist/docs/tutorial/04-add-ownership.md +184 -0
- package/dist/docs/tutorial/04-create-event.md +176 -0
- package/dist/docs/tutorial/05-create-a-domain.md +133 -0
- package/dist/docs/tutorial/05-publish-event.md +82 -0
- package/dist/docs/tutorial/06-consume-event.md +130 -0
- package/dist/docs/tutorial/06-create-a-service.md +99 -0
- package/dist/docs/tutorial/11-visualize-your-catalog.md +105 -0
- package/dist/docs/tutorial/12-build-your-catalog.md +79 -0
- package/dist/docs/tutorial/14-next-steps.md +108 -0
- package/dist/docs/tutorial/_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/public/android-chrome-192x192.png +0 -0
- package/eventcatalog/public/android-chrome-512x512.png +0 -0
- package/eventcatalog/public/apple-touch-icon.png +0 -0
- package/eventcatalog/public/favicon-16x16.png +0 -0
- package/eventcatalog/public/favicon-32x32.png +0 -0
- package/eventcatalog/public/favicon-48x48.png +0 -0
- package/eventcatalog/public/favicon-96x96.png +0 -0
- package/eventcatalog/public/favicon.ico +0 -0
- package/eventcatalog/public/favicon.svg +8 -0
- package/eventcatalog/src/components/Seo.astro +5 -1
- package/eventcatalog/src/enterprise/auth/error.astro +3 -1
- package/eventcatalog/src/enterprise/auth/login.astro +3 -1
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +4 -1
- package/eventcatalog/src/pages/studio.astro +3 -1
- package/eventcatalog/src/toolkit/layouts/Layout.astro +7 -1
- package/package.json +3 -3
- package/dist/docs/api/03-domain-api.md +0 -440
- package/dist/docs/api/04-service-api.md +0 -414
- package/dist/docs/api/05-command-api.md +0 -365
- package/dist/docs/api/06-event-api.md +0 -364
- package/dist/docs/api/06-query-api.md +0 -362
- package/dist/docs/api/08-channel-api.md +0 -363
- package/dist/docs/api/09-flow-api.md +0 -446
- package/dist/docs/api/10-entity-api.md +0 -330
- package/dist/docs/api/11-data-api.md +0 -273
- package/dist/docs/api/12-data-product-api.md +0 -445
- package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +0 -68
- package/dist/docs/development/components/external-diagram-embeds/_category_.json +0 -12
- package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +0 -73
- package/dist/docs/development/customization/custom-components/01-introduction.md +0 -28
- package/dist/docs/development/customization/custom-components/02-adding-components.md +0 -145
- package/dist/docs/development/customization/custom-components/03-component-styling.md +0 -27
- package/dist/docs/development/customization/custom-components/04-javascript-components.md +0 -32
- package/dist/docs/development/customization/custom-components/_category_.json +0 -11
- package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +0 -85
- package/dist/docs/development/customization/customize-sidebars/_category_.json +0 -11
- package/dist/docs/development/developer-tools/github-action.md +0 -147
- package/dist/docs/development/guides/12-customize-your-sidebar.md +0 -12
- package/dist/docs/development/guides/agents/02-adding-agents.md +0 -152
- package/dist/docs/development/guides/agents/adding-to-agents/_category_.json +0 -10
- package/dist/docs/development/guides/agents/ownership/01-owners.md +0 -67
- package/dist/docs/development/guides/agents/ownership/_category_.json +0 -11
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/01-versioning.md +0 -48
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/02-changelog.md +0 -40
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/03-deprecating.md +0 -41
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/_category_.json +0 -11
- package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +0 -44
- package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +0 -16
- package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +0 -11
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +0 -31
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +0 -56
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +0 -11
- package/dist/docs/development/guides/data/01-introduction.md +0 -34
- package/dist/docs/development/guides/data/02-adding-data.md +0 -86
- package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +0 -73
- package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +0 -45
- package/dist/docs/development/guides/data/ownership-and-components/02-components.md +0 -17
- package/dist/docs/development/guides/data/ownership-and-components/_category_.json +0 -11
- package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +0 -32
- package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +0 -57
- package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +0 -71
- package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +0 -11
- package/dist/docs/development/guides/data-products/02-adding-data-products.md +0 -157
- package/dist/docs/development/guides/data-products/05-versioning.md +0 -240
- package/dist/docs/development/guides/data-products/06-adding-to-domains.md +0 -52
- package/dist/docs/development/guides/diagrams/01-introduction.md +0 -78
- package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +0 -195
- package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +0 -204
- package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +0 -145
- package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +0 -165
- package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +0 -11
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +0 -10
- package/dist/docs/development/guides/domains/05-entities/01-introduction.md +0 -24
- package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +0 -157
- package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +0 -30
- package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +0 -134
- package/dist/docs/development/guides/flows/01-introduction.md +0 -36
- package/dist/docs/development/guides/flows/02-adding-flows.md +0 -198
- package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +0 -42
- package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +0 -43
- package/dist/docs/development/guides/flows/06-versioning.md +0 -27
- package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +0 -171
- package/dist/docs/development/guides/messages/01-overview.md +0 -57
- package/dist/docs/development/guides/messages/_category_.json +0 -11
- package/dist/docs/development/guides/messages/commands/02-adding-commands.md +0 -131
- package/dist/docs/development/guides/messages/commands/_category_.json +0 -11
- package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +0 -37
- package/dist/docs/development/guides/messages/common/02-adding-schemas.md +0 -58
- package/dist/docs/development/guides/messages/common/03-owners.md +0 -40
- package/dist/docs/development/guides/messages/common/07-components.md +0 -12
- package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +0 -70
- package/dist/docs/development/guides/messages/common/_category_.json +0 -11
- package/dist/docs/development/guides/messages/events/02-adding-events.md +0 -130
- package/dist/docs/development/guides/messages/events/_category_.json +0 -11
- package/dist/docs/development/guides/messages/queries/01-introduction.md +0 -25
- package/dist/docs/development/guides/messages/queries/02-adding-queries.md +0 -130
- package/dist/docs/development/guides/owners/teams/01-introduction.md +0 -21
- package/dist/docs/development/guides/owners/teams/02-adding-teams.md +0 -73
- package/dist/docs/development/guides/owners/teams/_category_.json +0 -11
- package/dist/docs/development/guides/owners/users/01-introduction.md +0 -20
- package/dist/docs/development/guides/owners/users/02-adding-users.md +0 -69
- package/dist/docs/development/guides/owners/users/_category_.json +0 -11
- package/dist/docs/development/guides/schemas/01-introduction.md +0 -64
- package/dist/docs/development/guides/services/01-introduction.md +0 -33
- package/dist/docs/development/guides/services/02-adding-services.md +0 -113
- package/dist/docs/development/guides/services/03-creating-external-systems.md +0 -71
- package/dist/docs/development/guides/services/adding-to-services/01-messages.md +0 -229
- package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +0 -77
- package/dist/docs/development/guides/services/adding-to-services/_category_.json +0 -10
- package/dist/docs/development/guides/services/ownership-and-components/_category_.json +0 -11
- package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +0 -11
- /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/01-introduction.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/02-installation.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/01-introduction.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/02-slack-app-setup.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/04-deployment.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/05-usage.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/06-troubleshooting.md +0 -0
- /package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/09-configuration +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog events
|
|
5
|
+
sidebar_label: Create an event
|
|
6
|
+
title: Create an event
|
|
7
|
+
description: Creating and managing events within EventCatalog.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
import PromptBox from '@site/src/components/MDX/PromptBox';
|
|
12
|
+
import ProjectTree from '@site/src/components/MDX/ProjectTree';
|
|
13
|
+
|
|
14
|
+
Events are a type of message in EventCatalog that represent an immutable fact.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Adding a new event
|
|
19
|
+
|
|
20
|
+
### Automatic Creation
|
|
21
|
+
|
|
22
|
+
<PromptBox preview="Create a new EventCatalog event">
|
|
23
|
+
Read https://www.eventcatalog.dev/docs/development/guides/resources/messages/create-messages/create-event.md and https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/events.md then help me create a new EventCatalog event in my catalog.
|
|
24
|
+
|
|
25
|
+
Ask me for the event name, what happened, summary, whether it belongs at the root of the catalog or inside a service, domain, or system, and any known producers, consumers, channels, or schema files. Then create the correct events/{'{Event Name}'}/index.mdx, services/{'{Service Name}'}/events/{'{Event Name}'}/index.mdx, domains/{'{Domain Name}'}/events/{'{Event Name}'}/index.mdx, or domains/{'{Domain Name}'}/systems/{'{System Name}'}/services/{'{Service Name}'}/events/{'{Event Name}'}/index.mdx file with frontmatter and starter markdown, you can add as much markdown as you want that captures the users input.
|
|
26
|
+
|
|
27
|
+
You can also ask the user if they have a schema of the event, if they provide one, you can add this schema to the event, and set the schemaPath to that schema on the event frontmatter properties.
|
|
28
|
+
|
|
29
|
+
If the catalog does not have any services, domains, or systems, put it into the root events folder.
|
|
30
|
+
|
|
31
|
+
You can use MDX components found here https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/components.md
|
|
32
|
+
</PromptBox>
|
|
33
|
+
|
|
34
|
+
Copy this prompt and paste it into your coding agent. Your agent can help you choose where the event should live, create the right folder structure, and add the first version of the event documentation.
|
|
35
|
+
|
|
36
|
+
### Manual Creation
|
|
37
|
+
|
|
38
|
+
Events live in a `/events` folder. This folder can be placed:
|
|
39
|
+
|
|
40
|
+
- At the root of your catalog
|
|
41
|
+
- Inside a specific service or domain folder
|
|
42
|
+
|
|
43
|
+
<ProjectTree
|
|
44
|
+
items={[
|
|
45
|
+
{
|
|
46
|
+
name: 'events',
|
|
47
|
+
type: 'folder',
|
|
48
|
+
defaultOpen: true,
|
|
49
|
+
children: [
|
|
50
|
+
{
|
|
51
|
+
name: 'InventoryAdjusted',
|
|
52
|
+
type: 'folder',
|
|
53
|
+
defaultOpen: true,
|
|
54
|
+
children: [{ name: 'index.mdx', highlight: true }],
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'services',
|
|
60
|
+
type: 'folder',
|
|
61
|
+
defaultOpen: true,
|
|
62
|
+
children: [
|
|
63
|
+
{
|
|
64
|
+
name: 'Orders',
|
|
65
|
+
type: 'folder',
|
|
66
|
+
defaultOpen: true,
|
|
67
|
+
children: [
|
|
68
|
+
{
|
|
69
|
+
name: 'events',
|
|
70
|
+
type: 'folder',
|
|
71
|
+
defaultOpen: true,
|
|
72
|
+
children: [
|
|
73
|
+
{
|
|
74
|
+
name: 'OrderPlaced',
|
|
75
|
+
type: 'folder',
|
|
76
|
+
defaultOpen: true,
|
|
77
|
+
children: [{ name: 'index.mdx', highlight: true }],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
]}
|
|
86
|
+
/>
|
|
87
|
+
|
|
88
|
+
The contents are split into two sections, **frontmatter** and the **markdown content**.
|
|
89
|
+
|
|
90
|
+
_Here is an example of what a event markdown file may look like._
|
|
91
|
+
|
|
92
|
+
```md title="/events/InventoryAdjusted/index.mdx (example)"
|
|
93
|
+
---
|
|
94
|
+
# id of your event, used for slugs and references in EventCatalog.
|
|
95
|
+
id: InventoryAdjusted
|
|
96
|
+
|
|
97
|
+
# Display name of the event, rendered in EventCatalog
|
|
98
|
+
name: Inventory Adjusted
|
|
99
|
+
|
|
100
|
+
# Version of the event
|
|
101
|
+
version: 0.0.4
|
|
102
|
+
|
|
103
|
+
# Short summary of your event
|
|
104
|
+
summary: |
|
|
105
|
+
Event with the intent to adjust the inventory
|
|
106
|
+
|
|
107
|
+
# Optional owners, references teams or users
|
|
108
|
+
owners:
|
|
109
|
+
- dboyne
|
|
110
|
+
|
|
111
|
+
# Optional badges, rendered to UI by EventCatalog
|
|
112
|
+
badges:
|
|
113
|
+
- content: New service
|
|
114
|
+
backgroundColor: blue
|
|
115
|
+
textColor: blue
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Overview
|
|
119
|
+
|
|
120
|
+
The `Inventory Adjusted` event represents intent to adjust the inventory of a given item.
|
|
121
|
+
|
|
122
|
+
<NodeGraph />
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Once this file is added, the event will automatically appear across EventCatalog.
|
|
127
|
+
|
|
128
|
+
### Assign producers and consumers to your event
|
|
129
|
+
|
|
130
|
+
To add producers or consumers to your event you can read the [guide on adding messages to services](/docs/development/guides/resources/messages/connect-messages/map-producers-and-consumers).
|
|
131
|
+
|
|
132
|
+
You can also assign your event to one or more [channels](/docs/development/guides/resources/messages/message-channels/adding-messages-to-services) (e.g Kafka, RabbitMQ, AWS SQS, AWS SNS, etc).
|
|
133
|
+
|
|
134
|
+
### Adding schemas to your event
|
|
135
|
+
|
|
136
|
+
You can add any schema format to your event, you can read the [guide on adding schemas to messages](/docs/development/guides/resources/schemas/add-schemas-to-messages).
|
|
137
|
+
|
package/dist/docs/development/guides/resources/messages/03-create-messages/02-create-command.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog commands
|
|
5
|
+
sidebar_label: Create a command
|
|
6
|
+
title: Create a command
|
|
7
|
+
description: Creating and managing commands within EventCatalog.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
import PromptBox from '@site/src/components/MDX/PromptBox';
|
|
12
|
+
import ProjectTree from '@site/src/components/MDX/ProjectTree';
|
|
13
|
+
|
|
14
|
+
A command documents intent. Use commands when one part of your architecture asks another part to do something that may be accepted, rejected, validated, or handled asynchronously (e.g a POST request)
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Adding a new command
|
|
19
|
+
|
|
20
|
+
### Automatic Creation
|
|
21
|
+
|
|
22
|
+
<PromptBox preview="Create a new EventCatalog command">
|
|
23
|
+
Read https://www.eventcatalog.dev/docs/development/guides/resources/messages/create-messages/create-command.md and https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/commands.md then help me create a new EventCatalog command in my catalog.
|
|
24
|
+
|
|
25
|
+
Ask me for the command name, what action it requests, summary, whether it belongs at the root of the catalog or inside a service, domain, or system, and any known invokers, handlers, channels, HTTP operation details, or schema files. Then create the correct commands/{'{Command Name}'}/index.mdx, services/{'{Service Name}'}/commands/{'{Command Name}'}/index.mdx, domains/{'{Domain Name}'}/commands/{'{Command Name}'}/index.mdx, or domains/{'{Domain Name}'}/systems/{'{System Name}'}/services/{'{Service Name}'}/commands/{'{Command Name}'}/index.mdx file with frontmatter and starter markdown, you can add as much markdown as you want that captures the users input.
|
|
26
|
+
|
|
27
|
+
If the catalog does not have any services, domains, or systems, put it into the root commands folder.
|
|
28
|
+
|
|
29
|
+
You can also ask the user if they have a schema of the command, if they provide one, you can add this schema to the command, and set the schemaPath to that schema on the command frontmatter properties.
|
|
30
|
+
|
|
31
|
+
You can use MDX components found here https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/components.md
|
|
32
|
+
</PromptBox>
|
|
33
|
+
|
|
34
|
+
Copy this prompt and paste it into your coding agent. Your agent can help you choose where the command should live, create the right folder structure, and add the first version of the command documentation.
|
|
35
|
+
|
|
36
|
+
### Manual Creation
|
|
37
|
+
|
|
38
|
+
Commands live in a `/commands` folder. This folder can be placed:
|
|
39
|
+
|
|
40
|
+
- At the root of your catalog
|
|
41
|
+
- Inside a specific service folder
|
|
42
|
+
|
|
43
|
+
<ProjectTree
|
|
44
|
+
items={[
|
|
45
|
+
{
|
|
46
|
+
name: 'commands',
|
|
47
|
+
type: 'folder',
|
|
48
|
+
defaultOpen: true,
|
|
49
|
+
children: [
|
|
50
|
+
{
|
|
51
|
+
name: 'UpdateInventory',
|
|
52
|
+
type: 'folder',
|
|
53
|
+
defaultOpen: true,
|
|
54
|
+
children: [{ name: 'index.mdx', highlight: true }],
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'services',
|
|
60
|
+
type: 'folder',
|
|
61
|
+
defaultOpen: true,
|
|
62
|
+
children: [
|
|
63
|
+
{
|
|
64
|
+
name: 'Orders',
|
|
65
|
+
type: 'folder',
|
|
66
|
+
defaultOpen: true,
|
|
67
|
+
children: [
|
|
68
|
+
{
|
|
69
|
+
name: 'commands',
|
|
70
|
+
type: 'folder',
|
|
71
|
+
defaultOpen: true,
|
|
72
|
+
children: [
|
|
73
|
+
{
|
|
74
|
+
name: 'AddOrder',
|
|
75
|
+
type: 'folder',
|
|
76
|
+
defaultOpen: true,
|
|
77
|
+
children: [{ name: 'index.mdx', highlight: true }],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
]}
|
|
86
|
+
/>
|
|
87
|
+
|
|
88
|
+
The contents are split into two sections, **frontmatter** and the **markdown content**.
|
|
89
|
+
|
|
90
|
+
_Here is an example of what a command markdown file may look like._
|
|
91
|
+
|
|
92
|
+
```md title="/commands/UpdateInventory/index.mdx (example)"
|
|
93
|
+
---
|
|
94
|
+
# id of your command, used for slugs and references in EventCatalog.
|
|
95
|
+
id: UpdateInventory
|
|
96
|
+
|
|
97
|
+
# Display name of the command, rendered in EventCatalog
|
|
98
|
+
name: Update Inventory
|
|
99
|
+
|
|
100
|
+
# Version of the command
|
|
101
|
+
version: 0.0.3
|
|
102
|
+
|
|
103
|
+
# Short summary of your command
|
|
104
|
+
summary: |
|
|
105
|
+
Command with the intent to update the inventory
|
|
106
|
+
|
|
107
|
+
# Optional owners, references teams or users
|
|
108
|
+
owners:
|
|
109
|
+
- dboyne
|
|
110
|
+
|
|
111
|
+
# Optional badges, rendered to UI by EventCatalog
|
|
112
|
+
badges:
|
|
113
|
+
- content: New service
|
|
114
|
+
backgroundColor: blue
|
|
115
|
+
textColor: blue
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Overview
|
|
119
|
+
|
|
120
|
+
The `Update Inventory` command represents intent to update the inventory of a given item over HTTP.
|
|
121
|
+
|
|
122
|
+
<NodeGraph />
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Once this file is added, the command will automatically appear across EventCatalog.
|
|
127
|
+
|
|
128
|
+
### Assign producers and consumer to your command
|
|
129
|
+
|
|
130
|
+
To add services that invoke or accept your command you can read the [guide on adding messages to services](/docs/development/guides/resources/messages/connect-messages/map-producers-and-consumers).
|
|
131
|
+
|
|
132
|
+
You can also assign your command to one or more [channels](/docs/development/guides/resources/messages/message-channels/adding-messages-to-services) (e.g HTTP, GraphQL, etc).
|
|
133
|
+
|
|
134
|
+
### Document an HTTP operation
|
|
135
|
+
|
|
136
|
+
If your command maps to an HTTP endpoint, use the `operation` field to document the method, path, and expected status codes.
|
|
137
|
+
|
|
138
|
+
```md title="/commands/UpdateInventory/index.mdx (example)"
|
|
139
|
+
---
|
|
140
|
+
id: UpdateInventory
|
|
141
|
+
# ...
|
|
142
|
+
operation:
|
|
143
|
+
method: PUT
|
|
144
|
+
path: /inventory/{id}
|
|
145
|
+
statusCodes:
|
|
146
|
+
- "200"
|
|
147
|
+
- "400"
|
|
148
|
+
- "404"
|
|
149
|
+
---
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
When defined, the visualiser shows an HTTP method badge, the API path, and colored status code pills on the command node. See the [messages reference](/docs/development/guides/resources/messages/reference#operation) for all available options.
|
|
153
|
+
|
|
154
|
+
### Adding schemas to your command
|
|
155
|
+
|
|
156
|
+
You can add any schema format to your command, you can read the [guide on adding schemas to messages](/docs/development/guides/resources/schemas/add-schemas-to-messages).
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog queries
|
|
5
|
+
sidebar_label: Create a query
|
|
6
|
+
title: Create a query
|
|
7
|
+
description: Creating and managing queries within EventCatalog.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
import PromptBox from '@site/src/components/MDX/PromptBox';
|
|
12
|
+
import ProjectTree from '@site/src/components/MDX/ProjectTree';
|
|
13
|
+
|
|
14
|
+
A query documents a request for information. Use queries when one part of your architecture asks another part to return data without changing state (e.g GET request)
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Adding a new query
|
|
19
|
+
|
|
20
|
+
### Automatic Creation
|
|
21
|
+
|
|
22
|
+
<PromptBox preview="Create a new EventCatalog query">
|
|
23
|
+
Read https://www.eventcatalog.dev/docs/development/guides/resources/messages/create-messages/create-query.md and https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/queries.md then help me create a new EventCatalog query in my catalog.
|
|
24
|
+
|
|
25
|
+
Ask me for the query name, what information it returns, summary, whether it belongs at the root of the catalog or inside a service, domain, or system, and any known callers, handlers, channels, HTTP operation details, or schema files. Then create the correct queries/{'{Query Name}'}/index.mdx, services/{'{Service Name}'}/queries/{'{Query Name}'}/index.mdx, domains/{'{Domain Name}'}/queries/{'{Query Name}'}/index.mdx, or domains/{'{Domain Name}'}/systems/{'{System Name}'}/services/{'{Service Name}'}/queries/{'{Query Name}'}/index.mdx file with frontmatter and starter markdown, you can add as much markdown as you want that captures the users input.
|
|
26
|
+
|
|
27
|
+
If the catalog does not have any services, domains, or systems, put it into the root queries folder.
|
|
28
|
+
|
|
29
|
+
You can also ask the user if they have a schema of the query, if they provide one, you can add this schema to the query, and set the schemaPath to that schema on the query frontmatter properties.
|
|
30
|
+
|
|
31
|
+
You can use MDX components found here https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/components.md
|
|
32
|
+
</PromptBox>
|
|
33
|
+
|
|
34
|
+
Copy this prompt and paste it into your coding agent. Your agent can help you choose where the query should live, create the right folder structure, and add the first version of the query documentation.
|
|
35
|
+
|
|
36
|
+
### Manual Creation
|
|
37
|
+
|
|
38
|
+
Queries live in a `/queries` folder. This folder can be placed:
|
|
39
|
+
|
|
40
|
+
- At the root of your catalog
|
|
41
|
+
- Inside a specific service folder
|
|
42
|
+
|
|
43
|
+
<ProjectTree
|
|
44
|
+
items={[
|
|
45
|
+
{
|
|
46
|
+
name: 'queries',
|
|
47
|
+
type: 'folder',
|
|
48
|
+
defaultOpen: true,
|
|
49
|
+
children: [
|
|
50
|
+
{
|
|
51
|
+
name: 'GetOrder',
|
|
52
|
+
type: 'folder',
|
|
53
|
+
defaultOpen: true,
|
|
54
|
+
children: [{ name: 'index.mdx', highlight: true }],
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'services',
|
|
60
|
+
type: 'folder',
|
|
61
|
+
defaultOpen: true,
|
|
62
|
+
children: [
|
|
63
|
+
{
|
|
64
|
+
name: 'Orders',
|
|
65
|
+
type: 'folder',
|
|
66
|
+
defaultOpen: true,
|
|
67
|
+
children: [
|
|
68
|
+
{
|
|
69
|
+
name: 'queries',
|
|
70
|
+
type: 'folder',
|
|
71
|
+
defaultOpen: true,
|
|
72
|
+
children: [
|
|
73
|
+
{
|
|
74
|
+
name: 'GetOrder',
|
|
75
|
+
type: 'folder',
|
|
76
|
+
defaultOpen: true,
|
|
77
|
+
children: [{ name: 'index.mdx', highlight: true }],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
]}
|
|
86
|
+
/>
|
|
87
|
+
|
|
88
|
+
The contents are split into two sections, **frontmatter** and the **markdown content**.
|
|
89
|
+
|
|
90
|
+
_Here is an example of what a query markdown file may look like._
|
|
91
|
+
|
|
92
|
+
```md title="/queries/GetOrder/index.mdx (example)"
|
|
93
|
+
---
|
|
94
|
+
# id of your query, used for slugs and references in EventCatalog.
|
|
95
|
+
id: GetOrder
|
|
96
|
+
|
|
97
|
+
# Display name of the query, rendered in EventCatalog
|
|
98
|
+
name: Get Order
|
|
99
|
+
|
|
100
|
+
# Version of the query
|
|
101
|
+
version: 0.0.4
|
|
102
|
+
|
|
103
|
+
# Short summary of your query
|
|
104
|
+
summary: |
|
|
105
|
+
Query with the intent to get an order from the system
|
|
106
|
+
|
|
107
|
+
# Optional owners, references teams or users
|
|
108
|
+
owners:
|
|
109
|
+
- dboyne
|
|
110
|
+
|
|
111
|
+
# Optional badges, rendered to UI by EventCatalog
|
|
112
|
+
badges:
|
|
113
|
+
- content: New service
|
|
114
|
+
backgroundColor: blue
|
|
115
|
+
textColor: blue
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Overview
|
|
119
|
+
|
|
120
|
+
The `GetOrder` query represents intent to get an order from the system.
|
|
121
|
+
|
|
122
|
+
<NodeGraph />
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Once this file is added, the query will automatically appear across EventCatalog.
|
|
127
|
+
|
|
128
|
+
## Assign services to your queries
|
|
129
|
+
|
|
130
|
+
To add services that invoke or accept your query you can read the [guide on adding messages to services](/docs/development/guides/resources/messages/connect-messages/map-producers-and-consumers).
|
|
131
|
+
|
|
132
|
+
You can also assign your query to one or more [channels](/docs/development/guides/resources/messages/message-channels/adding-messages-to-services) (e.g HTTP, GraphQL, etc).
|
|
133
|
+
|
|
134
|
+
<AddedIn version="3.18.0" />
|
|
135
|
+
|
|
136
|
+
## Document an HTTP operation
|
|
137
|
+
|
|
138
|
+
If your query maps to an HTTP endpoint, use the `operation` field to document the method, path, and expected status codes.
|
|
139
|
+
|
|
140
|
+
```md title="/queries/GetOrder/index.mdx (example)"
|
|
141
|
+
---
|
|
142
|
+
id: GetOrder
|
|
143
|
+
# ...
|
|
144
|
+
operation:
|
|
145
|
+
method: GET
|
|
146
|
+
path: /orders/{id}
|
|
147
|
+
statusCodes:
|
|
148
|
+
- "200"
|
|
149
|
+
- "404"
|
|
150
|
+
---
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
When defined, the visualiser shows an HTTP method badge, the API path, and colored status code pills on the query node. See the [messages reference](/docs/development/guides/resources/messages/reference#operation) for all available options.
|
|
154
|
+
|
|
155
|
+
## Adding schemas to your query
|
|
156
|
+
|
|
157
|
+
You can add any schema format to your query, you can read the [guide on adding schemas to messages](/docs/development/guides/resources/schemas/add-schemas-to-messages).
|
|
158
|
+
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
keywords:
|
|
3
3
|
- EventCatalog events
|
|
4
|
-
sidebar_label:
|
|
5
|
-
title:
|
|
4
|
+
sidebar_label: Create a draft message
|
|
5
|
+
title: Create a draft message
|
|
6
6
|
description: Creating and managing draft messages within EventCatalog.
|
|
7
7
|
sidebar_position: 4
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
11
|
|
|
12
|
-
<AddedIn version="2.48.4" />
|
|
13
|
-
|
|
14
12
|
Sometimes, you may want to create a message without immediately publishing it to production. Draft messages allow you to collaborate, gather feedback, or prepare for future changes—without exposing the message as "live" in your catalog
|
|
15
13
|
|
|
16
14
|
**Common Use Cases**
|
|
@@ -52,12 +50,12 @@ draft:
|
|
|
52
50
|
When you mark a message as draft, it will show in the UI as a draft message.
|
|
53
51
|
|
|
54
52
|
|
|
55
|
-

|
|
56
54
|
|
|
57
55
|
### Filtering for Draft Messages
|
|
58
56
|
|
|
59
57
|
If you want to quickly find draft messages, in your architecture, you can use the [**discover** feature](https://demo.eventcatalog.dev/discover/{events|commands|queries}) and filter for draft messages.
|
|
60
58
|
|
|
61
|
-

|
|
62
60
|
|
|
63
|
-
This will remove all resources, and only show the draft messages.
|
|
61
|
+
This will remove all resources, and only show the draft messages.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
keywords:
|
|
3
|
+
- EventCatalog commands
|
|
4
|
+
sidebar_label: Map producers and consumers
|
|
5
|
+
title: Map producers and consumers
|
|
6
|
+
description: Understand how to link messages to services.
|
|
7
|
+
sidebar_position: 1
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
[Services](/docs/development/guides/resources/services/introduction) or Domains can either **send** or **receive** events, commands and queries.
|
|
11
|
+
|
|
12
|
+
To add messages to resource you need to reference them within your resource itself by adding the `id`. The `version` is optional and if not provided the latest version will be used.
|
|
13
|
+
|
|
14
|
+
```md title="/services/Orders/index.mdx (example)"
|
|
15
|
+
---
|
|
16
|
+
id: OrderService
|
|
17
|
+
... # other service frontmatter
|
|
18
|
+
receives:
|
|
19
|
+
# id of the message this service receives
|
|
20
|
+
- id: OrderPlaced
|
|
21
|
+
# (optional) The version of the message you want to add
|
|
22
|
+
# If no version is given latest version is used.
|
|
23
|
+
version: 0.0.1
|
|
24
|
+
sends:
|
|
25
|
+
# id of the message this service sends
|
|
26
|
+
- id: PaymentProcessed
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
<!-- Markdown contents... -->
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
If you don't specify a version the latest version will be used.
|