@eventcatalog/core 0.1.18 → 0.2.1

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 (358) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +126 -43
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/eslint/.cache_1bay4w0 +1 -1
  6. package/.next/cache/next-server.js.nft.json +1 -1
  7. package/.next/cache/webpack/client-production/0.pack +0 -0
  8. package/.next/cache/webpack/client-production/index.pack +0 -0
  9. package/.next/cache/webpack/server-production/0.pack +0 -0
  10. package/.next/cache/webpack/server-production/index.pack +0 -0
  11. package/.next/next-server.js.nft.json +1 -1
  12. package/.next/prerender-manifest.json +1 -1
  13. package/.next/routes-manifest.json +1 -1
  14. package/.next/server/chunks/{730.js → 189.js} +184 -2
  15. package/.next/server/chunks/267.js +255 -0
  16. package/.next/server/chunks/{681.js → 29.js} +277 -40
  17. package/.next/server/chunks/484.js +12 -3
  18. package/.next/server/chunks/50.js +392 -0
  19. package/.next/server/chunks/526.js +15 -4
  20. package/.next/server/chunks/565.js +3 -3
  21. package/.next/server/chunks/778.js +76 -0
  22. package/.next/server/chunks/797.js +92 -0
  23. package/.next/server/chunks/854.js +103 -0
  24. package/.next/server/chunks/938.js +3 -2
  25. package/.next/server/chunks/944.js +102 -153
  26. package/.next/server/pages/404.html +1 -1
  27. package/.next/server/pages/500.html +1 -1
  28. package/.next/server/pages/_app.js +48 -27
  29. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/logs.html +1 -0
  30. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/logs.json +1 -0
  31. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.html +60 -0
  32. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -0
  33. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.html +67 -0
  34. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -0
  35. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.html +67 -0
  36. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.json +1 -0
  37. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart/logs.html +1 -0
  38. package/{out/_next/data/KZ2mEdt5MUAVDtbybTBw1 → .next/server/pages/domains/Shopping}/events/RemovedItemFromCart/logs.json +0 -0
  39. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.html +49 -0
  40. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.json +1 -0
  41. package/.next/server/pages/domains/Shopping.html +2 -0
  42. package/.next/server/pages/domains/Shopping.json +1 -0
  43. package/.next/server/pages/domains/[domain]/events/[name]/logs.js +243 -0
  44. package/.next/server/pages/domains/[domain]/events/[name]/logs.js.nft.json +1 -0
  45. package/.next/server/pages/domains/[domain]/events/[name]/v/[version].js +352 -0
  46. package/.next/server/pages/domains/[domain]/events/[name]/v/[version].js.nft.json +1 -0
  47. package/.next/server/pages/domains/[domain]/events/[name].js +270 -0
  48. package/.next/server/pages/domains/[domain]/events/[name].js.nft.json +1 -0
  49. package/.next/server/pages/domains/[domain]/services/[name].js +318 -0
  50. package/.next/server/pages/domains/[domain]/services/[name].js.nft.json +1 -0
  51. package/.next/server/pages/domains/[domain].js +504 -0
  52. package/.next/server/pages/domains/[domain].js.nft.json +1 -0
  53. package/.next/server/pages/domains.html +2 -0
  54. package/.next/server/pages/domains.js +318 -0
  55. package/.next/server/pages/domains.js.nft.json +1 -0
  56. package/.next/server/pages/domains.json +1 -0
  57. package/.next/server/pages/events/OrderComplete/logs.html +1 -1
  58. package/.next/server/pages/events/OrderComplete.html +2 -2
  59. package/.next/server/pages/events/OrderComplete.json +1 -1
  60. package/.next/server/pages/events/OrderConfirmed/logs.html +1 -1
  61. package/.next/server/pages/events/OrderConfirmed.html +2 -2
  62. package/.next/server/pages/events/OrderConfirmed.json +1 -1
  63. package/.next/server/pages/events/OrderRequested/logs.html +1 -1
  64. package/.next/server/pages/events/OrderRequested.html +2 -2
  65. package/.next/server/pages/events/OrderRequested.json +1 -1
  66. package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
  67. package/.next/server/pages/events/PaymentProcessed.html +2 -2
  68. package/.next/server/pages/events/PaymentProcessed.json +1 -1
  69. package/.next/server/pages/events/RemovedItemFromCart/logs.html +1 -1
  70. package/.next/server/pages/events/RemovedItemFromCart.html +2 -2
  71. package/.next/server/pages/events/RemovedItemFromCart.json +1 -1
  72. package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
  73. package/.next/server/pages/events/ShipmentDelivered.html +2 -2
  74. package/.next/server/pages/events/ShipmentDelivered.json +1 -1
  75. package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
  76. package/.next/server/pages/events/ShipmentDispatched.html +2 -2
  77. package/.next/server/pages/events/ShipmentDispatched.json +1 -1
  78. package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
  79. package/.next/server/pages/events/ShipmentPrepared.html +2 -2
  80. package/.next/server/pages/events/ShipmentPrepared.json +1 -1
  81. package/.next/server/pages/events/[name]/logs.js +1 -243
  82. package/.next/server/pages/events/[name]/logs.js.nft.json +1 -1
  83. package/.next/server/pages/events/[name]/v/[version].js +10 -5
  84. package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
  85. package/.next/server/pages/events/[name].js +2 -2
  86. package/.next/server/pages/events/[name].js.nft.json +1 -1
  87. package/.next/server/pages/events.html +5 -4
  88. package/.next/server/pages/events.js +39 -14
  89. package/.next/server/pages/events.js.nft.json +1 -1
  90. package/.next/server/pages/events.json +1 -1
  91. package/.next/server/pages/index.html +1 -1
  92. package/.next/server/pages/overview.html +1 -1
  93. package/.next/server/pages/overview.js +4 -4
  94. package/.next/server/pages/overview.js.nft.json +1 -1
  95. package/.next/server/pages/overview.json +1 -1
  96. package/.next/server/pages/services/Payment Service.html +2 -2
  97. package/.next/server/pages/services/Payment Service.json +1 -1
  98. package/.next/server/pages/services/Shipping Service.html +2 -2
  99. package/.next/server/pages/services/Shipping Service.json +1 -1
  100. package/.next/server/pages/services/[name].js +1 -505
  101. package/.next/server/pages/services/[name].js.nft.json +1 -1
  102. package/.next/server/pages/services.html +2 -4
  103. package/.next/server/pages/services.js +1 -1
  104. package/.next/server/pages/services.js.nft.json +1 -1
  105. package/.next/server/pages/services.json +1 -1
  106. package/.next/server/pages/users/[id].js +35 -13
  107. package/.next/server/pages/users/[id].js.nft.json +1 -1
  108. package/.next/server/pages/users/dboyne.html +7 -7
  109. package/.next/server/pages/users/dboyne.json +1 -1
  110. package/.next/server/pages/users/mSmith.html +6 -4
  111. package/.next/server/pages/users/mSmith.json +1 -1
  112. package/.next/server/pages/visualiser.html +5 -5
  113. package/.next/server/pages/visualiser.js +149 -149
  114. package/.next/server/pages/visualiser.js.nft.json +1 -1
  115. package/.next/server/pages/visualiser.json +1 -1
  116. package/.next/server/pages-manifest.json +6 -0
  117. package/.next/static/UitC3v9gRidvUVAvz9F2F/_buildManifest.js +1 -0
  118. package/.next/static/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/_middlewareManifest.js +0 -0
  119. package/.next/static/UitC3v9gRidvUVAvz9F2F/_ssgManifest.js +1 -0
  120. package/.next/static/chunks/109-716dea1303010b4f.js +1 -0
  121. package/.next/static/chunks/169-b33dfdaf2847d062.js +1 -0
  122. package/.next/static/chunks/178-e9a666e11fb7c88d.js +1 -0
  123. package/.next/static/chunks/585-aa9262ea1bcf9d5b.js +1 -0
  124. package/.next/static/chunks/650-555944cc1eb7714e.js +1 -0
  125. package/.next/static/chunks/962-17a425b16c23bd0f.js +1 -0
  126. package/.next/static/chunks/pages/_app-d88c877888678e85.js +1 -0
  127. package/.next/static/chunks/pages/domains/[domain]/events/[name]/logs-7317f2121b8f0d8c.js +1 -0
  128. package/.next/static/chunks/pages/domains/[domain]/events/[name]/v/[version]-a7fa6002267ccd3b.js +1 -0
  129. package/.next/static/chunks/pages/domains/[domain]/events/[name]-a5fb5b26471e703b.js +1 -0
  130. package/.next/static/chunks/pages/domains/[domain]/services/[name]-80d6d803e5466b81.js +1 -0
  131. package/.next/static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js +1 -0
  132. package/.next/static/chunks/pages/domains-6ab78cb1bc2f4200.js +1 -0
  133. package/.next/static/chunks/pages/events/[name]/v/[version]-93d978734b0dc0a3.js +1 -0
  134. package/.next/static/chunks/pages/events/{[name]-813780e7042af288.js → [name]-d3d2a03948b8dfeb.js} +1 -1
  135. package/.next/static/chunks/pages/events-5a41c37b360b2fce.js +1 -0
  136. package/.next/static/chunks/pages/{overview-2f0bfad06c84e437.js → overview-dc5e91549c7e3d52.js} +1 -1
  137. package/.next/static/chunks/pages/services/[name]-148079bb388f8c53.js +1 -0
  138. package/.next/static/chunks/pages/services-7fe5a823f1b25f18.js +1 -0
  139. package/.next/static/chunks/pages/users/[id]-b255611073ef76e0.js +1 -0
  140. package/.next/static/chunks/pages/visualiser-2fc8224670ac5dff.js +1 -0
  141. package/.next/static/chunks/webpack-b17b8ef11b94ba66.js +1 -0
  142. package/.next/static/css/{6774df2af1f71309.css → 70ede87da43120f8.css} +1 -1
  143. package/.next/trace +57 -56
  144. package/CHANGELOG.md +20 -0
  145. package/components/Grids/DomainGrid.tsx +53 -0
  146. package/components/Grids/EventGrid.tsx +12 -5
  147. package/components/Grids/ServiceGrid.tsx +3 -3
  148. package/components/Header.tsx +2 -1
  149. package/components/Mdx/NodeGraph/GraphElements.tsx +1 -1
  150. package/components/Mdx/NodeGraph/GraphLayout.ts +6 -2
  151. package/components/Mdx/NodeGraph/NodeGraph.tsx +13 -3
  152. package/components/Mdx/NodeGraph/__tests__/GraphElements.spec.ts +8 -4
  153. package/components/Mdx/NodeGraph/__tests__/GraphLayout.spec.ts +2 -2
  154. package/components/Sidebars/DomainSidebar.tsx +55 -0
  155. package/components/Sidebars/EventSidebar.tsx +61 -111
  156. package/components/Sidebars/ServiceSidebar.tsx +47 -125
  157. package/components/Sidebars/components/ExternalLinks.tsx +28 -0
  158. package/components/Sidebars/components/ItemList.tsx +32 -0
  159. package/components/Sidebars/components/Owners.tsx +38 -0
  160. package/components/Sidebars/components/Tags.tsx +45 -0
  161. package/lib/__tests__/assets/domains/User/events/UserCreated/index.md +16 -0
  162. package/lib/__tests__/assets/domains/User/events/UserRemoved/examples/Basic.cs +31 -0
  163. package/lib/__tests__/assets/domains/User/events/UserRemoved/examples/Basic.js +1 -0
  164. package/lib/__tests__/assets/domains/User/events/UserRemoved/index.md +16 -0
  165. package/lib/__tests__/assets/domains/User/events/UserRemoved/schema.json +4 -0
  166. package/lib/__tests__/assets/domains/User/index.md +12 -0
  167. package/lib/__tests__/assets/domains/User/services/User Service/index.md +15 -0
  168. package/lib/__tests__/assets/events/AddedItemToCart/index.md +0 -2
  169. package/lib/__tests__/assets/services/Basket Service/index.md +1 -1
  170. package/lib/__tests__/domains.spec.ts +267 -0
  171. package/lib/__tests__/events.spec.ts +216 -90
  172. package/lib/__tests__/graphs.spec.ts +4 -4
  173. package/lib/__tests__/services.spec.ts +62 -7
  174. package/lib/domains.ts +148 -0
  175. package/lib/events.ts +69 -22
  176. package/lib/graphs.ts +6 -3
  177. package/lib/services.ts +52 -13
  178. package/out/404/index.html +1 -1
  179. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping/events/AddedItemToCart/logs.json +1 -0
  180. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -0
  181. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -0
  182. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping/events/AddedItemToCart.json +1 -0
  183. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping/events/RemovedItemFromCart/logs.json +1 -0
  184. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping/events/RemovedItemFromCart.json +1 -0
  185. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains/Shopping.json +1 -0
  186. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/domains.json +1 -0
  187. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/OrderComplete/logs.json +0 -0
  188. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/OrderComplete.json +1 -0
  189. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/OrderConfirmed/logs.json +0 -0
  190. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/OrderConfirmed.json +1 -0
  191. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/OrderRequested/logs.json +0 -0
  192. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/OrderRequested.json +1 -0
  193. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/PaymentProcessed/logs.json +0 -0
  194. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/PaymentProcessed.json +1 -0
  195. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/RemovedItemFromCart/logs.json +1 -0
  196. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/RemovedItemFromCart.json +1 -0
  197. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/ShipmentDelivered/logs.json +0 -0
  198. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/ShipmentDelivered.json +1 -0
  199. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/ShipmentDispatched/logs.json +0 -0
  200. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/ShipmentDispatched.json +1 -0
  201. package/out/_next/data/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/events/ShipmentPrepared/logs.json +0 -0
  202. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events/ShipmentPrepared.json +1 -0
  203. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/events.json +1 -0
  204. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/overview.json +1 -0
  205. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/services/Payment Service.json +1 -0
  206. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/services/Shipping Service.json +1 -0
  207. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/services.json +1 -0
  208. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/users/dboyne.json +1 -0
  209. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/users/mSmith.json +1 -0
  210. package/out/_next/data/UitC3v9gRidvUVAvz9F2F/visualiser.json +1 -0
  211. package/out/_next/static/UitC3v9gRidvUVAvz9F2F/_buildManifest.js +1 -0
  212. package/out/_next/static/{KZ2mEdt5MUAVDtbybTBw1 → UitC3v9gRidvUVAvz9F2F}/_middlewareManifest.js +0 -0
  213. package/out/_next/static/UitC3v9gRidvUVAvz9F2F/_ssgManifest.js +1 -0
  214. package/out/_next/static/chunks/109-716dea1303010b4f.js +1 -0
  215. package/out/_next/static/chunks/169-b33dfdaf2847d062.js +1 -0
  216. package/out/_next/static/chunks/178-e9a666e11fb7c88d.js +1 -0
  217. package/out/_next/static/chunks/585-aa9262ea1bcf9d5b.js +1 -0
  218. package/out/_next/static/chunks/650-555944cc1eb7714e.js +1 -0
  219. package/out/_next/static/chunks/962-17a425b16c23bd0f.js +1 -0
  220. package/out/_next/static/chunks/pages/_app-d88c877888678e85.js +1 -0
  221. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]/logs-7317f2121b8f0d8c.js +1 -0
  222. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]/v/[version]-a7fa6002267ccd3b.js +1 -0
  223. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]-a5fb5b26471e703b.js +1 -0
  224. package/out/_next/static/chunks/pages/domains/[domain]/services/[name]-80d6d803e5466b81.js +1 -0
  225. package/out/_next/static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js +1 -0
  226. package/out/_next/static/chunks/pages/domains-6ab78cb1bc2f4200.js +1 -0
  227. package/out/_next/static/chunks/pages/events/[name]/v/[version]-93d978734b0dc0a3.js +1 -0
  228. package/out/_next/static/chunks/pages/events/{[name]-813780e7042af288.js → [name]-d3d2a03948b8dfeb.js} +1 -1
  229. package/out/_next/static/chunks/pages/events-5a41c37b360b2fce.js +1 -0
  230. package/out/_next/static/chunks/pages/{overview-2f0bfad06c84e437.js → overview-dc5e91549c7e3d52.js} +1 -1
  231. package/out/_next/static/chunks/pages/services/[name]-148079bb388f8c53.js +1 -0
  232. package/out/_next/static/chunks/pages/services-7fe5a823f1b25f18.js +1 -0
  233. package/out/_next/static/chunks/pages/users/[id]-b255611073ef76e0.js +1 -0
  234. package/out/_next/static/chunks/pages/visualiser-2fc8224670ac5dff.js +1 -0
  235. package/out/_next/static/chunks/webpack-b17b8ef11b94ba66.js +1 -0
  236. package/out/_next/static/css/{6774df2af1f71309.css → 70ede87da43120f8.css} +1 -1
  237. package/out/domains/Shopping/events/AddedItemToCart/index.html +67 -0
  238. package/out/domains/Shopping/events/AddedItemToCart/logs/index.html +1 -0
  239. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.1/index.html +60 -0
  240. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.2/index.html +67 -0
  241. package/out/domains/Shopping/events/RemovedItemFromCart/index.html +49 -0
  242. package/out/domains/Shopping/events/RemovedItemFromCart/logs/index.html +1 -0
  243. package/out/domains/Shopping/index.html +2 -0
  244. package/out/domains/index.html +2 -0
  245. package/out/events/OrderComplete/index.html +2 -2
  246. package/out/events/OrderComplete/logs/index.html +1 -1
  247. package/out/events/OrderConfirmed/index.html +2 -2
  248. package/out/events/OrderConfirmed/logs/index.html +1 -1
  249. package/out/events/OrderRequested/index.html +2 -2
  250. package/out/events/OrderRequested/logs/index.html +1 -1
  251. package/out/events/PaymentProcessed/index.html +2 -2
  252. package/out/events/PaymentProcessed/logs/index.html +1 -1
  253. package/out/events/RemovedItemFromCart/index.html +2 -2
  254. package/out/events/RemovedItemFromCart/logs/index.html +1 -1
  255. package/out/events/ShipmentDelivered/index.html +2 -2
  256. package/out/events/ShipmentDelivered/logs/index.html +1 -1
  257. package/out/events/ShipmentDispatched/index.html +2 -2
  258. package/out/events/ShipmentDispatched/logs/index.html +1 -1
  259. package/out/events/ShipmentPrepared/index.html +2 -2
  260. package/out/events/ShipmentPrepared/logs/index.html +1 -1
  261. package/out/events/index.html +5 -4
  262. package/out/index.html +1 -1
  263. package/out/overview/index.html +1 -1
  264. package/out/services/Payment Service/index.html +2 -2
  265. package/out/services/Shipping Service/index.html +2 -2
  266. package/out/services/index.html +2 -4
  267. package/out/users/dboyne/index.html +7 -7
  268. package/out/users/mSmith/index.html +6 -4
  269. package/out/visualiser/index.html +5 -5
  270. package/package.json +2 -2
  271. package/pages/_app.tsx +59 -37
  272. package/pages/domains/[domain]/events/[name]/logs.tsx +29 -0
  273. package/pages/domains/[domain]/events/[name]/v/[version].tsx +39 -0
  274. package/pages/domains/[domain]/events/[name].tsx +46 -0
  275. package/pages/domains/[domain]/index.tsx +138 -0
  276. package/pages/domains/[domain]/services/[name].tsx +42 -0
  277. package/pages/domains.tsx +64 -0
  278. package/pages/events/[name]/logs.tsx +6 -4
  279. package/pages/events/[name]/v/[version].tsx +3 -2
  280. package/pages/events/[name].tsx +26 -12
  281. package/pages/events.tsx +59 -33
  282. package/pages/overview.tsx +3 -3
  283. package/pages/services/[name].tsx +8 -8
  284. package/pages/users/[id].tsx +15 -5
  285. package/pages/visualiser.tsx +98 -82
  286. package/scripts/move-schemas-for-download.js +27 -10
  287. package/styles/globals.css +16 -2
  288. package/tailwind.config.js +11 -1
  289. package/.next/server/pages/events/AddedItemToCart/logs.html +0 -1
  290. package/.next/server/pages/events/AddedItemToCart/logs.json +0 -1
  291. package/.next/server/pages/events/AddedItemToCart/v/0.0.1.html +0 -58
  292. package/.next/server/pages/events/AddedItemToCart/v/0.0.1.json +0 -1
  293. package/.next/server/pages/events/AddedItemToCart/v/0.0.2.html +0 -65
  294. package/.next/server/pages/events/AddedItemToCart/v/0.0.2.json +0 -1
  295. package/.next/server/pages/events/AddedItemToCart.html +0 -65
  296. package/.next/server/pages/events/AddedItemToCart.json +0 -1
  297. package/.next/server/pages/services/Basket Service.html +0 -2
  298. package/.next/server/pages/services/Basket Service.json +0 -1
  299. package/.next/server/pages/services/Data Lake.html +0 -2
  300. package/.next/server/pages/services/Data Lake.json +0 -1
  301. package/.next/static/KZ2mEdt5MUAVDtbybTBw1/_buildManifest.js +0 -1
  302. package/.next/static/KZ2mEdt5MUAVDtbybTBw1/_ssgManifest.js +0 -1
  303. package/.next/static/chunks/109-a08539311d3d6672.js +0 -1
  304. package/.next/static/chunks/178-87f01d17ab32dd4f.js +0 -1
  305. package/.next/static/chunks/252-08ab418f9b6821dd.js +0 -1
  306. package/.next/static/chunks/650-343888e13f994a09.js +0 -1
  307. package/.next/static/chunks/962-20c87db3880df896.js +0 -1
  308. package/.next/static/chunks/pages/_app-2ce3055a6b681f1a.js +0 -1
  309. package/.next/static/chunks/pages/events/[name]/v/[version]-33051dbc32f5fe4e.js +0 -1
  310. package/.next/static/chunks/pages/events-1f39499146c9c75f.js +0 -1
  311. package/.next/static/chunks/pages/services/[name]-142d7fa515cfc532.js +0 -1
  312. package/.next/static/chunks/pages/services-f52121c6dc1211aa.js +0 -1
  313. package/.next/static/chunks/pages/users/[id]-d3140bb155f8fb45.js +0 -1
  314. package/.next/static/chunks/pages/visualiser-e4e3757e74f19df7.js +0 -1
  315. package/.next/static/chunks/webpack-49abfa9a972ed5a3.js +0 -1
  316. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/AddedItemToCart/logs.json +0 -1
  317. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/AddedItemToCart/v/0.0.1.json +0 -1
  318. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/AddedItemToCart/v/0.0.2.json +0 -1
  319. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/AddedItemToCart.json +0 -1
  320. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/OrderComplete.json +0 -1
  321. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/OrderConfirmed.json +0 -1
  322. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/OrderRequested.json +0 -1
  323. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/PaymentProcessed.json +0 -1
  324. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/RemovedItemFromCart.json +0 -1
  325. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/ShipmentDelivered.json +0 -1
  326. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/ShipmentDispatched.json +0 -1
  327. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events/ShipmentPrepared.json +0 -1
  328. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/events.json +0 -1
  329. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/overview.json +0 -1
  330. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/services/Basket Service.json +0 -1
  331. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/services/Data Lake.json +0 -1
  332. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/services/Payment Service.json +0 -1
  333. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/services/Shipping Service.json +0 -1
  334. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/services.json +0 -1
  335. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/users/dboyne.json +0 -1
  336. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/users/mSmith.json +0 -1
  337. package/out/_next/data/KZ2mEdt5MUAVDtbybTBw1/visualiser.json +0 -1
  338. package/out/_next/static/KZ2mEdt5MUAVDtbybTBw1/_buildManifest.js +0 -1
  339. package/out/_next/static/KZ2mEdt5MUAVDtbybTBw1/_ssgManifest.js +0 -1
  340. package/out/_next/static/chunks/109-a08539311d3d6672.js +0 -1
  341. package/out/_next/static/chunks/178-87f01d17ab32dd4f.js +0 -1
  342. package/out/_next/static/chunks/252-08ab418f9b6821dd.js +0 -1
  343. package/out/_next/static/chunks/650-343888e13f994a09.js +0 -1
  344. package/out/_next/static/chunks/962-20c87db3880df896.js +0 -1
  345. package/out/_next/static/chunks/pages/_app-2ce3055a6b681f1a.js +0 -1
  346. package/out/_next/static/chunks/pages/events/[name]/v/[version]-33051dbc32f5fe4e.js +0 -1
  347. package/out/_next/static/chunks/pages/events-1f39499146c9c75f.js +0 -1
  348. package/out/_next/static/chunks/pages/services/[name]-142d7fa515cfc532.js +0 -1
  349. package/out/_next/static/chunks/pages/services-f52121c6dc1211aa.js +0 -1
  350. package/out/_next/static/chunks/pages/users/[id]-d3140bb155f8fb45.js +0 -1
  351. package/out/_next/static/chunks/pages/visualiser-e4e3757e74f19df7.js +0 -1
  352. package/out/_next/static/chunks/webpack-49abfa9a972ed5a3.js +0 -1
  353. package/out/events/AddedItemToCart/index.html +0 -65
  354. package/out/events/AddedItemToCart/logs/index.html +0 -1
  355. package/out/events/AddedItemToCart/v/0.0.1/index.html +0 -58
  356. package/out/events/AddedItemToCart/v/0.0.2/index.html +0 -65
  357. package/out/services/Basket Service/index.html +0 -2
  358. package/out/services/Data Lake/index.html +0 -2
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":["0.0.2","0.0.1"],"schema":{"snippet":"{\n \"$id\": \"https://example.com/AddedItemToCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"AddedItemToCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n },\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to add to their shopping cart\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 1\n }\n }\n }\n }\n}\n","language":"json","extension":"json"},"examples":[]},"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n### Consumer / Producer Diagram\n\n<Mermaid />\n\n<Schema />","source":{"compiledSource":"var c=Object.defineProperty,p=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(i)for(var o of i(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>p(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&i)for(var n of i(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},o))},Admonition=makeShortcode(\"Admonition\"),Mermaid=makeShortcode(\"Mermaid\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(\"h3\",null,\"Consumer / Producer Diagram\"),mdx(Mermaid,{mdxType:\"Mermaid\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"eventPath":"/domains/Shopping/events/AddedItemToCart","breadCrumbs":[{"name":"Domain","href":"/events","current":false},{"name":"Shopping","href":"/domains/Shopping","current":false},{"name":"Events","href":"/events?domain=Shopping","current":false},{"name":"AddedItemToCart","href":"/domains/Shopping/events/AddedItemToCart","current":false},{"name":"v0.0.2","href":"/domains/Shopping/events/AddedItemToCart/v/0.0.2","current":true}],"loadedVersion":"0.0.2"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":["0.0.2","0.0.1"],"schema":{"snippet":"{\n \"$id\": \"https://example.com/AddedItemToCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"AddedItemToCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n },\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to add to their shopping cart\",\n \"minimum\": 1,\n \"maximum\": 1000,\n \"default\": 1\n }\n }\n }\n }\n}\n","language":"json","extension":"json"},"examples":[{"name":"example.js","snippet":"var kafka = require('kafka-node'),\n Consumer = kafka.Consumer,\n client = new kafka.KafkaClient(),\n consumer = new Consumer(\n client,\n [\n { topic: 't', partition: 0 },\n { topic: 'AddedItemToCart', partition: 1 },\n ],\n {\n autoCommit: false,\n }\n );\n\nconsumer.on('message', function (message) {\n console.log(message);\n});\n","langugage":"javascript"}]},"eventPath":"/domains/Shopping/events/AddedItemToCart","breadCrumbs":[{"name":"Domain","href":"/domains","current":false},{"name":"Shopping","href":"/domains/Shopping","current":false},{"name":"Events","href":"/events?domain=Shopping","current":false},{"name":"AddedItemToCart","href":"/domains/Shopping/events/AddedItemToCart","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n<NodeGraph title=\"Consumer / Producer Diagram\" />\n\n<EventExamples title=\"How to trigger event\" />\n\n<Schema />\n\n<SchemaViewer renderRootTreeLines defaultExpandedDepth='0' maxHeight=\"500\" />","source":{"compiledSource":"var h=Object.defineProperty,c=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,i=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(r)for(var o of r(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>c(e,l(t));var p=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",i({},o))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),EventExamples=makeShortcode(\"EventExamples\"),Schema=makeShortcode(\"Schema\"),SchemaViewer=makeShortcode(\"SchemaViewer\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=p(n,[\"components\"]);return mdx(MDXLayout,m(i(i({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(NodeGraph,{title:\"Consumer / Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(EventExamples,{title:\"How to trigger event\",mdxType:\"EventExamples\"}),mdx(Schema,{mdxType:\"Schema\"}),mdx(SchemaViewer,{renderRootTreeLines:!0,defaultExpandedDepth:\"0\",maxHeight:\"500\",mdxType:\"SchemaViewer\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"changes":[],"name":"RemovedItemFromCart","currentVersion":"0.0.1"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/RemovedItemFromCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"RemovedItemFromCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n },\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to remove to their shopping cart\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 1\n }\n }\n }\n }\n}\n","language":"json","extension":"json"},"examples":[]},"eventPath":"/domains/Shopping/events/RemovedItemFromCart","breadCrumbs":[{"name":"Domain","href":"/domains","current":false},{"name":"Shopping","href":"/domains/Shopping","current":false},{"name":"Events","href":"/events?domain=Shopping","current":false},{"name":"RemovedItemFromCart","href":"/domains/Shopping/events/RemovedItemFromCart","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n<NodeGraph title=\"Consumer / Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,i=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(r)for(var o of r(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>c(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",i({},o))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(i(i({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(NodeGraph,{title:\"Consumer / Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"domain":{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]},"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n<NodeGraph title=\"Consumer / Producer Diagram\" />","lastModifiedDate":"2022/2/28","source":{"compiledSource":"var m=Object.defineProperty,c=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,i=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(r)for(var o of r(t))s.call(t,o)&&d(e,o,t[o]);return e},p=(e,t)=>c(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",i({},o))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,p(i(i({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(NodeGraph,{title:\"Consumer / Producer Diagram\",mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"services":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/OrderRequested.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"OrderRequested\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The ID the users order\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/OrderComplete","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"OrderComplete","href":"/events/OrderComplete","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is the final event of the ordering process. It gets raised when the shipment has been delivered.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is the final event of the ordering process. It gets raised when the shipment has been delivered.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/OrderRequested.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"OrderRequested\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The ID the users order\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/OrderConfirmed","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"OrderConfirmed","href":"/events/OrderConfirmed","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when the customers order has been verified and the stock has been checked. Once this event is triggered we are safe to say it is ready for shipment.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var m=Object.defineProperty,p=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,o,t)=>o in e?m(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&d(e,t,o[t]);if(r)for(var t of r(o))s.call(o,t)&&d(e,t,o[t]);return e},h=(e,o)=>p(e,u(o));var c=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&s.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,h(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when the customers order has been verified and the stock has been checked. Once this event is triggered we are safe to say it is ready for shipment.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/OrderRequested.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"OrderRequested\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The ID the users order\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/OrderRequested","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"OrderRequested","href":"/events/OrderRequested","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when the user confirms their order and wants to process their payment.\n\nWe have a frontend application that allows users to buy things from our store. The frontend application interacts with the Backet Service to trigger the `OrderRequested` event.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var c=Object.defineProperty,m=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,a=(e,t)=>{for(var o in t||(t={}))i.call(t,o)&&d(e,o,t[o]);if(r)for(var o of r(t))s.call(t,o)&&d(e,o,t[o]);return e},h=(e,t)=>m(e,u(t));var p=(e,t)=>{var o={};for(var n in e)i.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},o))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=p(n,[\"components\"]);return mdx(MDXLayout,h(a(a({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when the user confirms their order and wants to process their payment.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. The frontend application interacts with the Backet Service to trigger the \",mdx(\"inlineCode\",{parentName:\"p\"},\"OrderRequested\"),\" event.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/PaymentProcessed.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"PaymentProcessed\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The ID the users order\"\n },\n \"stripeId\": {\n \"type\": \"string\",\n \"description\": \"The ID the payment handled in stripe\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/PaymentProcessed","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"PaymentProcessed","href":"/events/PaymentProcessed","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when the payment has succesfully been processed for a customers orders.\n\nWe use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,h=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,s=(e,o)=>{for(var t in o||(o={}))a.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&i(e,t,o[t]);return e},m=(e,o)=>h(e,u(o));var c=(e,o)=>{var t={};for(var n in e)a.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",s({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,m(s(s({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when the payment has succesfully been processed for a customers orders.\"),mdx(\"p\",null,\"We use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"changes":[],"name":"RemovedItemFromCart","currentVersion":"0.0.1"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/RemovedItemFromCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"RemovedItemFromCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n },\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to remove to their shopping cart\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 1\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/RemovedItemFromCart","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"RemovedItemFromCart","href":"/events/RemovedItemFromCart","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,i=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(r)for(var o of r(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>c(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",i({},o))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(i(i({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentDispatched.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentDispatched\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentDelivered","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentDelivered","href":"/events/ShipmentDelivered","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has been delivered to its destination.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,r=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(a)for(var t of a(o))d.call(o,t)&&s(e,t,o[t]);return e},m=(e,o)=>c(e,u(o));var h=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&a)for(var n of a(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has been delivered to its destination.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentDispatched.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentDispatched\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentDispatched","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentDispatched","href":"/events/ShipmentDispatched","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has been dispatched from the warehouse.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,r=(e,o)=>{for(var t in o||(o={}))d.call(o,t)&&s(e,t,o[t]);if(a)for(var t of a(o))i.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)d.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&a)for(var n of a(e))o.indexOf(n)<0&&i.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(r(r({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has been dispatched from the warehouse.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"event":{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentPrepared.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentPrepared\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentPrepared","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentPrepared","href":"/events/ShipmentPrepared","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has finished being prepared. \n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<SchemaViewer renderRootTreeLines defaultExpandedDepth='0' maxHeight=\"500\" />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),SchemaViewer=makeShortcode(\"SchemaViewer\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has finished being prepared. \"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(SchemaViewer,{renderRootTreeLines:!0,defaultExpandedDepth:\"0\",maxHeight:\"500\",mdxType:\"SchemaViewer\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/28"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":["Data Lake","Basket Service","Orders Service","Shipping Service","Payment Service","Order Service"],"domains":["Shopping"]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":["Data Lake","Basket Service","Orders Service","Shipping Service","Payment Service","Order Service"]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nThe payment service is our own internal payment service that listens to events from stripe and handles them within our own domain. \n\nWe use Stripe to handle services and use this Payment service to enrich events for internal use.\n\n<NodeGraph />","lastModifiedDate":"2022/2/28","source":{"compiledSource":"var u=Object.defineProperty,h=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?u(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,s=(e,o)=>{for(var t in o||(o={}))a.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))p.call(o,t)&&i(e,t,o[t]);return e},d=(e,o)=>h(e,m(o));var c=(e,o)=>{var t={};for(var n in e)a.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&p.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",s({},t))},NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,d(s(s({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"The payment service is our own internal payment service that listens to events from stripe and handles them within our own domain. \"),mdx(\"p\",null,\"We use Stripe to handle services and use this Payment service to enrich events for internal use.\"),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"breadCrumbs":[{"name":"Services","href":"/services","current":false},{"name":"Payment Service","href":"/services/Payment Service","current":true}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"service":{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nEvent based service that allows you to create shipments, prepare them and dispatch them. This service handles the `Shipment` domain.\n\nThis service will also generate Async events for downstream services.\n\n<NodeGraph />\n","lastModifiedDate":"2022/2/28","source":{"compiledSource":"var h=Object.defineProperty,m=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var s=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?h(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))s.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))p.call(o,t)&&i(e,t,o[t]);return e},d=(e,o)=>m(e,l(o));var c=(e,o)=>{var t={};for(var n in e)s.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&p.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,d(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Event based service that allows you to create shipments, prepare them and dispatch them. This service handles the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Shipment\"),\" domain.\"),mdx(\"p\",null,\"This service will also generate Async events for downstream services.\"),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"breadCrumbs":[{"name":"Services","href":"/services","current":false},{"name":"Shipping Service","href":"/services/Shipping Service","current":true}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"services":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}],"services":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"userId":"dboyne"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}],"services":[],"userId":"mSmith"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST=function(s,e,a,n,c,i,t,d,m,f,o,v,u,r,b,k,h,j){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-fe1a9e09c7f51e66.js"],"/_error":["static/chunks/pages/_error-5a714c45c50a8db4.js"],"/domains":[s,"static/chunks/pages/domains-6ab78cb1bc2f4200.js"],"/domains/[domain]":[n,e,s,c,i,t,"static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js"],"/domains/[domain]/events/[name]":[a,n,d,m,f,e,s,c,o,v,i,t,u,r,"static/chunks/pages/domains/[domain]/events/[name]-a5fb5b26471e703b.js"],"/domains/[domain]/events/[name]/logs":[e,b,k,"static/chunks/pages/domains/[domain]/events/[name]/logs-7317f2121b8f0d8c.js"],"/domains/[domain]/events/[name]/v/[version]":[a,n,d,m,f,e,s,c,o,v,i,t,u,r,"static/chunks/pages/domains/[domain]/events/[name]/v/[version]-a7fa6002267ccd3b.js"],"/domains/[domain]/services/[name]":[a,n,e,s,c,i,t,h,"static/chunks/pages/domains/[domain]/services/[name]-80d6d803e5466b81.js"],"/events":[a,e,s,j,"static/chunks/pages/events-5a41c37b360b2fce.js"],"/events/[name]":[a,n,d,m,f,e,s,c,o,v,i,t,u,r,"static/chunks/pages/events/[name]-d3d2a03948b8dfeb.js"],"/events/[name]/logs":[e,b,k,"static/chunks/pages/events/[name]/logs-707da36de8222a98.js"],"/events/[name]/v/[version]":[a,n,d,m,f,e,s,c,o,v,i,t,u,r,"static/chunks/pages/events/[name]/v/[version]-93d978734b0dc0a3.js"],"/overview":["static/chunks/pages/overview-dc5e91549c7e3d52.js"],"/services":[a,e,s,j,"static/chunks/pages/services-7fe5a823f1b25f18.js"],"/services/[name]":[a,n,e,s,c,i,t,h,"static/chunks/pages/services/[name]-148079bb388f8c53.js"],"/users/[id]":[a,s,"static/chunks/pages/users/[id]-b255611073ef76e0.js"],"/visualiser":[n,e,s,c,i,"static/chunks/pages/visualiser-2fc8224670ac5dff.js"],sortedPages:["/","/_app","/_error","/domains","/domains/[domain]","/domains/[domain]/events/[name]","/domains/[domain]/events/[name]/logs","/domains/[domain]/events/[name]/v/[version]","/domains/[domain]/services/[name]","/events","/events/[name]","/events/[name]/logs","/events/[name]/v/[version]","/overview","/services","/services/[name]","/users/[id]","/visualiser"]}}("static/chunks/962-17a425b16c23bd0f.js","static/chunks/519-2ec6fc3cdbaa4dc2.js","static/chunks/176cb4e4-8a0f6f010ef8accb.js","static/chunks/b744740b-229c238b25b9eeac.js","static/chunks/506-12764fcf4b5d93b0.js","static/chunks/109-716dea1303010b4f.js","static/chunks/169-b33dfdaf2847d062.js","static/chunks/1df474da-91f6061ee61707c6.js","static/chunks/7f5d3f51-7158fdd5a44cedd5.js","static/chunks/2edb282b-9e1cce5842787609.js","static/chunks/5-f60eecf67567a225.js","static/chunks/650-555944cc1eb7714e.js","static/chunks/178-e9a666e11fb7c88d.js","static/css/7e14b4dede1671ad.css","static/chunks/364-9c039ca46569869e.js","static/css/5eeed9cb243ce668.css","static/chunks/585-aa9262ea1bcf9d5b.js","static/chunks/274-11c4d093341d7201.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
1
+ self.__SSG_MANIFEST=new Set(["\u002Foverview","\u002Fdomains","\u002Fvisualiser","\u002Fevents","\u002Fservices","\u002Fdomains\u002F[domain]","\u002Fdomains\u002F[domain]\u002Fevents\u002F[name]\u002Flogs","\u002Fevents\u002F[name]\u002Flogs","\u002Fdomains\u002F[domain]\u002Fservices\u002F[name]","\u002Fservices\u002F[name]","\u002Fusers\u002F[id]","\u002Fdomains\u002F[domain]\u002Fevents\u002F[name]","\u002Fdomains\u002F[domain]\u002Fevents\u002F[name]\u002Fv\u002F[version]","\u002Fevents\u002F[name]","\u002Fevents\u002F[name]\u002Fv\u002F[version]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[109],{78484:function(e,t,n){n.d(t,{Z:function(){return S}});var a=n(52322),r=n(2784),o=n(39097),i=n(54064),c=n(70314),l=n(17962),u=n(61519);var s=function(e){var t=e.type,n=e.label,r="event"===t?u.bV6:l.QTo;return(0,a.jsxs)("div",{children:[(0,a.jsx)(r,{className:"h-3 w-3 text-gray-700 inline-block mr-1 -mt-0.5"}),(0,a.jsx)("span",{className:"text-gray-700",children:n})]})};function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){d(e,t,n[t])}))}return e}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var m=(0,c.default)().publicRuntimeConfig,b=(void 0===m?{}:m).basePath,v=void 0===b?"":b,h=function(e){return 8*e.length>150?8*e.length:150},g=function(e){var t=e.id,n=e.target,a=e.source,r=e.label,o=e.isAnimated,c=void 0===o||o;return{id:t,target:n,source:a,type:"smoothstep",arrowHeadType:i.f8.ArrowClosed,animated:c,label:r,labelBgPadding:[8,4],labelBgBorderRadius:4,labelStyle:{fontSize:"6px"},labelBgStyle:{fill:"white",color:"#fff",fillOpacity:.5}}},y=function(e){var t=e.name,n=e.label,a=e.type,r=e.maxWidth,o=h(n);return{label:n,link:function(e,t){return""!==v?"".concat(v,"/").concat(t,"/").concat(e):"/".concat(t,"/").concat(e)}(t,"service"===a?"services":"events"),width:o,maxWidth:r}},x=function(e){var t=e.type,n=e.label;return e.includeIcon?(0,a.jsx)(s,{type:t,label:n}):n},w=function(e,t,n,a,r){var o,i,c=e.name,l=e.producerNames,u=e.consumerNames,s=void 0===t?"#2563eb":t,d=void 0===n||n,m=void 0!==a&&a,b=void 0!==r&&r,v={x:0,y:0},w={fontSize:b?"8px":"auto"},j=l.map((function(e){return h(e)})),_=(o=Math).max.apply(o,f(j)),N=u.map((function(e){return h(e)})),A=(i=Math).max.apply(i,f(N)),O="ev-".concat(c.replace(/ /g,"_")),k=h(c),S=l.map((function(e){return{label:e,id:"pr-".concat(e.replace(/ /g,"_"))}})),E=u.map((function(e){return{label:e,id:"co-".concat(e.replace(/ /g,"_"))}})),I=S.map((function(e){var t=e.label,n=e.id,a=h(t),r=_-a,o=0!==r?a-r:_,i=x({type:"service",label:t,includeIcon:b});return{id:n,data:y({name:t,label:i,type:"service",maxWidth:o}),style:p({border:"2px solid ".concat("#75d7b6"),width:a},w),type:"input",position:v}})),z=E.map((function(e){var t=e.id,n=e.label,a=h(n),r=x({type:"service",label:n,includeIcon:b});return{id:t,data:y({name:n,label:r,type:"service",maxWidth:A}),style:p({border:"2px solid ".concat("#818cf8"),width:a},w),type:"output",position:v}})),L={id:O,data:y({name:c,label:x({type:"event",label:c,includeIcon:b}),type:"event",maxWidth:k}),style:p({border:"2px solid ".concat(s),width:k},w),position:v},C=S.map((function(e){var t=e.id,n=e.label;return g({id:"epe-".concat(n.replace(/ /g,"_")),source:t,target:O,isAnimated:d,label:m?"publishes":""})})),W=E.map((function(e){var t=e.id,n=e.label;return g({id:"ece-".concat(n.replace(/ /g,"_")),target:t,source:O,isAnimated:d,label:m?"subscribed by":""})}));return f(I).concat([L],f(z),f(C),f(W))},j=function(e,t,n,a,r){var o,i,c=e.publishes,l=e.subscribes,u=e.name,s=void 0===t?"#2563eb":t,d=void 0===n||n,m=void 0!==a&&a,b=void 0!==r&&r,v={x:0,y:0},w={fontSize:b?"8px":"auto"},j=c.map((function(e){return h(e.name)})),_=(o=Math).max.apply(o,f(j)),N=l.map((function(e){return h(e.name)})),A=(i=Math).max.apply(i,f(N)),O="ser-".concat(u.replace(/ /g,"_")),k=c.map((function(e){var t=h(e.name),n=x({type:"event",label:e.name,includeIcon:b});return{id:"pub-".concat(e.name.replace(/ /g,"_")),data:y({name:e.name,label:n,type:"event",maxWidth:_}),style:p({border:"2px solid ".concat("#818cf8"),width:t},w),type:"output",position:v}})),S=l.map((function(e){var t=h(e.name),n=A-t,a=0!==n?t-n:A,r=x({type:"event",label:e.name,includeIcon:b});return{id:"sub-".concat(e.name.replace(/ /g,"_")),data:y(p({name:e.name,label:r,type:"event",maxWidth:a},w)),style:p({border:"2px solid ".concat("#75d7b6"),width:t},w),type:"input",position:v}})),E={id:O,data:y({name:u,label:x({type:"service",label:u,includeIcon:b}),type:"service",maxWidth:h(u)}),style:p({border:"2px solid ".concat(s),width:h(u)},w),position:v},I=c.map((function(e){return g({id:"ecp-".concat(e.name.replace(/ /g,"_")),source:O,target:"pub-".concat(e.name.replace(/ /g,"_")),isAnimated:d,label:m?"publishes":""})})),z=l.map((function(e){return g({id:"esc-".concat(e.name.replace(/ /g,"_")),target:O,source:"sub-".concat(e.name.replace(/ /g,"_")),isAnimated:d,label:m?"subscribed by":""})}));return f(S).concat([E],f(k),f(I),f(z))},_=n(46506),N=n.n(_);function A(e,t){var n=new(N().graphlib.Graph);return n.setDefaultEdgeLabel((function(){return{}})),n.setGraph({rankdir:"LR",ranksep:96,nodesep:32}),e.forEach((function(e){if((0,i.UG)(e)){var t,a,r,o,c=(null===(t=e.__rf)||void 0===t?void 0:t.width)?null===(a=e.__rf)||void 0===a?void 0:a.width:null===(r=e.data)||void 0===r?void 0:r.width;n.setNode(e.id,{width:c||150,height:(null===(o=e.__rf)||void 0===o?void 0:o.height)||36})}else n.setEdge(e.source,e.target)})),N().layout(n),e.map((function(e){if((0,i.UG)(e)){var a,r=n.node(e.id);e.targetPosition=t?i.Ly.Left:i.Ly.Top,e.sourcePosition=t?i.Ly.Right:i.Ly.Bottom,e.position={x:24+r.x-((null===e||void 0===e||null===(a=e.data)||void 0===a?void 0:a.maxWidth)||r.width)/2,y:r.y-r.height/2}}return e}))}function O(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function k(e){var t=e.data,n=e.source,o=e.rootNodeColor,c=e.maxZoom,l=void 0===c?10:c,u=e.isAnimated,s=void 0===u||u,d=e.fitView,p=void 0===d||d,f=e.zoomOnScroll,m=void 0!==f&&f,b=e.isDraggable,v=void 0!==b&&b,h=e.isHorizontal,g=void 0===h||h,y=e.includeBackground,x=void 0!==y&&y,_=e.includeEdgeLabels,N=void 0!==_&&_,k=e.includeNodeIcons,S=e.title,E=e.subtitle,I=function(){if("domain"===n){var e=t,a=e.events.map((function(e){return w(e,o,s,!0,!0)})),r=e.services.map((function(e){return j(e,o,s,!0,!0)}));return a.flat().concat(r.flat())}return"event"===n?w(t,o,s,N,k):j(t,o,s,N,k)},z=(0,r.useRef)(!1),L=(0,i.Kw)((function(e){return e.nodes})),C=(0,i.Kw)((function(e){return e.edges})),W=(0,i.Hs)().fitView,B=A(I(),g),P=(0,r.useState)(B),V=P[0],Z=P[1];(0,r.useEffect)((function(){var e=A(I(),g);Z(e),setTimeout((function(){W()}),1)}),[t]),(0,r.useEffect)((function(){var e;if(!1===z.current&&L.length>0&&null!=(null===L||void 0===L||null===(e=L[0])||void 0===e?void 0:e.__rf.width)){!function(){var e=A(O(L).concat(O(C)),g);Z(e),z.current=!0}()}}),[L,C,z,g]);var M=(0,r.useCallback)((function(e){p&&e.fitView()}),[p]);return(0,a.jsxs)(i.ZP,{elements:V,onLoad:M,onElementClick:function(e,t){return window.open(t.data.link,"_self")},nodesDraggable:v,zoomOnScroll:m,maxZoom:l,children:[S&&(0,a.jsxs)("div",{className:"absolute top-4 right-4 bg-white z-10 text-lg px-4 py-2 space-x-2",children:[(0,a.jsx)("span",{className:" font-bold",children:S}),E&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-gray-200",children:"|"}),(0,a.jsx)("span",{className:"font-light",children:E})]})]}),(0,a.jsx)(i.ZX,{className:"block absolute top-5 react-flow__controls-no-shadow"}),x&&(0,a.jsx)(i.Aq,{color:"#c1c1c1",gap:8})]})}var S=function(e){var t=e.data,n=e.source,r=e.rootNodeColor,c=e.maxHeight,l=e.maxZoom,u=e.fitView,s=e.zoomOnScroll,d=e.isAnimated,p=e.isDraggable,f=e.isHorizontal,m=e.includeBackground,b=e.renderWithBorder,v=void 0===b||b,h=e.title,g=e.subtitle,y=e.includeEdgeLabels,x=e.includeNodeIcons,w=c||function(e,t){var n=0;return"event"===t&&(n=68*Math.max(e.producerNames.length,e.consumerNames.length)),"service"===t&&(n=68*Math.max(e.publishes.length,e.subscribes.length)),Math.max(300,n)}(t,n);return(0,a.jsxs)("div",{className:"node-graph w-full h-screen ".concat(v?"border-dashed border-2 border-slate-300":""),style:{height:w},children:[(0,a.jsx)(i.tV,{children:(0,a.jsx)(k,{source:n,data:t,rootNodeColor:r,maxZoom:l,fitView:u,includeBackground:m,zoomOnScroll:s,isAnimated:d,isDraggable:p,isHorizontal:f,includeEdgeLabels:y,includeNodeIcons:x,title:h,subtitle:g})}),(0,a.jsx)(o.default,{href:"/visualiser?type=".concat(n,"&name=").concat(t.name),children:(0,a.jsx)("a",{className:"block text-right underline text-xs mt-4",children:"Open in Visualiser \u2192"})})]})}},46892:function(e,t,n){function a(e){for(var t=0,n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);for(var a="#",r=0;r<3;r++){a+="00".concat((t>>8*r&255).toString(16)).substr(-2)}return a}n.d(t,{Z:function(){return a}})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[169],{52428:function(e,s,r){var a=r(52322),l=(r(2784),r(61519)),t=r(39097);s.Z=function(e){var s=e.pages,r=e.homePath,n=void 0===r?"/events":r;return(0,a.jsx)("nav",{className:"flex","aria-label":"Breadcrumb",children:(0,a.jsxs)("ol",{className:"flex items-center space-x-4",children:[(0,a.jsx)("li",{children:(0,a.jsx)(t.default,{href:n,children:(0,a.jsxs)("a",{className:"text-gray-400 hover:text-gray-500",children:[(0,a.jsx)(l.tvw,{className:"flex-shrink-0 h-5 w-5","aria-hidden":"true"}),(0,a.jsx)("span",{className:"sr-only",children:"Home"})]})})}),s.map((function(e){return(0,a.jsx)("li",{children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("svg",{className:"flex-shrink-0 h-5 w-5 text-gray-300",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.555 17.776l8-16 .894.448-8 16-.894-.448z"})}),(0,a.jsx)(t.default,{href:e.href,children:(0,a.jsx)("a",{className:"ml-4 text-sm font-medium text-gray-500 hover:text-gray-700","aria-current":e.current?"page":void 0,children:e.name})})]})},e.name)}))]})})}},62455:function(e,s,r){r.d(s,{Z:function(){return i}});var a=r(52322),l=r(61519),t=r(39097),n=r(61790);function i(e){var s=e.title,r=e.subtitle,i=e.tags,c=void 0===i?[]:i,d=e.lastModifiedDate,x=e.children,m=e.sidebar,o=e.breadCrumbs,h=e.editUrl,u=e.isOldVersion,f=e.latestVersionUrl,j=e.version,p=e.draft,g=void 0!==p&&p;return(0,a.jsx)("div",{className:"flex relative",children:(0,a.jsx)("div",{className:" flex flex-col w-0 flex-1 ",children:(0,a.jsx)("main",{className:"flex-1 ",children:(0,a.jsx)("div",{className:"py-8 xl:py-10",children:(0,a.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 xl:max-w-7xl xl:grid xl:grid-cols-4",children:[(0,a.jsxs)("div",{className:"xl:col-span-3 xl:pr-8 xl:border-r xl:border-gray-200 flex-col justify-between flex",children:[(0,a.jsxs)("div",{children:[o&&(0,a.jsx)("div",{className:"mb-5 border-b border-gray-100 pb-4",children:o}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"xl:border-b pb-4 flex justify-between ",children:[(0,a.jsxs)("div",{className:"space-y-2 w-full",children:[(0,a.jsxs)("h1",{className:"text-3xl font-bold text-gray-900 relative",children:[s,(0,a.jsxs)("div",{className:"-top-1 relative inline-block ml-2",children:[c.map((function(e,s){return(0,a.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-yellow-100 text-yellow-800",children:e.label},"".concat(e,"-").concat(s))})),g&&(0,a.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-gray-500 text-gray-100",children:"Draft"})]})]}),(0,a.jsx)("div",{className:"text-gray-600 mb-10 text py-2",children:r}),u&&j&&(0,a.jsx)(n.Z,{className:"mt-0 pt-0 w-full",type:"warning",children:(0,a.jsxs)(a.Fragment,{children:["You are currently viewing an old version of this event (",j,").",(0,a.jsx)(t.default,{href:f,children:(0,a.jsx)("a",{className:"block text-sm pl-7 mt-2 text-blue-500 underline",children:"Read latest version \u2192"})})]})})]}),(0,a.jsx)("div",{className:"mt-4 flex space-x-3 md:mt-0",children:h&&(0,a.jsxs)("a",{href:h,target:"_blank",type:"button",className:"hidden md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",rel:"noreferrer",children:[(0,a.jsx)(l.vdY,{className:"-ml-1 mr-2 h-5 w-5 text-gray-400","aria-hidden":"true"}),(0,a.jsx)("span",{children:"Edit"})]})})]}),(0,a.jsxs)("div",{className:"py-3 xl:pt-6 xl:pb-0",children:[g&&(0,a.jsx)(n.Z,{className:"mt-0 pt-0",type:"warning",children:(0,a.jsxs)(a.Fragment,{children:["This event is currently in ",(0,a.jsx)("span",{className:"underline",children:"draft"})," mode."]})}),(0,a.jsx)("div",{className:"prose max-w-none",children:x})]})]})})]}),(0,a.jsxs)("div",{className:"flex mt-10 ".concat(h?"justify-between":"justify-end"),children:[h&&(0,a.jsxs)("a",{href:h,target:"_blank",className:"flex text-gray-400",rel:"noreferrer",children:[(0,a.jsx)(l.vdY,{className:"top-1 mr-2 relative h-4 w-4 text-gray-400","aria-hidden":"true"}),(0,a.jsx)("span",{children:"Edit this page"})]}),(0,a.jsxs)("span",{className:"italic text-xs mt-2",children:["Last updated on ",d]})]})]}),(0,a.jsx)("div",{className:"md:min-h-screen",children:m})]})})})})})}},61790:function(e,s,r){r.d(s,{Z:function(){return t}});var a=r(52322),l=r(61519);function t(e){var s=e.children,r=e.type,t=e.className,n=void 0===t?"":t,i=function(e){switch(e){case"alert":return{color:"red",icon:l.SI8};case"warning":return{color:"yellow",icon:l.SI8};default:return{color:"indigo",icon:l.AV5}}}(r),c=i.color,d=i.icon;return(0,a.jsx)("div",{className:"bg-".concat(c,"-50 border-l-4 border-").concat(c,"-400 my-4 ").concat(n),children:(0,a.jsx)("div",{className:"flex",children:(0,a.jsxs)("div",{className:"ml-3 py-4",children:[(0,a.jsx)(d,{className:"inline-block mr-2 h-5 w-5 text-".concat(c,"-400"),"aria-hidden":"true"}),s]})})})}},4488:function(e,s,r){r.d(s,{Z:function(){return t}});var a=r(52322),l=r(61519);function t(e){var s=e.type,r=e.name,t=e.editUrl;return(0,a.jsx)("main",{className:"min-h-full bg-cover bg-top sm:bg-top h-screen",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 py-16 text-center sm:px-6 sm:py-24 lg:px-8 lg:py-48",children:[(0,a.jsxs)("p",{className:"text-sm font-semibold text-gray-700 text-opacity-50 uppercase tracking-wide blur-xl",children:["Failed to find ",s]}),(0,a.jsx)("h1",{className:"mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl",children:"Missing Documentation"}),(0,a.jsxs)("p",{className:"mt-2 text-lg font-medium text-gray-700 text-opacity-50 text-center ",children:["Documentation for ",s," is missing!",(0,a.jsx)("span",{className:"block font-bold text-gray-800 underline break-all max-w-2xl mx-auto py-4",children:r})]}),(0,a.jsx)("p",{className:"mt-4 text-xs text-gray-400",children:"Help the eco-system and add the documentation for others \u2764\ufe0f "}),t&&(0,a.jsx)("div",{className:"mt-12",children:(0,a.jsxs)("a",{href:t,target:"_blank",className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-black bg-opacity-75 ",rel:"noreferrer",children:[(0,a.jsx)(l.Qrl,{className:"-ml-1 mr-2 h-5 w-5","aria-hidden":"true"}),"Add missing ",(0,a.jsx)("span",{className:"underline px-1",children:s})," documentation"]})})]})})}},55746:function(e,s,r){var a=r(52322),l=(r(2784),r(17962));s.Z=function(e){var s=e.externalLinks;return 0===s.length?null:(0,a.jsx)("div",{className:" py-2 space-y-8",children:(0,a.jsx)("div",{className:"space-y-3",children:s.map((function(e){return(0,a.jsxs)("a",{href:e.url,target:"_blank",type:"button",className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-teal-300 shadow-sm text-sm font-medium rounded-md text-teal-800 hover:bg-teal-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-teal-200",rel:"noreferrer",children:[(0,a.jsx)(l.h0n,{className:"-ml-1 mr-2 h-5 w-5 text-teal-200","aria-hidden":"true"}),(0,a.jsx)("span",{children:"".concat(e.label)})]},e.url)}))})})}},17933:function(e,s,r){var a=r(52322),l=(r(2784),r(39097)),t=r(17962);s.Z=function(e){var s=e.title,r=e.titleIcon,n=r.icon,i=void 0===n?t.FMB:n,c=r.className,d=e.items;return(0,a.jsx)("div",{className:"pt-6 py-6 space-y-8",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,a.jsx)(i,{className:"h-5 w-5 inline-block mr-2 ".concat(c),"aria-hidden":"true"}),s]}),(0,a.jsx)("ul",{className:"mt-2 leading-8",children:d.map((function(e){return(0,a.jsx)("li",{className:"inline mr-2",children:(0,a.jsx)(l.default,{href:e.href,children:(0,a.jsxs)("a",{className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,a.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-".concat(e.bgColor,"-500"),"aria-hidden":"true"})}),(0,a.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900 truncate max-w-xs",children:e.label})]})})},e.label)}))})]})})}},43553:function(e,s,r){var a=r(52322),l=(r(2784),r(39097)),t=r(55008);s.Z=function(e){var s=e.owners,r=(0,t.aF)().getUserById;return(0,a.jsx)("div",{className:" py-6 space-y-8",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:["Domain Owners (",s.length,")"]}),(0,a.jsx)("ul",{className:"mt-4 leading-8 space-y-2",children:s.map((function(e){var s=r(e);return s?(0,a.jsx)("li",{className:"flex justify-start",children:(0,a.jsx)(l.default,{href:"/users/".concat(s.id),children:(0,a.jsxs)("a",{className:"flex items-center space-x-3",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("img",{className:"h-5 w-5 rounded-full",src:s.avatarUrl,alt:""})}),(0,a.jsx)("div",{className:"text-sm font-medium text-gray-900",children:s.name})]})})},s.id):null}))})]})})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(52322),a=t(2784),i=t(14689),s=t(70314),c=(0,s.default)().publicRuntimeConfig,o=(void 0===c?{}:c).basePath,l=void 0===o?"":o,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},u=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},m=function(e,n,t,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(t.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(t.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};i.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var f=function(e){var n=e.data,t=e.source,s=void 0===t?"event":t,c=e.rootNodeColor,o=e.charts;if((0,a.useEffect)((function(){i.Z.contentLoaded()}),[]),o)return(0,r.jsx)(r.Fragment,{children:o.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===s?function(e,n){var t=e.name,r=e.producerNames,a=e.consumerNames,i=void 0===n?"#2563eb":n,s=r.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:u(e,"services")}})),c=a.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:u(e,"services")}})),o={id:d(t.replace(/ /g,"_")),name:t,link:u(t,"events")};return m(o,s,c,i)}(n,c):function(e,n){var t=e.publishes,r=e.subscribes,a=e.name,i=void 0===n?"#2563eb":n,s=r.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),c=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),o={id:d(a.replace(/ /g,"_")),name:a,link:u(a,"services")};return m(o,s,c,i)}(n,c);return(0,r.jsx)("div",{className:"mermaid",children:l})}},81178:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return G},default:function(){return U},getComponents:function(){return I}});var r=t(52322),a=t(97729),i=t(23816),s=t(61790),c=t(2784),o=t(63548),l=t(86562),d=t(85411),u=t(17962);function m(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){m(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var h=function(e){var n=e.language,t=e.name,a=void 0===t?"":t,i=x(e,["language","name"]),s=(0,c.useState)(!1),m=s[0],h=s[1],p=function(){(0,d.Z)(i.children),h(!0),setTimeout((function(){return h(!1)}),2e3)};return(0,r.jsxs)("div",{className:"h-96 relative",children:[a&&(0,r.jsxs)("div",{className:"flex -mb-3 pb-2 bg-gray-900 ".concat(a?"justify-between":"justify-end"),children:[a&&(0,r.jsx)("span",{className:"block text-xs py-2 px-2 font-bold text-gray-300",children:a}),(0,r.jsx)("button",{type:"button",onClick:p,className:"text-xs text-white rounded-md px-4",children:m?"Copied":(0,r.jsx)(u.dqY,{className:"h-4 w-4"})})]}),!a&&(0,r.jsx)("button",{type:"button",onClick:p,className:"text-xs absolute right-0 top-2 text-white rounded-md px-4",children:m?"Copied":(0,r.jsx)(u.dqY,{className:"h-4 w-4"})}),(0,r.jsx)(l.Z,f({style:o.Z,language:n},i,{wrapLines:!0,className:"h-96 overflow-auto",children:i.children.replace(/\\n/g,"\n")}))]})};function p(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var g=function(e){var n=e.title,t=void 0===n?"Examples":n,a=e.description,i=e.examples,s=void 0===i?[]:i,o=e.showLineNumbers,l=s.map((function(e,n){return{name:e.name||"Example ".concat(n+1),content:e.snippet,description:e.description,langugage:e.langugage}})),d=(0,c.useState)(l[0]),u=d[0],m=d[1];return(0,r.jsx)("div",{className:"my-5 examples",children:(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-700 underline",children:t}),a&&(0,r.jsx)("p",{className:"text-md font-medium text-gray-700",children:a}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"col-span-5",children:[(0,r.jsx)("nav",{className:"-mb-2 flex bg-gray-900","aria-label":"Tabs",children:l.map((function(e){var n=e.name===u.name;return(0,r.jsx)("button",{type:"button",onClick:function(){return function(e){m(e)}(e)},className:p(n?"border-yellow-300 text-yellow-300 selected bg-gray-700":"border-transparent text-gray-500 hover:text-gray-400 bg-gray-800 ","whitespace-nowrap py-3 border-b-2 font-medium important:no-underline px-6 text-xs transition "),"aria-current":n?"page":void 0,children:e.name},e.name)}))}),(0,r.jsx)("div",{children:(0,r.jsx)(h,{language:u.langugage,showLineNumbers:o,children:u.content})})]})})]})})},v=t(46892),b=t(62455),j=t(4573),y=t(39097),w=t(70314),N=t(55746),O=t(43553),k=t(17933);function S(e){return function(e){if(Array.isArray(e)){for(var n=0,t=new Array(e.length);n<e.length;n++)t[n]=e[n];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var E=function(e,n){var t=S(n.consumers).concat(S(n.producers)).find((function(n){return n.name===e}));return t?"/domains/".concat(t.domain,"/services/").concat(e):"/services/".concat(e)};var Z=function(e){var n=e.event,t=e.loadedVersion,a=e.isOldVersion,i=e.urlPath,s=n.name,c=n.owners,o=n.producerNames,l=n.consumerNames,d=n.historicVersions,m=n.externalLinks,f=n.schema,x=n.domain,h=(0,w.default)().publicRuntimeConfig,p=(void 0===h?{}:h).basePath,g=void 0===p?"":p;return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8 divide-y divide-gray-200",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),o.length>0&&(0,r.jsx)(k.Z,{title:"Producers (".concat(o.length,")"),titleIcon:{icon:u.FMB,className:"text-green-400"},items:o.map((function(e){return{label:e,href:E(e,n),bgColor:"green"}}))}),l.length>0&&(0,r.jsx)(k.Z,{title:"Consumers (".concat(l.length,")"),titleIcon:{icon:u.FMB,className:"text-indigo-400"},items:l.map((function(e){return{label:e,href:E(e,n),bgColor:"indigo"}}))}),x&&(0,r.jsx)("div",{className:"py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(u.wZP,{className:"h-5 w-5 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),"Domain"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(y.default,{href:"/domains/".concat(x),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-yellow-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:x})]})})})})]})}),d.length>0&&(0,r.jsx)("div",{className:" py-6",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Versions"}),(0,r.jsxs)("ul",{className:"mt-2 leading-8 text-left text-blue-500",children:[(0,r.jsx)("li",{className:"text-sm inline ",children:(0,r.jsx)(y.default,{href:i,children:(0,r.jsx)("a",{children:(0,r.jsx)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat("latest"===t?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800"),children:"Latest"})})})}),d.map((function(e){var n=t===e?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800";return(0,r.jsx)("li",{className:"text-sm inline",children:(0,r.jsx)(y.default,{href:"".concat(i,"/v/").concat(e),children:(0,r.jsx)("a",{children:(0,r.jsxs)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat(n),children:["v",e]})})})},e)}))]})]})}),c.length>0&&(0,r.jsx)(O.Z,{owners:c}),(0,r.jsxs)("div",{className:" py-6 space-y-1",children:[f&&(0,r.jsxs)("a",{href:f?a?"".concat(g,"/schemas/").concat(s,"/").concat(t,"/schema.").concat(f.extension):"".concat(g,"/schemas/").concat(s,"/schema.").concat(f.extension):null,download:"".concat(s,"(").concat(n.version,").").concat(f.extension),className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",children:[(0,r.jsx)(u._8t,{className:"-ml-1 mr-2 h-5 w-5 text-gray-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Download Schema"})]}),d.length>0&&(0,r.jsx)(y.default,{href:"/events/".concat(s,"/logs"),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View Changes"})})}),(0,r.jsx)(y.default,{href:"/visualiser?type=event&name".concat(s),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View in Visualiser"})})}),m.length>0&&(0,r.jsx)(N.Z,{externalLinks:m})]})]})},C=t(4488),_=t(52428),P=t(57840),V=t(69931),D=t(81669),L=t.n(D);(0,V.fH)();var A=function(e){var n=e.schema,t=e.maxHeight,a=e.renderRootTreeLines,i=void 0!==a&&a,s=e.hideExamples,o=void 0!==s&&s,l=e.defaultExpandedDepth,d=void 0===l?1:l,u=(0,c.useMemo)((function(){return JSON.parse(n)}),[n]);return(0,r.jsx)(P.K,{schema:u,emptyText:"No schema defined",maxHeight:t,defaultExpandedDepth:d,renderRootTreeLines:i,hideExamples:o,className:L().schemaViewer})},R=t(55008),T=t(78484);function F(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function H(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){F(e,n,t[n])}))}return e}function M(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var G=!0,I=function(e){var n=e.event,t=e.schema,a=e.examples;return{code:function(e){var n=e.className,t=M(e,["className"]),a=/language-(\w+)/.exec(n||"");return a?(0,r.jsx)(h,H({language:a[1]},t)):(0,r.jsx)("code",H({className:n},t))},Schema:function(e){var a=e.title;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[a&&(0,r.jsx)("h2",{id:"activity-title",className:"text-lg font-medium text-gray-900 underline",children:a}),(0,r.jsx)(h,{language:t.language,showLineNumbers:!1,name:"".concat(n.name," Schema (").concat(t.language,")"),children:t.snippet})]}):null},SchemaViewer:function(e){var n=e.title,a=e.renderRootTreeLines,i=void 0!==a&&a,s=e.defaultExpandedDepth,c=void 0===s?1:s,o=e.maxHeight;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[n&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:n}),(0,r.jsx)(A,{schema:t.snippet,maxHeight:parseInt(o,10),renderRootTreeLines:i,defaultExpandedDepth:c})]}):null},Admonition:s.Z,EventExamples:function(e){return a.length>0?(0,r.jsx)(g,H({},e,{examples:a,showLineNumbers:!0})):(console.log("You are using the <EventExamples /> component without any examples, please read https://eventcatalog.dev/docs/events/adding-examples for more information"),null)},Mermaid:function(e){var t=e.title,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(j.Z,{source:"event",data:n,rootNodeColor:(0,v.Z)(n.name),charts:a})]})},NodeGraph:function(e){var t=e.title,a=e.maxHeight,i=e.maxZoom,s=e.fitView,c=e.zoomOnScroll,o=e.isAnimated,l=e.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(T.Z,{source:"event",data:n,rootNodeColor:(0,v.Z)(n.name),maxHeight:a,maxZoom:i,fitView:s,zoomOnScroll:c,isAnimated:o,isDraggable:l})]})}}};function U(e){var n=e.event,t=e.markdown,s=e.loadedVersion,c=e.notFound,o=e.breadCrumbs,l=e.eventPath,d=(0,R.ZR)().title,u=(0,R.wG)(),m=u.getEditUrl,f=u.hasEditUrl,x=n.name,h=n.summary,p=n.draft,g=n.schema,v=n.examples,j=n.version;if(c)return(0,r.jsx)(C.Z,{type:"event",name:n.name,editUrl:f?m("/events/".concat(x,"/index.md")):""});var y=t.lastModifiedDate,w=I({event:n,schema:g,examples:v});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[d," - ",x," v",j]})}),(0,r.jsx)(b.Z,{title:x,editUrl:f?m("".concat(l,"/index.md")):"",subtitle:h,draft:p,lastModifiedDate:y,tags:[{label:"v".concat(j)}],breadCrumbs:(0,r.jsx)(_.Z,{pages:o}),isOldVersion:"latest"!==s,latestVersionUrl:l,version:s,sidebar:(0,r.jsx)(Z,{event:n,urlPath:l,loadedVersion:s,isOldVersion:"latest"!==s}),children:(0,r.jsx)(i.R,H({},t.source,{components:w}))})]})}},81669:function(e){e.exports={schemaViewer:"SchemaViewer_schemaViewer__un45l"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[585],{30876:function(e,n,t){t.r(n),t.d(n,{MDXContext:function(){return l},MDXProvider:function(){return m},mdx:function(){return x},useMDXComponents:function(){return d},withMDXComponents:function(){return u}});var r=t(2784);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function c(){return(c=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){a(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function s(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)t=c[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)t=c[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=r.createContext({}),u=function(e){return function(n){var t=d(n.components);return r.createElement(e,c({},n,{components:t}))}},d=function(e){var n=r.useContext(l),t=n;return e&&(t="function"===typeof e?e(n):o(o({},n),e)),t},m=function(e){var n=d(e.components);return r.createElement(l.Provider,{value:n},e.children)},f={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},p=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,c=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=d(t),m=a,p=u["".concat(i,".").concat(m)]||u[m]||f[m]||c;return t?r.createElement(p,o(o({ref:n},l),{},{components:t})):r.createElement(p,o({ref:n},l))}));function x(e,n){var t=arguments,a=n&&n.mdxType;if("string"===typeof e||a){var c=t.length,i=new Array(c);i[0]=p;var o={};for(var s in n)hasOwnProperty.call(n,s)&&(o[s]=n[s]);o.originalType=e,o.mdxType="string"===typeof e?e:a,i[1]=o;for(var l=2;l<c;l++)i[l]=t[l];return r.createElement.apply(null,i)}return r.createElement.apply(null,t)}p.displayName="MDXCreateElement"},23816:function(e,n,t){var r=t(2784),a=t(30876);function c(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),n.default=e,Object.freeze(n)}var o=c(r),s=i(a);"undefined"!==typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var n=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),n.R=function({compiledSource:e,scope:n,components:t={},lazy:a}){const[c,i]=r.useState(!a||"undefined"===typeof window);r.useEffect((()=>{if(a){const e=window.requestIdleCallback((()=>{i(!0)}));return()=>window.cancelIdleCallback(e)}}),[]);const l=r.useMemo((()=>{const t=Object.assign({mdx:s.mdx,React:o.default},n),r=Object.keys(t),a=Object.values(t),c=Reflect.construct(Function,r.concat(`${e}; return MDXContent;`));return c.apply(c,a)}),[n,e]);if(!c)return o.default.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});const u=o.default.createElement(s.MDXProvider,{components:t},o.default.createElement(l,null));return a?o.default.createElement("div",null,u):u}},4573:function(e,n,t){t.d(n,{Z:function(){return f}});var r=t(52322),a=t(2784),c=t(14689),i=t(70314),o=(0,i.default)().publicRuntimeConfig,s=(void 0===o?{}:o).basePath,l=void 0===s?"":s,u=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},d=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},m=function(e,n,t,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(t.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(t.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};c.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var f=function(e){var n=e.data,t=e.source,i=void 0===t?"event":t,o=e.rootNodeColor,s=e.charts;if((0,a.useEffect)((function(){c.Z.contentLoaded()}),[]),s)return(0,r.jsx)(r.Fragment,{children:s.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===i?function(e,n){var t=e.name,r=e.producerNames,a=e.consumerNames,c=void 0===n?"#2563eb":n,i=r.map(u).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:d(e,"services")}})),o=a.map(u).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:d(e,"services")}})),s={id:u(t.replace(/ /g,"_")),name:t,link:d(t,"events")};return m(s,i,o,c)}(n,o):function(e,n){var t=e.publishes,r=e.subscribes,a=e.name,c=void 0===n?"#2563eb":n,i=r.map(u).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:d(e.name,"events")}})),o=t.map(u).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:d(e.name,"events")}})),s={id:u(a.replace(/ /g,"_")),name:a,link:d(a,"services")};return m(s,i,o,c)}(n,o);return(0,r.jsx)("div",{className:"mermaid",children:l})}},28778:function(e,n,t){var r=t(52322),a=(t(2784),t(17962)),c=["purple","pink","green","yellow","blue","indigo"];n.Z=function(e){var n=e.tags;return(0,r.jsx)("div",{className:" py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(a.lO_,{className:"h-5 w-5 text-gray-400 inline-block mr-2","aria-hidden":"true"}),"Tags"]}),(0,r.jsx)("div",{className:"mt-3 space-y-2",children:n.map((function(e,n){var t=e.label,a=e.url,i=c[n%c.length];return a?(0,r.jsx)("a",{href:a,className:"inline-block underline",target:"_blank",rel:"noreferrer",children:(0,r.jsx)("span",{className:"underline inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(i,"-100 text-").concat(i,"-800"),children:t})}):(0,r.jsx)("span",{className:"inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(i,"-100 text-").concat(i,"-800"),children:t})}))})]})})}},34585:function(e,n,t){t.r(n),t.d(n,{__N_SSG:function(){return k},default:function(){return C}});var r=t(52322),a=t(97729),c=t(23816),i=t(62455),o=t(61790),s=t(4573),l=(t(2784),t(39097)),u=t(17962),d=t(46892),m=t(55746),f=t(28778),p=t(43553),x=t(17933),h=function(e){return e.domain?"/domains/".concat(e.domain,"/events/").concat(e.name):"/events/".concat(e.name)};var v=function(e){var n=e.service,t=n.owners,a=n.subscribes,c=n.publishes,i=n.repository,o=n.tags,s=void 0===o?[]:o,v=n.externalLinks,b=n.domain,g=i.language,y=i.url,j=[];g&&(j=Array.isArray(g)?g:[g]);var w="";return y&&(w=y.replace(/(^\w+:|^)\/\//,"")),(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8 ",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),c.length>0&&(0,r.jsx)(x.Z,{title:"Publishes Events (".concat(c.length,")"),titleIcon:{icon:u.FMB,className:"text-indigo-400"},items:c.map((function(e){return{label:e.name,href:h(e),bgColor:"indigo"}}))}),a.length>0&&(0,r.jsx)(x.Z,{title:"Subscribes to Events (".concat(a.length,")"),titleIcon:{icon:u.FMB,className:"text-green-400"},items:a.map((function(e){return{label:e.name,href:h(e),bgColor:"green"}}))}),b&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(u.wZP,{className:"h-5 w-5 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),"Domain"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(l.default,{href:"/domains/".concat(b),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-yellow-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:b})]})})},b)})]})}),t.length>0&&(0,r.jsx)(p.Z,{owners:t}),(null===i||void 0===i?void 0:i.url)&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Repository"}),(0,r.jsx)("ul",{className:" leading-8 space-y-2",children:(0,r.jsx)("li",{className:"flex justify-start",children:(0,r.jsx)("a",{href:null===i||void 0===i?void 0:i.url,target:"_blank",className:"flex items-center space-x-3 text-blue-600 underline text-sm",rel:"noreferrer",children:w})})})]})}),j.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Language"}),j.map((function(e){return(0,r.jsxs)("div",{className:"relative flex items-center mt-2",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-2 w-2 rounded-full","aria-hidden":"true",style:{background:(0,d.Z)(e)}})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]},e)}))]})}),(0,r.jsx)(l.default,{href:"/visualiser?type=service&name=".concat(n.name),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View in Visualiser"})})}),v.length>0&&(0,r.jsx)(m.Z,{externalLinks:v}),s.length>0&&(0,r.jsx)(f.Z,{tags:s})]})},b=t(52428),g=t(4488),y=t(55008),j=t(78484);function w(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function N(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){w(e,n,t[n])}))}return e}function O(e){var n=e.title,t=e.service,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[n&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:n}),(0,r.jsx)(s.Z,{source:"service",data:t,rootNodeColor:(0,d.Z)(t.name),charts:a})]})}var k=!0;function C(e){var n=e.service,t=e.markdown,s=e.notFound,l=e.breadCrumbs,u=(0,y.ZR)().title,m=(0,y.wG)(),f=m.getEditUrl,p=m.hasEditUrl;if(s)return(0,r.jsx)(g.Z,{type:"service",name:n.name,editUrl:p?f("/services/".concat(n.name,"/index.md")):""});var x=n.name,h=n.summary,w=n.draft,k=t.lastModifiedDate,C=function(e){return{Admonition:o.Z,Mermaid:function(n){var t=n.title,a=n.charts;return(0,r.jsx)(O,{service:e,title:t,charts:a})},NodeGraph:function(n){var t=n.title,a=n.maxHeight,c=n.maxZoom,i=n.fitView,o=n.zoomOnScroll,s=n.isAnimated,l=n.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(j.Z,{source:"service",data:e,rootNodeColor:(0,d.Z)(e.name),maxHeight:a,maxZoom:c,fitView:i,zoomOnScroll:o,isAnimated:s,isDraggable:l})]})}}}(n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[u," - ",x]})}),(0,r.jsx)(i.Z,{title:x,editUrl:p?f("/services/".concat(x,"/index.md")):"",subtitle:h,draft:w,lastModifiedDate:k,breadCrumbs:(0,r.jsx)(b.Z,{pages:l,homePath:"/services"}),sidebar:(0,r.jsx)(v,{service:n}),children:(0,r.jsx)(c.R,N({},t.source,{components:C}))})]})}}}]);