@eventcatalog/core 4.1.2 → 4.1.4

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.
Files changed (440) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/count-resources.cjs +8 -2
  4. package/dist/analytics/count-resources.js +1 -1
  5. package/dist/analytics/log-build.cjs +12 -4
  6. package/dist/analytics/log-build.js +4 -4
  7. package/dist/{chunk-2HP7DWTG.js → chunk-B3HQOT3D.js} +1 -1
  8. package/dist/{chunk-6MLMZ7C6.js → chunk-CAYWT7E4.js} +1 -1
  9. package/dist/{chunk-DAOXTQVS.js → chunk-K2XIENVT.js} +8 -2
  10. package/dist/{chunk-XDI5KMKL.js → chunk-RAB6LGHN.js} +5 -3
  11. package/dist/{chunk-BAPUZSRK.js → chunk-TCK7WEEE.js} +1 -1
  12. package/dist/{chunk-UKC6BKFK.js → chunk-ZLQUICJD.js} +1 -1
  13. package/dist/constants.cjs +1 -1
  14. package/dist/constants.js +1 -1
  15. package/dist/docs/api/02-config.md +166 -14
  16. package/dist/docs/api/08-code-blocks.md +1 -1
  17. package/dist/docs/development/00-why-eventcatalog.md +29 -40
  18. package/dist/docs/development/01-fundamentals.md +58 -7
  19. package/dist/docs/development/01-getting-started/configuration-overview.md +1 -93
  20. package/dist/docs/development/01-getting-started/develop-and-build.md +4 -3
  21. package/dist/docs/development/01-getting-started/installation.md +3 -3
  22. package/dist/docs/development/01-getting-started/project-structure.md +74 -141
  23. package/dist/docs/development/ask-your-architecture/01-intro.md +8 -76
  24. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +4 -3
  25. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +2 -1
  26. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +1 -3
  27. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +2 -2
  28. package/dist/docs/development/{developer-tools/llms.txt.md → ask-your-architecture/02-llms.txt.md} +1 -2
  29. package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +2 -2
  30. package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +2 -2
  31. package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +2 -25
  32. package/dist/docs/development/{developer-tools/schemas.txt.md → ask-your-architecture/03-schemas.txt.md} +1 -2
  33. package/dist/docs/development/ask-your-architecture/04-agents/01-overview.md +27 -0
  34. package/dist/docs/development/ask-your-architecture/04-agents/02-code-to-docs.md +124 -0
  35. package/dist/docs/development/ask-your-architecture/04-agents/03-breaking-changes.md +170 -0
  36. package/dist/docs/development/ask-your-architecture/04-agents/_category_.json +12 -0
  37. package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/_category_.json +2 -2
  38. package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/03-installation.md +1 -1
  39. package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/_category_.json +2 -1
  40. package/dist/docs/development/ask-your-architecture/_category_.json +2 -2
  41. package/dist/docs/development/authentication/01-introduction.md +3 -3
  42. package/dist/docs/development/authentication/02-enabling-authentication.md +2 -2
  43. package/dist/docs/development/authentication/providers/03-setting-up-github.md +25 -1
  44. package/dist/docs/development/authentication/providers/03a-setting-up-google.md +0 -1
  45. package/dist/docs/development/bring-your-own-documentation/01-introduction.md +29 -25
  46. package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +9 -8
  47. package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +70 -32
  48. package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +4 -1
  49. package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +2 -1
  50. package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +1 -1
  51. package/dist/docs/development/bring-your-own-documentation/diagrams/01-introduction.md +56 -0
  52. package/dist/docs/development/bring-your-own-documentation/diagrams/02-creating-diagrams.md +262 -0
  53. package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/03-referencing-diagrams.md +3 -87
  54. package/dist/docs/development/bring-your-own-documentation/diagrams/05-comparing-diagrams.md +25 -0
  55. package/dist/docs/development/bring-your-own-documentation/diagrams/07-reference.md +144 -0
  56. package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/_category_.json +2 -1
  57. package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +2 -4
  58. package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +138 -43
  59. package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +38 -9
  60. package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +62 -13
  61. package/dist/docs/development/components/04-snippets.md +0 -2
  62. package/dist/docs/development/components/05-using-components.md +4 -16
  63. package/dist/docs/development/components/07-resource-references.md +1 -1
  64. package/dist/docs/development/components/_category_.json +3 -3
  65. package/dist/docs/development/components/components/01-accordian.md +1 -1
  66. package/dist/docs/development/components/components/03-admonitions.md +1 -1
  67. package/dist/docs/development/components/components/04-agent-tools.md +2 -2
  68. package/dist/docs/development/components/components/05-attachments.md +1 -1
  69. package/dist/docs/development/components/components/07-design.md +1 -2
  70. package/dist/docs/development/components/components/08-entitymap.md +2 -2
  71. package/dist/docs/development/components/components/09-flow.md +1 -1
  72. package/dist/docs/development/components/components/10-link.md +1 -1
  73. package/dist/docs/development/components/components/11-mermaid-file-loader.md +1 -1
  74. package/dist/docs/development/components/components/12-message-table.md +1 -1
  75. package/dist/docs/development/components/components/13-nodegraph.md +1 -1
  76. package/dist/docs/development/components/components/14-openapi.md +3 -3
  77. package/dist/docs/development/components/components/15-prompt.md +2 -6
  78. package/dist/docs/development/components/components/16-remote-schema.md +5 -3
  79. package/dist/docs/development/components/components/17-resource-group-table.md +1 -1
  80. package/dist/docs/development/components/components/18-resource-link.md +1 -1
  81. package/dist/docs/development/components/components/19-schema.md +1 -1
  82. package/dist/docs/development/components/components/20-schema-viewer.md +1 -1
  83. package/dist/docs/development/components/components/21-steps.md +1 -1
  84. package/dist/docs/development/components/components/22-tabs.md +1 -1
  85. package/dist/docs/development/components/components/23-tiles.md +1 -1
  86. package/dist/docs/development/components/components/24-visibility.md +1 -1
  87. package/dist/docs/development/components/components/_category_.json +1 -1
  88. package/dist/docs/development/components/custom-components/01-introduction.md +74 -0
  89. package/dist/docs/development/components/custom-components/02-create-your-first-component.md +71 -0
  90. package/dist/docs/development/components/custom-components/03-pass-data-into-components.md +86 -0
  91. package/dist/docs/development/components/custom-components/04-fetch-data-in-components.md +191 -0
  92. package/dist/docs/development/components/custom-components/05-style-components.md +60 -0
  93. package/dist/docs/development/components/custom-components/06-add-client-side-scripts.md +67 -0
  94. package/dist/docs/development/components/custom-components/07-reference.md +115 -0
  95. package/dist/docs/development/components/custom-components/_category_.json +11 -0
  96. package/dist/docs/development/components/{external-diagram-embeds/03-drawio.md → diagram-syntax/01-drawio.md} +2 -3
  97. package/dist/docs/development/components/{external-diagram-embeds/04-figjam.md → diagram-syntax/02-figjam.md} +1 -2
  98. package/dist/docs/development/components/diagram-syntax/{04-icepanel.md → 03-icepanel.md} +1 -2
  99. package/dist/docs/development/components/diagram-syntax/04-likec4.md +136 -0
  100. package/dist/docs/development/components/{external-diagram-embeds/02-lucid.md → diagram-syntax/05-lucid.md} +2 -3
  101. package/dist/docs/development/components/diagram-syntax/{01-mermaid.md → 06-mermaid.md} +1 -1
  102. package/dist/docs/development/components/{external-diagram-embeds/01-miro.md → diagram-syntax/07-miro.md} +2 -3
  103. package/dist/docs/development/components/diagram-syntax/{02-plantuml.md → 08-plantuml.md} +3 -3
  104. package/dist/docs/development/components/diagram-syntax/{03-structurizr.md → 09-structurizr.md} +1 -1
  105. package/dist/docs/development/components/diagram-syntax/_category_.json +3 -3
  106. package/dist/docs/development/customization/01-customize-landing-page.md +7 -15
  107. package/dist/docs/development/customization/02-themes.md +1 -0
  108. package/dist/docs/development/customization/03-application-sidebar.md +246 -0
  109. package/dist/docs/development/customization/03-search.md +2 -2
  110. package/dist/docs/development/customization/{customize-sidebars/01-documentation-sidebar.md → 04-documentation-sidebar.md} +4 -4
  111. package/dist/docs/development/customization/05-custom-pages-and-api-routes/01-introduction.md +94 -0
  112. package/dist/docs/development/customization/05-custom-pages-and-api-routes/02-create-a-custom-page.md +177 -0
  113. package/dist/docs/development/customization/05-custom-pages-and-api-routes/03-create-an-api-route.md +128 -0
  114. package/dist/docs/development/customization/05-custom-pages-and-api-routes/04-reference.md +138 -0
  115. package/dist/docs/development/customization/05-custom-pages-and-api-routes/_category_.json +12 -0
  116. package/dist/docs/development/customization/06-customize-tables.md +3 -3
  117. package/dist/docs/development/customization/07-resource-icons.md +190 -0
  118. package/dist/docs/development/customization/_category_.json +1 -1
  119. package/dist/docs/development/customization/customize-visualizer/_category_.json +2 -2
  120. package/dist/docs/development/deployment/hosting-options.md +1 -2
  121. package/dist/docs/development/developer-tools/api-catalog.md +1 -1
  122. package/dist/docs/development/developer-tools/eventcatalog-linter.md +137 -2
  123. package/dist/docs/development/governance/_category_.json +1 -0
  124. package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +2 -2
  125. package/dist/docs/development/guides/98-versioning-resources.md +192 -0
  126. package/dist/docs/development/guides/99-adding-analytics.md +0 -1
  127. package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +2 -2
  128. package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +2 -2
  129. package/dist/docs/development/guides/changelogs/04-reference.md +77 -0
  130. package/dist/docs/development/guides/changelogs/_category_.json +2 -2
  131. package/dist/docs/development/guides/domains/01-introduction.md +14 -9
  132. package/dist/docs/development/guides/domains/{02-creating-domains/02-adding-domains.md → 02-create-domain.md} +32 -16
  133. package/dist/docs/development/guides/domains/{02-creating-domains/02a-subdomains.md → 03-model-subdomains.md} +22 -10
  134. package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +1 -1
  135. package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +2 -6
  136. package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +2 -2
  137. package/dist/docs/development/guides/domains/04-add-resources-to-domains/01-add-systems-to-domains.md +154 -0
  138. 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
  139. 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
  140. 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
  141. package/dist/docs/development/guides/domains/04-add-resources-to-domains/05-add-entities-to-domains.md +115 -0
  142. package/dist/docs/development/guides/domains/04-add-resources-to-domains/_category_.json +11 -0
  143. package/dist/docs/development/guides/domains/{08-domain-integration-map.md → 06-visualize-domains/01-domain-integration-map.md} +5 -6
  144. package/dist/docs/development/guides/domains/06-visualize-domains/_category_.json +12 -0
  145. package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/01-versioning.md → 07-version-domains.md} +5 -6
  146. package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/02-changelog.md → 08-add-changelog.md} +6 -7
  147. package/dist/docs/development/guides/domains/09-reference.md +517 -0
  148. package/dist/docs/development/guides/owners/01-what-are-teams-and-users.md +46 -0
  149. package/dist/docs/development/guides/owners/02-create-team.md +110 -0
  150. package/dist/docs/development/guides/owners/03-create-user.md +99 -0
  151. package/dist/docs/development/guides/owners/05-teams-reference.md +144 -0
  152. package/dist/docs/development/guides/owners/06-users-reference.md +128 -0
  153. package/dist/docs/development/guides/owners/_category_.json +2 -2
  154. package/dist/docs/development/guides/owners/automated-teams-and-users/_category_.json +11 -0
  155. package/dist/docs/development/guides/owners/automated-teams-and-users/create-your-own-connector.md +108 -0
  156. package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-github.md +156 -0
  157. package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-microsoft-entra.md +253 -0
  158. package/dist/docs/development/guides/resources/_category_.json +11 -0
  159. package/dist/docs/development/guides/resources/adrs/01-introduction.md +37 -0
  160. package/dist/docs/development/guides/resources/adrs/02-creating-adrs.md +211 -0
  161. package/dist/docs/development/guides/resources/adrs/03-linking-resources.md +52 -0
  162. package/dist/docs/development/guides/resources/adrs/04-relationships.md +80 -0
  163. package/dist/docs/development/guides/resources/adrs/06-reference.md +247 -0
  164. package/dist/docs/development/guides/resources/adrs/_category_.json +11 -0
  165. package/dist/docs/development/guides/{agents → resources/agents}/01-introduction.md +1 -16
  166. package/dist/docs/development/guides/resources/agents/02-create-agent.md +188 -0
  167. package/dist/docs/development/guides/{agents → resources/agents}/03-adding-tools.md +3 -4
  168. package/dist/docs/development/guides/{agents → resources/agents}/04-model-metadata.md +2 -2
  169. package/dist/docs/development/guides/{agents/adding-to-agents/01-messages.md → resources/agents/05-add-messages-to-agents.md} +5 -4
  170. package/dist/docs/development/guides/{agents/adding-to-agents/02-datastores.md → resources/agents/06-add-data-stores-to-agents.md} +4 -15
  171. package/dist/docs/development/guides/resources/agents/11-reference.md +238 -0
  172. package/dist/docs/development/guides/{agents → resources/agents}/_category_.json +2 -2
  173. package/dist/docs/development/guides/resources/data/01-introduction.md +15 -0
  174. package/dist/docs/development/guides/resources/data/02-adding-data.md +184 -0
  175. package/dist/docs/development/guides/resources/data/03-add-read-write-relationships.md +128 -0
  176. package/dist/docs/development/guides/resources/data/04-reference.md +211 -0
  177. package/dist/docs/development/guides/{data → resources/data}/_category_.json +3 -3
  178. package/dist/docs/development/guides/{data-products → resources/data-products}/01-introduction.md +1 -17
  179. package/dist/docs/development/guides/resources/data-products/02-adding-data-products.md +174 -0
  180. package/dist/docs/development/guides/{data-products → resources/data-products}/03-inputs-and-outputs.md +4 -6
  181. package/dist/docs/development/guides/{data-products → resources/data-products}/04-contracts.md +2 -4
  182. package/dist/docs/development/guides/resources/data-products/07-reference.md +201 -0
  183. package/dist/docs/development/guides/{data-products → resources/data-products}/_category_.json +3 -3
  184. package/dist/docs/development/guides/resources/entities/01-introduction.md +26 -0
  185. package/dist/docs/development/guides/resources/entities/02-create-entity.md +162 -0
  186. package/dist/docs/development/guides/resources/entities/03-model-entity-relationships.md +115 -0
  187. package/dist/docs/development/guides/resources/entities/04-add-entities-to-resources.md +188 -0
  188. package/dist/docs/development/guides/resources/entities/05-entity-maps.md +48 -0
  189. package/dist/docs/development/guides/resources/entities/06-reference.md +273 -0
  190. package/dist/docs/development/guides/{domains/05-entities → resources/entities}/_category_.json +4 -4
  191. package/dist/docs/development/guides/resources/flows/01-introduction.md +28 -0
  192. package/dist/docs/development/guides/resources/flows/02-create-flow.md +304 -0
  193. package/dist/docs/development/guides/{flows/03-flow-nodes.md → resources/flows/03-model-flow-steps.md} +6 -6
  194. package/dist/docs/development/guides/resources/flows/04-add-flows-to-resources.md +149 -0
  195. package/dist/docs/development/guides/resources/flows/06-reference.md +226 -0
  196. package/dist/docs/development/guides/{flows → resources/flows}/_category_.json +3 -3
  197. package/dist/docs/development/guides/resources/messages/01-what-are-messages.md +104 -0
  198. package/dist/docs/development/guides/{messages/events/01-introduction.md → resources/messages/02-message-types/01-events.md} +3 -7
  199. package/dist/docs/development/guides/{messages/commands/01-introduction.md → resources/messages/02-message-types/02-commands.md} +4 -7
  200. package/dist/docs/development/guides/resources/messages/02-message-types/03-queries.md +20 -0
  201. package/dist/docs/development/guides/resources/messages/02-message-types/_category_.json +11 -0
  202. package/dist/docs/development/guides/resources/messages/03-create-messages/01-create-event.md +137 -0
  203. package/dist/docs/development/guides/resources/messages/03-create-messages/02-create-command.md +156 -0
  204. package/dist/docs/development/guides/resources/messages/03-create-messages/03-create-query.md +158 -0
  205. package/dist/docs/development/guides/{messages/common/02-draft-messages.md → resources/messages/03-create-messages/04-create-draft-message.md} +5 -7
  206. package/dist/docs/development/guides/resources/messages/03-create-messages/_category_.json +11 -0
  207. package/dist/docs/development/guides/resources/messages/04-connect-messages/01-map-producers-and-consumers.md +32 -0
  208. package/dist/docs/development/guides/resources/messages/04-connect-messages/02-shared-messages-across-boundaries.md +170 -0
  209. package/dist/docs/development/guides/{messages/common/09-grouping-messages.md → resources/messages/04-connect-messages/03-group-messages.md} +2 -4
  210. package/dist/docs/development/guides/resources/messages/04-connect-messages/_category_.json +11 -0
  211. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/01-introduction.md +4 -28
  212. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/02-adding-channels.md +77 -62
  213. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/04-adding-messages-to-services.md +10 -14
  214. package/dist/docs/development/guides/resources/messages/04-message-channels/05-reference.md +177 -0
  215. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/_category_.json +3 -3
  216. package/dist/docs/development/guides/{messages/common/04-versioning.md → resources/messages/08-versioning-and-lifecycle/01-version-messages.md} +39 -4
  217. package/dist/docs/development/guides/{messages/common/05-changelog.md → resources/messages/08-versioning-and-lifecycle/02-add-changelog.md} +5 -6
  218. package/dist/docs/development/guides/{messages/common/02-deprecating.md → resources/messages/08-versioning-and-lifecycle/03-deprecate-messages.md} +4 -4
  219. package/dist/docs/development/guides/resources/messages/08-versioning-and-lifecycle/_category_.json +11 -0
  220. package/dist/docs/development/guides/{messages/common/02-examples.md → resources/messages/09-add-usage-examples.md} +59 -22
  221. package/dist/docs/development/guides/resources/messages/10-reference.md +439 -0
  222. package/dist/docs/development/guides/resources/messages/_category_.json +11 -0
  223. package/dist/docs/development/guides/resources/schemas/01-what-are-schemas-and-specifications.md +25 -0
  224. package/dist/docs/development/guides/resources/schemas/02-add-schemas-to-messages.md +63 -0
  225. package/dist/docs/development/guides/resources/schemas/03-add-schemas-to-data-stores.md +90 -0
  226. 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
  227. 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
  228. 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
  229. package/dist/docs/development/guides/resources/schemas/03-add-specifications-to-services/_category_.json +11 -0
  230. package/dist/docs/development/guides/{schemas/02-schema-explorer.md → resources/schemas/04-explore-schemas/01-schema-explorer.md} +3 -26
  231. package/dist/docs/development/guides/{schemas/06-fields-explorer.md → resources/schemas/04-explore-schemas/02-fields-explorer.md} +8 -10
  232. package/dist/docs/development/guides/{schemas/05-field-usage.md → resources/schemas/04-explore-schemas/03-consumer-field-usage.md} +1 -3
  233. package/dist/docs/development/guides/resources/schemas/04-explore-schemas/_category_.json +11 -0
  234. package/dist/docs/development/guides/{schemas/03-schema-api.md → resources/schemas/05-schema-api.md} +6 -11
  235. package/dist/docs/development/guides/{schemas/04-schema-mcp.md → resources/schemas/06-schema-mcp.md} +5 -6
  236. package/dist/docs/development/guides/resources/schemas/07-reference.md +23 -0
  237. package/dist/docs/development/guides/{schemas → resources/schemas}/_category_.json +3 -3
  238. package/dist/docs/development/guides/resources/services/01-introduction.md +27 -0
  239. package/dist/docs/development/guides/resources/services/02-create-service.md +195 -0
  240. package/dist/docs/development/guides/resources/services/03-create-external-service.md +52 -0
  241. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/01-add-messages-to-services.md +142 -0
  242. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/02-add-data-stores-to-services.md +45 -0
  243. 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
  244. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/_category_.json +11 -0
  245. 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
  246. package/dist/docs/development/guides/{services/ownership-and-components/02-components.md → resources/services/06-ownership-and-components/02-use-components.md} +4 -4
  247. package/dist/docs/development/guides/resources/services/06-ownership-and-components/_category_.json +11 -0
  248. package/dist/docs/development/guides/{services/versioning-and-lifecycle/01-versioning.md → resources/services/07-versioning-and-lifecycle/01-version-services.md} +4 -3
  249. package/dist/docs/development/guides/{services/versioning-and-lifecycle/02-changelog.md → resources/services/07-versioning-and-lifecycle/02-add-changelog.md} +5 -5
  250. package/dist/docs/development/guides/{services/versioning-and-lifecycle/03-deprecating.md → resources/services/07-versioning-and-lifecycle/03-deprecate-services.md} +5 -4
  251. package/dist/docs/development/guides/resources/services/07-versioning-and-lifecycle/_category_.json +11 -0
  252. package/dist/docs/development/guides/resources/services/08-reference.md +295 -0
  253. package/dist/docs/development/guides/{services → resources/services}/_category_.json +3 -3
  254. package/dist/docs/development/guides/systems/01-introduction.md +119 -0
  255. package/dist/docs/development/guides/systems/02-create-system.md +127 -0
  256. package/dist/docs/development/guides/systems/03-add-resources-to-systems.md +157 -0
  257. package/dist/docs/development/guides/systems/04-model-relationships-and-actors.md +86 -0
  258. package/dist/docs/development/guides/systems/05-system-context-maps.md +67 -0
  259. package/dist/docs/development/guides/systems/06-reference.md +329 -0
  260. package/dist/docs/development/guides/{messages/queries → systems}/_category_.json +5 -5
  261. package/dist/docs/development/license-keys/_category_.json +1 -1
  262. package/dist/docs/development/license-keys/integrations.md +20 -9
  263. package/dist/docs/development/license-keys/overview.md +7 -18
  264. package/dist/docs/development/license-keys/plans.md +9 -18
  265. package/dist/docs/development/upgrading/v2.md +1 -2
  266. package/dist/docs/development/upgrading/v3.md +2 -3
  267. package/dist/docs/development/upgrading/v4.md +377 -0
  268. package/dist/docs/editor/00-overview.md +3 -3
  269. package/dist/docs/editor/01-first-edit.md +1 -1
  270. package/dist/docs/editor/explanation/markdown-mdx-git.md +1 -1
  271. package/dist/docs/editor/how-to/add-schemas-and-specifications.md +5 -5
  272. package/dist/docs/editor/how-to/edit-resource.md +1 -1
  273. package/dist/docs/editor/how-to/use-flow-editor.md +5 -5
  274. package/dist/docs/editor/how-to/use-slash-commands.md +2 -2
  275. package/dist/docs/editor/reference/supported-content.md +2 -2
  276. package/dist/docs/editor/reference/supported-resources.md +14 -14
  277. package/dist/docs/plugins/amazon-apigateway/00-intro.md +8 -8
  278. package/dist/docs/plugins/amazon-apigateway/01-installation.md +10 -12
  279. package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +5 -4
  280. package/dist/docs/plugins/apicurio/00-intro.md +8 -8
  281. package/dist/docs/plugins/apicurio/01-installation.md +12 -2
  282. package/dist/docs/plugins/apicurio/02-plugin-configuration.md +7 -9
  283. package/dist/docs/plugins/apicurio/03-features.md +2 -2
  284. package/dist/docs/plugins/asyncapi/00-intro.md +8 -8
  285. package/dist/docs/plugins/asyncapi/01-installation.md +10 -11
  286. package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +5 -5
  287. package/dist/docs/plugins/asyncapi/03-features.md +9 -9
  288. package/dist/docs/plugins/aws-glue-registry/00-intro.md +8 -8
  289. package/dist/docs/plugins/aws-glue-registry/00a-installation.md +16 -6
  290. package/dist/docs/plugins/aws-glue-registry/01-features.md +2 -2
  291. package/dist/docs/plugins/azure-schema-registry/00-intro.md +10 -10
  292. package/dist/docs/plugins/azure-schema-registry/01-installation.md +15 -5
  293. package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +4 -4
  294. package/dist/docs/plugins/azure-schema-registry/04-examples.md +1 -1
  295. package/dist/docs/plugins/backstage/00-intro.md +3 -3
  296. package/dist/docs/plugins/backstage/01-installation.md +7 -15
  297. package/dist/docs/plugins/confluent-schema-registry/00-intro.md +8 -8
  298. package/dist/docs/plugins/confluent-schema-registry/01-installation.md +12 -4
  299. package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +3 -3
  300. package/dist/docs/plugins/eventbridge/00a-installation.md +21 -21
  301. package/dist/docs/plugins/eventbridge/01-features.md +3 -3
  302. package/dist/docs/plugins/eventbridge/03-api.md +5 -5
  303. package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +6 -6
  304. package/dist/docs/plugins/eventcatalog-federation/01-installation.md +10 -11
  305. package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +2 -2
  306. package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +5 -6
  307. package/dist/docs/plugins/github/00-intro.md +8 -8
  308. package/dist/docs/plugins/github/01-installation.md +12 -5
  309. package/dist/docs/plugins/graphql/00-intro.md +8 -8
  310. package/dist/docs/plugins/graphql/01-installation.md +11 -11
  311. package/dist/docs/plugins/graphql/02-plugin-configuration.md +3 -4
  312. package/dist/docs/plugins/graphql/03-features.md +4 -4
  313. package/dist/docs/plugins/openapi/00-intro.md +8 -8
  314. package/dist/docs/plugins/openapi/01-installation.md +10 -11
  315. package/dist/docs/plugins/openapi/02-plugin-configuration.md +7 -6
  316. package/dist/docs/plugins/openapi/03-features.md +6 -7
  317. package/dist/docs/tutorial/01-start-here.md +75 -0
  318. package/dist/docs/tutorial/02-install-eventcatalog.md +98 -0
  319. package/dist/docs/tutorial/04-add-ownership.md +184 -0
  320. package/dist/docs/tutorial/04-create-event.md +176 -0
  321. package/dist/docs/tutorial/05-create-a-domain.md +133 -0
  322. package/dist/docs/tutorial/05-publish-event.md +82 -0
  323. package/dist/docs/tutorial/06-consume-event.md +130 -0
  324. package/dist/docs/tutorial/06-create-a-service.md +99 -0
  325. package/dist/docs/tutorial/11-visualize-your-catalog.md +105 -0
  326. package/dist/docs/tutorial/12-build-your-catalog.md +79 -0
  327. package/dist/docs/tutorial/14-next-steps.md +108 -0
  328. package/dist/docs/tutorial/_category_.json +12 -0
  329. package/dist/eventcatalog.cjs +12 -4
  330. package/dist/eventcatalog.js +10 -10
  331. package/dist/generate.cjs +1 -1
  332. package/dist/generate.js +3 -3
  333. package/dist/utils/cli-logger.cjs +1 -1
  334. package/dist/utils/cli-logger.js +2 -2
  335. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +4 -1
  336. package/eventcatalog/src/toolkit/layouts/Layout.astro +7 -1
  337. package/package.json +1 -1
  338. package/dist/docs/api/03-domain-api.md +0 -440
  339. package/dist/docs/api/04-service-api.md +0 -414
  340. package/dist/docs/api/05-command-api.md +0 -365
  341. package/dist/docs/api/06-event-api.md +0 -364
  342. package/dist/docs/api/06-query-api.md +0 -362
  343. package/dist/docs/api/08-channel-api.md +0 -363
  344. package/dist/docs/api/09-flow-api.md +0 -446
  345. package/dist/docs/api/10-entity-api.md +0 -330
  346. package/dist/docs/api/11-data-api.md +0 -273
  347. package/dist/docs/api/12-data-product-api.md +0 -445
  348. package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +0 -68
  349. package/dist/docs/development/components/external-diagram-embeds/_category_.json +0 -12
  350. package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +0 -73
  351. package/dist/docs/development/customization/custom-components/01-introduction.md +0 -28
  352. package/dist/docs/development/customization/custom-components/02-adding-components.md +0 -145
  353. package/dist/docs/development/customization/custom-components/03-component-styling.md +0 -27
  354. package/dist/docs/development/customization/custom-components/04-javascript-components.md +0 -32
  355. package/dist/docs/development/customization/custom-components/_category_.json +0 -11
  356. package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +0 -85
  357. package/dist/docs/development/customization/customize-sidebars/_category_.json +0 -11
  358. package/dist/docs/development/developer-tools/github-action.md +0 -147
  359. package/dist/docs/development/guides/12-customize-your-sidebar.md +0 -12
  360. package/dist/docs/development/guides/agents/02-adding-agents.md +0 -152
  361. package/dist/docs/development/guides/agents/adding-to-agents/_category_.json +0 -10
  362. package/dist/docs/development/guides/agents/ownership/01-owners.md +0 -67
  363. package/dist/docs/development/guides/agents/ownership/_category_.json +0 -11
  364. package/dist/docs/development/guides/agents/versioning-and-lifecycle/01-versioning.md +0 -48
  365. package/dist/docs/development/guides/agents/versioning-and-lifecycle/02-changelog.md +0 -40
  366. package/dist/docs/development/guides/agents/versioning-and-lifecycle/03-deprecating.md +0 -41
  367. package/dist/docs/development/guides/agents/versioning-and-lifecycle/_category_.json +0 -11
  368. package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +0 -44
  369. package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +0 -16
  370. package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +0 -11
  371. package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +0 -31
  372. package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +0 -56
  373. package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +0 -11
  374. package/dist/docs/development/guides/data/01-introduction.md +0 -34
  375. package/dist/docs/development/guides/data/02-adding-data.md +0 -86
  376. package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +0 -73
  377. package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +0 -45
  378. package/dist/docs/development/guides/data/ownership-and-components/02-components.md +0 -17
  379. package/dist/docs/development/guides/data/ownership-and-components/_category_.json +0 -11
  380. package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +0 -32
  381. package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +0 -57
  382. package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +0 -71
  383. package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +0 -11
  384. package/dist/docs/development/guides/data-products/02-adding-data-products.md +0 -157
  385. package/dist/docs/development/guides/data-products/05-versioning.md +0 -240
  386. package/dist/docs/development/guides/data-products/06-adding-to-domains.md +0 -52
  387. package/dist/docs/development/guides/diagrams/01-introduction.md +0 -78
  388. package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +0 -195
  389. package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +0 -204
  390. package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +0 -145
  391. package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +0 -165
  392. package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +0 -11
  393. package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +0 -10
  394. package/dist/docs/development/guides/domains/05-entities/01-introduction.md +0 -24
  395. package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +0 -157
  396. package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +0 -30
  397. package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +0 -134
  398. package/dist/docs/development/guides/flows/01-introduction.md +0 -36
  399. package/dist/docs/development/guides/flows/02-adding-flows.md +0 -198
  400. package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +0 -42
  401. package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +0 -43
  402. package/dist/docs/development/guides/flows/06-versioning.md +0 -27
  403. package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +0 -171
  404. package/dist/docs/development/guides/messages/01-overview.md +0 -57
  405. package/dist/docs/development/guides/messages/_category_.json +0 -11
  406. package/dist/docs/development/guides/messages/commands/02-adding-commands.md +0 -131
  407. package/dist/docs/development/guides/messages/commands/_category_.json +0 -11
  408. package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +0 -37
  409. package/dist/docs/development/guides/messages/common/02-adding-schemas.md +0 -58
  410. package/dist/docs/development/guides/messages/common/03-owners.md +0 -40
  411. package/dist/docs/development/guides/messages/common/07-components.md +0 -12
  412. package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +0 -70
  413. package/dist/docs/development/guides/messages/common/_category_.json +0 -11
  414. package/dist/docs/development/guides/messages/events/02-adding-events.md +0 -130
  415. package/dist/docs/development/guides/messages/events/_category_.json +0 -11
  416. package/dist/docs/development/guides/messages/queries/01-introduction.md +0 -25
  417. package/dist/docs/development/guides/messages/queries/02-adding-queries.md +0 -130
  418. package/dist/docs/development/guides/owners/teams/01-introduction.md +0 -21
  419. package/dist/docs/development/guides/owners/teams/02-adding-teams.md +0 -73
  420. package/dist/docs/development/guides/owners/teams/_category_.json +0 -11
  421. package/dist/docs/development/guides/owners/users/01-introduction.md +0 -20
  422. package/dist/docs/development/guides/owners/users/02-adding-users.md +0 -69
  423. package/dist/docs/development/guides/owners/users/_category_.json +0 -11
  424. package/dist/docs/development/guides/schemas/01-introduction.md +0 -64
  425. package/dist/docs/development/guides/services/01-introduction.md +0 -33
  426. package/dist/docs/development/guides/services/02-adding-services.md +0 -113
  427. package/dist/docs/development/guides/services/03-creating-external-systems.md +0 -71
  428. package/dist/docs/development/guides/services/adding-to-services/01-messages.md +0 -229
  429. package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +0 -77
  430. package/dist/docs/development/guides/services/adding-to-services/_category_.json +0 -10
  431. package/dist/docs/development/guides/services/ownership-and-components/_category_.json +0 -11
  432. package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +0 -11
  433. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/01-introduction.md +0 -0
  434. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/02-installation.md +0 -0
  435. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/01-introduction.md +0 -0
  436. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/02-slack-app-setup.md +0 -0
  437. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/04-deployment.md +0 -0
  438. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/05-usage.md +0 -0
  439. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/06-troubleshooting.md +0 -0
  440. /package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/09-configuration +0 -0
