@eventcatalog/core 4.1.3 → 4.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (450) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/{chunk-DDGOJV25.js → chunk-DIUAURE2.js} +1 -1
  6. package/dist/{chunk-WEDJTUSQ.js → chunk-E6IUV4GX.js} +1 -1
  7. package/dist/{chunk-TUKKXNQR.js → chunk-G74MXXTG.js} +1 -1
  8. package/dist/{chunk-PDQER3NQ.js → chunk-GIU3S4CI.js} +1 -1
  9. package/dist/{chunk-G3D7IZ67.js → chunk-X77TET65.js} +1 -1
  10. package/dist/constants.cjs +1 -1
  11. package/dist/constants.js +1 -1
  12. package/dist/docs/api/02-config.md +166 -14
  13. package/dist/docs/api/08-code-blocks.md +1 -1
  14. package/dist/docs/development/00-why-eventcatalog.md +29 -40
  15. package/dist/docs/development/01-fundamentals.md +58 -7
  16. package/dist/docs/development/01-getting-started/configuration-overview.md +1 -93
  17. package/dist/docs/development/01-getting-started/develop-and-build.md +4 -3
  18. package/dist/docs/development/01-getting-started/installation.md +3 -3
  19. package/dist/docs/development/01-getting-started/project-structure.md +74 -141
  20. package/dist/docs/development/ask-your-architecture/01-intro.md +8 -76
  21. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +4 -3
  22. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +2 -1
  23. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +1 -3
  24. package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +2 -2
  25. package/dist/docs/development/{developer-tools/llms.txt.md → ask-your-architecture/02-llms.txt.md} +1 -2
  26. package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +2 -2
  27. package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +2 -2
  28. package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +2 -25
  29. package/dist/docs/development/{developer-tools/schemas.txt.md → ask-your-architecture/03-schemas.txt.md} +1 -2
  30. package/dist/docs/development/ask-your-architecture/04-agents/01-overview.md +27 -0
  31. package/dist/docs/development/ask-your-architecture/04-agents/02-code-to-docs.md +124 -0
  32. package/dist/docs/development/ask-your-architecture/04-agents/03-breaking-changes.md +170 -0
  33. package/dist/docs/development/ask-your-architecture/04-agents/_category_.json +12 -0
  34. package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/_category_.json +2 -2
  35. package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/03-installation.md +1 -1
  36. package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/_category_.json +2 -1
  37. package/dist/docs/development/ask-your-architecture/_category_.json +2 -2
  38. package/dist/docs/development/authentication/01-introduction.md +3 -3
  39. package/dist/docs/development/authentication/02-enabling-authentication.md +2 -2
  40. package/dist/docs/development/authentication/providers/03-setting-up-github.md +25 -1
  41. package/dist/docs/development/authentication/providers/03a-setting-up-google.md +0 -1
  42. package/dist/docs/development/bring-your-own-documentation/01-introduction.md +29 -25
  43. package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +9 -8
  44. package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +70 -32
  45. package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +4 -1
  46. package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +2 -1
  47. package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +1 -1
  48. package/dist/docs/development/bring-your-own-documentation/diagrams/01-introduction.md +56 -0
  49. package/dist/docs/development/bring-your-own-documentation/diagrams/02-creating-diagrams.md +262 -0
  50. package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/03-referencing-diagrams.md +3 -87
  51. package/dist/docs/development/bring-your-own-documentation/diagrams/05-comparing-diagrams.md +25 -0
  52. package/dist/docs/development/bring-your-own-documentation/diagrams/07-reference.md +144 -0
  53. package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/_category_.json +2 -1
  54. package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +2 -4
  55. package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +138 -43
  56. package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +38 -9
  57. package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +62 -13
  58. package/dist/docs/development/components/04-snippets.md +0 -2
  59. package/dist/docs/development/components/05-using-components.md +4 -16
  60. package/dist/docs/development/components/07-resource-references.md +1 -1
  61. package/dist/docs/development/components/_category_.json +3 -3
  62. package/dist/docs/development/components/components/01-accordian.md +1 -1
  63. package/dist/docs/development/components/components/03-admonitions.md +1 -1
  64. package/dist/docs/development/components/components/04-agent-tools.md +2 -2
  65. package/dist/docs/development/components/components/05-attachments.md +1 -1
  66. package/dist/docs/development/components/components/07-design.md +1 -2
  67. package/dist/docs/development/components/components/08-entitymap.md +2 -2
  68. package/dist/docs/development/components/components/09-flow.md +1 -1
  69. package/dist/docs/development/components/components/10-link.md +1 -1
  70. package/dist/docs/development/components/components/11-mermaid-file-loader.md +1 -1
  71. package/dist/docs/development/components/components/12-message-table.md +1 -1
  72. package/dist/docs/development/components/components/13-nodegraph.md +1 -1
  73. package/dist/docs/development/components/components/14-openapi.md +3 -3
  74. package/dist/docs/development/components/components/15-prompt.md +2 -6
  75. package/dist/docs/development/components/components/16-remote-schema.md +5 -3
  76. package/dist/docs/development/components/components/17-resource-group-table.md +1 -1
  77. package/dist/docs/development/components/components/18-resource-link.md +1 -1
  78. package/dist/docs/development/components/components/19-schema.md +1 -1
  79. package/dist/docs/development/components/components/20-schema-viewer.md +1 -1
  80. package/dist/docs/development/components/components/21-steps.md +1 -1
  81. package/dist/docs/development/components/components/22-tabs.md +1 -1
  82. package/dist/docs/development/components/components/23-tiles.md +1 -1
  83. package/dist/docs/development/components/components/24-visibility.md +1 -1
  84. package/dist/docs/development/components/components/_category_.json +1 -1
  85. package/dist/docs/development/components/custom-components/01-introduction.md +74 -0
  86. package/dist/docs/development/components/custom-components/02-create-your-first-component.md +71 -0
  87. package/dist/docs/development/components/custom-components/03-pass-data-into-components.md +86 -0
  88. package/dist/docs/development/components/custom-components/04-fetch-data-in-components.md +191 -0
  89. package/dist/docs/development/components/custom-components/05-style-components.md +60 -0
  90. package/dist/docs/development/components/custom-components/06-add-client-side-scripts.md +67 -0
  91. package/dist/docs/development/components/custom-components/07-reference.md +115 -0
  92. package/dist/docs/development/components/custom-components/_category_.json +11 -0
  93. package/dist/docs/development/components/{external-diagram-embeds/03-drawio.md → diagram-syntax/01-drawio.md} +2 -3
  94. package/dist/docs/development/components/{external-diagram-embeds/04-figjam.md → diagram-syntax/02-figjam.md} +1 -2
  95. package/dist/docs/development/components/diagram-syntax/{04-icepanel.md → 03-icepanel.md} +1 -2
  96. package/dist/docs/development/components/diagram-syntax/04-likec4.md +136 -0
  97. package/dist/docs/development/components/{external-diagram-embeds/02-lucid.md → diagram-syntax/05-lucid.md} +2 -3
  98. package/dist/docs/development/components/diagram-syntax/{01-mermaid.md → 06-mermaid.md} +1 -1
  99. package/dist/docs/development/components/{external-diagram-embeds/01-miro.md → diagram-syntax/07-miro.md} +2 -3
  100. package/dist/docs/development/components/diagram-syntax/{02-plantuml.md → 08-plantuml.md} +3 -3
  101. package/dist/docs/development/components/diagram-syntax/{03-structurizr.md → 09-structurizr.md} +1 -1
  102. package/dist/docs/development/components/diagram-syntax/_category_.json +3 -3
  103. package/dist/docs/development/customization/01-customize-landing-page.md +7 -15
  104. package/dist/docs/development/customization/02-themes.md +1 -0
  105. package/dist/docs/development/customization/03-application-sidebar.md +246 -0
  106. package/dist/docs/development/customization/03-search.md +2 -2
  107. package/dist/docs/development/customization/{customize-sidebars/01-documentation-sidebar.md → 04-documentation-sidebar.md} +4 -4
  108. package/dist/docs/development/customization/05-custom-pages-and-api-routes/01-introduction.md +94 -0
  109. package/dist/docs/development/customization/05-custom-pages-and-api-routes/02-create-a-custom-page.md +177 -0
  110. package/dist/docs/development/customization/05-custom-pages-and-api-routes/03-create-an-api-route.md +128 -0
  111. package/dist/docs/development/customization/05-custom-pages-and-api-routes/04-reference.md +138 -0
  112. package/dist/docs/development/customization/05-custom-pages-and-api-routes/_category_.json +12 -0
  113. package/dist/docs/development/customization/06-customize-tables.md +3 -3
  114. package/dist/docs/development/customization/07-resource-icons.md +190 -0
  115. package/dist/docs/development/customization/_category_.json +1 -1
  116. package/dist/docs/development/customization/customize-visualizer/_category_.json +2 -2
  117. package/dist/docs/development/deployment/hosting-options.md +1 -2
  118. package/dist/docs/development/developer-tools/api-catalog.md +1 -1
  119. package/dist/docs/development/developer-tools/eventcatalog-linter.md +137 -2
  120. package/dist/docs/development/governance/_category_.json +1 -0
  121. package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +2 -2
  122. package/dist/docs/development/guides/98-versioning-resources.md +192 -0
  123. package/dist/docs/development/guides/99-adding-analytics.md +0 -1
  124. package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +2 -2
  125. package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +2 -2
  126. package/dist/docs/development/guides/changelogs/04-reference.md +77 -0
  127. package/dist/docs/development/guides/changelogs/_category_.json +2 -2
  128. package/dist/docs/development/guides/domains/01-introduction.md +14 -9
  129. package/dist/docs/development/guides/domains/{02-creating-domains/02-adding-domains.md → 02-create-domain.md} +32 -16
  130. package/dist/docs/development/guides/domains/{02-creating-domains/02a-subdomains.md → 03-model-subdomains.md} +22 -10
  131. package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +1 -1
  132. package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +2 -6
  133. package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +2 -2
  134. package/dist/docs/development/guides/domains/04-add-resources-to-domains/01-add-systems-to-domains.md +154 -0
  135. package/dist/docs/development/guides/domains/{02-creating-domains/03-adding-services-to-domains.md → 04-add-resources-to-domains/02-add-services-to-domains.md} +6 -37
  136. package/dist/docs/development/guides/domains/{02-creating-domains/04-adding-messages-to-domains.md → 04-add-resources-to-domains/03-add-messages-to-domains.md} +4 -6
  137. package/dist/docs/development/guides/domains/{02-creating-domains/05-adding-data-products-to-domains.md → 04-add-resources-to-domains/04-add-data-products-to-domains.md} +6 -5
  138. package/dist/docs/development/guides/domains/04-add-resources-to-domains/05-add-entities-to-domains.md +115 -0
  139. package/dist/docs/development/guides/domains/04-add-resources-to-domains/_category_.json +11 -0
  140. package/dist/docs/development/guides/domains/{08-domain-integration-map.md → 06-visualize-domains/01-domain-integration-map.md} +5 -6
  141. package/dist/docs/development/guides/domains/06-visualize-domains/_category_.json +12 -0
  142. package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/01-versioning.md → 07-version-domains.md} +5 -6
  143. package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/02-changelog.md → 08-add-changelog.md} +6 -7
  144. package/dist/docs/development/guides/domains/09-reference.md +517 -0
  145. package/dist/docs/development/guides/owners/01-what-are-teams-and-users.md +46 -0
  146. package/dist/docs/development/guides/owners/02-create-team.md +110 -0
  147. package/dist/docs/development/guides/owners/03-create-user.md +99 -0
  148. package/dist/docs/development/guides/owners/05-teams-reference.md +144 -0
  149. package/dist/docs/development/guides/owners/06-users-reference.md +128 -0
  150. package/dist/docs/development/guides/owners/_category_.json +2 -2
  151. package/dist/docs/development/guides/owners/automated-teams-and-users/_category_.json +11 -0
  152. package/dist/docs/development/guides/owners/automated-teams-and-users/create-your-own-connector.md +108 -0
  153. package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-github.md +156 -0
  154. package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-microsoft-entra.md +253 -0
  155. package/dist/docs/development/guides/resources/_category_.json +11 -0
  156. package/dist/docs/development/guides/resources/adrs/01-introduction.md +37 -0
  157. package/dist/docs/development/guides/resources/adrs/02-creating-adrs.md +211 -0
  158. package/dist/docs/development/guides/resources/adrs/03-linking-resources.md +52 -0
  159. package/dist/docs/development/guides/resources/adrs/04-relationships.md +80 -0
  160. package/dist/docs/development/guides/resources/adrs/06-reference.md +247 -0
  161. package/dist/docs/development/guides/resources/adrs/_category_.json +11 -0
  162. package/dist/docs/development/guides/{agents → resources/agents}/01-introduction.md +1 -16
  163. package/dist/docs/development/guides/resources/agents/02-create-agent.md +188 -0
  164. package/dist/docs/development/guides/{agents → resources/agents}/03-adding-tools.md +3 -4
  165. package/dist/docs/development/guides/{agents → resources/agents}/04-model-metadata.md +2 -2
  166. package/dist/docs/development/guides/{agents/adding-to-agents/01-messages.md → resources/agents/05-add-messages-to-agents.md} +5 -4
  167. package/dist/docs/development/guides/{agents/adding-to-agents/02-datastores.md → resources/agents/06-add-data-stores-to-agents.md} +4 -15
  168. package/dist/docs/development/guides/resources/agents/11-reference.md +238 -0
  169. package/dist/docs/development/guides/{agents → resources/agents}/_category_.json +2 -2
  170. package/dist/docs/development/guides/resources/data/01-introduction.md +15 -0
  171. package/dist/docs/development/guides/resources/data/02-adding-data.md +184 -0
  172. package/dist/docs/development/guides/resources/data/03-add-read-write-relationships.md +128 -0
  173. package/dist/docs/development/guides/resources/data/04-reference.md +211 -0
  174. package/dist/docs/development/guides/{data → resources/data}/_category_.json +3 -3
  175. package/dist/docs/development/guides/{data-products → resources/data-products}/01-introduction.md +1 -17
  176. package/dist/docs/development/guides/resources/data-products/02-adding-data-products.md +174 -0
  177. package/dist/docs/development/guides/{data-products → resources/data-products}/03-inputs-and-outputs.md +4 -6
  178. package/dist/docs/development/guides/{data-products → resources/data-products}/04-contracts.md +2 -4
  179. package/dist/docs/development/guides/resources/data-products/07-reference.md +201 -0
  180. package/dist/docs/development/guides/{data-products → resources/data-products}/_category_.json +3 -3
  181. package/dist/docs/development/guides/resources/entities/01-introduction.md +26 -0
  182. package/dist/docs/development/guides/resources/entities/02-create-entity.md +162 -0
  183. package/dist/docs/development/guides/resources/entities/03-model-entity-relationships.md +115 -0
  184. package/dist/docs/development/guides/resources/entities/04-add-entities-to-resources.md +188 -0
  185. package/dist/docs/development/guides/resources/entities/05-entity-maps.md +48 -0
  186. package/dist/docs/development/guides/resources/entities/06-reference.md +273 -0
  187. package/dist/docs/development/guides/{domains/05-entities → resources/entities}/_category_.json +4 -4
  188. package/dist/docs/development/guides/resources/flows/01-introduction.md +28 -0
  189. package/dist/docs/development/guides/resources/flows/02-create-flow.md +304 -0
  190. package/dist/docs/development/guides/{flows/03-flow-nodes.md → resources/flows/03-model-flow-steps.md} +6 -6
  191. package/dist/docs/development/guides/resources/flows/04-add-flows-to-resources.md +149 -0
  192. package/dist/docs/development/guides/resources/flows/06-reference.md +226 -0
  193. package/dist/docs/development/guides/{flows → resources/flows}/_category_.json +3 -3
  194. package/dist/docs/development/guides/resources/messages/01-what-are-messages.md +104 -0
  195. package/dist/docs/development/guides/{messages/events/01-introduction.md → resources/messages/02-message-types/01-events.md} +3 -7
  196. package/dist/docs/development/guides/{messages/commands/01-introduction.md → resources/messages/02-message-types/02-commands.md} +4 -7
  197. package/dist/docs/development/guides/resources/messages/02-message-types/03-queries.md +20 -0
  198. package/dist/docs/development/guides/resources/messages/02-message-types/_category_.json +11 -0
  199. package/dist/docs/development/guides/resources/messages/03-create-messages/01-create-event.md +137 -0
  200. package/dist/docs/development/guides/resources/messages/03-create-messages/02-create-command.md +156 -0
  201. package/dist/docs/development/guides/resources/messages/03-create-messages/03-create-query.md +158 -0
  202. package/dist/docs/development/guides/{messages/common/02-draft-messages.md → resources/messages/03-create-messages/04-create-draft-message.md} +5 -7
  203. package/dist/docs/development/guides/resources/messages/03-create-messages/_category_.json +11 -0
  204. package/dist/docs/development/guides/resources/messages/04-connect-messages/01-map-producers-and-consumers.md +32 -0
  205. package/dist/docs/development/guides/resources/messages/04-connect-messages/02-shared-messages-across-boundaries.md +170 -0
  206. package/dist/docs/development/guides/{messages/common/09-grouping-messages.md → resources/messages/04-connect-messages/03-group-messages.md} +2 -4
  207. package/dist/docs/development/guides/resources/messages/04-connect-messages/_category_.json +11 -0
  208. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/01-introduction.md +4 -28
  209. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/02-adding-channels.md +77 -62
  210. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/04-adding-messages-to-services.md +10 -14
  211. package/dist/docs/development/guides/resources/messages/04-message-channels/05-reference.md +177 -0
  212. package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/_category_.json +3 -3
  213. package/dist/docs/development/guides/{messages/common/04-versioning.md → resources/messages/08-versioning-and-lifecycle/01-version-messages.md} +39 -4
  214. package/dist/docs/development/guides/{messages/common/05-changelog.md → resources/messages/08-versioning-and-lifecycle/02-add-changelog.md} +5 -6
  215. package/dist/docs/development/guides/{messages/common/02-deprecating.md → resources/messages/08-versioning-and-lifecycle/03-deprecate-messages.md} +4 -4
  216. package/dist/docs/development/guides/resources/messages/08-versioning-and-lifecycle/_category_.json +11 -0
  217. package/dist/docs/development/guides/{messages/common/02-examples.md → resources/messages/09-add-usage-examples.md} +59 -22
  218. package/dist/docs/development/guides/resources/messages/10-reference.md +439 -0
  219. package/dist/docs/development/guides/resources/messages/_category_.json +11 -0
  220. package/dist/docs/development/guides/resources/schemas/01-what-are-schemas-and-specifications.md +25 -0
  221. package/dist/docs/development/guides/resources/schemas/02-add-schemas-to-messages.md +63 -0
  222. package/dist/docs/development/guides/resources/schemas/03-add-schemas-to-data-stores.md +90 -0
  223. package/dist/docs/development/guides/{services/adding-to-services/04-openapi.md → resources/schemas/03-add-specifications-to-services/01-add-openapi-specifications.md} +33 -24
  224. package/dist/docs/development/guides/{services/adding-to-services/05-asyncapi.md → resources/schemas/03-add-specifications-to-services/02-add-asyncapi-specifications.md} +33 -23
  225. package/dist/docs/development/guides/{services/adding-to-services/06-graphql.md → resources/schemas/03-add-specifications-to-services/03-add-graphql-schemas.md} +36 -26
  226. package/dist/docs/development/guides/resources/schemas/03-add-specifications-to-services/_category_.json +11 -0
  227. package/dist/docs/development/guides/{schemas/02-schema-explorer.md → resources/schemas/04-explore-schemas/01-schema-explorer.md} +3 -26
  228. package/dist/docs/development/guides/{schemas/06-fields-explorer.md → resources/schemas/04-explore-schemas/02-fields-explorer.md} +8 -10
  229. package/dist/docs/development/guides/{schemas/05-field-usage.md → resources/schemas/04-explore-schemas/03-consumer-field-usage.md} +1 -3
  230. package/dist/docs/development/guides/resources/schemas/04-explore-schemas/_category_.json +11 -0
  231. package/dist/docs/development/guides/{schemas/03-schema-api.md → resources/schemas/05-schema-api.md} +6 -11
  232. package/dist/docs/development/guides/{schemas/04-schema-mcp.md → resources/schemas/06-schema-mcp.md} +5 -6
  233. package/dist/docs/development/guides/resources/schemas/07-reference.md +23 -0
  234. package/dist/docs/development/guides/{schemas → resources/schemas}/_category_.json +3 -3
  235. package/dist/docs/development/guides/resources/services/01-introduction.md +27 -0
  236. package/dist/docs/development/guides/resources/services/02-create-service.md +195 -0
  237. package/dist/docs/development/guides/resources/services/03-create-external-service.md +52 -0
  238. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/01-add-messages-to-services.md +142 -0
  239. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/02-add-data-stores-to-services.md +45 -0
  240. package/dist/docs/development/guides/{services/adding-to-services/03-entities.md → resources/services/04-add-resources-to-services/03-add-entities-to-services.md} +7 -11
  241. package/dist/docs/development/guides/resources/services/04-add-resources-to-services/_category_.json +11 -0
  242. package/dist/docs/development/guides/{services/ownership-and-components/01-owners.md → resources/services/06-ownership-and-components/01-add-service-owners.md} +3 -4
  243. package/dist/docs/development/guides/{services/ownership-and-components/02-components.md → resources/services/06-ownership-and-components/02-use-components.md} +4 -4
  244. package/dist/docs/development/guides/resources/services/06-ownership-and-components/_category_.json +11 -0
  245. package/dist/docs/development/guides/{services/versioning-and-lifecycle/01-versioning.md → resources/services/07-versioning-and-lifecycle/01-version-services.md} +4 -3
  246. package/dist/docs/development/guides/{services/versioning-and-lifecycle/02-changelog.md → resources/services/07-versioning-and-lifecycle/02-add-changelog.md} +5 -5
  247. package/dist/docs/development/guides/{services/versioning-and-lifecycle/03-deprecating.md → resources/services/07-versioning-and-lifecycle/03-deprecate-services.md} +5 -4
  248. package/dist/docs/development/guides/resources/services/07-versioning-and-lifecycle/_category_.json +11 -0
  249. package/dist/docs/development/guides/resources/services/08-reference.md +295 -0
  250. package/dist/docs/development/guides/{services → resources/services}/_category_.json +3 -3
  251. package/dist/docs/development/guides/systems/01-introduction.md +119 -0
  252. package/dist/docs/development/guides/systems/02-create-system.md +127 -0
  253. package/dist/docs/development/guides/systems/03-add-resources-to-systems.md +157 -0
  254. package/dist/docs/development/guides/systems/04-model-relationships-and-actors.md +86 -0
  255. package/dist/docs/development/guides/systems/05-system-context-maps.md +67 -0
  256. package/dist/docs/development/guides/systems/06-reference.md +329 -0
  257. package/dist/docs/development/guides/{messages/queries → systems}/_category_.json +5 -5
  258. package/dist/docs/development/license-keys/_category_.json +1 -1
  259. package/dist/docs/development/license-keys/integrations.md +20 -9
  260. package/dist/docs/development/license-keys/overview.md +7 -18
  261. package/dist/docs/development/license-keys/plans.md +9 -18
  262. package/dist/docs/development/upgrading/v2.md +1 -2
  263. package/dist/docs/development/upgrading/v3.md +2 -3
  264. package/dist/docs/development/upgrading/v4.md +377 -0
  265. package/dist/docs/editor/00-overview.md +3 -3
  266. package/dist/docs/editor/01-first-edit.md +1 -1
  267. package/dist/docs/editor/explanation/markdown-mdx-git.md +1 -1
  268. package/dist/docs/editor/how-to/add-schemas-and-specifications.md +5 -5
  269. package/dist/docs/editor/how-to/edit-resource.md +1 -1
  270. package/dist/docs/editor/how-to/use-flow-editor.md +5 -5
  271. package/dist/docs/editor/how-to/use-slash-commands.md +2 -2
  272. package/dist/docs/editor/reference/supported-content.md +2 -2
  273. package/dist/docs/editor/reference/supported-resources.md +14 -14
  274. package/dist/docs/plugins/amazon-apigateway/00-intro.md +8 -8
  275. package/dist/docs/plugins/amazon-apigateway/01-installation.md +10 -12
  276. package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +5 -4
  277. package/dist/docs/plugins/apicurio/00-intro.md +8 -8
  278. package/dist/docs/plugins/apicurio/01-installation.md +12 -2
  279. package/dist/docs/plugins/apicurio/02-plugin-configuration.md +7 -9
  280. package/dist/docs/plugins/apicurio/03-features.md +2 -2
  281. package/dist/docs/plugins/asyncapi/00-intro.md +8 -8
  282. package/dist/docs/plugins/asyncapi/01-installation.md +10 -11
  283. package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +5 -5
  284. package/dist/docs/plugins/asyncapi/03-features.md +9 -9
  285. package/dist/docs/plugins/aws-glue-registry/00-intro.md +8 -8
  286. package/dist/docs/plugins/aws-glue-registry/00a-installation.md +16 -6
  287. package/dist/docs/plugins/aws-glue-registry/01-features.md +2 -2
  288. package/dist/docs/plugins/azure-schema-registry/00-intro.md +10 -10
  289. package/dist/docs/plugins/azure-schema-registry/01-installation.md +15 -5
  290. package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +4 -4
  291. package/dist/docs/plugins/azure-schema-registry/04-examples.md +1 -1
  292. package/dist/docs/plugins/backstage/00-intro.md +3 -3
  293. package/dist/docs/plugins/backstage/01-installation.md +7 -15
  294. package/dist/docs/plugins/confluent-schema-registry/00-intro.md +8 -8
  295. package/dist/docs/plugins/confluent-schema-registry/01-installation.md +12 -4
  296. package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +3 -3
  297. package/dist/docs/plugins/eventbridge/00a-installation.md +21 -21
  298. package/dist/docs/plugins/eventbridge/01-features.md +3 -3
  299. package/dist/docs/plugins/eventbridge/03-api.md +5 -5
  300. package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +6 -6
  301. package/dist/docs/plugins/eventcatalog-federation/01-installation.md +10 -11
  302. package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +2 -2
  303. package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +5 -6
  304. package/dist/docs/plugins/github/00-intro.md +8 -8
  305. package/dist/docs/plugins/github/01-installation.md +12 -5
  306. package/dist/docs/plugins/graphql/00-intro.md +8 -8
  307. package/dist/docs/plugins/graphql/01-installation.md +11 -11
  308. package/dist/docs/plugins/graphql/02-plugin-configuration.md +3 -4
  309. package/dist/docs/plugins/graphql/03-features.md +4 -4
  310. package/dist/docs/plugins/openapi/00-intro.md +8 -8
  311. package/dist/docs/plugins/openapi/01-installation.md +10 -11
  312. package/dist/docs/plugins/openapi/02-plugin-configuration.md +7 -6
  313. package/dist/docs/plugins/openapi/03-features.md +6 -7
  314. package/dist/docs/tutorial/01-start-here.md +75 -0
  315. package/dist/docs/tutorial/02-install-eventcatalog.md +98 -0
  316. package/dist/docs/tutorial/04-add-ownership.md +184 -0
  317. package/dist/docs/tutorial/04-create-event.md +176 -0
  318. package/dist/docs/tutorial/05-create-a-domain.md +133 -0
  319. package/dist/docs/tutorial/05-publish-event.md +82 -0
  320. package/dist/docs/tutorial/06-consume-event.md +130 -0
  321. package/dist/docs/tutorial/06-create-a-service.md +99 -0
  322. package/dist/docs/tutorial/11-visualize-your-catalog.md +105 -0
  323. package/dist/docs/tutorial/12-build-your-catalog.md +79 -0
  324. package/dist/docs/tutorial/14-next-steps.md +108 -0
  325. package/dist/docs/tutorial/_category_.json +12 -0
  326. package/dist/eventcatalog.cjs +1 -1
  327. package/dist/eventcatalog.js +5 -5
  328. package/dist/generate.cjs +1 -1
  329. package/dist/generate.js +3 -3
  330. package/dist/utils/cli-logger.cjs +1 -1
  331. package/dist/utils/cli-logger.js +2 -2
  332. package/eventcatalog/public/android-chrome-192x192.png +0 -0
  333. package/eventcatalog/public/android-chrome-512x512.png +0 -0
  334. package/eventcatalog/public/apple-touch-icon.png +0 -0
  335. package/eventcatalog/public/favicon-16x16.png +0 -0
  336. package/eventcatalog/public/favicon-32x32.png +0 -0
  337. package/eventcatalog/public/favicon-48x48.png +0 -0
  338. package/eventcatalog/public/favicon-96x96.png +0 -0
  339. package/eventcatalog/public/favicon.ico +0 -0
  340. package/eventcatalog/public/favicon.svg +8 -0
  341. package/eventcatalog/src/components/Seo.astro +5 -1
  342. package/eventcatalog/src/enterprise/auth/error.astro +3 -1
  343. package/eventcatalog/src/enterprise/auth/login.astro +3 -1
  344. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +4 -1
  345. package/eventcatalog/src/pages/studio.astro +3 -1
  346. package/eventcatalog/src/toolkit/layouts/Layout.astro +7 -1
  347. package/package.json +3 -3
  348. package/dist/docs/api/03-domain-api.md +0 -440
  349. package/dist/docs/api/04-service-api.md +0 -414
  350. package/dist/docs/api/05-command-api.md +0 -365
  351. package/dist/docs/api/06-event-api.md +0 -364
  352. package/dist/docs/api/06-query-api.md +0 -362
  353. package/dist/docs/api/08-channel-api.md +0 -363
  354. package/dist/docs/api/09-flow-api.md +0 -446
  355. package/dist/docs/api/10-entity-api.md +0 -330
  356. package/dist/docs/api/11-data-api.md +0 -273
  357. package/dist/docs/api/12-data-product-api.md +0 -445
  358. package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +0 -68
  359. package/dist/docs/development/components/external-diagram-embeds/_category_.json +0 -12
  360. package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +0 -73
  361. package/dist/docs/development/customization/custom-components/01-introduction.md +0 -28
  362. package/dist/docs/development/customization/custom-components/02-adding-components.md +0 -145
  363. package/dist/docs/development/customization/custom-components/03-component-styling.md +0 -27
  364. package/dist/docs/development/customization/custom-components/04-javascript-components.md +0 -32
  365. package/dist/docs/development/customization/custom-components/_category_.json +0 -11
  366. package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +0 -85
  367. package/dist/docs/development/customization/customize-sidebars/_category_.json +0 -11
  368. package/dist/docs/development/developer-tools/github-action.md +0 -147
  369. package/dist/docs/development/guides/12-customize-your-sidebar.md +0 -12
  370. package/dist/docs/development/guides/agents/02-adding-agents.md +0 -152
  371. package/dist/docs/development/guides/agents/adding-to-agents/_category_.json +0 -10
  372. package/dist/docs/development/guides/agents/ownership/01-owners.md +0 -67
  373. package/dist/docs/development/guides/agents/ownership/_category_.json +0 -11
  374. package/dist/docs/development/guides/agents/versioning-and-lifecycle/01-versioning.md +0 -48
  375. package/dist/docs/development/guides/agents/versioning-and-lifecycle/02-changelog.md +0 -40
  376. package/dist/docs/development/guides/agents/versioning-and-lifecycle/03-deprecating.md +0 -41
  377. package/dist/docs/development/guides/agents/versioning-and-lifecycle/_category_.json +0 -11
  378. package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +0 -44
  379. package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +0 -16
  380. package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +0 -11
  381. package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +0 -31
  382. package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +0 -56
  383. package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +0 -11
  384. package/dist/docs/development/guides/data/01-introduction.md +0 -34
  385. package/dist/docs/development/guides/data/02-adding-data.md +0 -86
  386. package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +0 -73
  387. package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +0 -45
  388. package/dist/docs/development/guides/data/ownership-and-components/02-components.md +0 -17
  389. package/dist/docs/development/guides/data/ownership-and-components/_category_.json +0 -11
  390. package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +0 -32
  391. package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +0 -57
  392. package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +0 -71
  393. package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +0 -11
  394. package/dist/docs/development/guides/data-products/02-adding-data-products.md +0 -157
  395. package/dist/docs/development/guides/data-products/05-versioning.md +0 -240
  396. package/dist/docs/development/guides/data-products/06-adding-to-domains.md +0 -52
  397. package/dist/docs/development/guides/diagrams/01-introduction.md +0 -78
  398. package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +0 -195
  399. package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +0 -204
  400. package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +0 -145
  401. package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +0 -165
  402. package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +0 -11
  403. package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +0 -10
  404. package/dist/docs/development/guides/domains/05-entities/01-introduction.md +0 -24
  405. package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +0 -157
  406. package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +0 -30
  407. package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +0 -134
  408. package/dist/docs/development/guides/flows/01-introduction.md +0 -36
  409. package/dist/docs/development/guides/flows/02-adding-flows.md +0 -198
  410. package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +0 -42
  411. package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +0 -43
  412. package/dist/docs/development/guides/flows/06-versioning.md +0 -27
  413. package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +0 -171
  414. package/dist/docs/development/guides/messages/01-overview.md +0 -57
  415. package/dist/docs/development/guides/messages/_category_.json +0 -11
  416. package/dist/docs/development/guides/messages/commands/02-adding-commands.md +0 -131
  417. package/dist/docs/development/guides/messages/commands/_category_.json +0 -11
  418. package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +0 -37
  419. package/dist/docs/development/guides/messages/common/02-adding-schemas.md +0 -58
  420. package/dist/docs/development/guides/messages/common/03-owners.md +0 -40
  421. package/dist/docs/development/guides/messages/common/07-components.md +0 -12
  422. package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +0 -70
  423. package/dist/docs/development/guides/messages/common/_category_.json +0 -11
  424. package/dist/docs/development/guides/messages/events/02-adding-events.md +0 -130
  425. package/dist/docs/development/guides/messages/events/_category_.json +0 -11
  426. package/dist/docs/development/guides/messages/queries/01-introduction.md +0 -25
  427. package/dist/docs/development/guides/messages/queries/02-adding-queries.md +0 -130
  428. package/dist/docs/development/guides/owners/teams/01-introduction.md +0 -21
  429. package/dist/docs/development/guides/owners/teams/02-adding-teams.md +0 -73
  430. package/dist/docs/development/guides/owners/teams/_category_.json +0 -11
  431. package/dist/docs/development/guides/owners/users/01-introduction.md +0 -20
  432. package/dist/docs/development/guides/owners/users/02-adding-users.md +0 -69
  433. package/dist/docs/development/guides/owners/users/_category_.json +0 -11
  434. package/dist/docs/development/guides/schemas/01-introduction.md +0 -64
  435. package/dist/docs/development/guides/services/01-introduction.md +0 -33
  436. package/dist/docs/development/guides/services/02-adding-services.md +0 -113
  437. package/dist/docs/development/guides/services/03-creating-external-systems.md +0 -71
  438. package/dist/docs/development/guides/services/adding-to-services/01-messages.md +0 -229
  439. package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +0 -77
  440. package/dist/docs/development/guides/services/adding-to-services/_category_.json +0 -10
  441. package/dist/docs/development/guides/services/ownership-and-components/_category_.json +0 -11
  442. package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +0 -11
  443. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/01-introduction.md +0 -0
  444. /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/02-installation.md +0 -0
  445. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/01-introduction.md +0 -0
  446. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/02-slack-app-setup.md +0 -0
  447. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/04-deployment.md +0 -0
  448. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/05-usage.md +0 -0
  449. /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/06-troubleshooting.md +0 -0
  450. /package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/09-configuration +0 -0
