@eventcatalog/core 0.1.19 → 0.2.0

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 (356) 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} +275 -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 +5 -1
  29. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/logs.html +1 -0
  30. package/.next/server/pages/{events → domains/Shopping/events}/AddedItemToCart/logs.json +0 -0
  31. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.html +58 -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 +65 -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 +65 -0
  36. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.json +1 -0
  37. package/.next/server/pages/domains/Shopping/services/Basket Service.html +2 -0
  38. package/.next/server/pages/domains/Shopping/services/Basket Service.json +1 -0
  39. package/.next/server/pages/domains/Shopping/services/Data Lake.html +2 -0
  40. package/.next/server/pages/domains/Shopping/services/Data Lake.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 +3 -3
  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/Basket Service.html +1 -2
  97. package/.next/server/pages/services/Basket Service.json +1 -1
  98. package/.next/server/pages/services/Data Lake.html +1 -2
  99. package/.next/server/pages/services/Data Lake.json +1 -1
  100. package/.next/server/pages/services/Payment Service.html +2 -2
  101. package/.next/server/pages/services/Payment Service.json +1 -1
  102. package/.next/server/pages/services/Shipping Service.html +2 -2
  103. package/.next/server/pages/services/Shipping Service.json +1 -1
  104. package/.next/server/pages/services/[name].js +1 -505
  105. package/.next/server/pages/services/[name].js.nft.json +1 -1
  106. package/.next/server/pages/services.html +3 -3
  107. package/.next/server/pages/services.js +1 -1
  108. package/.next/server/pages/services.js.nft.json +1 -1
  109. package/.next/server/pages/services.json +1 -1
  110. package/.next/server/pages/users/[id].js +35 -13
  111. package/.next/server/pages/users/[id].js.nft.json +1 -1
  112. package/.next/server/pages/users/dboyne.html +6 -5
  113. package/.next/server/pages/users/dboyne.json +1 -1
  114. package/.next/server/pages/users/mSmith.html +3 -3
  115. package/.next/server/pages/users/mSmith.json +1 -1
  116. package/.next/server/pages/visualiser.html +4 -3
  117. package/.next/server/pages/visualiser.js +149 -149
  118. package/.next/server/pages/visualiser.js.nft.json +1 -1
  119. package/.next/server/pages/visualiser.json +1 -1
  120. package/.next/server/pages-manifest.json +6 -0
  121. package/.next/static/chunks/109-716dea1303010b4f.js +1 -0
  122. package/.next/static/chunks/169-b33dfdaf2847d062.js +1 -0
  123. package/.next/static/chunks/178-e9a666e11fb7c88d.js +1 -0
  124. package/.next/static/chunks/585-aa9262ea1bcf9d5b.js +1 -0
  125. package/.next/static/chunks/650-555944cc1eb7714e.js +1 -0
  126. package/.next/static/chunks/962-17a425b16c23bd0f.js +1 -0
  127. package/.next/static/chunks/pages/_app-d88c877888678e85.js +1 -0
  128. package/.next/static/chunks/pages/domains/[domain]/events/[name]/logs-7317f2121b8f0d8c.js +1 -0
  129. package/.next/static/chunks/pages/domains/[domain]/events/[name]/v/[version]-a7fa6002267ccd3b.js +1 -0
  130. package/.next/static/chunks/pages/domains/[domain]/events/[name]-a5fb5b26471e703b.js +1 -0
  131. package/.next/static/chunks/pages/domains/[domain]/services/[name]-80d6d803e5466b81.js +1 -0
  132. package/.next/static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js +1 -0
  133. package/.next/static/chunks/pages/domains-6ab78cb1bc2f4200.js +1 -0
  134. package/.next/static/chunks/pages/events/[name]/v/[version]-93d978734b0dc0a3.js +1 -0
  135. package/.next/static/chunks/pages/events/{[name]-813780e7042af288.js → [name]-d3d2a03948b8dfeb.js} +1 -1
  136. package/.next/static/chunks/pages/events-5a41c37b360b2fce.js +1 -0
  137. package/.next/static/chunks/pages/{overview-2f0bfad06c84e437.js → overview-dc5e91549c7e3d52.js} +1 -1
  138. package/.next/static/chunks/pages/services/[name]-148079bb388f8c53.js +1 -0
  139. package/.next/static/chunks/pages/services-7fe5a823f1b25f18.js +1 -0
  140. package/.next/static/chunks/pages/users/[id]-b255611073ef76e0.js +1 -0
  141. package/.next/static/chunks/pages/visualiser-2fc8224670ac5dff.js +1 -0
  142. package/.next/static/chunks/webpack-b17b8ef11b94ba66.js +1 -0
  143. package/{out/_next/static/css/4a01a08d48b115f7.css → .next/static/css/70ede87da43120f8.css} +1 -1
  144. package/.next/static/sTHntsHUajnk_njFTxiB5/_buildManifest.js +1 -0
  145. package/.next/static/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/_middlewareManifest.js +0 -0
  146. package/.next/static/sTHntsHUajnk_njFTxiB5/_ssgManifest.js +1 -0
  147. package/.next/trace +57 -56
  148. package/CHANGELOG.md +6 -0
  149. package/components/Grids/DomainGrid.tsx +53 -0
  150. package/components/Grids/EventGrid.tsx +12 -5
  151. package/components/Grids/ServiceGrid.tsx +3 -3
  152. package/components/Header.tsx +2 -1
  153. package/components/Mdx/NodeGraph/GraphElements.tsx +1 -1
  154. package/components/Mdx/NodeGraph/GraphLayout.ts +6 -2
  155. package/components/Mdx/NodeGraph/NodeGraph.tsx +13 -3
  156. package/components/Mdx/NodeGraph/__tests__/GraphElements.spec.ts +8 -4
  157. package/components/Mdx/NodeGraph/__tests__/GraphLayout.spec.ts +2 -2
  158. package/components/Sidebars/DomainSidebar.tsx +55 -0
  159. package/components/Sidebars/EventSidebar.tsx +61 -111
  160. package/components/Sidebars/ServiceSidebar.tsx +47 -125
  161. package/components/Sidebars/components/ExternalLinks.tsx +28 -0
  162. package/components/Sidebars/components/ItemList.tsx +32 -0
  163. package/components/Sidebars/components/Owners.tsx +38 -0
  164. package/components/Sidebars/components/Tags.tsx +45 -0
  165. package/lib/__tests__/assets/domains/User/events/UserCreated/index.md +16 -0
  166. package/lib/__tests__/assets/domains/User/events/UserRemoved/examples/Basic.cs +31 -0
  167. package/lib/__tests__/assets/domains/User/events/UserRemoved/examples/Basic.js +1 -0
  168. package/lib/__tests__/assets/domains/User/events/UserRemoved/index.md +16 -0
  169. package/lib/__tests__/assets/domains/User/events/UserRemoved/schema.json +4 -0
  170. package/lib/__tests__/assets/domains/User/index.md +12 -0
  171. package/lib/__tests__/assets/domains/User/services/User Service/index.md +15 -0
  172. package/lib/__tests__/assets/events/AddedItemToCart/index.md +0 -2
  173. package/lib/__tests__/assets/services/Basket Service/index.md +1 -1
  174. package/lib/__tests__/domains.spec.ts +267 -0
  175. package/lib/__tests__/events.spec.ts +216 -90
  176. package/lib/__tests__/graphs.spec.ts +4 -4
  177. package/lib/__tests__/services.spec.ts +62 -7
  178. package/lib/domains.ts +148 -0
  179. package/lib/events.ts +68 -22
  180. package/lib/graphs.ts +6 -3
  181. package/lib/services.ts +51 -13
  182. package/out/404/index.html +1 -1
  183. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5/domains/Shopping}/events/AddedItemToCart/logs.json +0 -0
  184. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -0
  185. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -0
  186. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains/Shopping/events/AddedItemToCart.json +1 -0
  187. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains/Shopping/services/Basket Service.json +1 -0
  188. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains/Shopping/services/Data Lake.json +1 -0
  189. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains/Shopping.json +1 -0
  190. package/out/_next/data/sTHntsHUajnk_njFTxiB5/domains.json +1 -0
  191. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/OrderComplete/logs.json +0 -0
  192. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/OrderComplete.json +1 -0
  193. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/OrderConfirmed/logs.json +0 -0
  194. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/OrderConfirmed.json +1 -0
  195. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/OrderRequested/logs.json +0 -0
  196. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/OrderRequested.json +1 -0
  197. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/PaymentProcessed/logs.json +0 -0
  198. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/PaymentProcessed.json +1 -0
  199. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/RemovedItemFromCart/logs.json +0 -0
  200. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/RemovedItemFromCart.json +1 -0
  201. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/ShipmentDelivered/logs.json +0 -0
  202. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/ShipmentDelivered.json +1 -0
  203. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/ShipmentDispatched/logs.json +0 -0
  204. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/ShipmentDispatched.json +1 -0
  205. package/out/_next/data/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/events/ShipmentPrepared/logs.json +0 -0
  206. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events/ShipmentPrepared.json +1 -0
  207. package/out/_next/data/sTHntsHUajnk_njFTxiB5/events.json +1 -0
  208. package/out/_next/data/sTHntsHUajnk_njFTxiB5/overview.json +1 -0
  209. package/out/_next/data/sTHntsHUajnk_njFTxiB5/services/Basket Service.json +1 -0
  210. package/out/_next/data/sTHntsHUajnk_njFTxiB5/services/Data Lake.json +1 -0
  211. package/out/_next/data/sTHntsHUajnk_njFTxiB5/services/Payment Service.json +1 -0
  212. package/out/_next/data/sTHntsHUajnk_njFTxiB5/services/Shipping Service.json +1 -0
  213. package/out/_next/data/sTHntsHUajnk_njFTxiB5/services.json +1 -0
  214. package/out/_next/data/sTHntsHUajnk_njFTxiB5/users/dboyne.json +1 -0
  215. package/out/_next/data/sTHntsHUajnk_njFTxiB5/users/mSmith.json +1 -0
  216. package/out/_next/data/sTHntsHUajnk_njFTxiB5/visualiser.json +1 -0
  217. package/out/_next/static/chunks/109-716dea1303010b4f.js +1 -0
  218. package/out/_next/static/chunks/169-b33dfdaf2847d062.js +1 -0
  219. package/out/_next/static/chunks/178-e9a666e11fb7c88d.js +1 -0
  220. package/out/_next/static/chunks/585-aa9262ea1bcf9d5b.js +1 -0
  221. package/out/_next/static/chunks/650-555944cc1eb7714e.js +1 -0
  222. package/out/_next/static/chunks/962-17a425b16c23bd0f.js +1 -0
  223. package/out/_next/static/chunks/pages/_app-d88c877888678e85.js +1 -0
  224. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]/logs-7317f2121b8f0d8c.js +1 -0
  225. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]/v/[version]-a7fa6002267ccd3b.js +1 -0
  226. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]-a5fb5b26471e703b.js +1 -0
  227. package/out/_next/static/chunks/pages/domains/[domain]/services/[name]-80d6d803e5466b81.js +1 -0
  228. package/out/_next/static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js +1 -0
  229. package/out/_next/static/chunks/pages/domains-6ab78cb1bc2f4200.js +1 -0
  230. package/out/_next/static/chunks/pages/events/[name]/v/[version]-93d978734b0dc0a3.js +1 -0
  231. package/out/_next/static/chunks/pages/events/{[name]-813780e7042af288.js → [name]-d3d2a03948b8dfeb.js} +1 -1
  232. package/out/_next/static/chunks/pages/events-5a41c37b360b2fce.js +1 -0
  233. package/out/_next/static/chunks/pages/{overview-2f0bfad06c84e437.js → overview-dc5e91549c7e3d52.js} +1 -1
  234. package/out/_next/static/chunks/pages/services/[name]-148079bb388f8c53.js +1 -0
  235. package/out/_next/static/chunks/pages/services-7fe5a823f1b25f18.js +1 -0
  236. package/out/_next/static/chunks/pages/users/[id]-b255611073ef76e0.js +1 -0
  237. package/out/_next/static/chunks/pages/visualiser-2fc8224670ac5dff.js +1 -0
  238. package/out/_next/static/chunks/webpack-b17b8ef11b94ba66.js +1 -0
  239. package/{.next/static/css/4a01a08d48b115f7.css → out/_next/static/css/70ede87da43120f8.css} +1 -1
  240. package/out/_next/static/sTHntsHUajnk_njFTxiB5/_buildManifest.js +1 -0
  241. package/out/_next/static/{jznFKGTbxJsAeYNZE4XtO → sTHntsHUajnk_njFTxiB5}/_middlewareManifest.js +0 -0
  242. package/out/_next/static/sTHntsHUajnk_njFTxiB5/_ssgManifest.js +1 -0
  243. package/out/domains/Shopping/events/AddedItemToCart/index.html +65 -0
  244. package/out/domains/Shopping/events/AddedItemToCart/logs/index.html +1 -0
  245. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.1/index.html +58 -0
  246. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.2/index.html +65 -0
  247. package/out/domains/Shopping/index.html +2 -0
  248. package/out/domains/Shopping/services/Basket Service/index.html +2 -0
  249. package/out/domains/Shopping/services/Data Lake/index.html +2 -0
  250. package/out/domains/index.html +2 -0
  251. package/out/events/OrderComplete/index.html +2 -2
  252. package/out/events/OrderComplete/logs/index.html +1 -1
  253. package/out/events/OrderConfirmed/index.html +2 -2
  254. package/out/events/OrderConfirmed/logs/index.html +1 -1
  255. package/out/events/OrderRequested/index.html +2 -2
  256. package/out/events/OrderRequested/logs/index.html +1 -1
  257. package/out/events/PaymentProcessed/index.html +2 -2
  258. package/out/events/PaymentProcessed/logs/index.html +1 -1
  259. package/out/events/RemovedItemFromCart/index.html +2 -2
  260. package/out/events/RemovedItemFromCart/logs/index.html +1 -1
  261. package/out/events/ShipmentDelivered/index.html +2 -2
  262. package/out/events/ShipmentDelivered/logs/index.html +1 -1
  263. package/out/events/ShipmentDispatched/index.html +2 -2
  264. package/out/events/ShipmentDispatched/logs/index.html +1 -1
  265. package/out/events/ShipmentPrepared/index.html +2 -2
  266. package/out/events/ShipmentPrepared/logs/index.html +1 -1
  267. package/out/events/index.html +3 -3
  268. package/out/index.html +1 -1
  269. package/out/overview/index.html +1 -1
  270. package/out/services/Basket Service/index.html +1 -2
  271. package/out/services/Data Lake/index.html +1 -2
  272. package/out/services/Payment Service/index.html +2 -2
  273. package/out/services/Shipping Service/index.html +2 -2
  274. package/out/services/index.html +3 -3
  275. package/out/users/dboyne/index.html +6 -5
  276. package/out/users/mSmith/index.html +3 -3
  277. package/out/visualiser/index.html +4 -3
  278. package/package.json +2 -2
  279. package/pages/domains/[domain]/events/[name]/logs.tsx +29 -0
  280. package/pages/domains/[domain]/events/[name]/v/[version].tsx +39 -0
  281. package/pages/domains/[domain]/events/[name].tsx +46 -0
  282. package/pages/domains/[domain]/index.tsx +138 -0
  283. package/pages/domains/[domain]/services/[name].tsx +42 -0
  284. package/pages/domains.tsx +64 -0
  285. package/pages/events/[name]/logs.tsx +6 -4
  286. package/pages/events/[name]/v/[version].tsx +3 -2
  287. package/pages/events/[name].tsx +26 -12
  288. package/pages/events.tsx +59 -33
  289. package/pages/overview.tsx +3 -3
  290. package/pages/services/[name].tsx +8 -8
  291. package/pages/users/[id].tsx +15 -5
  292. package/pages/visualiser.tsx +98 -82
  293. package/scripts/move-schemas-for-download.js +25 -10
  294. package/tailwind.config.js +11 -1
  295. package/.next/server/pages/events/AddedItemToCart/logs.html +0 -1
  296. package/.next/server/pages/events/AddedItemToCart/v/0.0.1.html +0 -58
  297. package/.next/server/pages/events/AddedItemToCart/v/0.0.1.json +0 -1
  298. package/.next/server/pages/events/AddedItemToCart/v/0.0.2.html +0 -65
  299. package/.next/server/pages/events/AddedItemToCart/v/0.0.2.json +0 -1
  300. package/.next/server/pages/events/AddedItemToCart.html +0 -65
  301. package/.next/server/pages/events/AddedItemToCart.json +0 -1
  302. package/.next/static/chunks/109-a08539311d3d6672.js +0 -1
  303. package/.next/static/chunks/178-87f01d17ab32dd4f.js +0 -1
  304. package/.next/static/chunks/252-08ab418f9b6821dd.js +0 -1
  305. package/.next/static/chunks/650-343888e13f994a09.js +0 -1
  306. package/.next/static/chunks/962-20c87db3880df896.js +0 -1
  307. package/.next/static/chunks/pages/_app-f1bd719e11eb827e.js +0 -1
  308. package/.next/static/chunks/pages/events/[name]/v/[version]-33051dbc32f5fe4e.js +0 -1
  309. package/.next/static/chunks/pages/events-1f39499146c9c75f.js +0 -1
  310. package/.next/static/chunks/pages/services/[name]-142d7fa515cfc532.js +0 -1
  311. package/.next/static/chunks/pages/services-f52121c6dc1211aa.js +0 -1
  312. package/.next/static/chunks/pages/users/[id]-d3140bb155f8fb45.js +0 -1
  313. package/.next/static/chunks/pages/visualiser-e4e3757e74f19df7.js +0 -1
  314. package/.next/static/chunks/webpack-fb340c369157e229.js +0 -1
  315. package/.next/static/jznFKGTbxJsAeYNZE4XtO/_buildManifest.js +0 -1
  316. package/.next/static/jznFKGTbxJsAeYNZE4XtO/_ssgManifest.js +0 -1
  317. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/AddedItemToCart/v/0.0.1.json +0 -1
  318. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/AddedItemToCart/v/0.0.2.json +0 -1
  319. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/AddedItemToCart.json +0 -1
  320. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/OrderComplete.json +0 -1
  321. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/OrderConfirmed.json +0 -1
  322. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/OrderRequested.json +0 -1
  323. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/PaymentProcessed.json +0 -1
  324. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/RemovedItemFromCart.json +0 -1
  325. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/ShipmentDelivered.json +0 -1
  326. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/ShipmentDispatched.json +0 -1
  327. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events/ShipmentPrepared.json +0 -1
  328. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/events.json +0 -1
  329. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/overview.json +0 -1
  330. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/services/Basket Service.json +0 -1
  331. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/services/Data Lake.json +0 -1
  332. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/services/Payment Service.json +0 -1
  333. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/services/Shipping Service.json +0 -1
  334. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/services.json +0 -1
  335. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/users/dboyne.json +0 -1
  336. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/users/mSmith.json +0 -1
  337. package/out/_next/data/jznFKGTbxJsAeYNZE4XtO/visualiser.json +0 -1
  338. package/out/_next/static/chunks/109-a08539311d3d6672.js +0 -1
  339. package/out/_next/static/chunks/178-87f01d17ab32dd4f.js +0 -1
  340. package/out/_next/static/chunks/252-08ab418f9b6821dd.js +0 -1
  341. package/out/_next/static/chunks/650-343888e13f994a09.js +0 -1
  342. package/out/_next/static/chunks/962-20c87db3880df896.js +0 -1
  343. package/out/_next/static/chunks/pages/_app-f1bd719e11eb827e.js +0 -1
  344. package/out/_next/static/chunks/pages/events/[name]/v/[version]-33051dbc32f5fe4e.js +0 -1
  345. package/out/_next/static/chunks/pages/events-1f39499146c9c75f.js +0 -1
  346. package/out/_next/static/chunks/pages/services/[name]-142d7fa515cfc532.js +0 -1
  347. package/out/_next/static/chunks/pages/services-f52121c6dc1211aa.js +0 -1
  348. package/out/_next/static/chunks/pages/users/[id]-d3140bb155f8fb45.js +0 -1
  349. package/out/_next/static/chunks/pages/visualiser-e4e3757e74f19df7.js +0 -1
  350. package/out/_next/static/chunks/webpack-fb340c369157e229.js +0 -1
  351. package/out/_next/static/jznFKGTbxJsAeYNZE4XtO/_buildManifest.js +0 -1
  352. package/out/_next/static/jznFKGTbxJsAeYNZE4XtO/_ssgManifest.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
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[962],{17962:function(e,n,t){t.d(n,{dqY:function(){return o},FMB:function(){return a},_8t:function(){return i},h0n:function(){return s},W1M:function(){return u},QTo:function(){return l},lO_:function(){return c}});var r=t(2784);var o=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"}))};var a=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"}))};var i=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))};var s=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))};var u=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))};var l=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"}))};var c=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"}))}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{70314:function(e,t,r){e.exports=r(96112)},33394:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(92373)}])},90162:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(s){o=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.default=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(29918),l=r(93642),s=r(22030);var c={};function u(e,t,r,n){if(e&&i.isLocalURL(t)){e.prefetch(t,r,n).catch((function(e){0}));var o=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;c[t+"%"+r+(o?"%"+o:"")]=!0}}var f=function(e){var t,r=!1!==e.prefetch,o=l.useRouter(),f=a.default.useMemo((function(){var t=n(i.resolveHref(o,e.href,!0),2),r=t[0],a=t[1];return{href:r,as:e.as?i.resolveHref(o,e.as):a||r}}),[o,e.href,e.as]),h=f.href,d=f.as,v=e.children,g=e.replace,p=e.shallow,m=e.scroll,x=e.locale;"string"===typeof v&&(v=a.default.createElement("a",null,v));var y=(t=a.default.Children.only(v))&&"object"===typeof t&&t.ref,b=n(s.useIntersection({rootMargin:"200px"}),2),j=b[0],w=b[1],C=a.default.useCallback((function(e){j(e),y&&("function"===typeof y?y(e):"object"===typeof y&&(y.current=e))}),[y,j]);a.default.useEffect((function(){var e=w&&r&&i.isLocalURL(h),t="undefined"!==typeof x?x:o&&o.locale,n=c[h+"%"+d+(t?"%"+t:"")];e&&!n&&u(o,h,d,{locale:t})}),[d,h,w,x,r,o]);var k={ref:C,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,r,n,o,a,l,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&i.isLocalURL(r))&&(e.preventDefault(),null==l&&n.indexOf("#")>=0&&(l=!1),t[o?"replace":"push"](r,n,{shallow:a,locale:s,scroll:l}))}(e,o,h,d,g,p,m,x)},onMouseEnter:function(e){t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),i.isLocalURL(h)&&u(o,h,d,{priority:!0})}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var A="undefined"!==typeof x?x:o&&o.locale,E=o&&o.isLocaleDomain&&i.getDomainLocale(d,A,o&&o.locales,o&&o.domainLocales);k.href=E||i.addBasePath(i.addLocale(d,A,o&&o.defaultLocale))}return a.default.cloneElement(t,k)};t.default=f},22030:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(s){o=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,r=e.disabled||!i,s=o.useRef(),c=n(o.useState(!1),2),u=c[0],f=c[1],h=o.useCallback((function(e){s.current&&(s.current(),s.current=void 0),r||u||e&&e.tagName&&(s.current=function(e,t,r){var n=function(e){var t=e.rootMargin||"",r=l.get(t);if(r)return r;var n=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=n.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)}))}),e);return l.set(t,r={id:t,observer:o,elements:n}),r}(r),o=n.id,a=n.observer,i=n.elements;return i.set(e,t),a.observe(e),function(){i.delete(e),a.unobserve(e),0===i.size&&(a.disconnect(),l.delete(o))}}(e,(function(e){return e&&f(e)}),{rootMargin:t}))}),[r,t,u]);return o.useEffect((function(){if(!i&&!u){var e=a.requestIdleCallback((function(){return f(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[u]),[h,u]};var o=r(2784),a=r(49071),i="undefined"!==typeof IntersectionObserver;var l=new Map},18663:function(e){"use strict";e.exports={title:"EventCatalog",tagline:"Discover, Explore and Document your Event Driven Architectures",organizationName:"Your Company",editUrl:"https://github.com/boyney123/eventcatalog-demo/edit/master",trailingSlash:!0,logo:{alt:"EventCatalog Logo",src:"logo.svg"},footerLinks:[{label:"Events",href:"/events"},{label:"Services",href:"/services"},{label:"Visualiser",href:"/visualiser"},{label:"3D Node Graph",href:"/overview"},{label:"GitHub",href:"https://github.com/boyney123/eventcatalog-demo/edit/master"}],generators:[["@eventcatalog/plugin-doc-generator-asyncapi",{file:"./asyncapi.yml"}]],users:[{id:"dboyne",name:"David Boyne",avatarUrl:"https://pbs.twimg.com/profile_images/1262283153563140096/DYRDqKg6_400x400.png",role:"Developer",summary:"Currently building tools for Event Architectures."},{id:"mSmith",name:"Matthew Smith",avatarUrl:"https://randomuser.me/api/portraits/lego/3.jpg",role:"Developer",summary:"About Fugiat ipsum ipsum deserunt culpa aute sint do nostrud anim incididunt cillum culpa consequat."}]}},55008:function(e,t,r){"use strict";r.d(t,{K3:function(){return u},ZR:function(){return f},aF:function(){return h},wG:function(){return d}});var n=r(52322),o=r(2784),a=r(21023),i=r.n(a),l=r(18663),s=r.n(l),c=o.createContext(s());function u(e){var t=e.children;return(0,n.jsx)(c.Provider,{value:s(),children:t})}var f=function(){return(0,o.useContext)(c)},h=function(){var e=f();return{getUserById:function(t){return(e.users||[]).find((function(e){return e.id===t}))}}},d=function(){var e=f();return{getEditUrl:function(t){return i().join(e.editUrl,t)},hasEditUrl:!!e.editUrl}}},92373:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(52322),o=(r(7915),r(97729)),a=r(70314),i=r(39097),l=r(5632),s=r(55008),c=[{name:"Events",href:"/events"},{name:"Services",href:"/services"},{name:"Visualiser",href:"/visualiser"},{name:"3D Node Graph",href:"/overview"}];function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function f(){var e=(0,s.ZR)(),t=e.title,r=e.homepageLink,o=e.logo,f=(0,l.useRouter)(),h=(0,a.default)().publicRuntimeConfig,d=(void 0===h?{}:h).basePath,v=void 0===d?"":d,g=o||{alt:"EventCatalog Logo",src:"logo.svg"};return(0,n.jsx)("div",{className:"bg-gray-800",children:(0,n.jsx)("div",{className:"max-w-7xl mx-auto ",children:(0,n.jsxs)("div",{className:"relative flex items-center justify-between h-16",children:[(0,n.jsx)("div",{className:"flex-1 flex items-center justify-center sm:items-stretch sm:justify-start",children:(0,n.jsxs)("div",{className:"flex-shrink-0 flex items-center text-white font-bold",children:[!r&&(0,n.jsx)(i.default,{href:"/",children:(0,n.jsxs)("a",{className:"flex items-center",children:[(0,n.jsx)("img",{alt:"logo",className:"text-white w-8 inline-block mr-3",src:"".concat(v,"/").concat(g.src)}),(0,n.jsx)("span",{className:"text-xl",children:t})]})}),r&&(0,n.jsxs)("a",{href:r,className:"flex items-center",children:[(0,n.jsx)("img",{alt:"logo",className:"text-white w-8 inline-block mr-3",src:"".concat(v,"/").concat(g.src)}),(0,n.jsx)("span",{className:"text-xl",children:t})]})]})}),(0,n.jsx)("div",{className:"hidden sm:block sm:ml-6",children:(0,n.jsx)("div",{className:"flex space-x-4",children:c.map((function(e){var t=f.pathname.includes(e.href);return(0,n.jsx)(i.default,{href:e.href,children:(0,n.jsx)("a",{className:u(t?"bg-gray-900 text-white":"text-gray-300 hover:bg-gray-700 hover:text-white","px-3 py-2 rounded-md text-sm font-medium"),"aria-current":t?"page":void 0,children:e.name})},e.name)}))})})]})})})}r(2784);function h(){var e=(0,s.ZR)(),t=e.organizationName,r=e.footerLinks,o=void 0===r?[]:r,a=(new Date).getFullYear();return(0,n.jsx)("footer",{className:"bg-gray-800",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8",children:[o&&(0,n.jsx)("nav",{className:"-mx-5 -my-2 flex flex-wrap justify-center","aria-label":"Footer",children:o.map((function(e){return(0,n.jsx)("div",{className:"px-5 py-2",children:(0,n.jsx)("a",{href:e.href,className:"text-base text-gray-500 hover:text-gray-400",children:e.label})},e.label)}))}),(0,n.jsxs)("p",{className:"mt-8 text-center text-base text-gray-400",children:["Copyright \xa9 ",a," ",t,". Built with"," ",(0,n.jsx)("a",{className:"underline",href:"https://eventcatalog.dev",target:"_blank",rel:"noreferrer",children:"EventCatalog."})]})]})})}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){d(e,t,r[t])}))}return e}var g=function(e){var t=e.Component,r=e.pageProps,i=(0,s.ZR)(),l=i.title,c=void 0===l?"EventCatalog | Discover, Explore and Document your Event Driven Architectures.":l,u=i.tagline,d=void 0===u?"An open source tool powered by markdown to document your Event Driven Architecture.":u,g=i.homepageLink,p=void 0===g?"https://eventcatalog.dev/":g,m=i.openGraph,x=void 0===m?{}:m,y=(0,a.default)().publicRuntimeConfig,b=(void 0===y?{}:y).basePath,j=void 0===b?"":b,w=x.ogTitle,C=void 0===w?c:w,k=x.ogDescription,A=void 0===k?d:k,E=x.ogImage,N=void 0===E?"https://eventcatalog.dev/img/opengraph.png":E,D=x.ogUrl,_=void 0===D?p:D;return(0,n.jsxs)(s.K3,{children:[(0,n.jsxs)(o.default,{children:[(0,n.jsx)("title",{children:c}),(0,n.jsx)("script",{src:"//unpkg.com/three"}),(0,n.jsx)("script",{src:"//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"}),(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"}),(0,n.jsx)("meta",{name:"description",content:d}),(0,n.jsx)("link",{rel:"icon",href:"".concat(j,"/favicon.ico")}),_&&""!==_&&(0,n.jsx)("meta",{property:"og:url",content:_}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),C&&(0,n.jsx)("meta",{property:"og:title",content:C}),A&&(0,n.jsx)("meta",{property:"og:description",content:A}),N&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:image",content:N}),(0,n.jsx)("meta",{property:"og:image:alt",content:"".concat(C," | ").concat(A)}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:"600"})]}),(0,n.jsx)("meta",{property:"og:locale",content:"en-GB"}),(0,n.jsx)("meta",{name:"author",content:"David Boyne"}),(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"})]}),(0,n.jsx)(f,{}),(0,n.jsx)(t,v({},r)),(0,n.jsx)(h,{})]})}},7915:function(){},97729:function(e,t,r){e.exports=r(75913)},39097:function(e,t,r){e.exports=r(90162)},5632:function(e,t,r){e.exports=r(93642)},21023:function(e,t,r){"use strict";var n=r(34406);function o(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var r,n="",o=0,a=-1,i=0,l=0;l<=e.length;++l){if(l<e.length)r=e.charCodeAt(l);else{if(47===r)break;r=47}if(47===r){if(a===l-1||1===i);else if(a!==l-1&&2===i){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var s=n.lastIndexOf("/");if(s!==n.length-1){-1===s?(n="",o=0):o=(n=n.slice(0,s)).length-1-n.lastIndexOf("/"),a=l,i=0;continue}}else if(2===n.length||1===n.length){n="",o=0,a=l,i=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),o=l-a-1;a=l,i=0}else 46===r&&-1!==i?++i:i=-1}return n}var i={resolve:function(){for(var e,t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var l;i>=0?l=arguments[i]:(void 0===e&&(e=n.cwd()),l=e),o(l),0!==l.length&&(t=l+"/"+t,r=47===l.charCodeAt(0))}return t=a(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];o(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,a=n-r,l=1;l<t.length&&47===t.charCodeAt(l);++l);for(var s=t.length-l,c=a<s?a:s,u=-1,f=0;f<=c;++f){if(f===c){if(s>c){if(47===t.charCodeAt(l+f))return t.slice(l+f+1);if(0===f)return t.slice(l+f)}else a>c&&(47===e.charCodeAt(r+f)?u=f:0===f&&(u=0));break}var h=e.charCodeAt(r+f);if(h!==t.charCodeAt(l+f))break;47===h&&(u=f)}var d="";for(f=r+u+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===d.length?d+="..":d+="/..");return d.length>0?d+t.slice(l+u):(l+=u,47===t.charCodeAt(l)&&++l,t.slice(l))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!a){n=i;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');o(e);var r,n=0,a=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var l=t.length-1,s=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!i){n=r+1;break}}else-1===s&&(i=!1,s=r+1),l>=0&&(c===t.charCodeAt(l)?-1===--l&&(a=r):(l=-1,a=s))}return n===a?a=s:-1===a&&(a=e.length),e.slice(n,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!i){n=r+1;break}}else-1===a&&(i=!1,a=r+1);return-1===a?"":e.slice(n,a)},extname:function(e){o(e);for(var t=-1,r=0,n=-1,a=!0,i=0,l=e.length-1;l>=0;--l){var s=e.charCodeAt(l);if(47!==s)-1===n&&(a=!1,n=l+1),46===s?-1===t?t=l:1!==i&&(i=1):-1!==t&&(i=-1);else if(!a){r=l+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),a=47===n;a?(t.root="/",r=1):r=0;for(var i=-1,l=0,s=-1,c=!0,u=e.length-1,f=0;u>=r;--u)if(47!==(n=e.charCodeAt(u)))-1===s&&(c=!1,s=u+1),46===n?-1===i?i=u:1!==f&&(f=1):-1!==i&&(f=-1);else if(!c){l=u+1;break}return-1===i||-1===s||0===f||1===f&&i===s-1&&i===l+1?-1!==s&&(t.base=t.name=0===l&&a?e.slice(1,s):e.slice(l,s)):(0===l&&a?(t.name=e.slice(1,i),t.base=e.slice(1,s)):(t.name=e.slice(l,i),t.base=e.slice(l,s)),t.ext=e.slice(i,s)),l>0?t.dir=e.slice(0,l-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(33394),t(93642)}));var r=e.O();_N_E=r}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[406],{56751:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[name]/v/[version]",function(){return t(30556)}])},30556:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return c},default:function(){return f}});var r=t(52322),u=t(81178);function o(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var c=!0;function f(n){return(0,r.jsx)(u.default,function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),r.forEach((function(e){o(n,e,t[e])}))}return n}({},n))}}},function(n){n.O(0,[812,203,890,502,182,519,962,506,5,650,109,252,178,774,888,179],(function(){return e=56751,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[695],{80594:function(e,t,n){var r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,d=o||l||Function("return this")(),u=Object.prototype.toString,m=Math.max,f=Math.min,x=function(){return d.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var r,a,i,s,c,o,l=0,d=!1,u=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,i=a;return r=a=void 0,l=t,s=e.apply(i,n)}function b(e){return l=e,c=setTimeout(j,t),d?p(e):s}function y(e){var n=e-o;return void 0===o||n>=t||n<0||u&&e-l>=i}function j(){var e=x();if(y(e))return N(e);c=setTimeout(j,function(e){var n=t-(e-o);return u?f(n,i-(e-l)):n}(e))}function N(e){return c=void 0,g&&r?p(e):(r=a=void 0,s)}function w(){var e=x(),n=y(e);if(r=arguments,a=this,o=e,n){if(void 0===c)return b(o);if(u)return c=setTimeout(j,t),p(o)}return void 0===c&&(c=setTimeout(j,t)),s}return t=v(t)||0,h(n)&&(d=!!n.leading,i=(u="maxWait"in n)?m(v(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),w.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=o=a=c=void 0},w.flush=function(){return void 0===c?s:N(x())},w}},74461:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return n(68209)}])},90526:function(e,t,n){"use strict";var r=n(52322),a=(n(2784),n(39097)),i=n(17962),s=n(46892),c=n(4573);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}t.Z=function(e){var t=e.events,n=void 0===t?[]:t,l=e.showMermaidDiagrams,d=void 0!==l&&l;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:n.map((function(e){var t=e.draft;return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(a.default,{href:"/events/".concat(e.name),children:(0,r.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,r.jsx)("div",{style:{background:(0,s.Z)(e.name)},className:o("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,r.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),t&&(0,r.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),d&&(0,r.jsx)("div",{className:"h-full items-center flex",children:(0,r.jsx)(c.Z,{source:"event",data:e,rootNodeColor:(0,s.Z)(e.name)})}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(i.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producers.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(i.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumers.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(52322),a=n(2784),i=n(14689),s=n(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,t){return""!==l?"".concat(l,"/").concat(t,"/").concat(e):"/".concat(t,"/").concat(e)},m=function(e,t,n,r){return"flowchart LR\n\n".concat(t.map((function(t){return"l-".concat(t.id,"[").concat(t.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(n.map((function(t){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(t.id,"[").concat(t.name,"]:::consumer\n")})).join(""),"\n").concat(t.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(n.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 t=e.data,n=e.source,s=void 0===n?"event":n,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,t){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(t))}))});var l="event"===s?function(e,t){var n=e.name,r=e.producers,a=e.consumers,i=void 0===t?"#2563eb":t,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(n.replace(/ /g,"_")),name:n,link:u(n,"events")};return m(o,s,c,i)}(t,c):function(e,t){var n=e.publishes,r=e.subscribes,a=e.name,i=void 0===t?"#2563eb":t,s=r.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),c=n.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)}(t,c);return(0,r.jsx)("div",{className:"mermaid",children:l})}},68209:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return g},default:function(){return p}});var r=n(52322),a=n(2784),i=n(97729),s=n(80594),c=n.n(s),o=n(51930),l=n(54643),d=n(61519),u=n(90526),m=n(55008);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var v=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],g=!0;function p(e){var t=e.events,n=e.services,s=[{id:"services",name:"Filter by Services (".concat(n.length,")"),options:n.map((function(e){return{value:e,label:e,checked:!1}}))}],g=(0,a.useState)({services:[]}),p=g[0],b=g[1],y=(0,a.useState)(!1),j=y[0],N=y[1],w=(0,a.useState)(t),k=w[0],_=w[1],O=(0,a.useState)(""),S=O[0],C=O[1];(0,a.useEffect)((function(){_(function(){if(!p.services&&!S)return t;var e=t;return p.services.length>0&&(e=e.filter((function(e){var t=p.services,n=e.consumers.some((function(e){return t.indexOf(e)>-1})),r=e.producers.some((function(e){return t.indexOf(e)>-1}));return n||r}))),S&&(e=e.filter((function(e){return e.name.toLowerCase().includes(S.toLowerCase())}))),e}())}),[p,S]);var F=(0,a.useCallback)(c()((function(e){C(e.target.value)}),500),[k]),E=!!S||p.services.length>0,D=(0,m.ZR)().title;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{children:(0,r.jsxs)("title",{children:[D," - All Events"]})}),(0,r.jsxs)("main",{className:"max-w-7xl mx-auto min-h-screen px-4 md:px-0",children:[(0,r.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,r.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Events (",t.length,")"]}),(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(o.v,{as:"div",className:"hidden relative text-left",children:[(0,r.jsx)("div",{children:(0,r.jsxs)(o.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,r.jsx)(d.v4q,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,r.jsx)(l.u,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(o.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,r.jsx)("div",{className:"py-1",children:v.map((function(e){return(0,r.jsx)(o.v.Item,{children:function(t){var n=t.active;return(0,r.jsx)("a",{href:e.href,className:h(e.current?"font-medium text-gray-900":"text-gray-500",n?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,r.jsx)("section",{className:"pt-6 pb-24",children:(0,r.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,r.jsxs)("form",{className:"hidden lg:block",children:[(0,r.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,r.jsx)("label",{htmlFor:"event",className:"font-bold block text-sm font-medium text-gray-700",children:"Search Events"}),(0,r.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)(d.W1M,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,r.jsx)("input",{type:"text",name:"event",id:"event",onChange:F,className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})]}),s.map((function(e){return(0,r.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,r.jsx)("h3",{className:"-my-3 flow-root",children:(0,r.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,r.jsx)("span",{className:"font-bold font-medium text-gray-900",children:e.name})})}),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)("div",{className:"space-y-4",children:e.options.map((function(t,n){return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"filter-".concat(e.id,"-").concat(n),name:"".concat(e.id,"[]"),defaultValue:t.value,type:"checkbox",onChange:function(n){return function(e,t,n){if(n.target.checked){var r=p[t].concat([e.value]);b(x({},p,f({},t,r)))}else{var a=p[t].filter((function(t){return t!==e.value}));b(x({},p,f({},t,a)))}}(t,e.id,n)},defaultChecked:t.checked,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,r.jsx)("label",{htmlFor:"filter-".concat(e.id,"-").concat(n),className:"ml-3 text-sm text-gray-600",children:t.label})]},t.value)}))})})]},e.id)})),(0,r.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,r.jsx)("h3",{className:"-my-3 flow-root",children:(0,r.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,r.jsx)("span",{className:"font-bold font-medium text-gray-900",children:"Features"})})}),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)("div",{className:"space-y-4",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return N(e.target.checked)},defaultChecked:j,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,r.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})})]})]}),(0,r.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:E?"Filtered Events (".concat(k.length,"/").concat(t.length,")"):"All Events (".concat(t.length,")")}),(0,r.jsx)(u.Z,{events:k,showMermaidDiagrams:j}),0===k.length&&(0,r.jsx)("div",{className:"text-gray-400 flex h-96 justify-center items-center",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(d.W1M,{className:"w-6 h-6 inline-block mr-1"}),"No events found."]})})]})})]})})]})]})}},46892:function(e,t,n){"use strict";function r(e){for(var t=0,n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);for(var r="#",a=0;a<3;a++){r+="00".concat((t>>8*a&255).toString(16)).substr(-2)}return r}n.d(t,{Z:function(){return r}})}},function(e){e.O(0,[812,519,962,274,774,888,179],(function(){return t=74461,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[532],{30876:function(e,r,n){"use strict";n.r(r),n.d(r,{MDXContext:function(){return o},MDXProvider:function(){return m},mdx:function(){return h},useMDXComponents:function(){return u},withMDXComponents:function(){return d}});var t=n(2784);function a(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function s(){return(s=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}function i(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){a(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function c(e,r){if(null==e)return{};var n,t,a=function(e,r){if(null==e)return{};var n,t,a={},s=Object.keys(e);for(t=0;t<s.length;t++)n=s[t],r.indexOf(n)>=0||(a[n]=e[n]);return a}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(t=0;t<s.length;t++)n=s[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=t.createContext({}),d=function(e){return function(r){var n=u(r.components);return t.createElement(e,s({},r,{components:n}))}},u=function(e){var r=t.useContext(o),n=r;return e&&(n="function"===typeof e?e(r):l(l({},r),e)),n},m=function(e){var r=u(e.components);return t.createElement(o.Provider,{value:r},e.children)},f={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},x=t.forwardRef((function(e,r){var n=e.components,a=e.mdxType,s=e.originalType,i=e.parentName,o=c(e,["components","mdxType","originalType","parentName"]),d=u(n),m=a,x=d["".concat(i,".").concat(m)]||d[m]||f[m]||s;return n?t.createElement(x,l(l({ref:r},o),{},{components:n})):t.createElement(x,l({ref:r},o))}));function h(e,r){var n=arguments,a=r&&r.mdxType;if("string"===typeof e||a){var s=n.length,i=new Array(s);i[0]=x;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l.mdxType="string"===typeof e?e:a,i[1]=l;for(var o=2;o<s;o++)i[o]=n[o];return t.createElement.apply(null,i)}return t.createElement.apply(null,n)}x.displayName="MDXCreateElement"},23816:function(e,r,n){"use strict";var t=n(2784),a=n(30876);function s(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:function(){return e[n]}})}})),r.default=e,Object.freeze(r)}var l=s(t),c=i(a);"undefined"!==typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var r=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),r.R=function({compiledSource:e,scope:r,components:n={},lazy:a}){const[s,i]=t.useState(!a||"undefined"===typeof window);t.useEffect((()=>{if(a){const e=window.requestIdleCallback((()=>{i(!0)}));return()=>window.cancelIdleCallback(e)}}),[]);const o=t.useMemo((()=>{const n=Object.assign({mdx:c.mdx,React:l.default},r),t=Object.keys(n),a=Object.values(n),s=Reflect.construct(Function,t.concat(`${e}; return MDXContent;`));return s.apply(s,a)}),[r,e]);if(!s)return l.default.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});const d=l.default.createElement(c.MDXProvider,{components:n},l.default.createElement(o,null));return a?l.default.createElement("div",null,d):d}},75080:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services/[name]",function(){return n(34585)}])},34585:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSG:function(){return g},default:function(){return w}});var t=n(52322),a=n(97729),s=n(23816),i=n(62455),l=n(61790),c=n(4573),o=(n(2784),n(39097)),d=n(17962),u=n(55008),m=n(46892),f=["purple","pink","green","yellow","blue","indigo"];var x=function(e){var r=e.service,n=(0,u.aF)().getUserById,a=r.owners,s=r.subscribes,i=r.publishes,l=r.repository,c=r.tags,x=void 0===c?[]:c,h=r.externalLinks,p=l.language,y=l.url,j=[];p&&(j=Array.isArray(p)?p:[p]);var b="";return y&&(b=y.replace(/(^\w+:|^)\/\//,"")),(0,t.jsxs)("aside",{className:"hidden xl:block xl:pl-8",children:[(0,t.jsx)("h2",{className:"sr-only",children:"Details"}),(0,t.jsx)("div",{className:"pt-6 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,t.jsx)(d.FMB,{className:"h-5 w-5 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publishes Events (",i.length,")"]}),(0,t.jsx)("ul",{className:"mt-2 leading-8",children:i.map((function(e){return(0,t.jsx)("li",{className:"inline ",children:(0,t.jsx)(o.default,{href:"/events/".concat(e.name),children:(0,t.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,t.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900 truncate max-w-xs",children:e.name})]})})},e.name)}))})]})}),(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,t.jsx)(d.FMB,{className:"h-5 w-5 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribes to Events (",s.length,")"]}),(0,t.jsx)("ul",{className:"mt-2 leading-8",children:s.map((function(e){return(0,t.jsx)("li",{className:"inline",children:(0,t.jsx)(o.default,{href:"/events/".concat(e.name),children:(0,t.jsxs)("a",{className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,t.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900 truncate max-w-xs",children:e.name})]})})},e.name)}))})]})}),(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:["Service Owners (",a.length,")"]}),(0,t.jsx)("ul",{className:"mt-4 leading-8 space-y-2",children:a.map((function(e){var r=n(e);return r?(0,t.jsx)("li",{className:"flex justify-start",children:(0,t.jsx)(o.default,{href:"/users/".concat(r.id),children:(0,t.jsxs)("a",{className:"flex items-center space-x-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("img",{className:"h-5 w-5 rounded-full",src:r.avatarUrl,alt:""})}),(0,t.jsx)("div",{className:"text-sm font-medium text-gray-900",children:r.name})]})})},r.id):null}))})]})}),(null===l||void 0===l?void 0:l.url)&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Repository"}),(0,t.jsx)("ul",{className:" leading-8 space-y-2",children:(0,t.jsx)("li",{className:"flex justify-start",children:(0,t.jsx)("a",{href:null===l||void 0===l?void 0:l.url,target:"_blank",className:"flex items-center space-x-3 text-blue-600 underline text-sm",rel:"noreferrer",children:b})})})]})}),j.length>0&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Language"}),j.map((function(e){return(0,t.jsxs)("div",{className:"relative flex items-center mt-2",children:[(0,t.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-2 w-2 rounded-full","aria-hidden":"true",style:{background:(0,m.Z)(e)}})}),(0,t.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]},e)}))]})}),(0,t.jsx)(o.default,{href:"/visualiser?type=service&name=".concat(r.name),children:(0,t.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,t.jsx)("span",{children:"View in Visualiser"})})}),h.length>0&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-2 space-y-8",children:(0,t.jsx)("div",{className:"space-y-3",children:h.map((function(e){return(0,t.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,t.jsx)(d.h0n,{className:"-ml-1 mr-2 h-5 w-5 text-teal-200","aria-hidden":"true"}),(0,t.jsx)("span",{children:"".concat(e.label)})]},e.url)}))})}),x.length>0&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,t.jsx)(d.lO_,{className:"h-5 w-5 text-gray-400 inline-block mr-2","aria-hidden":"true"}),"Tags"]}),(0,t.jsx)("div",{className:"mt-3 space-y-2",children:x.map((function(e,r){var n=e.label,a=e.url,s=f[r%f.length];return a?(0,t.jsx)("a",{href:a,className:"inline-block underline",target:"_blank",rel:"noreferrer",children:(0,t.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(s,"-100 text-").concat(s,"-800"),children:n})}):(0,t.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(s,"-100 text-").concat(s,"-800"),children:n})}))})]})})]})},h=n(52428),p=n(4488),y=n(78484);function j(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function b(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){j(e,r,n[r])}))}return e}function v(e){var r=e.title,n=e.service,a=e.charts;return(0,t.jsxs)("div",{className:"mx-auto w-full py-10",children:[r&&(0,t.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:r}),(0,t.jsx)(c.Z,{source:"service",data:n,rootNodeColor:(0,m.Z)(n.name),charts:a})]})}var g=!0;function w(e){var r=e.service,n=e.markdown,c=e.notFound,o=(0,u.ZR)().title,d=(0,u.wG)(),f=d.getEditUrl,j=d.hasEditUrl;if(c)return(0,t.jsx)(p.Z,{type:"service",name:r.name,editUrl:j?f("/services/".concat(r.name,"/index.md")):""});var g=r.name,w=r.summary,N=r.draft,O=n.lastModifiedDate,k=function(e){return{Admonition:l.Z,Mermaid:function(r){var n=r.title,a=r.charts;return(0,t.jsx)(v,{service:e,title:n,charts:a})},NodeGraph:function(r){var n=r.title,a=r.maxHeight,s=r.maxZoom,i=r.fitView,l=r.zoomOnScroll,c=r.isAnimated,o=r.isDraggable;return(0,t.jsxs)("div",{className:"mx-auto w-full",children:[n&&(0,t.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:n}),(0,t.jsx)(y.Z,{source:"service",data:e,rootNodeColor:(0,m.Z)(e.name),maxHeight:a,maxZoom:s,fitView:i,zoomOnScroll:l,isAnimated:c,isDraggable:o})]})}}}(r),E=[{name:"Services",href:"/services",current:!1},{name:g,href:"/services/".concat(g),current:!0}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{children:(0,t.jsxs)("title",{children:[o," - ",g]})}),(0,t.jsx)(i.Z,{title:g,editUrl:j?f("/services/".concat(g,"/index.md")):"",subtitle:w,draft:N,lastModifiedDate:O,breadCrumbs:(0,t.jsx)(h.Z,{pages:E,homePath:"/services"}),sidebar:(0,t.jsx)(x,{service:r}),children:(0,t.jsx)(s.R,b({},n.source,{components:k}))})]})}}},function(e){e.O(0,[812,203,519,962,506,109,252,774,888,179],(function(){return r=75080,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54],{17891:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services",function(){return r(46378)}])},44938:function(e,n,r){"use strict";var t=r(52322),a=(r(2784),r(39097)),s=r(17962),c=r(4573),i=r(46892);n.Z=function(e){var n=e.services,r=void 0===n?[]:n,o=e.showMermaidDiagrams,l=void 0!==o&&o;return(0,t.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:r.map((function(e){var n=e.draft;return(0,t.jsx)("li",{className:"flex",children:(0,t.jsx)(a.default,{href:"/services/".concat(e.name),children:(0,t.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,t.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,t.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,t.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),n&&(0,t.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,t.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),l&&(0,t.jsx)("div",{className:"h-full items-center flex",children:(0,t.jsx)(c.Z,{source:"service",data:e,rootNodeColor:(0,i.Z)(e.name)})}),(0,t.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,t.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,t.jsx)(s.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,t.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,t.jsx)(s.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,n,r){"use strict";r.d(n,{Z:function(){return x}});var t=r(52322),a=r(2784),s=r(14689),c=r(70314),i=(0,c.default)().publicRuntimeConfig,o=(void 0===i?{}:i).basePath,l=void 0===o?"":o,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},u=function(e,n,r,t){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(t,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(r.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(r.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')};s.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 x=function(e){var n=e.data,r=e.source,c=void 0===r?"event":r,i=e.rootNodeColor,o=e.charts;if((0,a.useEffect)((function(){s.Z.contentLoaded()}),[]),o)return(0,t.jsx)(t.Fragment,{children:o.map((function(e,n){return(0,t.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===c?function(e,n){var r=e.name,t=e.producers,a=e.consumers,s=void 0===n?"#2563eb":n,c=t.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),i=a.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),o={id:d(r.replace(/ /g,"_")),name:r,link:m(r,"events")};return u(o,c,i,s)}(n,i):function(e,n){var r=e.publishes,t=e.subscribes,a=e.name,s=void 0===n?"#2563eb":n,c=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),i=r.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),o={id:d(a.replace(/ /g,"_")),name:a,link:m(a,"services")};return u(o,c,i,s)}(n,i);return(0,t.jsx)("div",{className:"mermaid",children:l})}},46378:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSG:function(){return x},default:function(){return h}});var t=r(52322),a=r(2784),s=r(97729),c=r(51930),i=r(54643),o=r(61519),l=r(44938),d=r(55008);function m(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.filter(Boolean).join(" ")}var u=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],x=!0;function h(e){var n=e.services,r=(0,a.useState)(!1),x=r[0],h=r[1],f=(0,d.ZR)().title;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{children:(0,t.jsxs)("title",{children:[f," - All Services"]})}),(0,t.jsxs)("main",{className:"max-w-7xl mx-auto md:min-h-screen px-4 md:px-0",children:[(0,t.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,t.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Services (",n.length,")"]}),(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsxs)(c.v,{as:"div",className:"relative hidden text-left",children:[(0,t.jsx)("div",{children:(0,t.jsxs)(c.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,t.jsx)(o.v4q,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,t.jsx)(i.u,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,t.jsx)(c.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,t.jsx)("div",{className:"py-1",children:u.map((function(e){return(0,t.jsx)(c.v.Item,{children:function(n){var r=n.active;return(0,t.jsx)("a",{href:e.href,className:m(e.current?"font-medium text-gray-900":"text-gray-500",r?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,t.jsx)("section",{className:"pt-6 pb-24",children:(0,t.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,t.jsx)("form",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,t.jsx)("h3",{className:"-my-3 flow-root",children:(0,t.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,t.jsx)("span",{className:"font-medium text-gray-900",children:"Features"})})}),(0,t.jsx)("div",{className:"pt-6",children:(0,t.jsx)("div",{className:"space-y-4",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return h(e.target.checked)},defaultChecked:x,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,t.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})})]})}),(0,t.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:"Services"}),(0,t.jsx)(l.Z,{services:n,showMermaidDiagrams:x})]})})]})})]})]})}},46892:function(e,n,r){"use strict";function t(e){for(var n=0,r=0;r<e.length;r++)n=e.charCodeAt(r)+((n<<5)-n);for(var t="#",a=0;a<3;a++){t+="00".concat((n>>8*a&255).toString(16)).substr(-2)}return t}r.d(n,{Z:function(){return t}})}},function(e){e.O(0,[812,519,962,274,774,888,179],(function(){return n=17891,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[108],{84852:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/[id]",function(){return r(10429)}])},90526:function(e,n,r){"use strict";var s=r(52322),t=(r(2784),r(39097)),a=r(17962),c=r(46892),i=r(4573);function l(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.filter(Boolean).join(" ")}n.Z=function(e){var n=e.events,r=void 0===n?[]:n,d=e.showMermaidDiagrams,o=void 0!==d&&d;return(0,s.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:r.map((function(e){var n=e.draft;return(0,s.jsx)("li",{className:"flex",children:(0,s.jsx)(t.default,{href:"/events/".concat(e.name),children:(0,s.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,s.jsx)("div",{style:{background:(0,c.Z)(e.name)},className:l("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,s.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,s.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,s.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,s.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),n&&(0,s.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,s.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),o&&(0,s.jsx)("div",{className:"h-full items-center flex",children:(0,s.jsx)(i.Z,{source:"event",data:e,rootNodeColor:(0,c.Z)(e.name)})}),(0,s.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,s.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,s.jsx)(a.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producers.length,")"]}),(0,s.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,s.jsx)(a.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumers.length,")"]})]})]})})]})})},e.name)}))})}},44938:function(e,n,r){"use strict";var s=r(52322),t=(r(2784),r(39097)),a=r(17962),c=r(4573),i=r(46892);n.Z=function(e){var n=e.services,r=void 0===n?[]:n,l=e.showMermaidDiagrams,d=void 0!==l&&l;return(0,s.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:r.map((function(e){var n=e.draft;return(0,s.jsx)("li",{className:"flex",children:(0,s.jsx)(t.default,{href:"/services/".concat(e.name),children:(0,s.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,s.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,s.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,s.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),n&&(0,s.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,s.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),d&&(0,s.jsx)("div",{className:"h-full items-center flex",children:(0,s.jsx)(c.Z,{source:"service",data:e,rootNodeColor:(0,i.Z)(e.name)})}),(0,s.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,s.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,s.jsx)(a.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,s.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,s.jsx)(a.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,n,r){"use strict";r.d(n,{Z:function(){return u}});var s=r(52322),t=r(2784),a=r(14689),c=r(70314),i=(0,c.default)().publicRuntimeConfig,l=(void 0===i?{}:i).basePath,d=void 0===l?"":l,o=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n){return""!==d?"".concat(d,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},x=function(e,n,r,s){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(s,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(r.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(r.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')};a.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 u=function(e){var n=e.data,r=e.source,c=void 0===r?"event":r,i=e.rootNodeColor,l=e.charts;if((0,t.useEffect)((function(){a.Z.contentLoaded()}),[]),l)return(0,s.jsx)(s.Fragment,{children:l.map((function(e,n){return(0,s.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var d="event"===c?function(e,n){var r=e.name,s=e.producers,t=e.consumers,a=void 0===n?"#2563eb":n,c=s.map(o).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),i=t.map(o).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),l={id:o(r.replace(/ /g,"_")),name:r,link:m(r,"events")};return x(l,c,i,a)}(n,i):function(e,n){var r=e.publishes,s=e.subscribes,t=e.name,a=void 0===n?"#2563eb":n,c=s.map(o).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),i=r.map(o).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),l={id:o(t.replace(/ /g,"_")),name:t,link:m(t,"services")};return x(l,c,i,a)}(n,i);return(0,s.jsx)("div",{className:"mermaid",children:d})}},10429:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSG:function(){return i},default:function(){return l}});var s=r(52322),t=r(90526),a=r(44938),c=r(55008),i=!0;function l(e){var n=e.events,r=e.services,i=e.userId,l=(0,(0,c.aF)().getUserById)(i);return(0,s.jsx)("div",{className:"flex relative min-h-screen",children:(0,s.jsx)("div",{className:"flex-1 ",children:(0,s.jsx)("div",{className:"py-8 xl:py-10",children:(0,s.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,s.jsxs)("div",{className:"xl:col-span-3 xl:pr-8 xl:border-r xl:border-gray-200 min-h-screen",children:[(0,s.jsx)("div",{className:"xl:border-b pb-4 flex justify-between ",children:(0,s.jsx)("div",{className:"space-y-2",children:(0,s.jsx)("h1",{className:"text-3xl font-bold text-gray-900 relative",children:l.name})})}),(0,s.jsxs)("div",{className:" border-b border-gray-100 pb-6",children:[(0,s.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4",children:["Owner of Events (",n.length,")"]}),(0,s.jsx)(t.Z,{events:n})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4",children:["Owner of Services (",r.length,")"]}),(0,s.jsx)(a.Z,{services:r})]})]}),(0,s.jsxs)("div",{className:"px-8",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-5 mt-4 ",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("img",{className:"h-16 w-16 rounded-full",src:l.avatarUrl,alt:""}),(0,s.jsx)("span",{className:"absolute inset-0 shadow-inner rounded-full","aria-hidden":"true"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-xl font-bold text-gray-900",children:l.name}),(0,s.jsx)("p",{className:"text-sm font-medium text-gray-500",children:l.role})]})]}),(0,s.jsx)("div",{className:"mt-6 flow-root border-t border-gray-200 py-6 text-sm",children:l.summary})]})]})})})})}},46892:function(e,n,r){"use strict";function s(e){for(var n=0,r=0;r<e.length;r++)n=e.charCodeAt(r)+((n<<5)-n);for(var s="#",t=0;t<3;t++){s+="00".concat((n>>8*t&255).toString(16)).substr(-2)}return s}r.d(n,{Z:function(){return s}})}},function(e){e.O(0,[812,962,774,888,179],(function(){return n=84852,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{80594:function(e,n,t){var r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,o="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=o||c||Function("return this")(),u=Object.prototype.toString,f=Math.max,m=Math.min,v=function(){return d.Date.now()};function x(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function h(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(x(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=x(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var t=a.test(e);return t||i.test(e)?l(e.slice(2),t?2:8):s.test(e)?NaN:+e}e.exports=function(e,n,t){var r,s,a,i,l,o,c=0,d=!1,u=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(n){var t=r,a=s;return r=s=void 0,c=n,i=e.apply(a,t)}function g(e){return c=e,l=setTimeout(j,n),d?b(e):i}function y(e){var t=e-o;return void 0===o||t>=n||t<0||u&&e-c>=a}function j(){var e=v();if(y(e))return N(e);l=setTimeout(j,function(e){var t=n-(e-o);return u?m(t,a-(e-c)):t}(e))}function N(e){return l=void 0,p&&r?b(e):(r=s=void 0,i)}function w(){var e=v(),t=y(e);if(r=arguments,s=this,o=e,t){if(void 0===l)return g(o);if(u)return l=setTimeout(j,n),b(o)}return void 0===l&&(l=setTimeout(j,n)),i}return n=h(n)||0,x(t)&&(d=!!t.leading,a=(u="maxWait"in t)?f(h(t.maxWait)||0,n):a,p="trailing"in t?!!t.trailing:p),w.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=o=s=l=void 0},w.flush=function(){return void 0===l?i:N(v())},w}},2060:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/visualiser",function(){return t(84031)}])},84031:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return x}});var r=t(52322),s=t(2784),a=t(97729),i=t(5632),l=t(80594),o=t.n(l),c=t(17962),d=t(55008),u=t(78484),f=t(46892);function m(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}function v(e){var n=e.data,t=e.onClick,s=e.type,a=e.isSelected,i=a?"border-green-500 bg-green-50 shadow-md ":"";return(0,r.jsx)("li",{className:"flex",children:(0,r.jsxs)("button",{type:"button",onClick:function(){return t({data:n,type:s})},className:"flex shadow-sm rounded-md w-full text-left border ".concat(i),children:[(0,r.jsx)("div",{style:{background:(0,f.Z)(n.name)},className:m("bg-red-500","flex-shrink-0 flex h-full items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,r.jsx)("div",{className:"w-full rounded-r-md border-t border-r border-b ".concat(a?"bg-green-50":"bg-white"),children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsx)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all text-xs xl:text-md",children:n.name}),(0,r.jsx)("div",{className:"hidden xl:block text-gray-500 text-xs font-normal mt-2 ",children:n.summary})]})})]})})}var x=!0;n.default=function(e){var n=e.events,t=e.services,l=(0,d.ZR)().title,m=(0,s.useState)(""),x=m[0],h=m[1],p=(0,s.useState)(),b=p[0],g=p[1],y=(0,s.useState)({events:n,services:t}),j=y[0],N=y[1],w=(0,i.useRouter)(),k=w.query,S=w.isReady,_=k.name,E=k.type,O=function(e,n){g({label:e.name,data:e,type:n})},C=(0,s.useCallback)(o()((function(e){h(e.target.value)}),500),[j]),F=(0,s.useCallback)((function(){return x?{events:n.filter((function(e){return e.name.indexOf(x)>-1})),services:t.filter((function(e){return e.name.indexOf(x)>-1}))}:{events:n,services:t}}),[n,t,x]);return(0,s.useEffect)((function(){var e=F();N(e)}),[x,F]),(0,s.useEffect)((function(){if(S){var e=n[0],r={label:e.name,type:"event",data:e};if(_&&E){var s=("service"===E?t:n).find((function(e){return e.name===_}));g(s?{label:s.name,type:E,data:s}:r)}else g(r)}}),[_,E,n,t,S]),(0,r.jsxs)("div",{className:"h-screen overflow-hidden",children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[l," - Visualiser"]})}),(0,r.jsx)("div",{className:"sm:hidden px-4 py-2 bg-gray-200 border-b border-gray-300",children:(0,r.jsx)("div",{className:"relative rounded-md shadow-sm",children:(0,r.jsxs)("select",{className:" block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md",onChange:function(e){var n=e.target.value,t=JSON.parse(n);g(t)},children:[(0,r.jsx)("option",{children:"Please select your event or service"}),n.map((function(e){return(0,r.jsxs)("option",{value:JSON.stringify({label:e.name,data:e,type:"event"}),children:["Event: ",e.name]})})),t.map((function(e){return(0,r.jsxs)("option",{value:JSON.stringify({label:e.name,data:e,type:"service"}),children:["Service: ",e.name]})}))]})})}),(0,r.jsxs)("div",{className:"grid grid-cols-8 xl:grid-cols-6",children:[(0,r.jsxs)("div",{className:"hidden sm:block col-span-2 xl:col-span-1 bg-white px-4 h-screen overflow-auto border-r-2 shadow-md border-gray-200 py-3",children:[(0,r.jsx)("div",{className:"border-b border-gray-200 pb-6",children:(0,r.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)(c.W1M,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,r.jsx)("input",{type:"text",name:"event",id:"event",onChange:C,placeholder:"Find Event or Service",className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})}),(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{className:"font-bold block py-2",children:["Events "," ",x&&(0,r.jsxs)(r.Fragment,{children:["(",j.events.length,"/",n.length,")"]}),!x&&(0,r.jsxs)(r.Fragment,{children:["(",n.length,")"]})]}),0===j.events.length&&(0,r.jsx)("span",{className:"text-sm text-gray-300",children:"No Events Found"}),(0,r.jsx)("ul",{className:"space-y-4 overflow-auto",children:j.events.map((function(e){var n=!!b&&b.label===e.name;return(0,r.jsx)(v,{type:"event",data:e,onClick:function(e){return O(e.data,"event")},isSelected:n},e.name)}))})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{className:"font-bold block py-2",children:["Services "," ",x&&(0,r.jsxs)(r.Fragment,{children:["(",j.services.length,"/",t.length,")"]}),!x&&(0,r.jsxs)(r.Fragment,{children:["(",t.length,")"]})]}),0===j.services.length&&(0,r.jsx)("span",{className:"text-sm text-gray-300",children:"No Services Found"}),(0,r.jsx)("ul",{className:"space-y-4 overflow-auto",children:j.services.map((function(e){var n=!!b&&b.label===e.name;return(0,r.jsx)(v,{type:"event",data:e,onClick:function(e){return O(e.data,"service")},isSelected:n},e.name)}))})]})]})]}),(0,r.jsx)("div",{className:"bg-gray-200 h-screen col-span-12 sm:col-span-6 xl:col-span-5",children:b&&(0,r.jsx)(u.Z,{source:b.type,data:b.data,title:"Visualiser",subtitle:b.data.name,rootNodeColor:(0,f.Z)(b.label),fitView:!0,isAnimated:!0,isDraggable:!0,includeBackground:!0,renderWithBorder:!1,maxHeight:"100%",includeEdgeLabels:!0,includeNodeIcons:!0})})]})]})}}},function(e){e.O(0,[203,519,962,506,109,774,888,179],(function(){return n=2060,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -1 +0,0 @@
1
- !function(){"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}},u=!0;try{e[r].call(i.exports,i,i.exports,n),u=!1}finally{u&&delete t[r]}return i.loaded=!0,i.exports}n.m=e,function(){var e=[];n.O=function(t,r,o,i){if(!r){var u=1/0;for(d=0;d<e.length;d++){r=e[d][0],o=e[d][1],i=e[d][2];for(var c=!0,f=0;f<r.length;f++)(!1&i||u>=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[f])}))?r.splice(f--,1):(c=!1,i<u&&(u=i));if(c){e.splice(d--,1);var a=o();void 0!==a&&(t=a)}}return t}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[r,o,i]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var u={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){u[e]=function(){return r[e]}}));return u.default=function(){return r},n.d(i,u),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return 5===e?"static/chunks/5-f60eecf67567a225.js":"static/chunks/"+(546===e?"020d8314":e)+"."+{546:"aea2d24215754e7b",802:"a40c121588cf5040"}[e]+".js"},n.miniCssF=function(e){return"static/css/"+{276:"5eeed9cb243ce668",406:"7e14b4dede1671ad",888:"4a01a08d48b115f7",904:"7e14b4dede1671ad"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,i,u){if(e[r])e[r].push(o);else{var c,f;if(void 0!==i)for(var a=document.getElementsByTagName("script"),d=0;d<a.length;d++){var l=a[d];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==t+i){c=l;break}}c||(f=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+i),c.src=r),e[r]=[o];var s=function(t,n){c.onerror=c.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),f&&document.head.appendChild(c)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/_next/",function(){var e={272:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(272!=t){var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var u=n.p+n.u(t),c=new Error;n.l(u,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+u+")",c.name="ChunkLoadError",c.type=i,c.request=u,o[1](c)}}),"chunk-"+t,t)}else e[t]=0},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,i,u=r[0],c=r[1],f=r[2],a=0;if(u.some((function(t){return 0!==e[t]}))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(f)var d=f(n)}for(t&&t(r);a<u.length;a++)i=u[a],n.o(e,i)&&e[i]&&e[i][0](),e[u[a]]=0;return n.O(d)},r=self.webpackChunk_N_E=self.webpackChunk_N_E||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}()}();
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST=function(s,e,c,a,t,n,i,f,b,d,r,u,v,k,h){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-fe1a9e09c7f51e66.js"],"/_error":["static/chunks/pages/_error-5a714c45c50a8db4.js"],"/events":[c,s,e,f,"static/chunks/pages/events-1f39499146c9c75f.js"],"/events/[name]":[c,a,b,d,r,s,e,t,u,v,n,i,k,h,"static/chunks/pages/events/[name]-813780e7042af288.js"],"/events/[name]/logs":[s,"static/chunks/364-9c039ca46569869e.js","static/css/5eeed9cb243ce668.css","static/chunks/pages/events/[name]/logs-707da36de8222a98.js"],"/events/[name]/v/[version]":[c,a,b,d,r,s,e,t,u,v,n,i,k,h,"static/chunks/pages/events/[name]/v/[version]-33051dbc32f5fe4e.js"],"/overview":["static/chunks/pages/overview-2f0bfad06c84e437.js"],"/services":[c,s,e,f,"static/chunks/pages/services-f52121c6dc1211aa.js"],"/services/[name]":[c,a,s,e,t,n,i,"static/chunks/pages/services/[name]-142d7fa515cfc532.js"],"/users/[id]":[c,e,"static/chunks/pages/users/[id]-d3140bb155f8fb45.js"],"/visualiser":[a,s,e,t,n,"static/chunks/pages/visualiser-e4e3757e74f19df7.js"],sortedPages:["/","/_app","/_error","/events","/events/[name]","/events/[name]/logs","/events/[name]/v/[version]","/overview","/services","/services/[name]","/users/[id]","/visualiser"]}}("static/chunks/519-2ec6fc3cdbaa4dc2.js","static/chunks/962-20c87db3880df896.js","static/chunks/176cb4e4-8a0f6f010ef8accb.js","static/chunks/b744740b-229c238b25b9eeac.js","static/chunks/506-12764fcf4b5d93b0.js","static/chunks/109-a08539311d3d6672.js","static/chunks/252-08ab418f9b6821dd.js","static/chunks/274-11c4d093341d7201.js","static/chunks/1df474da-91f6061ee61707c6.js","static/chunks/7f5d3f51-7158fdd5a44cedd5.js","static/chunks/2edb282b-9e1cce5842787609.js","static/chunks/5-f60eecf67567a225.js","static/chunks/650-343888e13f994a09.js","static/chunks/178-87f01d17ab32dd4f.js","static/css/7e14b4dede1671ad.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -1 +0,0 @@
1
- self.__SSG_MANIFEST=new Set(["\u002Foverview","\u002Fvisualiser","\u002Fevents","\u002Fservices","\u002Fevents\u002F[name]\u002Flogs","\u002Fservices\u002F[name]","\u002Fusers\u002F[id]","\u002Fevents\u002F[name]","\u002Fevents\u002F[name]\u002Fv\u002F[version]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"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 }\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/15"},"loadedVersion":"0.0.1"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"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}","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/15"},"loadedVersion":"0.0.2"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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}","language":"json","extension":"json"},"examples":[{"name":"nodejs-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"},{"name":"python-example.py","snippet":"from kafka import KafkaConsumer\n\n# To consume latest messages and auto-commit offsets\nconsumer = KafkaConsumer('my-topic',\n group_id='my-group',\n bootstrap_servers=['localhost:9092'])\nfor message in consumer:\n # message value and key are raw bytes -- decode if necessary!\n # e.g., for unicode: `message.value.decode('utf-8')`\n print (\"%s:%d:%d: key=%s value=%s\" % (message.topic, message.partition,\n message.offset, message.key,\n message.value))\n\n# consume earliest available messages, don't commit offsets\nKafkaConsumer(auto_offset_reset='earliest', enable_auto_commit=False)\n\n# consume json messages\nKafkaConsumer(value_deserializer=lambda m: json.loads(m.decode('ascii')))\n\n# consume msgpack\nKafkaConsumer(value_deserializer=msgpack.unpackb)\n\n# StopIteration if no message after 1sec\nKafkaConsumer(consumer_timeout_ms=1000)\n\n# Subscribe to a regex topic pattern\nconsumer = KafkaConsumer()\nconsumer.subscribe(pattern='^awesome.*')\n\n# Use multiple consumers in parallel w/ 0.9 kafka brokers\n# typically you would run each on a different server / process / CPU\nconsumer1 = KafkaConsumer('my-topic',\n group_id='my-group',\n bootstrap_servers='my.server.com')\nconsumer2 = KafkaConsumer('my-topic',\n group_id='my-group',\n bootstrap_servers='my.server.com')","langugage":"py"}]},"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 />\n\n<EventExamples title=\"Examples of how to trigger event\" />\n\n<Schema />\n\n<SchemaViewer renderRootTreeLines defaultExpandedDepth='0' maxHeight=\"500\" />\n","source":{"compiledSource":"var h=Object.defineProperty,c=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var r=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={}))r.call(t,o)&&d(e,o,t[o]);if(a)for(var o of a(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)r.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&a)for(var n of a(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,{mdxType:\"NodeGraph\"}),mdx(EventExamples,{title:\"Examples of 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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","producers":["Orders Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"event":{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"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":[]},"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/15"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":["Data Lake","Basket Service","Orders Service","Shipping Service","Payment Service","Order Service"]},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":["Data Lake","Basket Service","Orders Service","Shipping Service","Payment Service","Order Service"]},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"service":{"name":"Basket Service","summary":"CRUD based API to handle Basket interactions for users of the shopping website.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-basket-service"},"tags":[],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"publishes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[]},"markdown":{"content":"\nSimple API that handles interactions between users and their baskets. Use this service to add, remove and query the status of a users basket.\n\nThis service will also generate Async events for downstream services.\n\n<NodeGraph />","lastModifiedDate":"2022/2/15","source":{"compiledSource":"var u=Object.defineProperty,h=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var d=(e,o,t)=>o in e?u(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,n=(e,o)=>{for(var t in o||(o={}))a.call(o,t)&&d(e,t,o[t]);if(r)for(var t of r(o))p.call(o,t)&&d(e,t,o[t]);return e},i=(e,o)=>h(e,l(o));var c=(e,o)=>{var t={};for(var s in e)a.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&r)for(var s of r(e))o.indexOf(s)<0&&p.call(e,s)&&(t[s]=e[s]);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\",n({},t))},NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var s=t,{components:e}=s,o=c(s,[\"components\"]);return mdx(MDXLayout,i(n(n({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Simple API that handles interactions between users and their baskets. Use this service to add, remove and query the status of a users basket.\"),mdx(\"p\",null,\"This service will also generate Async events for downstream services.\"),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"service":{"name":"Data Lake","summary":"Our internal datalake used by the data team and business analytics.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[],"subscribes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nOur internal Data Lake platform used by the data team to consume events of our Architecture and provide valuable insights and analytics.\n\n<NodeGraph />","lastModifiedDate":"2022/2/15","source":{"compiledSource":"var i=Object.defineProperty,l=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(o,e,t)=>e in o?i(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,r=(o,e)=>{for(var t in e||(e={}))p.call(e,t)&&s(o,t,e[t]);if(a)for(var t of a(e))d.call(e,t)&&s(o,t,e[t]);return o},u=(o,e)=>l(o,m(e));var c=(o,e)=>{var t={};for(var n in o)p.call(o,n)&&e.indexOf(n)<0&&(t[n]=o[n]);if(o!=null&&a)for(var n of a(o))e.indexOf(n)<0&&d.call(o,n)&&(t[n]=o[n]);return t};const makeShortcode=o=>function(t){return console.warn(\"Component \"+o+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:o}=n,e=c(n,[\"components\"]);return mdx(MDXLayout,u(r(r({},layoutProps),e),{components:o,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Our internal Data Lake platform used by the data team to consume events of our Architecture and provide valuable insights and analytics.\"),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["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/15","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":{}}}},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"service":{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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/15","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":{}}}},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"services":[{"name":"Basket Service","summary":"CRUD based API to handle Basket interactions for users of the shopping website.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-basket-service"},"tags":[],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"publishes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[]},{"name":"Data Lake","summary":"Our internal datalake used by the data team and business analytics.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[],"subscribes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["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","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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}]},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[{"name":"Basket Service","summary":"CRUD based API to handle Basket interactions for users of the shopping website.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-basket-service"},"tags":[],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"publishes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[]},{"name":"Data Lake","summary":"Our internal datalake used by the data team and business analytics.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[],"subscribes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["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","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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"userId":"dboyne"},"__N_SSG":true}
@@ -1 +0,0 @@
1
- {"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"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","producers":["Orders Service"],"consumers":["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","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["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","producers":["Basket Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["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","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[],"userId":"mSmith"},"__N_SSG":true}