@@ -1,43 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog flows
4
- sidebar_label: Adding flows to domains
5
- title: Adding flows to domains
6
- description: Associate flows with domains in EventCatalog
7
- ---
8
-
9
- Adding [flows](/docs/development/guides/flows/introduction) to your domains helps document which business processes or workflows belong to a particular domain.
10
-
11
- When adding flows to your domain EventCatalog will:
12
-
13
- - Show the flows in the domain sidebar
14
- - Create clear relationships between domains and the processes they contain
15
-
16
- You can also place flow files directly inside a domain directory. EventCatalog discovers any `index.mdx` inside a `flows` folder at any depth, so `/domains/Orders/flows/ProcessOrder/index.mdx` is a valid location.
17
-
18
- ## Add flows using frontmatter
19
-
20
- To add flows to a domain you need to add them to the `flows` array within your domain frontmatter API.
21
-
22
- ```md title="/domains/Orders/index.mdx (example)"
23
- ---
24
- id: OrdersDomain
25
- ... # other domain frontmatter
26
- flows:
27
- # id of the flow you want to add
28
- - id: OrderProcessing
29
- # (optional) The version of the flow you want to add.
30
- version: 1.0.0
31
-
32
- # Note: version is optional. If no version is given the latest version of the flow will be used.
33
- - id: PaymentFlow
34
- ---
35
-
36
- <!-- Markdown content... -->
37
-
38
- ```
39
-
40
- The `flows` frontmatter in your domain tells EventCatalog that these documented flows belong to this domain.
41
-
42
- In the example above we can see that the flows `OrderProcessing` and `PaymentFlow` belong to the `OrdersDomain`.
43
-
@@ -1,27 +0,0 @@
1
- ---
2
- sidebar_position: 6
3
- keywords:
4
- - versioning
5
- - services
6
- sidebar_label: Versioning
7
- title: Versioning
8
- description: Learn how to version flows
9
- ---
10
-
11
-
12
- All content in EventCatalog can be versioned. This allows you to keep historic versions of content which can give context to users why things are changing.
13
-
14
- ## How to version a flow
15
-
16
- 1. Create a `/versioned` directory inside the `/flows` folder if one is not created already.
17
- 1. Create a new folder with the version number inside the folder.
18
- - Example: `/flows/ProcessingPayments/versioned/0.0.1`
19
- 1. Copy contents into the new folder, it at least needs your index.mdx file.
20
- - Example: `/flows/ProcessingPayments/versioned/0.0.1/index.mdx`
21
- - Note: the version inside this index.mdx file would be `0.0.1`
22
- 1. Bump the version of the `index.mdx` file in the route of the domain.
23
- - Example `/flows/ProcessingPayments/index.mdx`, change the `version` to `0.0.2`
24
-
25
- ## How to navigate to versions
26
-
27
- EventCatalog will automatically create links for you within your latest version of your document. Users will also be able to navigate to any version by adding the version in the url (e.g /docs/flows/ProcessingPayments/1.0.2 would load the 1.0.2 version of this flow).
@@ -1,171 +0,0 @@
1
- ---
2
- sidebar_position: 2
3
- keywords:
4
- - EventCatalog flows
5
- - AI flow wizard
6
- - flow documentation
7
- - AI skills
8
- sidebar_label: Creating a flow (with AI)
9
- title: Creating a flow (with AI)
10
- description: Interactively document business flows using an AI agent skill.
11
- ---
12
-
13
- The [`flow-wizard` skill](/docs/development/ask-your-architecture/skills/introduction#available-skills) guides your AI agent through documenting a business flow step by step. Instead of writing the YAML frontmatter by hand, you have a conversation with your agent describing what happens in each stage and the skill builds the flow for you.
14
-
15
- The skill also cross-references your existing catalog resources (services, events, commands, queries) and links them into the flow automatically when it finds a match.
16
-
17
- ## Prerequisites
18
-
19
- - An AI coding agent that supports the skills format (e.g. [Claude Code](https://claude.ai/code))
20
- - The `flow-wizard` skill installed in your project (see [installation](/docs/development/ask-your-architecture/skills/installation))
21
- - Optionally, an EventCatalog MCP server connection so the agent can query your catalog directly
22
-
23
- ## Install the skill
24
-
25
- ```bash
26
- # Install all EventCatalog skills
27
- npx skills add event-catalog/skills
28
-
29
- # Install only the flow-wizard skill
30
- npx skills add event-catalog/skills --skill flow-wizard
31
- ```
32
-
33
- This copies the skill into `.claude/skills/flow-wizard/` where your agent can access it.
34
-
35
- ## Start a session
36
-
37
- Open your AI agent and ask it to document a flow using natural language. The skill activates on phrases like:
38
-
39
- - "document a flow"
40
- - "map a business process"
41
- - "create a flow diagram"
42
- - "walk through a process"
43
- - "document an end-to-end flow"
44
- - "map out how something works in my architecture"
45
-
46
- **Example prompt:**
47
-
48
- > "Use the flow-wizard skill to help me document our checkout flow."
49
-
50
- ## How a session works
51
-
52
- The wizard runs through a structured conversation. You describe your flow in plain language -- the agent handles the formatting.
53
-
54
- ### Locate your catalog
55
-
56
- The agent first asks whether you have an EventCatalog project and where it lives. It scans your `services/`, `events/`, `commands/`, `queries/`, `domains/`, and `flows/` directories to build an inventory of existing resources.
57
-
58
- If you have the EventCatalog MCP server connected, the agent uses `getResources` to query the catalog directly. If you don't have a catalog yet, the agent documents steps as plain descriptions and you can add resource links later.
59
-
60
- ### Describe the flow
61
-
62
- You describe the end-to-end process in your own words:
63
-
64
- > "A user places an order, payment is processed, inventory is reserved, and a confirmation email is sent."
65
-
66
- The agent breaks this into sections and presents them back for your confirmation before continuing.
67
-
68
- ### Walk through each section
69
-
70
- The agent takes you through each section one at a time, asking what happens, who or what is involved, and what comes next.
71
-
72
- For each step it asks about, the agent:
73
-
74
- 1. Determines the step type -- `actor`, `service`, `message`, or `externalSystem`
75
- 2. Searches your catalog for a matching resource
76
- 3. Presents any matches and asks you to confirm before linking them
77
-
78
- If a resource exists in your catalog, the agent uses its exact `id` and `version`. If nothing matches, it creates a placeholder and notes that you can document it fully later.
79
-
80
- ### Handle branching
81
-
82
- When you describe a decision point ("if payment succeeds we continue, otherwise we notify the user"), the agent asks you to confirm the paths and documents them as `next_steps` branches.
83
-
84
- ```yaml
85
- next_steps:
86
- - id: "reserve_inventory"
87
- label: "Payment succeeded"
88
- - id: "notify_failure"
89
- label: "Payment failed"
90
- ```
91
-
92
- ### Review and confirm
93
-
94
- Before writing any file, the agent shows a complete summary of every step, which resources were matched from your catalog, and which are new placeholders. You can request changes before the file is generated.
95
-
96
- ### Generated output
97
-
98
- The agent writes an `index.mdx` file to your catalog. It asks where to save it if the location is ambiguous -- either `flows/{FlowName}/index.mdx` or `domains/{Domain}/flows/{FlowName}/index.mdx`.
99
-
100
- _PLACE_HOLDER_IMAGE_
101
-
102
- A generated flow might look like this:
103
-
104
- ```md title="flows/CheckoutFlow/index.mdx (example)"
105
- ---
106
- id: "CheckoutFlow"
107
- name: "Checkout Flow"
108
- version: "0.0.1"
109
- summary: "End-to-end flow from cart submission through payment to order confirmation"
110
- steps:
111
- - id: "customer_submits_order"
112
- title: "Customer Submits Order"
113
- actor:
114
- name: "Customer"
115
- next_step:
116
- id: "place_order_command"
117
- label: "Submit order"
118
-
119
- - id: "place_order_command"
120
- title: "Place Order"
121
- message:
122
- id: "PlaceOrder"
123
- version: "1.0.0"
124
- next_step:
125
- id: "orders_service"
126
- label: "Send to Orders Service"
127
-
128
- - id: "orders_service"
129
- title: "Orders Service"
130
- service:
131
- id: "OrdersService"
132
- version: "2.1.0"
133
- next_steps:
134
- - id: "payment_gateway"
135
- label: "Process payment"
136
- - id: "order_rejected"
137
- label: "Reject order"
138
-
139
- - id: "payment_gateway"
140
- title: "Stripe"
141
- externalSystem:
142
- name: "Stripe"
143
- summary: "Third-party payment processor"
144
- url: "https://stripe.com"
145
- next_step:
146
- id: "order_confirmed"
147
- label: "Payment complete"
148
-
149
- - id: "order_confirmed"
150
- title: "Order Confirmed"
151
- message:
152
- id: "OrderConfirmed"
153
- version: "1.0.0"
154
-
155
- - id: "order_rejected"
156
- title: "Order Rejected"
157
- message:
158
- id: "OrderRejected"
159
- version: "1.0.0"
160
- ---
161
-
162
- <NodeGraph />
163
- ```
164
-
165
- Once saved, the flow appears in your EventCatalog at `http://localhost:3000/visualiser/flows/CheckoutFlow/0.0.1`.
166
-
167
- ## Next steps
168
-
169
- - Resources the agent could not match are noted in the session summary. Use the `catalog-documentation-creator` skill to document those resources.
170
- - See [flow nodes](/docs/development/guides/flows/flow-nodes) for the full list of step types you can use to extend the generated flow.
171
- - See [adding flows to domains](/docs/development/guides/flows/adding-flows-to-domains) if you want to move the flow under a domain.
@@ -1,57 +0,0 @@
1
- ---
2
- sidebar_position: 1
3
- keywords:
4
- - EventCatalog queries
5
- - Queries
6
- sidebar_label: Overview
7
- title: Overview
8
- description: What are messags in EventCatalog?
9
- ---
10
-
11
- EventCatalog supports different types of messages ([commands](/docs/development/guides/messages/commands/introduction), [events](/docs/development/guides/messages/events/introduction) and [queries](/docs/development/guides/messages/queries/introduction)).
12
-
13
- - **Commands**
14
- - Commands are messages that represent intent, commands can be rejected in distributed systems.
15
- - **Events**
16
- - Events are a type of message that represent immutable facts.
17
- - **Queries**
18
- - Queries are a type of message that represent requests for information.
19
-
20
-
21
- ### Linking messages to services, domains and channels
22
-
23
- - Messages can be sent (producer) or received (consumer) by [services](/docs/development/guides/services/introduction), [domains](/docs/development/guides/domains/creating-domains/adding-messages-to-domains) or be totally independent.
24
- - You can also route messages through one or more [channels](/docs/development/guides/channels/adding-messages-to-services).
25
-
26
- ### Where do messages live?
27
-
28
- Messages can live anywhere in your catalog, at the service level or domain level.
29
-
30
- **Example of a message living at the service level**
31
-
32
- Here we have the `OrderPlaced` message living at the service level.
33
-
34
- ```md
35
- services/
36
- Orders/
37
- events/
38
- OrderPlaced/
39
- index.mdx
40
- ```
41
-
42
- **Example of a message living at the domain level**
43
-
44
- Here we have the `OrderPlaced` message living at the domain level.
45
-
46
- ```md
47
- domains/
48
- Orders/
49
- events/
50
- OrderPlaced/
51
- index.mdx
52
- ```
53
-
54
- :::tip You can reference messages from anywhere in your catalog
55
- It does not matter where you store your messages, you can reference them from anywhere in your catalog.
56
- Your domains and services will reference them by their `id` and optionally the `version`. EventCatalog will resolve the message.
57
- :::
@@ -1,11 +0,0 @@
1
- {
2
- "label": "Messages",
3
- "position": 3,
4
- "collapsible": true,
5
- "collapsed": true,
6
- "link": {
7
- "type": "generated-index",
8
- "slug": "/messages",
9
- "description": "A collection of guides to help you understand commands and how they work with EventCatalog."
10
- }
11
- }
@@ -1,131 +0,0 @@
1
- ---
2
- sidebar_position: 2
3
- keywords:
4
- - EventCatalog commands
5
- sidebar_label: Creating a command
6
- title: Creating commands
7
- description: Creating and managing commands within EventCatalog.
8
- ---
9
-
10
- import AddedIn from '@site/src/components/MDX/AddedIn';
11
-
12
- Commands live in a `/commands` folder. This folder can be placed:
13
-
14
- - At the root of your catalog, or
15
- - `/commands/{Command Name}/index.mdx`
16
- - Inside a specific service folder.
17
- - `/services/{Service Name}/commands/{Command Name}/index.mdx`
18
-
19
- The contents are split into two sections, **frontmatter** and the **markdown content**.
20
-
21
- _Here is an example of what a command markdown file may look like._
22
-
23
- ```md title="/commands/UpdateInventory/index.mdx (example)"
24
- ---
25
- # id of your command, used for slugs and references in EventCatalog.
26
- id: UpdateInventory
27
-
28
- # Display name of the command, rendered in EventCatalog
29
- name: Update Inventory
30
-
31
- # Version of the command
32
- version: 0.0.3
33
-
34
- # Short summary of your command
35
- summary: |
36
- Command with the intent to update the inventory
37
-
38
- # Optional owners, references teams or users
39
- owners:
40
- - dboyne
41
-
42
- # Optional badges, rendered to UI by EventCatalog
43
- badges:
44
- - content: New service
45
- backgroundColor: blue
46
- textColor: blue
47
- ---
48
-
49
- ## Overview
50
-
51
- The `Update Inventory` command represents intent to update the inventory of a given item over HTTP.
52
-
53
- <NodeGraph />
54
-
55
- ```
56
-
57
- Once this file is added, the command will automatically appear across EventCatalog.
58
-
59
- ## Writing command content
60
-
61
- You can write any Markdown inside a command.
62
-
63
- Each command gets its own page, so use this space to fully explain how it works.
64
-
65
- You can also use [interactive components](/docs/development/components/using-components) to enrich your documentation.
66
-
67
- ## Assign services to your commands
68
-
69
- To add services that invoke or accept your command you can read the [guide on adding messages to services](/docs/development/guides/messages/common/map-to-producers-and-consumers).
70
-
71
- You can also assign your command to one or more [channels](/docs/development/guides/channels/adding-messages-to-services) (e.g HTTP, GraphQL, etc).
72
-
73
- <AddedIn version="3.18.0" />
74
-
75
- ## Document an HTTP operation
76
-
77
- If your command maps to an HTTP endpoint, use the `operation` field to document the method, path, and expected status codes.
78
-
79
- ```md title="/commands/UpdateInventory/index.mdx (example)"
80
- ---
81
- id: UpdateInventory
82
- # ...
83
- operation:
84
- method: PUT
85
- path: /inventory/{id}
86
- statusCodes:
87
- - "200"
88
- - "400"
89
- - "404"
90
- ---
91
- ```
92
-
93
- When defined, the visualiser shows an HTTP method badge, the API path, and colored status code pills on the command node. See the [command API reference](/docs/api/command-api#operation) for all available options.
94
-
95
- ## Adding schemas to your command
96
-
97
- You can add any schema format to your command, you can read the [guide on adding schemas to messages](/docs/development/guides/messages/common/adding-schemas).
98
-
99
- ## What should I document?
100
-
101
- There’s no strict structure, but consider including:
102
-
103
- - Purpose – What does this command do and why does it exist?
104
- - How to trigger it – APIs, SDKs, or UI actions
105
- - Schema – Payload structure and validation rules
106
- - Ownership – Who maintains this command?
107
- - Contributing – How others can propose changes
108
-
109
- ## Custom icon
110
-
111
- <AddedIn version="3.28.1" />
112
-
113
- Set `styles.icon` in your frontmatter to display a custom icon on the command. The icon appears in the visualiser node, sidebar navigation, page header, and search results.
114
-
115
- ```md title="/commands/UpdateInventory/index.mdx (example)"
116
- ---
117
- id: UpdateInventory
118
- name: Update Inventory
119
- version: 0.0.3
120
- styles:
121
- icon: /icons/messaging/sns.svg
122
- ---
123
- ```
124
-
125
- The value can be a path to a file in your catalog's `public/` folder (e.g. `/icons/messaging/sns.svg`) or an absolute URL (e.g. `https://cdn.simpleicons.org/amazonsqs`).
126
-
127
- ## How do commands appear in EventCatalog?
128
-
129
- ![Example](../../img/commands/example.png)
130
-
131
-
@@ -1,11 +0,0 @@
1
- {
2
- "label": "Commands",
3
- "position": 3,
4
- "collapsible": true,
5
- "collapsed": true,
6
- "link": {
7
- "type": "generated-index",
8
- "slug": "/commands",
9
- "description": "A collection of guides to help you understand commands and how they work with EventCatalog."
10
- }
11
- }
@@ -1,37 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog commands
4
- sidebar_label: Map to producers and consumers
5
- title: Assigning events to services
6
- description: Understanding how to link events to services
7
- sidebar_position: 1
8
- ---
9
-
10
- [Services](/docs/development/guides/services/introduction) can either **send** or **receive** events, commands and queries.
11
-
12
- To add messages to services you need to reference them within your service 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
- version: 0.0.1
23
- sends:
24
- # id of the message this service sends
25
- - id: PaymentProcessed
26
- ---
27
-
28
- <!-- Markdown contents... -->
29
- ```
30
-
31
- ### Versioning
32
-
33
- When you reference a message in your service you can specify the version of the message.
34
-
35
- This allows you to document which versions of messages your service interacts with.
36
-
37
- If you don't specify a version the latest version will be used.
@@ -1,58 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog commands
4
- sidebar_label: Adding schemas to messages
5
- title: Adding schemas to messages
6
- description: Understand how to add schemas to your messages.
7
- sidebar_position: 2
8
- ---
9
-
10
- EventCatalog allows you to attach schemas to any message.
11
-
12
- **EventCatalog supports any schema format. (e.g Avro, Protobuf, JSON etc)**
13
-
14
- ![Example](../../img/commands/schemas.png)
15
-
16
- Schemas are very useful for users that want to understand the properties of your message and the context behind them.
17
-
18
- ### Adding schemas to your messages
19
-
20
- To add a schema to your message you need to add the `schemaPath` value in your message frontmatter and drop the schema file into your message folder.
21
-
22
- ```md title="/{events|commands|queries}/InventoryAdjusted/index.mdx (example)"
23
- ---
24
- id: InventoryAdjusted
25
- version: 0.0.4
26
- # relative path to the schema file
27
- schemaPath: schema.avro
28
- ---
29
- ```
30
-
31
- Folder structure:
32
- ```md
33
- /commands (or /events or /queries)
34
- /InventoryAdjusted
35
- index.mdx
36
- schema.avro
37
- ```
38
-
39
- #### Schema Components
40
-
41
- EventCatalog supports two components to render schemas into your message page.
42
-
43
- 1. `<Schema/>` - Renders the schema into your message page as a JSON code block
44
- 2. `<SchemaViewer/>` - Renders the schema into your message page using a nice Schema component (JSON and Avro supported)
45
-
46
- ```md title="/{events|commands|queries}/InventoryAdjusted/index.mdx (example)"
47
- <!-- Renders the given schema into the page, as a JSON code block -->
48
- <Schema file="schema.avro" />
49
-
50
- <!-- Renders the given schema into the page using a nice Schema component -->
51
- <SchemaViewer file="schema.avro" />
52
- ```
53
-
54
- #### Adding example usage for your message
55
-
56
- Once you document your schema, you can also add `Usage Examples` for your schemas to help your teams understand how they schemas are used in a list of different ways.
57
-
58
- You can read more about in the [usage example documentation](/docs/development/guides/messages/common/examples).
@@ -1,40 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog
4
- - events
5
- - owners
6
- sidebar_label: Assigning Owners
7
- title: Adding event owners
8
- description: Adding owners to events with EventCatalog.
9
- ---
10
-
11
- Owners in EventCatalog are either **users** or **teams** and are **optional**.
12
-
13
- To add an owner or a team, you need to add the user or team to the owners field of the event.
14
-
15
- ## Adding owners using frontmatter
16
-
17
- To add owners within an event you need to add them to the `owners` array within your event frontmatter API.
18
-
19
- You need to add the `id` of the owner.
20
-
21
- ```md title="/events/InventoryOutOfStock/index.mdx (example)"
22
- ---
23
- id: AdjustInventory
24
- ... # other event frontmatter
25
- owners:
26
- - dboyne # represents a user
27
- - webTeam # represents a team
28
- ---
29
-
30
- <!-- Markdown contents... -->
31
-
32
- ```
33
-
34
- Assigning owners to your events can provide others with context of who owns this event and how to contact them.
35
-
36
- :::tip Creating users and teams
37
- EventCatalog gives you the ability to create users and teams. You can read the documentation to get started.
38
- :::
39
-
40
-
@@ -1,12 +0,0 @@
1
- ---
2
- keywords:
3
- - components
4
- - domains
5
- sidebar_label: Components
6
- title: Components
7
- description: Component list for domains
8
- ---
9
-
10
- You can add custom EventCatalog components to your commands.
11
-
12
- [See the list of components and how to use them](/docs/development/components/using-components).
@@ -1,70 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog commands
4
- sidebar_label: Patterns for shared messages
5
- title: Patterns for shared messages
6
- description: Understand the patterns for shared messages in EventCatalog.
7
- ---
8
-
9
- You can store your events, commands and queries in any folder in your EventCatalog.
10
-
11
- Here are some common usecases:
12
-
13
- - [Messages defined by the service](/docs/development/guides/messages/common/shared-messages-across-boundaries#messages-defined-by-the-service)
14
- - [Messages defined at a domain level](/docs/development/guides/messages/common/shared-messages-across-boundaries#define-messages-at-a-domain-level)
15
- - [Messages defined at a system level](/docs/development/guides/messages/common/shared-messages-across-boundaries#define-messages-at-a-system-level)
16
-
17
- ### Messages defined by the service
18
-
19
- If you want to keep your message definition close to the service that producers or consumes it you can store them in the `/services` folder.
20
-
21
- In the example below the `OrderPlaced` event, `AddOrder` command and `GetOrder` query are defined in the `/services/Orders` folder.
22
-
23
- ```md
24
- services/
25
- Orders/
26
- events/
27
- OrderPlaced/
28
- index.mdx
29
- commands/
30
- AddOrder/
31
- index.mdx
32
- queries/
33
- GetOrder/
34
- index.mdx
35
- ```
36
-
37
- ### Define messages at a domain level
38
-
39
- If you want to share messages across multiple services you can define them in the `/domains` folder.
40
-
41
- In the example below the `OrderPlaced` event, `AddOrder` command and `GetOrder` query are defined in the `/domains/Orders` folder.
42
-
43
- ```md
44
- domains/
45
- Orders/
46
- <!-- The domain documentation -->
47
- index.mdx
48
- <!-- Here we store our /events, /commands and /queries -->
49
- events/
50
- OrderPlaced/
51
- index.mdx
52
- ```
53
-
54
- ### Define messages at a system level
55
-
56
- If you want to share messages across all your domains you can define them in the root of your catalog.
57
-
58
- In the example below the `OrderPlaced` event, `AddOrder` command and `GetOrder` query are defined in the root of your catalog.
59
-
60
- ```md
61
- events/
62
- OrderPlaced/
63
- index.mdx
64
- commands/
65
- AddOrder/
66
- index.mdx
67
- queries/
68
- GetOrder/
69
- index.mdx
70
- ```
@@ -1,11 +0,0 @@
1
- {
2
- "label": "Common to all messages",
3
- "position": 20,
4
- "collapsible": true,
5
- "collapsed": true,
6
- "link": {
7
- "type": "generated-index",
8
- "slug": "/messages/common",
9
- "description": "A collection of guides to help you understand queries and how they work with EventCatalog."
10
- }
11
- }