@@ -0,0 +1,99 @@
1
+ ---
2
+ sidebar_position: 3
3
+ keywords:
4
+ - EventCatalog users
5
+ sidebar_label: Create a user
6
+ title: Create a user
7
+ description: Create and manage users within EventCatalog.
8
+ ---
9
+
10
+ import PromptBox from '@site/src/components/MDX/PromptBox';
11
+ import ProjectTree from '@site/src/components/MDX/ProjectTree';
12
+
13
+ A user represents a person who owns, maintains, or can answer questions about resources in your architecture.
14
+
15
+ ![Example user page](../img/users/example.png)
16
+
17
+ ## Adding a new user
18
+
19
+ ### Automatic Creation
20
+
21
+ <PromptBox preview="Create a new EventCatalog user">
22
+ Read https://www.eventcatalog.dev/docs/development/guides/owners/create-user.md and https://raw.githubusercontent.com/event-catalog/skills/refs/heads/main/skills/catalog-documentation-creator/references/users.md then help me create a new EventCatalog user in my catalog.
23
+
24
+ Ask me for the user id, name, role, email, avatar URL if known, Slack or Microsoft Teams contact URL if known, and any teams they belong to. Then create the correct users/{'{user-id}'}.mdx file with frontmatter and starter markdown.
25
+ </PromptBox>
26
+
27
+ Copy this prompt and paste it into your coding agent. Your agent can create the user file and add the right ownership/contact metadata.
28
+
29
+ ### Manual Creation
30
+
31
+ Users live in the `/users` folder.
32
+
33
+ Create one `.mdx` file for each user.
34
+
35
+ <ProjectTree
36
+ items={[
37
+ {
38
+ name: 'users',
39
+ type: 'folder',
40
+ defaultOpen: true,
41
+ children: [{ name: 'dboyne.mdx', highlight: true }],
42
+ },
43
+ ]}
44
+ />
45
+
46
+ ## Create the user file
47
+
48
+ Create a user file with frontmatter and markdown content.
49
+
50
+ ```md title="/users/dboyne.mdx"
51
+ ---
52
+ # id of the user, used for references from resources
53
+ id: dboyne
54
+
55
+ # display name for the user
56
+ name: David Boyne
57
+
58
+ # optional URL path for a profile image
59
+ avatarUrl: https://github.com/dboyne.png
60
+
61
+ # user's role in the company
62
+ role: Lead developer
63
+
64
+ # optional user email address
65
+ email: david@example.com
66
+
67
+ # optional Slack URL to contact the user
68
+ slackDirectMessageUrl: https://yourteam.slack.com/team/dboyne
69
+
70
+ # optional teams this user belongs to
71
+ associatedTeams:
72
+ - payments-platform
73
+ ---
74
+
75
+ ## Overview
76
+
77
+ David works on platform architecture and helps teams document their event-driven systems.
78
+ ```
79
+
80
+ Once the file is added, the user appears in EventCatalog and can be referenced by resources or teams.
81
+
82
+ ## Add users to teams
83
+
84
+ Teams can reference users in their `members` array:
85
+
86
+ ```md title="/teams/payments-platform.mdx"
87
+ ---
88
+ id: payments-platform
89
+ name: Payments Platform
90
+ members:
91
+ - dboyne
92
+ ---
93
+ ```
94
+
95
+ ## Next steps
96
+
97
+ - [Create a team](/docs/development/guides/owners/create-team)
98
+ - [Review the users reference](/docs/development/guides/owners/users-reference)
99
+ - [Sync users from external systems](/docs/development/guides/owners/automated-teams-and-users)
@@ -0,0 +1,144 @@
1
+ ---
2
+ keywords:
3
+ - EventCatalog teams
4
+ - Team frontmatter
5
+ sidebar_position: 4
6
+ sidebar_label: Teams reference
7
+ title: Teams reference
8
+ description: Frontmatter fields and paths for teams in EventCatalog.
9
+ ---
10
+
11
+ This page lists the fields and paths supported by teams.
12
+
13
+ ## Paths
14
+
15
+ Teams are created in the `teams` folder:
16
+
17
+ ```txt
18
+ /teams/{team-id}.mdx
19
+ ```
20
+
21
+ Teams can also be synced from directory sources such as GitHub or Microsoft Entra.
22
+
23
+ ## Routes
24
+
25
+ | Route | Description |
26
+ |-------|-------------|
27
+ | `/docs/teams/{team-id}` | Team documentation page. |
28
+
29
+ ## Required fields
30
+
31
+ ### `id` {#id}
32
+
33
+ - Type: `string`
34
+
35
+ Unique id of the team. EventCatalog uses this for URLs and resource references.
36
+
37
+ ```md title="Example"
38
+ ---
39
+ id: payments-platform
40
+ ---
41
+ ```
42
+
43
+ ### `name` {#name}
44
+
45
+ - Type: `string`
46
+
47
+ Display name of the team.
48
+
49
+ ```md title="Example"
50
+ ---
51
+ name: Payments Platform
52
+ ---
53
+ ```
54
+
55
+ ## Optional fields
56
+
57
+ ### `summary` {#summary}
58
+
59
+ - Type: `string`
60
+
61
+ Short description of the team.
62
+
63
+ ```md title="Example"
64
+ ---
65
+ summary: Owns payment processing and refund workflows.
66
+ ---
67
+ ```
68
+
69
+ ### `email` {#email}
70
+
71
+ - Type: `string`
72
+
73
+ Team email address.
74
+
75
+ ```md title="Example"
76
+ ---
77
+ email: payments@example.com
78
+ ---
79
+ ```
80
+
81
+ ### `hidden` {#hidden}
82
+
83
+ - Type: `boolean`
84
+
85
+ Hide the team from generated lists.
86
+
87
+ ```md title="Example"
88
+ ---
89
+ hidden: true
90
+ ---
91
+ ```
92
+
93
+ ### `slackDirectMessageUrl` {#slackDirectMessageUrl}
94
+
95
+ - Type: `string`
96
+
97
+ Slack URL for contacting the team.
98
+
99
+ ```md title="Example"
100
+ ---
101
+ slackDirectMessageUrl: https://slack.example.com/team/payments
102
+ ---
103
+ ```
104
+
105
+ ### `msTeamsDirectMessageUrl` {#msTeamsDirectMessageUrl}
106
+
107
+ - Type: `string`
108
+
109
+ Microsoft Teams URL for contacting the team.
110
+
111
+ ```md title="Example"
112
+ ---
113
+ msTeamsDirectMessageUrl: https://teams.microsoft.com/l/channel/example
114
+ ---
115
+ ```
116
+
117
+ ### `members` {#members}
118
+
119
+ - Type: `array`
120
+
121
+ Users that belong to the team.
122
+
123
+ ```md title="Example"
124
+ ---
125
+ members:
126
+ - dboyne
127
+ ---
128
+ ```
129
+
130
+ ## Example
131
+
132
+ ```md
133
+ ---
134
+ id: payments-platform
135
+ name: Payments Platform
136
+ summary: Owns payment processing and refund workflows.
137
+ members:
138
+ - dboyne
139
+ ownedServices:
140
+ - payment-api
141
+ ownedEvents:
142
+ - PaymentAuthorized
143
+ ---
144
+ ```
@@ -0,0 +1,128 @@
1
+ ---
2
+ keywords:
3
+ - EventCatalog users
4
+ - User frontmatter
5
+ sidebar_position: 5
6
+ sidebar_label: Users reference
7
+ title: Users reference
8
+ description: Frontmatter fields and paths for users in EventCatalog.
9
+ ---
10
+
11
+ This page lists the fields and paths supported by users.
12
+
13
+ ## Paths
14
+
15
+ Users are created in the `users` folder:
16
+
17
+ ```txt
18
+ /users/{user-id}.mdx
19
+ ```
20
+
21
+ Users can also be synced from directory sources such as GitHub or Microsoft Entra.
22
+
23
+ ## Routes
24
+
25
+ | Route | Description |
26
+ |-------|-------------|
27
+ | `/docs/users/{user-id}` | User documentation page. |
28
+
29
+ ## Required fields
30
+
31
+ ### `id` {#id}
32
+
33
+ - Type: `string`
34
+
35
+ Unique id of the user. EventCatalog uses this for URLs and resource references.
36
+
37
+ ```md title="Example"
38
+ ---
39
+ id: dboyne
40
+ ---
41
+ ```
42
+
43
+ ### `name` {#name}
44
+
45
+ - Type: `string`
46
+
47
+ Display name of the user.
48
+
49
+ ```md title="Example"
50
+ ---
51
+ name: David Boyne
52
+ ---
53
+ ```
54
+
55
+ ## Optional fields
56
+
57
+ ### `avatarUrl` {#avatarUrl}
58
+
59
+ - Type: `string`
60
+
61
+ Avatar URL for the user.
62
+
63
+ ```md title="Example"
64
+ ---
65
+ avatarUrl: https://github.com/dboyne.png
66
+ ---
67
+ ```
68
+
69
+ ### `role` {#role}
70
+
71
+ - Type: `string`
72
+
73
+ User role or title.
74
+
75
+ ```md title="Example"
76
+ ---
77
+ role: Staff Engineer
78
+ ---
79
+ ```
80
+
81
+ ### `email` {#email}
82
+
83
+ - Type: `string`
84
+
85
+ User email address.
86
+
87
+ ```md title="Example"
88
+ ---
89
+ email: david@example.com
90
+ ---
91
+ ```
92
+
93
+ ### `hidden` {#hidden}
94
+
95
+ - Type: `boolean`
96
+
97
+ Hide the user from generated lists.
98
+
99
+ ```md title="Example"
100
+ ---
101
+ hidden: true
102
+ ---
103
+ ```
104
+
105
+ ### `slackDirectMessageUrl` {#slackDirectMessageUrl}
106
+
107
+ - Type: `string`
108
+
109
+ Slack direct message URL.
110
+
111
+ ```md title="Example"
112
+ ---
113
+ slackDirectMessageUrl: https://slack.example.com/team/dboyne
114
+ ---
115
+ ```
116
+
117
+ ### `msTeamsDirectMessageUrl` {#msTeamsDirectMessageUrl}
118
+
119
+ - Type: `string`
120
+
121
+ Microsoft Teams direct message URL.
122
+
123
+ ```md title="Example"
124
+ ---
125
+ msTeamsDirectMessageUrl: https://teams.microsoft.com/l/chat/example
126
+ ---
127
+ ```
128
+
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "label": "Teams & Users",
3
- "position": 11,
3
+ "position": 6,
4
4
  "collapsible": true,
