@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.
Files changed (450) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/{chunk-DDGOJV25.js → chunk-DIUAURE2.js} +1 -1
  6. package/dist/{chunk-WEDJTUSQ.js → chunk-E6IUV4GX.js} +1 -1
  7. package/dist/{chunk-TUKKXNQR.js → chunk-G74MXXTG.js} +1 -1
  8. package/dist/{chunk-PDQER3NQ.js → chunk-GIU3S4CI.js} +1 -1
  9. package/dist/{chunk-G3D7IZ67.js → chunk-X77TET65.js} +1 -1
  10. package/dist/constants.cjs +1 -1
  11. package/dist/constants.js +1 -1
  12. package/dist/docs/api/02-config.md +166 -14
  13. package/dist/docs/api/08-code-blocks.md +1 -1
  14. package/dist/docs/development/00-why-eventcatalog.md +29 -40
  15. package/dist/docs/development/01-fundamentals.md +58 -7
  16. package/dist/docs/development/01-getting-started/configuration-overview.md +1 -93
  17. package/dist/docs/development/01-getting-started/develop-and-build.md +4 -3
  18. package/dist/docs/development/01-getting-started/installation.md +3 -3
  19. package/dist/docs/development/01-getting-started/project-structure.md +74 -141
  20. package/dist/docs/development/ask-your-architecture/01-intro.md +8 -76
  21. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +4 -3
  22. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +2 -1
  23. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +1 -3
  24. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +2 -2
  25. package/dist/docs/development/{developer-tools/llms.txt.md → ask-your-architecture/02-llms.txt.md} +1 -2
  26. package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +2 -2
  27. package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +2 -2
  28. package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +2 -25
  29. package/dist/docs/development/{developer-tools/schemas.txt.md → ask-your-architecture/03-schemas.txt.md} +1 -2
  30. package/dist/docs/development/ask-your-architecture/04-agents/01-overview.md +27 -0
  31. package/dist/docs/development/ask-your-architecture/04-agents/02-code-to-docs.md +124 -0
  32. package/dist/docs/development/ask-your-architecture/04-agents/03-breaking-changes.md +170 -0
  33. package/dist/docs/development/ask-your-architecture/04-agents/_category_.json +12 -0
  34. package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/_category_.json +2 -2
  35. package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/03-installation.md +1 -1
  36. package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/_category_.json +2 -1
  37. package/dist/docs/development/ask-your-architecture/_category_.json +2 -2
  38. package/dist/docs/development/authentication/01-introduction.md +3 -3
  39. package/dist/docs/development/authentication/02-enabling-authentication.md +2 -2
  40. package/dist/docs/development/authentication/providers/03-setting-up-github.md +25 -1
  41. package/dist/docs/development/authentication/providers/03a-setting-up-google.md +0 -1
  42. package/dist/docs/development/bring-your-own-documentation/01-introduction.md +29 -25
  43. package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +9 -8
  44. package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +70 -32
  45. package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +4 -1
  46. package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +2 -1
  47. package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +1 -1
  48. package/dist/docs/development/bring-your-own-documentation/diagrams/01-introduction.md +56 -0
  49. package/dist/docs/development/bring-your-own-documentation/diagrams/02-creating-diagrams.md +262 -0
  50. package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/03-referencing-diagrams.md +3 -87
  51. package/dist/docs/development/bring-your-own-documentation/diagrams/05-comparing-diagrams.md +25 -0
  52. package/dist/docs/development/bring-your-own-documentation/diagrams/07-reference.md +144 -0
  53. package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/_category_.json +2 -1
  54. package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +2 -4
  55. package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +138 -43
  56. package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +38 -9
  57. package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +62 -13
  58. package/dist/docs/development/components/04-snippets.md +0 -2
  59. package/dist/docs/development/components/05-using-components.md +4 -16
  60. package/dist/docs/development/components/07-resource-references.md +1 -1
  61. package/dist/docs/development/components/_category_.json +3 -3
  62. package/dist/docs/development/components/components/01-accordian.md +1 -1
  63. package/dist/docs/development/components/components/03-admonitions.md +1 -1
  64. package/dist/docs/development/components/components/04-agent-tools.md +2 -2
  65. package/dist/docs/development/components/components/05-attachments.md +1 -1
  66. package/dist/docs/development/components/components/07-design.md +1 -2
  67. package/dist/docs/development/components/components/08-entitymap.md +2 -2
  68. package/dist/docs/development/components/components/09-flow.md +1 -1
  69. package/dist/docs/development/components/components/10-link.md +1 -1
  70. package/dist/docs/development/components/components/11-mermaid-file-loader.md +1 -1
  71. package/dist/docs/development/components/components/12-message-table.md +1 -1
  72. package/dist/docs/development/components/components/13-nodegraph.md +1 -1
  73. package/dist/docs/development/components/components/14-openapi.md +3 -3
  74. package/dist/docs/development/components/components/15-prompt.md +2 -6
  75. package/dist/docs/development/components/components/16-remote-schema.md +5 -3
  76. package/dist/docs/development/components/components/17-resource-group-table.md +1 -1
  77. package/dist/docs/development/components/components/18-resource-link.md +1 -1
  78. package/dist/docs/development/components/components/19-schema.md +1 -1
  79. package/dist/docs/development/components/components/20-schema-viewer.md +1 -1
  80. package/dist/docs/development/components/components/21-steps.md +1 -1
  81. package/dist/docs/development/components/components/22-tabs.md +1 -1
  82. package/dist/docs/development/components/components/23-tiles.md +1 -1
  83. package/dist/docs/development/components/components/24-visibility.md +1 -1
  84. package/dist/docs/development/components/components/_category_.json +1 -1
  85. package/dist/docs/development/components/custom-components/01-introduction.md +74 -0
  86. package/dist/docs/development/components/custom-components/02-create-your-first-component.md +71 -0
  87. package/dist/docs/development/components/custom-components/03-pass-data-into-components.md +86 -0
  88. package/dist/docs/development/components/custom-components/04-fetch-data-in-components.md +191 -0
  89. package/dist/docs/development/components/custom-components/05-style-components.md +60 -0
  90. package/dist/docs/development/components/custom-components/06-add-client-side-scripts.md +67 -0
  91. package/dist/docs/development/components/custom-components/07-reference.md +115 -0
  92. package/dist/docs/development/components/custom-components/_category_.json +11 -0
  93. package/dist/docs/development/components/{external-diagram-embeds/03-drawio.md → diagram-syntax/01-drawio.md} +2 -3
  94. package/dist/docs/development/components/{external-diagram-embeds/04-figjam.md → diagram-syntax/02-figjam.md} +1 -2
  95. package/dist/docs/development/components/diagram-syntax/{04-icepanel.md → 03-icepanel.md} +1 -2
  96. package/dist/docs/development/components/diagram-syntax/04-likec4.md +136 -0
  97. package/dist/docs/development/components/{external-diagram-embeds/02-lucid.md → diagram-syntax/05-lucid.md} +2 -3
  98. package/dist/docs/development/components/diagram-syntax/{01-mermaid.md → 06-mermaid.md} +1 -1
  99. package/dist/docs/development/components/{external-diagram-embeds/01-miro.md → diagram-syntax/07-miro.md} +2 -3
  100. package/dist/docs/development/components/diagram-syntax/{02-plantuml.md → 08-plantuml.md} +3 -3
  101. package/dist/docs/development/components/diagram-syntax/{03-structurizr.md → 09-structurizr.md} +1 -1
  102. package/dist/docs/development/components/diagram-syntax/_category_.json +3 -3
  103. package/dist/docs/development/customization/01-customize-landing-page.md +7 -15
  104. package/dist/docs/development/customization/02-themes.md +1 -0
  105. package/dist/docs/development/customization/03-application-sidebar.md +246 -0
  106. package/dist/docs/development/customization/03-search.md +2 -2
  107. package/dist/docs/development/customization/{customize-sidebars/01-documentation-sidebar.md → 04-documentation-sidebar.md} +4 -4
  108. package/dist/docs/development/customization/05-custom-pages-and-api-routes/01-introduction.md +94 -0
  109. package/dist/docs/development/customization/05-custom-pages-and-api-routes/02-create-a-custom-page.md +177 -0
  110. package/dist/docs/development/customization/05-custom-pages-and-api-routes/03-create-an-api-route.md +128 -0
  111. package/dist/docs/development/customization/05-custom-pages-and-api-routes/04-reference.md +138 -0
  112. package/dist/docs/development/customization/05-custom-pages-and-api-routes/_category_.json +12 -0
  113. package/dist/docs/development/customization/06-customize-tables.md +3 -3
  114. package/dist/docs/development/customization/07-resource-icons.md +190 -0
  115. package/dist/docs/development/customization/_category_.json +1 -1
  116. package/dist/docs/development/customization/customize-visualizer/_category_.json +2 -2
  117. package/dist/docs/development/deployment/hosting-options.md +1 -2
  118. package/dist/docs/development/developer-tools/api-catalog.md +1 -1
  119. package/dist/docs/development/developer-tools/eventcatalog-linter.md +137 -2
  120. package/dist/docs/development/governance/_category_.json +1 -0
  121. package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +2 -2
  122. package/dist/docs/development/guides/98-versioning-resources.md +192 -0
  123. package/dist/docs/development/guides/99-adding-analytics.md +0 -1
  124. package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +2 -2
  125. package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +2 -2
  126. package/dist/docs/development/guides/changelogs/04-reference.md +77 -0
  127. package/dist/docs/development/guides/changelogs/_category_.json +2 -2
  128. package/dist/docs/development/guides/domains/01-introduction.md +14 -9
  129. package/dist/docs/development/guides/domains/{02-creating-domains/02-adding-domains.md → 02-create-domain.md} +32 -16
  130. package/dist/docs/development/guides/domains/{02-creating-domains/02a-subdomains.md → 03-model-subdomains.md} +22 -10
  131. package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +1 -1
  132. package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +2 -6
  133. package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +2 -2
  134. package/dist/docs/development/guides/domains/04-add-resources-to-domains/01-add-systems-to-domains.md +154 -0
  135. 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
  136. 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
  137. 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
  138. package/dist/docs/development/guides/domains/04-add-resources-to-domains/05-add-entities-to-domains.md +115 -0
  139. package/dist/docs/development/guides/domains/04-add-resources-to-domains/_category_.json +11 -0
  140. package/dist/docs/development/guides/domains/{08-domain-integration-map.md → 06-visualize-domains/01-domain-integration-map.md} +5 -6
  141. package/dist/docs/development/guides/domains/06-visualize-domains/_category_.json +12 -0
  142. package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/01-versioning.md → 07-version-domains.md} +5 -6
  143. package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/02-changelog.md → 08-add-changelog.md} +6 -7
  144. package/dist/docs/development/guides/domains/09-reference.md +517 -0
  145. package/dist/docs/development/guides/owners/01-what-are-teams-and-users.md +46 -0
  146. package/dist/docs/development/guides/owners/02-create-team.md +110 -0
  147. package/dist/docs/development/guides/owners/03-create-user.md +99 -0
  148. package/dist/docs/development/guides/owners/05-teams-reference.md +144 -0
  149. package/dist/docs/development/guides/owners/06-users-reference.md +128 -0
  150. package/dist/docs/development/guides/owners/_category_.json +2 -2
  151. package/dist/docs/development/guides/owners/automated-teams-and-users/_category_.json +11 -0
  152. package/dist/docs/development/guides/owners/automated-teams-and-users/create-your-own-connector.md +108 -0
  153. package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-github.md +156 -0
  154. package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-microsoft-entra.md +253 -0
  155. package/dist/docs/development/guides/resources/_category_.json +11 -0
  156. package/dist/docs/development/guides/resources/adrs/01-introduction.md +37 -0
  157. package/dist/docs/development/guides/resources/adrs/02-creating-adrs.md +211 -0
  158. package/dist/docs/development/guides/resources/adrs/03-linking-resources.md +52 -0
  159. package/dist/docs/development/guides/resources/adrs/04-relationships.md +80 -0
  160. package/dist/docs/development/guides/resources/adrs/06-reference.md +247 -0
  161. package/dist/docs/development/guides/resources/adrs/_category_.json +11 -0
  162. package/dist/docs/development/guides/{agents → resources/agents}/01-introduction.md +1 -16
  163. package/dist/docs/development/guides/resources/agents/02-create-agent.md +188 -0
  164. package/dist/docs/development/guides/{agents → resources/agents}/03-adding-tools.md +3 -4
  165. package/dist/docs/development/guides/{agents → resources/agents}/04-model-metadata.md +2 -2
  166. package/dist/docs/development/guides/{agents/adding-to-agents/01-messages.md → resources/agents/05-add-messages-to-agents.md} +5 -4
  167. package/dist/docs/development/guides/{agents/adding-to-agents/02-datastores.md → resources/agents/06-add-data-stores-to-agents.md} +4 -15
  168. package/dist/docs/development/guides/resources/agents/11-reference.md +238 -0
  169. package/dist/docs/development/guides/{agents → resources/agents}/_category_.json +2 -2
  170. package/dist/docs/development/guides/resources/data/01-introduction.md +15 -0
  171. package/dist/docs/development/guides/resources/data/02-adding-data.md +184 -0
  172. package/dist/docs/development/guides/resources/data/03-add-read-write-relationships.md +128 -0
  173. package/dist/docs/development/guides/resources/data/04-reference.md +211 -0
  174. package/dist/docs/development/guides/{data → resources/data}/_category_.json +3 -3
  175. package/dist/docs/development/guides/{data-products → resources/data-products}/01-introduction.md +1 -17
  176. package/dist/docs/development/guides/resources/data-products/02-adding-data-products.md +174 -0
  177. package/dist/docs/development/guides/{data-products → resources/data-products}/03-inputs-and-outputs.md +4 -6
  178. package/dist/docs/development/guides/{data-products → resources/data-products}/04-contracts.md +2 -4
  179. package/dist/docs/development/guides/resources/data-products/07-reference.md +201 -0
  180. package/dist/docs/development/guides/{data-products → resources/data-products}/_category_.json +3 -3
  181. package/dist/docs/development/guides/resources/entities/01-introduction.md +26 -0
  182. package/dist/docs/development/guides/resources/entities/02-create-entity.md +162 -0
  183. package/dist/docs/development/guides/resources/entities/03-model-entity-relationships.md +115 -0
  184. package/dist/docs/development/guides/resources/entities/04-add-entities-to-resources.md +188 -0
  185. package/dist/docs/development/guides/resources/entities/05-entity-maps.md +48 -0
  186. package/dist/docs/development/guides/resources/entities/06-reference.md +273 -0
  187. package/dist/docs/development/guides/{domains/05-entities → resources/entities}/_category_.json +4 -4
  188. package/dist/docs/development/guides/resources/flows/01-introduction.md +28 -0
  189. package/dist/docs/development/guides/resources/flows/02-create-flow.md +304 -0
  190. package/dist/docs/development/guides/{flows/03-flow-nodes.md → resources/flows/03-model-flow-steps.md} +6 -6
  191. package/dist/docs/development/guides/resources/flows/04-add-flows-to-resources.md +149 -0
  192. package/dist/docs/development/guides/resources/flows/06-reference.md +226 -0
  193. package/dist/docs/development/guides/{flows → resources/flows}/_category_.json +3 -3
  194. package/dist/docs/development/guides/resources/messages/01-what-are-messages.md +104 -0
  195. package/dist/docs/development/guides/{messages/events/01-introduction.md → resources/messages/02-message-types/01-events.md} +3 -7
  196. package/dist/docs/development/guides/{messages/commands/01-introduction.md → resources/messages/02-message-types/02-commands.md} +4 -7
  197. package/dist/docs/development/guides/resources/messages/02-message-types/03-queries.md +20 -0
  198. package/dist/docs/development/guides/resources/messages/02-message-types/_category_.json +11 -0
  199. package/dist/docs/development/guides/resources/messages/03-create-messages/01-create-event.md +137 -0
  200. package/dist/docs/development/guides/resources/messages/03-create-messages/02-create-command.md +156 -0
  201. package/dist/docs/development/guides/resources/messages/03-create-messages/03-create-query.md +158 -0
  202. package/dist/docs/development/guides/{messages/common/02-draft-messages.md → resources/messages/03-create-messages/04-create-draft-message.md} +5 -7
  203. package/dist/docs/development/guides/resources/messages/03-create-messages/_category_.json +11 -0
  204. package/dist/docs/development/guides/resources/messages/04-connect-messages/01-map-producers-and-consumers.md +32 -0
  205. package/dist/docs/development/guides/resources/messages/04-connect-messages/02-shared-messages-across-boundaries.md +170 -0
  206. package/dist/docs/development/guides/{messages/common/09-grouping-messages.md → resources/messages/04-connect-messages/03-group-messages.md} +2 -4
  207. package/dist/docs/development/guides/resources/messages/04-connect-messages/_category_.json +11 -0
  208. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/01-introduction.md +4 -28
  209. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/02-adding-channels.md +77 -62
  210. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/04-adding-messages-to-services.md +10 -14
  211. package/dist/docs/development/guides/resources/messages/04-message-channels/05-reference.md +177 -0
  212. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/_category_.json +3 -3
  213. package/dist/docs/development/guides/{messages/common/04-versioning.md → resources/messages/08-versioning-and-lifecycle/01-version-messages.md} +39 -4
  214. package/dist/docs/development/guides/{messages/common/05-changelog.md → resources/messages/08-versioning-and-lifecycle/02-add-changelog.md} +5 -6
  215. package/dist/docs/development/guides/{messages/common/02-deprecating.md → resources/messages/08-versioning-and-lifecycle/03-deprecate-messages.md} +4 -4
  216. package/dist/docs/development/guides/resources/messages/08-versioning-and-lifecycle/_category_.json +11 -0
  217. package/dist/docs/development/guides/{messages/common/02-examples.md → resources/messages/09-add-usage-examples.md} +59 -22
  218. package/dist/docs/development/guides/resources/messages/10-reference.md +439 -0
  219. package/dist/docs/development/guides/resources/messages/_category_.json +11 -0
  220. package/dist/docs/development/guides/resources/schemas/01-what-are-schemas-and-specifications.md +25 -0
  221. package/dist/docs/development/guides/resources/schemas/02-add-schemas-to-messages.md +63 -0
  222. package/dist/docs/development/guides/resources/schemas/03-add-schemas-to-data-stores.md +90 -0
  223. 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
  224. 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
  225. 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
  226. package/dist/docs/development/guides/resources/schemas/03-add-specifications-to-services/_category_.json +11 -0
  227. package/dist/docs/development/guides/{schemas/02-schema-explorer.md → resources/schemas/04-explore-schemas/01-schema-explorer.md} +3 -26
  228. package/dist/docs/development/guides/{schemas/06-fields-explorer.md → resources/schemas/04-explore-schemas/02-fields-explorer.md} +8 -10
  229. package/dist/docs/development/guides/{schemas/05-field-usage.md → resources/schemas/04-explore-schemas/03-consumer-field-usage.md} +1 -3
  230. package/dist/docs/development/guides/resources/schemas/04-explore-schemas/_category_.json +11 -0
  231. package/dist/docs/development/guides/{schemas/03-schema-api.md → resources/schemas/05-schema-api.md} +6 -11
  232. package/dist/docs/development/guides/{schemas/04-schema-mcp.md → resources/schemas/06-schema-mcp.md} +5 -6
  233. package/dist/docs/development/guides/resources/schemas/07-reference.md +23 -0
  234. package/dist/docs/development/guides/{schemas → resources/schemas}/_category_.json +3 -3
  235. package/dist/docs/development/guides/resources/services/01-introduction.md +27 -0
  236. package/dist/docs/development/guides/resources/services/02-create-service.md +195 -0
  237. package/dist/docs/development/guides/resources/services/03-create-external-service.md +52 -0
  238. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/01-add-messages-to-services.md +142 -0
  239. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/02-add-data-stores-to-services.md +45 -0
  240. 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
  241. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/_category_.json +11 -0
  242. 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
  243. package/dist/docs/development/guides/{services/ownership-and-components/02-components.md → resources/services/06-ownership-and-components/02-use-components.md} +4 -4
  244. package/dist/docs/development/guides/resources/services/06-ownership-and-components/_category_.json +11 -0
  245. package/dist/docs/development/guides/{services/versioning-and-lifecycle/01-versioning.md → resources/services/07-versioning-and-lifecycle/01-version-services.md} +4 -3
  246. package/dist/docs/development/guides/{services/versioning-and-lifecycle/02-changelog.md → resources/services/07-versioning-and-lifecycle/02-add-changelog.md} +5 -5
  247. package/dist/docs/development/guides/{services/versioning-and-lifecycle/03-deprecating.md → resources/services/07-versioning-and-lifecycle/03-deprecate-services.md} +5 -4
  248. package/dist/docs/development/guides/resources/services/07-versioning-and-lifecycle/_category_.json +11 -0
  249. package/dist/docs/development/guides/resources/services/08-reference.md +295 -0
  250. package/dist/docs/development/guides/{services → resources/services}/_category_.json +3 -3
  251. package/dist/docs/development/guides/systems/01-introduction.md +119 -0
  252. package/dist/docs/development/guides/systems/02-create-system.md +127 -0
  253. package/dist/docs/development/guides/systems/03-add-resources-to-systems.md +157 -0
  254. package/dist/docs/development/guides/systems/04-model-relationships-and-actors.md +86 -0
  255. package/dist/docs/development/guides/systems/05-system-context-maps.md +67 -0
  256. package/dist/docs/development/guides/systems/06-reference.md +329 -0
  257. package/dist/docs/development/guides/{messages/queries → systems}/_category_.json +5 -5
  258. package/dist/docs/development/license-keys/_category_.json +1 -1
  259. package/dist/docs/development/license-keys/integrations.md +20 -9
  260. package/dist/docs/development/license-keys/overview.md +7 -18
  261. package/dist/docs/development/license-keys/plans.md +9 -18
  262. package/dist/docs/development/upgrading/v2.md +1 -2
  263. package/dist/docs/development/upgrading/v3.md +2 -3
  264. package/dist/docs/development/upgrading/v4.md +377 -0
  265. package/dist/docs/editor/00-overview.md +3 -3
  266. package/dist/docs/editor/01-first-edit.md +1 -1
  267. package/dist/docs/editor/explanation/markdown-mdx-git.md +1 -1
  268. package/dist/docs/editor/how-to/add-schemas-and-specifications.md +5 -5
  269. package/dist/docs/editor/how-to/edit-resource.md +1 -1
  270. package/dist/docs/editor/how-to/use-flow-editor.md +5 -5
  271. package/dist/docs/editor/how-to/use-slash-commands.md +2 -2
  272. package/dist/docs/editor/reference/supported-content.md +2 -2
  273. package/dist/docs/editor/reference/supported-resources.md +14 -14
  274. package/dist/docs/plugins/amazon-apigateway/00-intro.md +8 -8
  275. package/dist/docs/plugins/amazon-apigateway/01-installation.md +10 -12
  276. package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +5 -4
  277. package/dist/docs/plugins/apicurio/00-intro.md +8 -8
  278. package/dist/docs/plugins/apicurio/01-installation.md +12 -2
  279. package/dist/docs/plugins/apicurio/02-plugin-configuration.md +7 -9
  280. package/dist/docs/plugins/apicurio/03-features.md +2 -2
  281. package/dist/docs/plugins/asyncapi/00-intro.md +8 -8
  282. package/dist/docs/plugins/asyncapi/01-installation.md +10 -11
  283. package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +5 -5
  284. package/dist/docs/plugins/asyncapi/03-features.md +9 -9
  285. package/dist/docs/plugins/aws-glue-registry/00-intro.md +8 -8
  286. package/dist/docs/plugins/aws-glue-registry/00a-installation.md +16 -6
  287. package/dist/docs/plugins/aws-glue-registry/01-features.md +2 -2
  288. package/dist/docs/plugins/azure-schema-registry/00-intro.md +10 -10
  289. package/dist/docs/plugins/azure-schema-registry/01-installation.md +15 -5
  290. package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +4 -4
  291. package/dist/docs/plugins/azure-schema-registry/04-examples.md +1 -1
  292. package/dist/docs/plugins/backstage/00-intro.md +3 -3
  293. package/dist/docs/plugins/backstage/01-installation.md +7 -15
  294. package/dist/docs/plugins/confluent-schema-registry/00-intro.md +8 -8
  295. package/dist/docs/plugins/confluent-schema-registry/01-installation.md +12 -4
  296. package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +3 -3
  297. package/dist/docs/plugins/eventbridge/00a-installation.md +21 -21
  298. package/dist/docs/plugins/eventbridge/01-features.md +3 -3
  299. package/dist/docs/plugins/eventbridge/03-api.md +5 -5
  300. package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +6 -6
  301. package/dist/docs/plugins/eventcatalog-federation/01-installation.md +10 -11
  302. package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +2 -2
  303. package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +5 -6
  304. package/dist/docs/plugins/github/00-intro.md +8 -8
  305. package/dist/docs/plugins/github/01-installation.md +12 -5
  306. package/dist/docs/plugins/graphql/00-intro.md +8 -8
  307. package/dist/docs/plugins/graphql/01-installation.md +11 -11
  308. package/dist/docs/plugins/graphql/02-plugin-configuration.md +3 -4
  309. package/dist/docs/plugins/graphql/03-features.md +4 -4
  310. package/dist/docs/plugins/openapi/00-intro.md +8 -8
  311. package/dist/docs/plugins/openapi/01-installation.md +10 -11
  312. package/dist/docs/plugins/openapi/02-plugin-configuration.md +7 -6
  313. package/dist/docs/plugins/openapi/03-features.md +6 -7
  314. package/dist/docs/tutorial/01-start-here.md +75 -0
  315. package/dist/docs/tutorial/02-install-eventcatalog.md +98 -0
  316. package/dist/docs/tutorial/04-add-ownership.md +184 -0
  317. package/dist/docs/tutorial/04-create-event.md +176 -0
  318. package/dist/docs/tutorial/05-create-a-domain.md +133 -0
  319. package/dist/docs/tutorial/05-publish-event.md +82 -0
  320. package/dist/docs/tutorial/06-consume-event.md +130 -0
  321. package/dist/docs/tutorial/06-create-a-service.md +99 -0
  322. package/dist/docs/tutorial/11-visualize-your-catalog.md +105 -0
  323. package/dist/docs/tutorial/12-build-your-catalog.md +79 -0
  324. package/dist/docs/tutorial/14-next-steps.md +108 -0
  325. package/dist/docs/tutorial/_category_.json +12 -0
  326. package/dist/eventcatalog.cjs +1 -1
  327. package/dist/eventcatalog.js +5 -5
  328. package/dist/generate.cjs +1 -1
  329. package/dist/generate.js +3 -3
  330. package/dist/utils/cli-logger.cjs +1 -1
  331. package/dist/utils/cli-logger.js +2 -2
  332. package/eventcatalog/public/android-chrome-192x192.png +0 -0
  333. package/eventcatalog/public/android-chrome-512x512.png +0 -0
  334. package/eventcatalog/public/apple-touch-icon.png +0 -0
  335. package/eventcatalog/public/favicon-16x16.png +0 -0
  336. package/eventcatalog/public/favicon-32x32.png +0 -0
  337. package/eventcatalog/public/favicon-48x48.png +0 -0
  338. package/eventcatalog/public/favicon-96x96.png +0 -0
  339. package/eventcatalog/public/favicon.ico +0 -0
  340. package/eventcatalog/public/favicon.svg +8 -0
  341. package/eventcatalog/src/components/Seo.astro +5 -1
  342. package/eventcatalog/src/enterprise/auth/error.astro +3 -1
  343. package/eventcatalog/src/enterprise/auth/login.astro +3 -1
  344. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +4 -1
  345. package/eventcatalog/src/pages/studio.astro +3 -1
  346. package/eventcatalog/src/toolkit/layouts/Layout.astro +7 -1
  347. package/package.json +3 -3
  348. package/dist/docs/api/03-domain-api.md +0 -440
  349. package/dist/docs/api/04-service-api.md +0 -414
  350. package/dist/docs/api/05-command-api.md +0 -365
  351. package/dist/docs/api/06-event-api.md +0 -364
  352. package/dist/docs/api/06-query-api.md +0 -362
  353. package/dist/docs/api/08-channel-api.md +0 -363
  354. package/dist/docs/api/09-flow-api.md +0 -446
  355. package/dist/docs/api/10-entity-api.md +0 -330
  356. package/dist/docs/api/11-data-api.md +0 -273
  357. package/dist/docs/api/12-data-product-api.md +0 -445
  358. package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +0 -68
  359. package/dist/docs/development/components/external-diagram-embeds/_category_.json +0 -12
  360. package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +0 -73
  361. package/dist/docs/development/customization/custom-components/01-introduction.md +0 -28
  362. package/dist/docs/development/customization/custom-components/02-adding-components.md +0 -145
  363. package/dist/docs/development/customization/custom-components/03-component-styling.md +0 -27
  364. package/dist/docs/development/customization/custom-components/04-javascript-components.md +0 -32
  365. package/dist/docs/development/customization/custom-components/_category_.json +0 -11
  366. package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +0 -85
  367. package/dist/docs/development/customization/customize-sidebars/_category_.json +0 -11
  368. package/dist/docs/development/developer-tools/github-action.md +0 -147
  369. package/dist/docs/development/guides/12-customize-your-sidebar.md +0 -12
  370. package/dist/docs/development/guides/agents/02-adding-agents.md +0 -152
  371. package/dist/docs/development/guides/agents/adding-to-agents/_category_.json +0 -10
  372. package/dist/docs/development/guides/agents/ownership/01-owners.md +0 -67
  373. package/dist/docs/development/guides/agents/ownership/_category_.json +0 -11
  374. package/dist/docs/development/guides/agents/versioning-and-lifecycle/01-versioning.md +0 -48
  375. package/dist/docs/development/guides/agents/versioning-and-lifecycle/02-changelog.md +0 -40
  376. package/dist/docs/development/guides/agents/versioning-and-lifecycle/03-deprecating.md +0 -41
  377. package/dist/docs/development/guides/agents/versioning-and-lifecycle/_category_.json +0 -11
  378. package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +0 -44
  379. package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +0 -16
  380. package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +0 -11
  381. package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +0 -31
  382. package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +0 -56
  383. package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +0 -11
  384. package/dist/docs/development/guides/data/01-introduction.md +0 -34
  385. package/dist/docs/development/guides/data/02-adding-data.md +0 -86
  386. package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +0 -73
  387. package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +0 -45
  388. package/dist/docs/development/guides/data/ownership-and-components/02-components.md +0 -17
  389. package/dist/docs/development/guides/data/ownership-and-components/_category_.json +0 -11
  390. package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +0 -32
  391. package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +0 -57
  392. package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +0 -71
  393. package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +0 -11
  394. package/dist/docs/development/guides/data-products/02-adding-data-products.md +0 -157
  395. package/dist/docs/development/guides/data-products/05-versioning.md +0 -240
  396. package/dist/docs/development/guides/data-products/06-adding-to-domains.md +0 -52
  397. package/dist/docs/development/guides/diagrams/01-introduction.md +0 -78
  398. package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +0 -195
  399. package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +0 -204
  400. package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +0 -145
  401. package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +0 -165
  402. package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +0 -11
  403. package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +0 -10
  404. package/dist/docs/development/guides/domains/05-entities/01-introduction.md +0 -24
  405. package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +0 -157
  406. package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +0 -30
  407. package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +0 -134
  408. package/dist/docs/development/guides/flows/01-introduction.md +0 -36
  409. package/dist/docs/development/guides/flows/02-adding-flows.md +0 -198
  410. package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +0 -42
  411. package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +0 -43
  412. package/dist/docs/development/guides/flows/06-versioning.md +0 -27
  413. package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +0 -171
  414. package/dist/docs/development/guides/messages/01-overview.md +0 -57
  415. package/dist/docs/development/guides/messages/_category_.json +0 -11
  416. package/dist/docs/development/guides/messages/commands/02-adding-commands.md +0 -131
  417. package/dist/docs/development/guides/messages/commands/_category_.json +0 -11
  418. package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +0 -37
  419. package/dist/docs/development/guides/messages/common/02-adding-schemas.md +0 -58
  420. package/dist/docs/development/guides/messages/common/03-owners.md +0 -40
  421. package/dist/docs/development/guides/messages/common/07-components.md +0 -12
  422. package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +0 -70
  423. package/dist/docs/development/guides/messages/common/_category_.json +0 -11
  424. package/dist/docs/development/guides/messages/events/02-adding-events.md +0 -130
  425. package/dist/docs/development/guides/messages/events/_category_.json +0 -11
  426. package/dist/docs/development/guides/messages/queries/01-introduction.md +0 -25
  427. package/dist/docs/development/guides/messages/queries/02-adding-queries.md +0 -130
  428. package/dist/docs/development/guides/owners/teams/01-introduction.md +0 -21
  429. package/dist/docs/development/guides/owners/teams/02-adding-teams.md +0 -73
  430. package/dist/docs/development/guides/owners/teams/_category_.json +0 -11
  431. package/dist/docs/development/guides/owners/users/01-introduction.md +0 -20
  432. package/dist/docs/development/guides/owners/users/02-adding-users.md +0 -69
  433. package/dist/docs/development/guides/owners/users/_category_.json +0 -11
  434. package/dist/docs/development/guides/schemas/01-introduction.md +0 -64
  435. package/dist/docs/development/guides/services/01-introduction.md +0 -33
  436. package/dist/docs/development/guides/services/02-adding-services.md +0 -113
  437. package/dist/docs/development/guides/services/03-creating-external-systems.md +0 -71
  438. package/dist/docs/development/guides/services/adding-to-services/01-messages.md +0 -229
  439. package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +0 -77
  440. package/dist/docs/development/guides/services/adding-to-services/_category_.json +0 -10
  441. package/dist/docs/development/guides/services/ownership-and-components/_category_.json +0 -11
  442. package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +0 -11
  443. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/01-introduction.md +0 -0
  444. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/02-installation.md +0 -0
  445. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/01-introduction.md +0 -0
  446. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/02-slack-app-setup.md +0 -0
  447. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/04-deployment.md +0 -0
  448. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/05-usage.md +0 -0
  449. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/06-troubleshooting.md +0 -0
  450. /package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/09-configuration +0 -0
