@eventcatalog/core 4.1.3 → 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 (437) 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-TUKKXNQR.js → chunk-B3HQOT3D.js} +1 -1
  6. package/dist/{chunk-PDQER3NQ.js → chunk-CAYWT7E4.js} +1 -1
  7. package/dist/{chunk-DDGOJV25.js → chunk-RAB6LGHN.js} +1 -1
  8. package/dist/{chunk-G3D7IZ67.js → chunk-TCK7WEEE.js} +1 -1
  9. package/dist/{chunk-WEDJTUSQ.js → chunk-ZLQUICJD.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/src/layouts/VerticalSideBarLayout.astro +4 -1
  333. package/eventcatalog/src/toolkit/layouts/Layout.astro +7 -1
  334. package/package.json +3 -3
  335. package/dist/docs/api/03-domain-api.md +0 -440
  336. package/dist/docs/api/04-service-api.md +0 -414
  337. package/dist/docs/api/05-command-api.md +0 -365
  338. package/dist/docs/api/06-event-api.md +0 -364
  339. package/dist/docs/api/06-query-api.md +0 -362
  340. package/dist/docs/api/08-channel-api.md +0 -363
  341. package/dist/docs/api/09-flow-api.md +0 -446
  342. package/dist/docs/api/10-entity-api.md +0 -330
  343. package/dist/docs/api/11-data-api.md +0 -273
  344. package/dist/docs/api/12-data-product-api.md +0 -445
  345. package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +0 -68
  346. package/dist/docs/development/components/external-diagram-embeds/_category_.json +0 -12
  347. package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +0 -73
  348. package/dist/docs/development/customization/custom-components/01-introduction.md +0 -28
  349. package/dist/docs/development/customization/custom-components/02-adding-components.md +0 -145
  350. package/dist/docs/development/customization/custom-components/03-component-styling.md +0 -27
  351. package/dist/docs/development/customization/custom-components/04-javascript-components.md +0 -32
  352. package/dist/docs/development/customization/custom-components/_category_.json +0 -11
  353. package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +0 -85
  354. package/dist/docs/development/customization/customize-sidebars/_category_.json +0 -11
  355. package/dist/docs/development/developer-tools/github-action.md +0 -147
  356. package/dist/docs/development/guides/12-customize-your-sidebar.md +0 -12
  357. package/dist/docs/development/guides/agents/02-adding-agents.md +0 -152
  358. package/dist/docs/development/guides/agents/adding-to-agents/_category_.json +0 -10
  359. package/dist/docs/development/guides/agents/ownership/01-owners.md +0 -67
  360. package/dist/docs/development/guides/agents/ownership/_category_.json +0 -11
  361. package/dist/docs/development/guides/agents/versioning-and-lifecycle/01-versioning.md +0 -48
  362. package/dist/docs/development/guides/agents/versioning-and-lifecycle/02-changelog.md +0 -40
  363. package/dist/docs/development/guides/agents/versioning-and-lifecycle/03-deprecating.md +0 -41
  364. package/dist/docs/development/guides/agents/versioning-and-lifecycle/_category_.json +0 -11
  365. package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +0 -44
  366. package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +0 -16
  367. package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +0 -11
  368. package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +0 -31
  369. package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +0 -56
  370. package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +0 -11
  371. package/dist/docs/development/guides/data/01-introduction.md +0 -34
  372. package/dist/docs/development/guides/data/02-adding-data.md +0 -86
  373. package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +0 -73
  374. package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +0 -45
  375. package/dist/docs/development/guides/data/ownership-and-components/02-components.md +0 -17
  376. package/dist/docs/development/guides/data/ownership-and-components/_category_.json +0 -11
  377. package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +0 -32
  378. package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +0 -57
  379. package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +0 -71
  380. package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +0 -11
  381. package/dist/docs/development/guides/data-products/02-adding-data-products.md +0 -157
  382. package/dist/docs/development/guides/data-products/05-versioning.md +0 -240
  383. package/dist/docs/development/guides/data-products/06-adding-to-domains.md +0 -52
  384. package/dist/docs/development/guides/diagrams/01-introduction.md +0 -78
  385. package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +0 -195
  386. package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +0 -204
  387. package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +0 -145
  388. package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +0 -165
  389. package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +0 -11
  390. package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +0 -10
  391. package/dist/docs/development/guides/domains/05-entities/01-introduction.md +0 -24
  392. package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +0 -157
  393. package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +0 -30
  394. package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +0 -134
  395. package/dist/docs/development/guides/flows/01-introduction.md +0 -36
  396. package/dist/docs/development/guides/flows/02-adding-flows.md +0 -198
  397. package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +0 -42
  398. package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +0 -43
  399. package/dist/docs/development/guides/flows/06-versioning.md +0 -27
  400. package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +0 -171
  401. package/dist/docs/development/guides/messages/01-overview.md +0 -57
  402. package/dist/docs/development/guides/messages/_category_.json +0 -11
  403. package/dist/docs/development/guides/messages/commands/02-adding-commands.md +0 -131
  404. package/dist/docs/development/guides/messages/commands/_category_.json +0 -11
  405. package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +0 -37
  406. package/dist/docs/development/guides/messages/common/02-adding-schemas.md +0 -58
  407. package/dist/docs/development/guides/messages/common/03-owners.md +0 -40
  408. package/dist/docs/development/guides/messages/common/07-components.md +0 -12
  409. package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +0 -70
  410. package/dist/docs/development/guides/messages/common/_category_.json +0 -11
  411. package/dist/docs/development/guides/messages/events/02-adding-events.md +0 -130
  412. package/dist/docs/development/guides/messages/events/_category_.json +0 -11
  413. package/dist/docs/development/guides/messages/queries/01-introduction.md +0 -25
  414. package/dist/docs/development/guides/messages/queries/02-adding-queries.md +0 -130
  415. package/dist/docs/development/guides/owners/teams/01-introduction.md +0 -21
  416. package/dist/docs/development/guides/owners/teams/02-adding-teams.md +0 -73
  417. package/dist/docs/development/guides/owners/teams/_category_.json +0 -11
  418. package/dist/docs/development/guides/owners/users/01-introduction.md +0 -20
  419. package/dist/docs/development/guides/owners/users/02-adding-users.md +0 -69
  420. package/dist/docs/development/guides/owners/users/_category_.json +0 -11
  421. package/dist/docs/development/guides/schemas/01-introduction.md +0 -64
  422. package/dist/docs/development/guides/services/01-introduction.md +0 -33
  423. package/dist/docs/development/guides/services/02-adding-services.md +0 -113
  424. package/dist/docs/development/guides/services/03-creating-external-systems.md +0 -71
  425. package/dist/docs/development/guides/services/adding-to-services/01-messages.md +0 -229
  426. package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +0 -77
  427. package/dist/docs/development/guides/services/adding-to-services/_category_.json +0 -10
  428. package/dist/docs/development/guides/services/ownership-and-components/_category_.json +0 -11
  429. package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +0 -11
  430. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/01-introduction.md +0 -0
  431. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/02-installation.md +0 -0
  432. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/01-introduction.md +0 -0
  433. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/02-slack-app-setup.md +0 -0
  434. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/04-deployment.md +0 -0
  435. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/05-usage.md +0 -0
  436. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/06-troubleshooting.md +0 -0
  437. /package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/09-configuration +0 -0
@@ -1,446 +0,0 @@
1
- ---
2
- sidebar_position: 5
3
- sidebar_label: Flow API
4
- title: Flow frontmatter API
5
- description: Understanding the API for flows.
6
- ---
7
-
8
- import AddedIn from '@site/src/components/MDX/AddedIn';
9
-
10
- ## Overview {#overview}
11
-
12
- Flows are just markdown files, with this comes the use of Content, MDX components and also [front-matter](https://jekyllrb.com/docs/front-matter/).
13
-
14
- Here is an example of of a basic flow.
15
-
16
- ```md title="/events/InventoryOutOfStock/index.mdx (example)"
17
- ---
18
- # id of the flow
19
- id: "CancelSubscriptionFlow"
20
-
21
- # Display name of the flow, rendered in EventCatalog
22
- name: "User Cancels Subscription"
23
-
24
- # version for your flow
25
- version: "0.0.1"
26
-
27
- # Short summary of your event
28
- summary: "Flow for when a user has cancelled a subscription"
29
-
30
- # A list of steps for your flow
31
- steps:
32
-
33
- # id of your step, required for linking between stages in your flow
34
- - id: "cancel_subscription_initiated"
35
- # rendered title of your step
36
- title: "Cancels Subscription"
37
- # Short summary of a step
38
- summary: "User cancels their subscription"
39
- # Defining an actor will render an actor node in the graph.
40
- actor:
41
- name: "User"
42
- # What happens next? Define the next step
43
- next_step:
44
- id: "cancel_subscription_request"
45
- label: "Initiate subscription cancellation"
46
-
47
- - id: "cancel_subscription_request"
48
- title: "Cancel Subscription"
49
- # This step is a message, include the message and version
50
- message:
51
- id: "CancelSubscription"
52
- version: "0.0.1"
53
- next_step:
54
- id: "subscription_service"
55
- label: "Proceed to subscription service"
56
-
57
- - id: "stripe_integration"
58
- title: "Stripe"
59
- # This is an external system (e.g Stripe)
60
- externalSystem:
61
- name: "Stripe"
62
- summary: "3rd party payment system"
63
- url: "https://stripe.com/"
64
- next_step:
65
- id: "subscription_service"
66
- label: "Return to subscription service"
67
-
68
- - id: "subscription_service"
69
- title: "Subscription Service"
70
- # This node is a service, include that.
71
- service:
72
- id: "SubscriptionService"
73
- version: "0.0.1"
74
- # Define multiple steps
75
- next_steps:
76
- - id: "stripe_integration"
77
- label: "Cancel subscription via Stripe"
78
- - id: "subscription_cancelled"
79
- label: "Successful cancellation"
80
- - id: "subscription_rejected"
81
- label: "Failed cancellation"
82
-
83
- - id: "subscription_cancelled"
84
- title: "Subscription has been Cancelled"
85
- message:
86
- id: "UserSubscriptionCancelled"
87
- version: "0.0.1"
88
- next_step:
89
- id: "notification_service"
90
- label: "Email customer"
91
-
92
- - id: "subscription_rejected"
93
- title: "Subscription cancellation has been rejected"
94
-
95
- - id: "notification_service"
96
- title: "Notifications Service"
97
- service:
98
- id: "NotificationService"
99
- version: "0.0.2"
100
-
101
- ---
102
-
103
- This flow documents what happens when a User Cancels Subscription in our system.
104
-
105
- <NodeGraph />
106
-
107
- <!-- Add any markdown you want, the workflow will also render in its own page /docs/flows/{Flow}/{version} -->
108
-
109
-
110
- ```
111
-
112
- ## Required fields {#required-fields}
113
-
114
- ### `id` {#id}
115
-
116
- - Type: `CancelSubscriptionFlow`
117
-
118
- Unqiue id of the flow. EventCatalog uses this for references and slugs.
119
-
120
- ```mdx title="Example"
121
- ---
122
- id: InventoryOutOfStock
123
- ---
124
- ```
125
-
126
- ### `name` {#name}
127
-
128
- - Type: `string`
129
-
130
- Name of the flow this is used to display the name on the UI.
131
-
132
- ```mdx title="Example"
133
- ---
134
- name: User Cancels Subscription
135
- ---
136
- ```
137
-
138
- ### `version` {#version}
139
-
140
- - Type: `string`
141
-
142
- Version of the flow.
143
-
144
- ```mdx title="Example"
145
- ---
146
- version: 0.0.1
147
- ---
148
- ```
149
-
150
- ### `steps` {#steps}
151
-
152
- - Type: `Step[]`
153
-
154
- List of steps for your flow.
155
-
156
- ```md title="Example"
157
- ---
158
- steps:
159
- - id: "cancel_subscription_initiated"
160
- title: "Cancels Subscription"
161
- summary: "User cancels their subscription"
162
- # Define a single step that happens next
163
- next_step:
164
- id: "cancel_subscription_request"
165
- label: "Initiate subscription cancellation"
166
- # OR define a multiple next steps
167
- next_steps:
168
- - id: "stripe_integration"
169
- label: "Cancel subscription via Stripe"
170
- - id: "subscription_cancelled"
171
- label: "Successful cancellation"
172
- - id: "subscription_rejected"
173
- label: "Failed cancellation"
174
- ---
175
- ```
176
-
177
- #### Actor Nodes
178
-
179
- Flows allow you to create [Actor nodes](https://en.wikipedia.org/wiki/Event_storming). Actors represent A person who executes a command or flow.
180
-
181
- ```md title="Example"
182
- ---
183
- steps:
184
- - id: "cancel_subscription_initiated"
185
- title: "Cancels Subscription"
186
- summary: "User cancels their subscription"
187
- # Defining an actor will render an actor node in the graph.
188
- actor:
189
- name: "User"
190
- next_step:
191
- id: "cancel_subscription_request"
192
- label: "Initiate subscription cancellation"
193
- ---
194
- ```
195
-
196
- #### External Services Nodes
197
-
198
- Flows allow you to create External Service. These services tend to be other external services you may interact with that are not part of your business domain. (e.g Stripe API)
199
-
200
- ```md title="Example"
201
- ---
202
- steps:
203
- - id: "stripe_integration"
204
- title: "Stripe"
205
- # This is an external system (e.g Stripe)
206
- externalSystem:
207
- name: "Stripe"
208
- summary: "3rd party payment system"
209
- url: "https://stripe.com/"
210
- next_step:
211
- id: "subscription_service"
212
- label: "Return to subscription service"
213
- ---
214
- ```
215
-
216
- _[See example of Actor node in a workflow](https://demo.eventcatalog.dev/visualiser/flows/CancelSubscription/0.0.1)._
217
-
218
- #### Message Nodes
219
-
220
- Flows allow you to create [message nodes](/docs/messages). Messages link to your commands or events.
221
-
222
- ```md title="Example"
223
- ---
224
- steps:
225
- - id: "cancel_subscription_request"
226
- title: "Cancel Subscription"
227
- # This step is a message, include the message and version
228
- message:
229
- id: "CancelSubscription"
230
- version: "0.0.1"
231
- next_step:
232
- id: "subscription_service"
233
- label: "Proceed to subscription service"
234
- ---
235
- ```
236
-
237
- _[See example of Message node in a workflow](https://demo.eventcatalog.dev/visualiser/flows/CancelSubscription/0.0.1)._
238
-
239
- #### Service Nodes
240
-
241
- Flows allow you to create [service nodes](/docs/services). Services link to your defined services in EventCatalog.
242
-
243
- ```md title="Example"
244
- ---
245
- - id: "subscription_service"
246
- title: "Subscription Service"
247
- # This node is a service, include that.
248
- service:
249
- id: "SubscriptionService"
250
- version: "0.0.1"
251
- # Define multiple steps
252
- next_steps:
253
- - id: "stripe_integration"
254
- label: "Cancel subscription via Stripe"
255
- - id: "subscription_cancelled"
256
- label: "Successful cancellation"
257
- - id: "subscription_rejected"
258
- label: "Failed cancellation"
259
- ---
260
- ```
261
-
262
- _[See example of Message node in a workflow](https://demo.eventcatalog.dev/visualiser/flows/CancelSubscription/0.0.1)._
263
-
264
- #### Container Nodes
265
-
266
- <AddedIn version="3.36.3" />
267
-
268
- Flows allow you to create [container (data store) nodes](/docs/development/guides/data/introduction). Containers link to your defined data stores in EventCatalog. The container's sidebar will automatically show a "Flows" section linking back to any flow that references it.
269
-
270
- ```md title="Example"
271
- ---
272
- steps:
273
- - id: "orders_db"
274
- title: "Orders DB"
275
- container:
276
- id: "orders-db"
277
- version: "1.0.0"
278
- next_step:
279
- id: "next_step"
280
- label: "Persist order records"
281
- ---
282
- ```
283
-
284
- #### Data Product Nodes
285
-
286
- <AddedIn version="3.36.3" />
287
-
288
- Flows allow you to create [data product nodes](/docs/development/guides/data-products/introduction). Data products link to your defined data products in EventCatalog. The data product's sidebar will automatically show a "Flows" section linking back to any flow that references it.
289
-
290
- ```md title="Example"
291
- ---
292
- steps:
293
- - id: "order_analytics"
294
- title: "Order Analytics"
295
- dataProduct:
296
- id: "order-analytics"
297
- version: "1.0.0"
298
- next_step:
299
- id: "next_step"
300
- label: "Prepare fulfillment KPIs"
301
- ---
302
- ```
303
-
304
- ## Optional fields {#optional-fields}
305
-
306
- ### `summary` {#summary}
307
-
308
- Short summary of your flow, shown on flow summary pages.
309
-
310
- ```mdx title="Example"
311
- ---
312
- summary: |
313
- Flow that explains how a user unsubscribes to our system
314
- ---
315
- ```
316
-
317
- ### `badges` {#badges}
318
-
319
- <AddedIn version="3.39.4" />
320
-
321
- An array of badges that get rendered on the page.
322
-
323
- ```md title="Example"
324
- ---
325
- badges:
326
- - content: My badge
327
- backgroundColor: green
328
- textColor: green
329
- # Optional icon to display (from https://heroicons.com/)
330
- # Or the name of the broker (e.g Kafka, EventBridge, etc)
331
- icon: BoltIcon
332
- ---
333
- ```
334
-
335
- #### Use named colors
336
-
337
- Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
338
-
339
- Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
340
-
341
- ```md title="Named color example"
342
- ---
343
- badges:
344
- - content: Critical
345
- backgroundColor: red
346
- textColor: red
347
- ---
348
- ```
349
-
350
- #### Use any CSS color
351
-
352
- You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
353
-
354
- ```md title="CSS color example"
355
- ---
356
- badges:
357
- - content: Custom
358
- backgroundColor: "#6366f1"
359
- textColor: "#ffffff"
360
- ---
361
- ```
362
-
363
- #### Link to external URLs
364
-
365
- <AddedIn version="3.39.6" />
366
-
367
- Add a `url` to a badge to make it render as a clickable link with an external-link icon. When `url` is omitted, the badge renders as a plain label.
368
-
369
- ```md title="Link badge example"
370
- ---
371
- badges:
372
- - content: View Runbook
373
- url: https://runbooks.example.com/my-flow
374
- backgroundColor: blue
375
- textColor: white
376
- ---
377
- ```
378
-
379
- ### `editUrl` {#editUrl}
380
-
381
- <AddedIn version="2.49.4" />
382
-
383
- Override the default edit url for the page. This is used to navigate the user to the edit page for the page (e.g GitHub, GitLab url).
384
-
385
- ```mdx title="Example"
386
- ---
387
- editUrl: https://github.com/event-catalog/eventcatalog/edit/main/flows/CancelSubscription/index.mdx
388
- ---
389
- ```
390
-
391
- ### `detailsPanel` {#detailsPanel}
392
-
393
- <AddedIn version="2.53.0" />
394
-
395
- Override the default details panel for the page. You can use this show/hide areas of the details panel.
396
-
397
- ![Details panel](./img/domain-details-panel.png)
398
-
399
- ```mdx title="Example"
400
- ---
401
- detailsPanel:
402
- owners:
403
- visible: false
404
- ---
405
- ```
406
-
407
- Options:
408
-
409
- | Property | Type | Required | Description |
410
- | -------- | -------- | -------- | -------- |
411
- | `owners` | `object` | No | An object with a `visible` property to show/hide the owners section |
412
- | `versions` | `object` | No | An object with a `visible` property to show/hide the versions section |
413
- | `changelog` | `object` | No | An object with a `visible` property to show/hide the changelog button |
414
-
415
- ### `attachments` {#attachments}
416
-
417
- <AddedIn version="2.57.2" />
418
-
419
- An array of attachments for this resource type.
420
-
421
- ```mdx title="Example"
422
- ---
423
- attachments:
424
- - url: https://example.com/adr/001
425
- title: ADR-001 - Use Kafka for asynchronous messaging
426
- description: Learn more about why we chose Kafka for asynchronous messaging in this architecture decision record.
427
- type: 'architecture-decisions'
428
- icon: FileTextIcon
429
- - https://example.com/adr/002
430
- ---
431
-
432
- ```
433
-
434
- Options:
435
-
436
- The attachments can be a url (string) or an object with additional properties.
437
-
438
- Object properties:
439
-
440
- | Property | Type | Required | Description |
441
- | -------- | -------- | -------- | -------- |
442
- | `url` | `string` | Yes | The url of the attachment |
443
- | `title` | `string` | optional | The title of the attachment |
444
- | `description` | `string` | optional | The description of the attachment |
445
- | `type` | `string` | optional | The type of the attachment, this will be used to group attachments together in the UI |
446
- | `icon` | `string` | optional | The icon of the attachment, you can pick from the [lucide icons](https://lucide.dev/icons/) library. |