5
5
  "collapsed": true,
6
6
  "link": {
@@ -8,4 +8,4 @@
8
8
  "slug": "/owners",
9
9
  "description": "A collection of guides to help you understand owners and how they work with EventCatalog."
10
10
  }
11
- }
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "label": "Automated teams and users",
3
+ "position": 6,
4
+ "collapsible": true,
5
+ "collapsed": true,
6
+ "link": {
7
+ "type": "generated-index",
8
+ "slug": "/development/guides/owners/automated-teams-and-users",
9
+ "description": "A collection of guides to help you sync teams and users into EventCatalog from external systems."
10
+ }
11
+ }
@@ -0,0 +1,108 @@
1
+ ---
2
+ sidebar_position: 3
3
+ slug: /development/guides/owners/create-your-own-connector
4
+ keywords:
5
+ - EventCatalog custom directory connector
6
+ - defineDirectorySource
7
+ sidebar_label: Create your own connector
8
+ title: Create your own connector
9
+ description: Build a custom directory connector to sync users and teams from any provider.
10
+ ---
11
+
12
+ import AddedIn from '@site/src/components/MDX/AddedIn';
13
+ import PlanBanner from '@site/src/components/MDX/PlanBanner';
14
+
15
+ <PlanBanner plan="Scale" />
16
+ <AddedIn version="3.44.0" pkg="@eventcatalog/connectors" />
17
+
18
+ Connectors are how EventCatalog imports and syncs users and teams from an external source so you can assign them as owners on resources in your catalog. EventCatalog ships with built-in connectors (such as [Sync from GitHub](/docs/development/guides/owners/sync-from-github) and [Sync from Microsoft Entra ID](/docs/development/guides/owners/sync-from-microsoft-entra)), but if your team uses a different system &mdash; an internal HR tool, an LDAP directory, a SaaS like Okta, or anything else &mdash; you can write your own connector with a small amount of custom code.
19
+
20
+ A custom connector is a JavaScript function you define that returns a list of users and teams. EventCatalog runs it on startup and treats the results the same as any other connector. You build it using `defineDirectorySource` from `@eventcatalog/connectors` and register it in the same `directory.sources` array used by the built-in connectors.
21
+
22
+ ```mermaid
23
+ flowchart LR
24
+ SRC[Your source<br/>e.g. LDAP, Okta, HR tool] --> C[Your custom connector]
25
+ C --> EC[EventCatalog]
26
+ EC --> U[Users & Teams]
27
+ ```
28
+
29
+ ## Build a connector
30
+
31
+ A connector is an object with a `type`, a `name`, and at least one of `loadUsers` or `loadTeams`:
32
+
33
+ ```js title="connectors/company-directory.js"
34
+ import { defineDirectorySource } from '@eventcatalog/connectors';
35
+
36
+ export const companyDirectory = defineDirectorySource({
37
+ type: 'directory',
38
+ name: 'company-directory',
39
+
40
+ async loadTeams() {
41
+ // Call your external API here (e.g. LDAP, Okta, your HR system)
42
+ // and return the teams in the shape below.
43
+ return [
44
+ {
45
+ id: 'platform',
46
+ name: 'Platform',
47
+ summary: 'Platform engineering team.',
48
+ members: ['alice'],
49
+ source: {
50
+ provider: 'company-directory',
51
+ },
52
+ },
53
+ ];
54
+ },
55
+
56
+ async loadUsers() {
57
+ // Call your external API here to fetch users
58
+ // and return them in the shape below.
59
+ return [
60
+ {
61
+ id: 'alice',
62
+ name: 'Alice',
63
+ avatarUrl: 'https://example.com/alice.png',
64
+ source: {
65
+ provider: 'company-directory',
66
+ },
67
+ },
68
+ ];
69
+ },
70
+ });
71
+ ```
72
+
73
+ Register it in `eventcatalog.config.js`:
74
+
75
+ ```js title="eventcatalog.config.js"
76
+ import { companyDirectory } from './connectors/company-directory.js';
77
+
78
+ export default {
79
+ // ... rest of config
80
+ directory: {
81
+ sources: [companyDirectory],
82
+ },
83
+ };
84
+ ```
85
+
86
+ ## User shape
87
+
88
+ | Field | Type | Required | Description |
89
+ |---|---|---|---|
90
+ | `id` | `string` | Yes | Unique identifier. Matches the `id` used to reference the user as an owner. |
91
+ | `name` | `string` | Yes | Display name. |
92
+ | `avatarUrl` | `string` | No | URL to a profile image. |
93
+ | `role` | `string` | No | Job title or role description. |
94
+ | `email` | `string` | No | Contact email address. |
95
+ | `markdown` | `string` | No | Markdown body rendered on the user's page. |
96
+ | `source` | `object` | No | Provider metadata. The `provider` field is used for the source badge in the UI. |
97
+
98
+ ## Team shape
99
+
100
+ | Field | Type | Required | Description |
101
+ |---|---|---|---|
102
+ | `id` | `string` | Yes | Unique identifier. Matches the `id` used to reference the team as an owner. |
103
+ | `name` | `string` | Yes | Display name. |
104
+ | `summary` | `string` | No | Short description. |
105
+ | `members` | `string[]` | No | List of user `id` values who belong to the team. |
106
+ | `email` | `string` | No | Contact email address. |
107
+ | `markdown` | `string` | No | Markdown body rendered on the team's page. |
108
+ | `source` | `object` | No | Provider metadata. The `provider` field is used for the source badge in the UI. |
@@ -0,0 +1,156 @@
1
+ ---
2
+ sidebar_position: 1
3
+ slug: /development/guides/owners/sync-from-github
4
+ keywords:
5
+ - EventCatalog GitHub connector
6
+ - sync GitHub teams users
7
+ - directory connector
8
+ sidebar_label: Sync from GitHub
9
+ title: Sync from GitHub
10
+ description: Sync GitHub organization teams and members into EventCatalog as users and teams.
11
+ ---
12
+
13
+ import AddedIn from '@site/src/components/MDX/AddedIn';
14
+ import PlanBanner from '@site/src/components/MDX/PlanBanner';
15
+
16
+ <PlanBanner plan="Scale" />
17
+
18
+ In EventCatalog, you can import and sync your users and teams directly from GitHub. Instead of adding people and teams by hand, you point EventCatalog at your GitHub organization and the catalog stays in sync with it automatically. Once synced, your GitHub teams and users can be assigned as owners on any resource in the catalog (services, events, domains, and more).
19
+
20
+ ```mermaid
21
+ flowchart LR
22
+ GH[GitHub org] --> C[GitHub connector]
23
+ C --> EC[EventCatalog]
24
+ EC --> U[Users & Teams]
25
+ ```
26
+
27
+ ## Why sync from GitHub
28
+
29
+ Teams and users in EventCatalog are used to assign ownership to resources such as services, events, and domains. Keeping that ownership data accurate requires the user and team lists to reflect who actually works on each system. Syncing from GitHub automates that by pulling the data from an org you already manage.
30
+
31
+ ## How it works
32
+
33
+ When EventCatalog starts, the connector fetches users and teams from GitHub. They appear in the catalog alongside any users and teams you have defined locally, and each synced entry is marked as read-only with a link back to the source record on GitHub.
34
+
35
+ ## Install
36
+
37
+ ```bash
38
+ npm install @eventcatalog/connectors
39
+ ```
40
+
41
+ ## Configure
42
+
43
+ Import `githubDirectory` and add it to the `directory.sources` array in `eventcatalog.config.js`:
44
+
45
+ ```js title="eventcatalog.config.js"
46
+ import { githubDirectory } from '@eventcatalog/connectors';
47
+
48
+ export default {
49
+ // ... rest of config
50
+ directory: {
51
+ sources: [
52
+ githubDirectory({
53
+ org: 'your-org',
54
+ token: process.env.GITHUB_TOKEN,
55
+ teams: ['platform', 'architecture'],
56
+ users: true,
57
+ }),
58
+ ],
59
+ },
60
+ };
61
+ ```
62
+
63
+ ## Options
64
+
65
+ | Option | Type | Required | Description |
66
+ |---|---|---|---|
67
+ | `org` | `string` | Yes | GitHub organization slug. |
68
+ | `teams` | `string[]` | Yes | One or more team slugs to sync. At least one is required. |
69
+ | `token` | `string` | No | Personal access token or GitHub App installation token. Required for private organizations and to avoid rate limits. |
70
+ | `users` | `boolean` | No | When `true` (default), members of every synced team are also synced as users. Set to `false` to sync teams only. |
71
+ | `baseUrl` | `string` | No | Override the GitHub API base URL. Useful for GitHub Enterprise Server instances. |
72
+
73
+ ## GitHub token
74
+
75
+ Pass a token via an environment variable so it is never committed to source control:
76
+
77
+ ```bash
78
+ GITHUB_TOKEN=ghp_yourtoken npx eventcatalog dev
79
+ ```
80
+
81
+ The token needs the following permissions:
82
+
83
+ - `read:org` - to read teams and their members in the organization.
84
+
85
+ For public organizations the connector works without a token, but GitHub rate limits unauthenticated requests to 60 per hour.
86
+
87
+ ## What gets synced
88
+
89
+ ### Teams
90
+
91
+ Each team slug listed in the `teams` option is fetched from the GitHub API. The connector creates a team entry with:
92
+
93
+ - `id` set to the team slug.
94
+ - `name` taken from the GitHub team display name.
95
+ - `summary` taken from the GitHub team description.
96
+ - A read-only note linking back to the team on GitHub.
97
+
98
+ ### Users
99
+
100
+ When `users` is `true`, every member of each synced team is fetched and created as a user entry with:
101
+
102
+ - `id` set to the GitHub username (login).
103
+ - `name` set to the GitHub username.
104
+ - `avatarUrl` set to the GitHub avatar URL.
105
+ - A read-only note linking back to the user's GitHub profile.
106
+
107
+ A user who belongs to multiple synced teams is only written once.
108
+
109
+ ## Use synced owners
110
+
111
+ Synced teams and users behave identically to hand-authored ones. Reference them by their `id` in any resource frontmatter:
112
+
113
+ ```yaml title="services/order-service/index.md"
114
+ ---
115
+ id: OrderService
116
+ name: Order Service
117
+ owners:
118
+ - platform
119
+ - jsmith
120
+ ---
121
+ ```
122
+
123
+ ## Conflict strategy
124
+
125
+ When a locally authored user or team shares the same `id` as one returned by the connector, EventCatalog uses the `conflictStrategy` setting to decide what to do.
126
+
127
+ | Strategy | Behaviour |
128
+ |---|---|
129
+ | `local-wins` (default) | The local file is kept and the external entry is skipped. |
130
+ | `source-wins` | The external entry overwrites the local file. |
131
+ | `error` | EventCatalog throws an error and stops the build. |
132
+
133
+ Configure the strategy in `eventcatalog.config.js`:
134
+
135
+ ```js title="eventcatalog.config.js"
136
+ export default {
137
+ // ... rest of config
138
+ directory: {
139
+ conflictStrategy: 'local-wins',
140
+ sources: [ /* ... */ ],
141
+ },
142
+ };
143
+ ```
144
+
145
+ ## GitHub Enterprise Server
146
+
147
+ Set the `baseUrl` option to your GHES API endpoint:
148
+
149
+ ```js
150
+ githubDirectory({
151
+ org: 'your-org',
152
+ token: process.env.GITHUB_TOKEN,
153
+ teams: ['platform'],
154
+ baseUrl: 'https://github.example.com/api/v3',
155
+ })
156
+ ```