@@ -1,11 +0,0 @@
1
- {
2
- "label": "Creating domains",
3
- "position": 1,
4
- "collapsible": true,
5
- "collapsed": true,
6
- "link": {
7
- "type": "generated-index",
8
- "slug": "/",
9
- "description": "A collection of guides to help you understand domains and how they work with EventCatalog."
10
- }
11
- }
@@ -1,10 +0,0 @@
1
- {
2
- "label": "Versioning & changelogs",
3
- "position": 3,
4
- "collapsible": true,
5
- "collapsed": true,
6
- "link": {
7
- "type": "generated-index",
8
- "slug": "/domains/versioning-and-changelogs"
9
- }
10
- }
@@ -1,24 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog domains
4
- sidebar_label: What are entities?
5
- title: What are entities?
6
- description: What are entities? Why are they useful for event-driven architectures?
7
- ---
8
-
9
- import AddedIn from '@site/src/components/MDX/AddedIn';
10
-
11
- <AddedIn version="2.36.0" />
12
-
13
- In Domain-Driven Design, an entity is an object with a unique identity that stays the same over time, even if its data changes. It’s defined by this identity, not just its properties. For example, a `Customer` with a unique ID is an entity, even if their name or address changes.
14
-
15
- In Domain-Driven Design, entities are the core building blocks of a domain—they represent key concepts or things within that domain that have a unique identity. The domain defines the business logic and rules, and entities bring that logic to life by modeling real-world objects or roles, like `Order`, `Customer`, or `Invoice`. Each entity lives within a bounded context of the domain, ensuring it behaves consistently according to that part of the business.
16
-
17
- **In EventCatalog entities are optional.**, if you don't want to add entity documentation you can skip this resource.
18
-
19
- ### How do entities work in EventCatalog?
20
-
21
- Entities are a "**optional**" resource in EventCatalog and like every other resource in EventCatalog they are defined in markdown files.
22
-
23
- Entities can be added to your `domains` and `services`.
24
-
@@ -1,157 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog entities
4
- sidebar_label: Creating an entity
5
- title: Creating entities
6
- description: Creating and managing entities within EventCatalog.
7
- ---
8
-
9
- import AddedIn from '@site/src/components/MDX/AddedIn';
10
-
11
- <AddedIn version="2.36.0" />
12
-
13
- Entities are markdown files in EventCatalog, they have unique ids and can be versioned.
14
-
15
- Entities can be assigned to domains and/or services.
16
-
17
- You can read the Entity API documentation [here](/docs/api/entity-api).
18
-
19
- ### What do entities look like in EventCatalog?
20
-
21
- ![Example](./img/entity-example.png)
22
-
23
- Entity visualization
24
-
25
- ![Entity Map](./img/entity-map.png)
26
-
27
- [View Demo of an OrderItem entity for an Orders domain &rarr;](https://demo.eventcatalog.dev/docs/entities/OrderItem/1.0.0)
28
-
29
- ## Adding a new entity
30
-
31
- To add a new entity create a new folder within the `/domains` or `/services` folder with an `index.mdx` file.
32
-
33
- **Creating an entity in a domain:**
34
- - `/domains/{Domain Name}/entities/{Entity Name}/index.mdx`
35
- - (example `/domains/Orders/entities/Order/index.mdx`)
36
-
37
- **Creating an entity in a service:**
38
- - `/services/{Service Name}/entities/{Entity Name}/index.mdx`
39
- - (example `/services/PaymentService/entities/Payment/index.mdx`)
40
-
41
- The `index.mdx` contents are split into two sections, **frontmatter** and the **markdown content**.
42
-
43
-
44
- _Here is an example of what a entity markdown file may look like._
45
-
46
- ```md title="/domains/Orders/entities/Order/index.mdx (example)"
47
- ---
48
- # the id of the entity (used in EventCatalog)
49
- id: Order
50
- # the name of the entity
51
- name: Order
52
- # the version of the entity
53
- version: 1.0.0
54
- # whether the entity is an aggregate root (optional)
55
- aggregateRoot: true
56
- # a summary of the entity (optional)
57
- summary: Represents a customer's request to purchase products or services.
58
- # the properties of the entity (optional)
59
- properties:
60
- - name: orderId
61
- type: UUID
62
- required: true
63
- description: Unique identifier for the order
64
- - name: customerId
65
- type: UUID
66
- required: true
67
- description: Identifier for the customer placing the order
68
- - name: orderDate
69
- type: DateTime
70
- required: true
71
- description: Date and time when the order was placed
72
- - name: status
73
- type: string
74
- required: true
75
- description: Current status of the order (e.g., Pending, Processing, Shipped, Delivered, Cancelled)
76
- enum: ['Pending', 'Processing', 'Shipped', 'Delivered', 'Cancelled']
77
- - name: orderItems
78
- type: array
79
- items:
80
- type: OrderItem # Assuming an OrderItem entity exists
81
- required: true
82
- description: List of items included in the order
83
- - name: totalAmount
84
- type: decimal
85
- required: true
86
- description: Total monetary value of the order
87
- - name: shippingAddress
88
- type: Address # Assuming an Address value object or entity exists
89
- required: true
90
- description: Address where the order should be shipped
91
- ---
92
-
93
- ## Overview
94
-
95
- The Order entity captures all details related to a customer's purchase request. It serves as the central aggregate root within the Orders domain, coordinating information about the customer, products ordered, payment, and shipping.
96
-
97
- ### Entity Properties
98
- <EntityPropertiesTable />
99
-
100
- ## Relationships
101
-
102
- * **Customer:** Each order belongs to one `Customer` (identified by `customerId`).
103
- * **OrderItem:** An order contains one or more `OrderItem` entities detailing the specific products and quantities.
104
- * **Payment:** An order is typically associated with a `Payment` entity (not detailed here).
105
- * **Shipment:** An order may lead to one or more `Shipment` entities (not detailed here).
106
-
107
- ## Examples
108
-
109
- * **Order #12345:** A customer orders 2 units of Product A and 1 unit of Product B, to be shipped to their home address. Status is 'Processing'.
110
- * **Order #67890:** A customer places a large order for multiple items, requiring special shipping arrangements. Status is 'Pending' until payment confirmation.
111
-
112
- ```
113
-
114
- Once you add you new entity, you need to add it to the domain.
115
-
116
- ```md title="/domains/Orders/index.mdx"
117
- ---
118
- # the id of the domain (used in EventCatalog)
119
- id: Orders
120
- # the name of the domain
121
- name: Orders
122
- # Add your entities here
123
- entities:
124
- - id: Order
125
- # Optional, if not provided the latest version will be used
126
- version: 1.0.0
127
- ---
128
-
129
- This is your domain markdown....
130
-
131
- ```
132
-
133
- Once your entity is defined and added to the domain, you can navigate to the entity through domain navigation.
134
-
135
- To learn more about entities and how to use them, you can read the Entity API documentation [here](/docs/api/entity-api).
136
-
137
- ## Adding markdown content
138
-
139
- With **entities** you can write any Markdown you want and it will render on your page. Every entity gets its own page.
140
-
141
- :::tip
142
- Think about writing a blog. EventCatalog is just markdown. Write and use it how you like, and the website will render your content!
143
- :::
144
-
145
- Within your markdown content you can use [components](/docs/development/components/using-components) to add interactive components to your page.
146
-
147
- To find out more read the [entity components list](/docs/development/components/using-components).
148
-
149
- ### Tips for entity content
150
-
151
- It's entirely up to you what you want to add to your entities markdown content but here are a few things you might want to consider.
152
-
153
- - Add a summary of the entity
154
- - Add a diagram of the entity
155
- - Add examples of the entity
156
- - Add a table of the entity properties using the `<EntityPropertiesTable />` component
157
-
@@ -1,30 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog domains
4
- sidebar_label: Adding entities to domains
5
- title: Adding entities to domains
6
- description: Creating and managing entities within EventCatalog.
7
- ---
8
-
9
- import AddedIn from '@site/src/components/MDX/AddedIn';
10
-
11
- <AddedIn version="2.36.0" />
12
-
13
- Once you have [created your entities](/docs/development/guides/domains/entities/adding-entities) you can add them to your domains.
14
-
15
- To add an entity to a domain you need to add the entity to the `entities` array in the domain's markdown file.
16
-
17
- ```mdx title="/domains/Orders/index.mdx"
18
-
19
- ---
20
- id: OrderItem
21
- name: OrderItem
22
- version: 1.0.0
23
- entities:
24
- - id: OrderItem
25
- version: 1.0.0
26
- ---
27
-
28
- Your domain markdown...
29
-
30
- ```
@@ -1,134 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog Entity Map
4
- - Domain-Driven Design
5
- - Entity Visualization
6
- - Domain Entities
7
- - Service Entities
8
- sidebar_label: Visualizing entities
9
- title: Entity Maps
10
- description: Visualize and explore entity relationships within your domains and services using EventCatalog's Entity Map feature.
11
- ---
12
-
13
- import AddedIn from '@site/src/components/MDX/AddedIn';
14
-
15
- <AddedIn version="2.49.0" />
16
-
17
- The Entity Map is a visualization feature in EventCatalog that helps you understand the relationships between entities within your domains and services. Since entities represent the core building blocks of your domain model, visualizing their connections provides valuable insights into your architecture.
18
-
19
- ## What is the Entity Map?
20
-
21
- The Entity Map is a visual representation that shows how entities are connected within a domain or service. It displays:
22
-
23
- - **Entities**: The core objects with unique identity in your domain
24
- - **Relationships**: How entities connect to each other
25
- - **Context**: Which domain or service each entity belongs to
26
- - **Hierarchical Structure**: How entities are organized
27
-
28
- This visualization helps teams understand the domain model at a glance and identify potential architectural improvements.
29
-
30
- ## Entity Map Views
31
-
32
- EventCatalog provides two main ways to view and interact with Entity Maps:
33
-
34
- - [Entity Map in the Visualizer](#entity-map-in-the-visualizer)
35
- - [Embed Entity Map as Component](#embed-entity-map-as-component)
36
-
37
- ### Entity Map in the Visualizer
38
-
39
- The **Entity Map Visualizer** is a dedicated page that provides a comprehensive view of all entities within a domain or service.
40
-
41
- - Domains: `/visualiser/domains/{id}/{version}/entity-map` ([see demo](https://demo.eventcatalog.dev/visualiser/domains/Orders/0.0.3/entity-map))
42
- - Services: `/visualiser/services/{id}/{version}/entity-map`
43
-
44
- When a domain or service has entities assigned, an **Entity Map** link appears automatically in the sidebar under the visualizer section.
45
-
46
- Entities that are referenced in another domain will be shown as **yellow**.
47
-
48
- ![Entity Map](./img/entity-map.png)
49
-
50
- This full-screen visualization offers:
51
-
52
- - **Interactive Navigation**: Click and drag to explore the entity relationships
53
- - **Zoom Controls**: Zoom in for detailed views or zoom out for the big picture
54
- - **Entity Details**: Hover over an entity property to see its description
55
- - **Filter Options**: Focus on specific types of entities or relationships
56
-
57
- ### Embed Entity Map as Component
58
-
59
- You can embed the Entity Map of a domain on any page in your catalog using the `<EntityMap id="domain-name" />` component ([see demo](https://demo.eventcatalog.dev/docs/domains/Orders/0.0.3#entity-map)).
60
-
61
- ![Entity Map Component](./img/entity-map-component.png)
62
-
63
- This compact version provides:
64
-
65
- - **Contextual View**: Shows entities relevant to the current domain or service
66
- - **Embedded Integration**: Seamlessly integrates with your documentation
67
- - **Quick Reference**: Provides a visual summary without leaving the current page
68
- - **Clickable Entities**: Navigate to detailed entity documentation
69
-
70
- ## How to create references between entities
71
-
72
- To define relationships between entities in EventCatalog, follow these steps:
73
-
74
- ### 1. Create Your Entities
75
-
76
- Start by creating your entities in your EventCatalog.
77
-
78
- Refer to the [entity creation guide](/docs/development/guides/domains/entities/adding-entities) for detailed instructions, or you can read the [Entity API documentation](/docs/api/entity-api) for more details.
79
-
80
- ### 2. Use Reference Fields in Properties
81
-
82
- Once your entities are created, you can use optional fields in your entity properties to define relationships between them.
83
-
84
- The supported fields are:
85
-
86
- - `references`: The name of the entity you want to reference (e.g. `Order`)
87
- - `relationType`: The type of relationship (e.g. `hasOne`, `hasMany`, `belongsTo`)
88
- - `referencesIdentifier`: The property name in the referenced entity used to establish the relationship (e.g. `orderId`)
89
-
90
- _More information on the reference fields can be found in the [Entity API documentation](/docs/api/entity-api)._
91
-
92
- ### Example: `OrderItem` referencing `Order`
93
-
94
- Let’s say you have an `OrderItem` entity that needs to reference an `Order` entity:
95
-
96
- - The `orderId` property in `OrderItem` is used to reference the `Order`.
97
- - Set `references` to `Order` to indicate which entity is being referenced.
98
- - Set `relationType` to `hasOne` to represent that each `OrderItem` is linked to one `Order`.
99
- - Set `referencesIdentifier` to `orderId` to specify the matching field in the `Order` entity.
100
-
101
- ```yaml
102
- ---
103
- id: OrderItem
104
- name: OrderItem
105
- version: 1.0.0
106
- identifier: orderItemId
107
- summary: Represents a single item within a customer's order.
108
-
109
- properties:
110
- - name: orderItemId
111
- type: UUID
112
- required: true
113
- description: Unique identifier for the order item
114
- - name: orderId
115
- type: UUID
116
- required: true
117
- description: Identifier for the parent Order
118
- references: Order
119
- relationType: hasOne
120
- referencesIdentifier: orderId
121
- ---
122
- ```
123
-
124
- ### Visual Output
125
-
126
- This configuration generates an entity map that visually shows the relationship between `OrderItem` and `Order`.
127
-
128
- ![Entity Map](./img/simple-entity-map.png)
129
-
130
- ### Embed in Backstage
131
-
132
- If you are using Backstage, you can embed the entity map in your Backstage entity page using the `<EventCatalogEntityEntityMapCard />` component.
133
-
134
- You can read more about how to embed the entity map in Backstage in the [Backstage plugin documentation](/docs/plugins/backstage/installation).
@@ -1,36 +0,0 @@
1
- ---
2
- sidebar_position: 1
3
- keywords:
4
- - EventCatalog services
5
- - Services
6
- sidebar_label: What are flows?
7
- title: Understanding flows
8
- description: What are flows? Why are they useful for event-driven architectures?
9
- ---
10
-
11
- import AddedIn from '@site/src/components/MDX/AddedIn';
12
-
13
- <AddedIn version="2.5.0" />
14
-
15
- Flows are a way to document business workflows in your organization. You can reuse your documented resources (e.g services, messages, data stores, data products) in your flows.
16
-
17
- An example of a flow would be when a user makes a payment to an e-commence system, this interaction triggers many parts of the architecture (services, external services, commands, queries and events):
18
-
19
- 1. User requests to make payment (e.g MakePayment Command)
20
- 1. Command is sent to Payment Service (e.g Payment Service)
21
- 1. Payment service will either accept or reject payment (e.g PaymentAccepted / PaymentRejected events)
22
- 1. Notification service listens to these events and sends Emails (e.g EmailSent Event)
23
- 1. User will be notified of payment success/failure
24
-
25
- ### Example
26
-
27
- ![Example](../img/flows/flow-example.png)
28
-
29
- [You can see a payment flow example here](https://demo.eventcatalog.dev/visualiser/flows/PaymentFlow/1.0.0).
30
-
31
-
32
- <!--
33
- ### Further reading
34
- - [Event-driven architecture and domain-driven design](https://eda-visuals.boyney.io/visuals/eda-and-ddd)
35
- - [Domain, Subdomain, Bounded Context: Problem/Solution Space in DDD: Clearly Defined](https://medium.com/nick-tune-tech-strategy-blog/domains-subdomain-problem-solution-space-in-ddd-clearly-defined-e0b49c7b586c)
36
- - [Building Blocks of DDD](https://redis.io/glossary/domain-driven-design-ddd/) -->
@@ -1,198 +0,0 @@
1
- ---
2
- sidebar_position: 2
3
- keywords:
4
- - EventCatalog flows
5
- sidebar_label: Creating a flow
6
- title: Creating flows
7
- description: Creating and managing flows within EventCatalog.
8
- ---
9
-
10
- import AddedIn from '@site/src/components/MDX/AddedIn';
11
-
12
- <AddedIn version="2.5.0" />
13
-
14
- Flows live in a `/flows` folder. EventCatalog will discover any `index.mdx` file inside a `flows` directory, regardless of where that directory lives in your catalog.
15
-
16
- You can place flows:
17
-
18
- - At the root of your catalog: `/flows/{Flow Name}/index.mdx`
19
- - Inside a domain: `/domains/Orders/flows/{Flow Name}/index.mdx`
20
- - Inside a service: `/services/PaymentService/flows/{Flow Name}/index.mdx`
21
- - In subdirectories to group related flows: `/flows/Payments/{Flow Name}/index.mdx`
22
-
23
- The contents are split into two sections, **frontmatter** and the **markdown content**.
24
-
25
- _Here is an example of what a flow file may look like._
26
-
27
- ```md title="/flows/CancelSubscription/index.mdx (example)"
28
- ---
29
- id: "CancelSubscription"
30
- name: "User Cancels Subscription"
31
- version: "0.0.1"
32
- summary: "Flow for when a user has cancelled a subscription"
33
- steps:
34
- - id: "cancel_subscription_initiated"
35
- title: "Cancels Subscription"
36
- summary: "User cancels their subscription"
37
- # define the actor for, in this case it's a user.
38
- actor:
39
- name: "User"
40
- # What happens next? Define the next step
41
- next_step:
42
- id: "cancel_subscription_request"
43
- label: "Initiate subscription cancellation"
44
-
45
- - id: "cancel_subscription_request"
46
- title: "Cancel Subscription"
47
- # This step is a message, include the message and version
48
- message:
49
- id: "CancelSubscription"
50
- version: "0.0.1"
51
- next_step:
52
- id: "subscription_service"
53
- label: "Proceed to subscription service"
54
-
55
- - id: "stripe_integration"
56
- title: "Stripe"
57
- # This is an external system (e.g Stripe)
58
- externalSystem:
59
- name: "Stripe"
60
- summary: "3rd party payment system"
61
- url: "https://stripe.com/"
62
- next_step:
63
- id: "subscription_service"
64
- label: "Return to subscription service"
65
-
66
- - id: "subscription_service"
67
- title: "Subscription Service"
68
- # This node is a service, include that.
69
- service:
70
- id: "SubscriptionService"
71
- version: "0.0.1"
72
- # Define multiple steps
73
- next_steps:
74
- - id: "stripe_integration"
75
- label: "Cancel subscription via Stripe"
76
- - id: "subscription_cancelled"
77
- label: "Successful cancellation"
78
- - id: "subscription_rejected"
79
- label: "Failed cancellation"
80
-
81
- - id: "subscription_cancelled"
82
- title: "Subscription has been Cancelled"
83
- message:
84
- id: "UserSubscriptionCancelled"
85
- version: "0.0.1"
86
- next_step:
87
- id: "notification_service"
88
- label: "Email customer"
89
-
90
- - id: "subscription_rejected"
91
- title: "Subscription cancellation has been rejected"
92
-
93
- - id: "notification_service"
94
- title: "Notifications Service"
95
- service:
96
- id: "NotificationService"
97
- version: "0.0.2"
98
-
99
- ---
100
-
101
- This flow documents what happens when a User Cancels Subscription in our system.
102
-
103
- <NodeGraph />
104
-
105
- <!-- Add any markdown you want, the workflow will also render in its own page /docs/flows/{Flow}/{version} -->
106
-
107
- ```
108
-
109
- Once this file is added, the event will automatically appear across EventCatalog.
110
-
111
- ## Organize with subdirectories
112
-
113
- You can group related flows by placing them in subdirectories inside any `flows` folder. EventCatalog will discover them regardless of nesting depth.
114
-
115
- ```
116
- flows/
117
- Payments/
118
- ProcessPayment/
119
- index.mdx
120
- RefundPayment/
121
- index.mdx
122
- Subscriptions/
123
- CancelSubscription/
124
- index.mdx
125
- ```
126
-
127
- The flow `id` in your frontmatter is what EventCatalog uses for routing and references. The directory structure is purely for organization.
128
-
129
- ## Add badges
130
-
131
- Badges appear on the flow page and in catalog listings. Use them to label flows by category, status, or team, and users can filter flows by badge.
132
-
133
- ```md title="Example"
134
- ---
135
- id: ProcessPayment
136
- name: Process Payment
137
- version: 1.0.0
138
- badges:
139
- - content: Payments
140
- backgroundColor: blue
141
- textColor: blue
142
- - content: Critical
143
- backgroundColor: red
144
- textColor: red
145
- ---
146
- ```
147
-
148
- ## Write flow content
149
-
150
- You can write any Markdown inside a flow.
151
-
152
- Each flow gets its own page, so use this space to fully explain how it works.
153
-
154
- You can also use [interactive components](/docs/development/components/using-components) to enrich your documentation.
155
-
156
- ## Add child flows / reusable flows
157
-
158
- <AddedIn version="2.34.2" />
159
-
160
- You can reference a flow from another flow. This lets you reuse flows in your flow diagrams, useful if you have complex flows that reuse information from another flow.
161
-
162
- To reference a flow from another flow, use the `flow` node type.
163
-
164
- ```yml
165
- steps:
166
- - id: "step-1"
167
- title: "Example Step of a Event"
168
- flow:
169
- id: "order-flow"
170
- version: 0.0.1
171
- ```
172
-
173
- This will render the `order-flow` within the described flow.
174
- Right clicking on the `order-flow` node will let you navigate to the referenced flow.
175
-
176
- ### Expand sub-flows inline
177
-
178
- <AddedIn version="3.29.0" />
179
-
180
- Click any sub-flow node in the visualiser to expand its steps inline inside the parent flow diagram. Click the Collapse button in the expanded node's header to restore the single-node view.
181
-
182
- ![Expanded sub-flow showing inline steps inside a parent flow diagram](/img/docs/subflow-assets/subflow-expanded.png)
183
-
184
- Expanded steps participate in the step-by-step walkthrough, so you can navigate through them using the next/previous controls without leaving the parent flow. Nested sub-flows (a sub-flow that itself references another flow) also expand correctly.
185
-
186
- ### Tips for flow content
187
-
188
- It's entirely up to you what you want to add to your flows markdown content but here are a few things you might want to consider.
189
-
190
- - Context of the flow. What is it? Why does it exist?
191
- - Examples of how to trigger the flow?
192
- - Any edit/contributing guidelines?
193
-
194
- ### What do flows look like in EventCatalog?
195
-
196
- ![Example](../img/flows/flow-example.png)
197
-
198
- [See a flow example](https://demo.eventcatalog.dev/visualiser/flows/PaymentFlow/1.0.0).
@@ -1,42 +0,0 @@
1
- ---
2
- keywords:
3
- - EventCatalog flows
4
- sidebar_label: Adding flows to services
5
- title: Adding flows to services
6
- description: Associate flows with services in EventCatalog
7
- ---
8
-
9
- Adding [flows](/docs/development/guides/flows/introduction) to your services helps document which business processes or workflows involve a particular service.
10
-
11
- When adding flows to your service EventCatalog will:
12
-
13
- - Show the flows in the service sidebar
14
- - Create clear relationships between services and the processes they participate in
15
-
16
- You can also place flow files directly inside a service directory. EventCatalog discovers any `index.mdx` inside a `flows` folder at any depth, so `/services/PaymentService/flows/ProcessPayment/index.mdx` is a valid location.
17
-
18
- ## Add flows using frontmatter
19
-
20
- To add flows to a service you need to add them to the `flows` array within your service frontmatter API.
21
-
22
- ```md title="/services/Orders/index.mdx (example)"
23
- ---
24
- id: OrdersService
25
- ... # other service 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 service tells EventCatalog that these documented flows involve this service.
41
-
42
- In the example above we can see that the flows `OrderProcessing` and `PaymentFlow` involve the `OrdersService`.