@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,330 +0,0 @@
1
- ---
2
- sidebar_position: 5
3
- sidebar_label: Entity API
4
- title: Entity frontmatter API
5
- description: Understanding the API for entities.
6
- ---
7
-
8
- import AddedIn from '@site/src/components/MDX/AddedIn';
9
-
10
- ## Overview {#overview}
11
-
12
- Entities 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 entity.
15
-
16
- ```md title="/entities/User/index.mdx (example)"
17
- ---
18
- # id of the entity
19
- id: "User"
20
-
21
- # Display name of the entity, rendered in EventCatalog
22
- name: "User"
23
-
24
- # version for your entity
25
- version: "1.0.0"
26
-
27
- # Short summary of your entity
28
- summary: "Represents a user in the system"
29
-
30
- # Whether this entity is an aggregate root
31
- aggregateRoot: true
32
-
33
- # The unique identifier for this entity
34
- identifier: "userId"
35
-
36
- # Properties of the entity
37
- properties:
38
- - name: "userId"
39
- type: "string"
40
- required: true
41
- description: "Unique identifier for the user"
42
- - name: "email"
43
- type: "string"
44
- required: true
45
- description: "User's email address"
46
- - name: "firstName"
47
- type: "string"
48
- required: true
49
- description: "User's first name"
50
- - name: "lastName"
51
- type: "string"
52
- required: true
53
- description: "User's last name"
54
- - name: "dateOfBirth"
55
- type: "date"
56
- required: false
57
- description: "User's date of birth"
58
- - name: "profileId"
59
- type: "string"
60
- required: false
61
- description: "Reference to user's profile"
62
- references: "Profile"
63
- referencesIdentifier: "profileId"
64
- relationType: "one-to-one"
65
-
66
- # Badges to display
67
- badges:
68
- - content: "Core Entity"
69
- backgroundColor: "blue"
70
- textColor: "white"
71
- ---
72
-
73
- The User entity represents a user in our system and serves as an aggregate root for user-related operations.
74
-
75
- This entity contains core user information and is referenced by multiple services across the platform.
76
-
77
- <!-- Add any markdown you want, the entity will render in its own page /docs/entities/{Entity}/{version} -->
78
- ```
79
-
80
- ## Required fields {#required-fields}
81
-
82
- ### `id` {#id}
83
-
84
- - Type: `string`
85
-
86
- Unique id of the entity. EventCatalog uses this for references and slugs.
87
-
88
- ```mdx title="Example"
89
- ---
90
- id: User
91
- ---
92
- ```
93
-
94
- ### `name` {#name}
95
-
96
- - Type: `string`
97
-
98
- Name of the entity this is used to display the name on the UI.
99
-
100
- ```mdx title="Example"
101
- ---
102
- name: User
103
- ---
104
- ```
105
-
106
- ### `version` {#version}
107
-
108
- - Type: `string`
109
-
110
- Version of the entity.
111
-
112
- ```mdx title="Example"
113
- ---
114
- version: 1.0.0
115
- ---
116
- ```
117
-
118
- ## Optional fields {#optional-fields}
119
-
120
- ### `summary` {#summary}
121
-
122
- Short summary of your entity, shown on entity summary pages.
123
-
124
- ```mdx title="Example"
125
- ---
126
- summary: |
127
- Represents a user in the system with personal information and authentication details
128
- ---
129
- ```
130
-
131
- ### `aggregateRoot` {#aggregateroot}
132
-
133
- - Type: `boolean`
134
-
135
- Indicates whether this entity is an aggregate root in Domain-Driven Design terms.
136
-
137
- ```mdx title="Example"
138
- ---
139
- aggregateRoot: true
140
- ---
141
- ```
142
-
143
- ### `identifier` {#identifier}
144
-
145
- - Type: `string`
146
-
147
- The unique identifier property for this entity.
148
-
149
- ```mdx title="Example"
150
- ---
151
- identifier: userId
152
- ---
153
- ```
154
-
155
- ### `properties` {#properties}
156
-
157
- - Type: `Property[]`
158
-
159
- List of properties that define the structure of the entity.
160
-
161
- ```md title="Example"
162
- ---
163
- properties:
164
- - name: "userId"
165
- type: "string"
166
- required: true
167
- description: "Unique identifier for the user"
168
- - name: "email"
169
- type: "string"
170
- required: true
171
- description: "User's email address"
172
- - name: "profileId"
173
- type: "string"
174
- required: false
175
- description: "Reference to user's profile"
176
- references: "Profile"
177
- referencesIdentifier: "profileId"
178
- relationType: "one-to-one"
179
- ---
180
- ```
181
-
182
- Each property can have the following fields:
183
- - `name` (required): The name of the property
184
- - `type` (required): The data type of the property
185
- - `required` (optional): Whether the property is required
186
- - `description` (optional): Description of the property
187
- - `references` (optional): References another entity
188
- - `referencesIdentifier` (optional): The identifier used for the reference
189
- - `relationType` (optional): Type of relationship (e.g., "one-to-one", "one-to-many")
190
-
191
- ### `badges` {#badges}
192
-
193
- <AddedIn version="3.39.4" />
194
-
195
- An array of badges that get rendered on the page.
196
-
197
- ```md title="Example"
198
- ---
199
- badges:
200
- - content: Core Entity
201
- backgroundColor: green
202
- textColor: green
203
- # Optional icon to display (from https://heroicons.com/)
204
- icon: BoltIcon
205
- ---
206
- ```
207
-
208
- #### Use named colors
209
-
210
- Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
211
-
212
- Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
213
-
214
- ```md title="Named color example"
215
- ---
216
- badges:
217
- - content: Critical
218
- backgroundColor: red
219
- textColor: red
220
- ---
221
- ```
222
-
223
- #### Use any CSS color
224
-
225
- You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
226
-
227
- ```md title="CSS color example"
228
- ---
229
- badges:
230
- - content: Custom
231
- backgroundColor: "#6366f1"
232
- textColor: "#ffffff"
233
- ---
234
- ```
235
-
236
- #### Link to external URLs
237
-
238
- <AddedIn version="3.39.6" />
239
-
240
- 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.
241
-
242
- ```md title="Link badge example"
243
- ---
244
- badges:
245
- - content: View Runbook
246
- url: https://runbooks.example.com/my-entity
247
- backgroundColor: blue
248
- textColor: white
249
- ---
250
- ```
251
-
252
- ### `editUrl` {#editUrl}
253
-
254
- <AddedIn version="2.49.4" />
255
-
256
- 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).
257
-
258
- ```mdx title="Example"
259
- ---
260
- editUrl: https://github.com/event-catalog/eventcatalog/edit/main/entities/User/index.mdx
261
- ---
262
- ```
263
-
264
- ### `detailsPanel` {#detailsPanel}
265
-
266
- <AddedIn version="2.53.0" />
267
-
268
- Override the default details panel for the page. You can use this show/hide areas of the details panel.
269
-
270
- ![Details panel](./img/domain-details-panel.png)
271
-
272
- ```mdx title="Example"
273
- ---
274
- detailsPanel:
275
- domains:
276
- visible: false
277
- services:
278
- visible: false
279
- messages:
280
- visible: false
281
- versions:
282
- visible: false
283
- owners:
284
- visible: false
285
- ---
286
- ```
287
-
288
- Options:
289
-
290
- | Property | Type | Required | Description |
291
- | -------- | -------- | -------- | -------- |
292
- | `domains` | `object` | No | An object with a `visible` property to show/hide the domains section |
293
- | `services` | `object` | No | An object with a `visible` property to show/hide the services section |
294
- | `messages` | `object` | No | An object with a `visible` property to show/hide the messages section |
295
- | `versions` | `object` | No | An object with a `visible` property to show/hide the versions section |
296
- | `changelog` | `object` | No | An object with a `visible` property to show/hide the changelog button |
297
- | `owners` | `object` | No | An object with a `visible` property to show/hide the owners section |
298
-
299
- ### `attachments` {#attachments}
300
-
301
- <AddedIn version="2.57.2" />
302
-
303
- An array of attachments for this resource type.
304
-
305
- ```mdx title="Example"
306
- ---
307
- attachments:
308
- - url: https://example.com/adr/001
309
- title: ADR-001 - Use Kafka for asynchronous messaging
310
- description: Learn more about why we chose Kafka for asynchronous messaging in this architecture decision record.
311
- type: 'architecture-decisions'
312
- icon: FileTextIcon
313
- - https://example.com/adr/002
314
- ---
315
-
316
- ```
317
-
318
- Options:
319
-
320
- The attachments can be a url (string) or an object with additional properties.
321
-
322
- Object properties:
323
-
324
- | Property | Type | Required | Description |
325
- | -------- | -------- | -------- | -------- |
326
- | `url` | `string` | Yes | The url of the attachment |
327
- | `title` | `string` | optional | The title of the attachment |
328
- | `description` | `string` | optional | The description of the attachment |
329
- | `type` | `string` | optional | The type of the attachment, this will be used to group attachments together in the UI |
330
- | `icon` | `string` | optional | The icon of the attachment, you can pick from the [lucide icons](https://lucide.dev/icons/) library. |
@@ -1,273 +0,0 @@
1
- ---
2
- sidebar_position: 5
3
- sidebar_label: Data API
4
- title: Data frontmatter API
5
- description: Understanding the API for data.
6
- ---
7
-
8
- import AddedIn from '@site/src/components/MDX/AddedIn';
9
-
10
- <AddedIn version="2.59.0" />
11
-
12
- ## Overview {#overview}
13
-
14
- [Data stores](/docs/development/guides/data/introduction) are just markdown files, with this comes the use of Content, MDX components and also [front-matter](https://jekyllrb.com/docs/front-matter/).
15
-
16
- Here is an example of of a basic data store.
17
-
18
- ```md title="/services/OrdersService/containers/OrdersDatabase/index.mdx (example)"
19
- ---
20
- # id of your data store, used for slugs and references in EventCatalog.
21
- id: orders-db
22
- # Display name of the data store, rendered in EventCatalog.
23
- name: Orders DB
24
- # Version of the data store
25
- version: 1.0.0
26
- # Type of the data store (e.g. database, cache, objectStore, searchIndex)
27
- container_type: database
28
- # Technology of the data store (e.g. postgres@14, redis@7, etc)
29
- technology: postgres@14
30
- # Classification of the data store (e.g. internal, external, etc)
31
- classification: internal
32
- # Retention of the data store (e.g. 7y, 10y, etc)
33
- retention: 7y
34
- # Residency of the data store (e.g. eu-west-1, us-east-1, etc)
35
- residency: eu-west-1
36
- # Badges to display
37
- badges:
38
- - content: "Core Data Store"
39
- backgroundColor: "blue"
40
- textColor: "white"
41
- ---
42
-
43
- The orders database is a core data store for the orders domain.
44
-
45
- <!-- Add any markdown you want, the data store will render in its own page /docs/containers/{Data Store}/{version} -->
46
- ```
47
-
48
- ## Required fields {#required-fields}
49
-
50
- ### `id` {#id}
51
-
52
- - Type: `string`
53
-
54
- Unique id of the data store. EventCatalog uses this for references and slugs.
55
-
56
- ```mdx title="Example"
57
- ---
58
- id: orders-db
59
- ---
60
- ```
61
-
62
- ### `name` {#name}
63
-
64
- - Type: `string`
65
-
66
- Name of the data store this is used to display the name on the UI.
67
-
68
- ```mdx title="Example"
69
- ---
70
- name: Orders DB
71
- ---
72
- ```
73
-
74
- ### `version` {#version}
75
-
76
- - Type: `string`
77
-
78
- Version of the data store.
79
-
80
- ```mdx title="Example"
81
- ---
82
- version: 0.0.1
83
- ---
84
- ```
85
-
86
- <!-- // 1) Put this near your other enums/utilities
87
- const containerTypeEnum = z.enum([
88
- // Core
89
- 'database',
90
- 'cache',
91
- 'objectStore',
92
- 'searchIndex',
93
- 'dataWarehouse',
94
- 'dataLake',
95
- 'externalSaaS',
96
- // Fallback
97
- 'other',
98
- ]); -->
99
-
100
- <!-- const accessModeEnum = z.enum(['read', 'write', 'readWrite', 'appendOnly']);
101
- const dataClassificationEnum = z.enum(['public', 'internal', 'confidential', 'regulated']);
102
-
103
- const containers = defineCollection({
104
- loader: glob({
105
- pattern: ['**/containers/*/index.(md|mdx)', '**/containers/*/versioned/*/index.(md|mdx)'],
106
- base: projectDirBase,
107
- generateId: ({ data }) => {
108
- return `${data.id}-${data.version}`;
109
- },
110
- }),
111
- schema: z
112
- .object({
113
- container_type: containerTypeEnum, // <— the important discriminator inside DataContainer
114
- technology: z.string().optional(), // e.g. "postgres@14", "kafka", "s3"
115
- authoritative: z.boolean().optional().default(false),
116
- access_mode: accessModeEnum.optional(), // read/write/readWrite/appendOnly
117
- classification: dataClassificationEnum.optional(),
118
- residency: z.string().optional(),
119
- retention: z.string().optional(),
120
- // details panel toggles (aligns with your pattern)
121
- detailsPanel: z
122
- .object({
123
- versions: detailPanelPropertySchema.optional(),
124
- repository: detailPanelPropertySchema.optional(),
125
- owners: detailPanelPropertySchema.optional(),
126
- changelog: detailPanelPropertySchema.optional(),
127
- attachments: detailPanelPropertySchema.optional(),
128
- })
129
- .optional(),
130
- services: z.array(reference('services')).optional(),
131
-
132
- servicesThatWriteToContainer: z.array(reference('services')).optional(),
133
- servicesThatReadFromContainer: z.array(reference('services')).optional(),
134
- })
135
- .merge(baseSchema),
136
- }); -->
137
-
138
-
139
- ### `container_type` {#container_type}
140
-
141
- - Type: `string`
142
-
143
- Type of the data store.
144
-
145
- ```mdx title="Example"
146
- ---
147
- container_type: database
148
- ---
149
- ```
150
-
151
- Options: `database`, `cache`, `objectStore`, `searchIndex`, `dataWarehouse`, `dataLake`, `other`
152
-
153
- ## Optional fields {#optional-fields}
154
-
155
- ### `summary` {#summary}
156
-
157
- Short summary of your data store, shown on data store summary pages.
158
-
159
- ```mdx title="Example"
160
- ---
161
- summary: |
162
- Orders database is a core data store for the orders domain.
163
- ---
164
- ```
165
-
166
- ### `technology` {#technology}
167
-
168
- - Type: `string`
169
-
170
- Technology of the data store.
171
- ```mdx title="Example"
172
- ---
173
- technology: postgres@14
174
- ---
175
- ```
176
-
177
- ### `classification` {#classification}
178
-
179
- - Type: `string`
180
-
181
- Classification of the data store.
182
- ```mdx title="Example"
183
- ---
184
- classification: internal
185
- ---
186
- ```
187
-
188
- Options: `internal`, `external`, `confidential`, `regulated`
189
-
190
- ### `retention` {#retention}
191
-
192
- - Type: `string`
193
-
194
- Retention of the data store.
195
- ```mdx title="Example"
196
- ---
197
- retention: 7y
198
- ---
199
- ```
200
-
201
- ### `residency` {#residency}
202
-
203
- - Type: `string`
204
-
205
- Residency of the data store.
206
- ```mdx title="Example"
207
- ---
208
- residency: eu-west-1
209
- ---
210
- ```
211
-
212
- ### `detailsPanel` {#detailsPanel}
213
-
214
- <AddedIn version="2.53.0" />
215
-
216
- Override the default details panel for the page. You can use this show/hide areas of the details panel.
217
-
218
- ![Details panel](./img/domain-details-panel.png)
219
-
220
- ```mdx title="Example"
221
- ---
222
- detailsPanel:
223
- versions:
224
- visible: false
225
- owners:
226
- visible: false
227
- ---
228
- ```
229
-
230
- Options:
231
-
232
- | Property | Type | Required | Description |
233
- | -------- | -------- | -------- | -------- |
234
- | `versions` | `object` | No | An object with a `visible` property to show/hide the versions section |
235
- | `changelog` | `object` | No | An object with a `visible` property to show/hide the changelog button |
236
- | `owners` | `object` | No | An object with a `visible` property to show/hide the owners section |
237
- | `attachments` | `object` | No | An object with a `visible` property to show/hide the attachments section |
238
- | `repository` | `object` | No | An object with a `visible` property to show/hide the repository section |
239
- | `flows` | `object` | No | An object with a `visible` property to show/hide the flows section |
240
-
241
- **`flows`** <AddedIn version="3.36.3" />
242
-
243
- Shows which flows reference this data store as a step. Flows are surfaced automatically when a [flow step](/docs/development/guides/flows/flow-nodes) uses the `container` node type to reference this resource.
244
-
245
- ### `attachments` {#attachments}
246
-
247
- An array of attachments for this resource type.
248
-
249
- ```mdx title="Example"
250
- ---
251
- attachments:
252
- - url: https://example.com/erd/orders-database.png
253
- title: ERD for Orders Database
254
- description: Learn more about the ERD for the Orders Database.
255
- type: 'architecture-decisions'
256
- icon: FileTextIcon
257
- ---
258
-
259
- ```
260
-
261
- Options:
262
-
263
- The attachments can be a url (string) or an object with additional properties.
264
-
265
- Object properties:
266
-
267
- | Property | Type | Required | Description |
268
- | -------- | -------- | -------- | -------- |
269
- | `url` | `string` | Yes | The url of the attachment |
270
- | `title` | `string` | optional | The title of the attachment |
271
- | `description` | `string` | optional | The description of the attachment |
272
- | `type` | `string` | optional | The type of the attachment, this will be used to group attachments together in the UI |
273
- | `icon` | `string` | optional | The icon of the attachment, you can pick from the [lucide icons](https://lucide.dev/icons/) library. |