@eventcatalog/core 0.2.7 → 0.2.10

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 (238) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +76 -64
  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/1.pack +0 -0
  9. package/.next/cache/webpack/client-production/index.pack +0 -0
  10. package/.next/cache/webpack/server-production/0.pack +0 -0
  11. package/.next/cache/webpack/server-production/index.pack +0 -0
  12. package/.next/next-server.js.nft.json +1 -1
  13. package/.next/prerender-manifest.json +1 -1
  14. package/.next/react-loadable-manifest.json +2 -2
  15. package/.next/routes-manifest.json +1 -1
  16. package/.next/server/chunks/29.js +14 -0
  17. package/.next/server/chunks/484.js +94 -58
  18. package/.next/server/chunks/50.js +61 -20
  19. package/.next/server/pages/404.html +1 -1
  20. package/.next/server/pages/500.html +1 -1
  21. package/.next/server/pages/domains/Orders/events/OrderComplete/logs.html +1 -1
  22. package/.next/server/pages/domains/Orders/events/OrderComplete.html +2 -2
  23. package/.next/server/pages/domains/Orders/events/OrderComplete.json +1 -1
  24. package/.next/server/pages/domains/Orders/events/OrderConfirmed/logs.html +1 -1
  25. package/.next/server/pages/domains/Orders/events/OrderConfirmed.html +2 -2
  26. package/.next/server/pages/domains/Orders/events/OrderConfirmed.json +1 -1
  27. package/.next/server/pages/domains/Orders/events/OrderRequested/logs.html +1 -1
  28. package/.next/server/pages/domains/Orders/events/OrderRequested.html +2 -2
  29. package/.next/server/pages/domains/Orders/events/OrderRequested.json +1 -1
  30. package/.next/server/pages/domains/Orders/services/Orders Service.html +2 -2
  31. package/.next/server/pages/domains/Orders/services/Orders Service.json +1 -1
  32. package/.next/server/pages/domains/Orders.html +2 -2
  33. package/.next/server/pages/domains/Orders.json +1 -1
  34. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/logs.html +1 -1
  35. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.html +2 -2
  36. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -1
  37. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.html +2 -2
  38. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -1
  39. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.html +2 -2
  40. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.json +1 -1
  41. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart/logs.html +1 -1
  42. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.html +2 -2
  43. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.json +1 -1
  44. package/.next/server/pages/domains/Shopping.html +2 -2
  45. package/.next/server/pages/domains/Shopping.json +1 -1
  46. package/.next/server/pages/domains/[domain]/events/[name]/v/[version].js +1 -1
  47. package/.next/server/pages/domains/[domain]/events/[name].js +1 -1
  48. package/.next/server/pages/domains/[domain]/services/[name].js +7 -0
  49. package/.next/server/pages/domains.html +2 -2
  50. package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
  51. package/.next/server/pages/events/PaymentProcessed.html +2 -2
  52. package/.next/server/pages/events/PaymentProcessed.json +1 -1
  53. package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
  54. package/.next/server/pages/events/ShipmentDelivered.html +2 -2
  55. package/.next/server/pages/events/ShipmentDelivered.json +1 -1
  56. package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
  57. package/.next/server/pages/events/ShipmentDispatched.html +2 -2
  58. package/.next/server/pages/events/ShipmentDispatched.json +1 -1
  59. package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
  60. package/.next/server/pages/events/ShipmentPrepared.html +2 -2
  61. package/.next/server/pages/events/ShipmentPrepared.json +1 -1
  62. package/.next/server/pages/events/[name]/v/[version].js +1 -1
  63. package/.next/server/pages/events/[name].js +1 -1
  64. package/.next/server/pages/events.html +2 -2
  65. package/.next/server/pages/index.html +1 -1
  66. package/.next/server/pages/overview.html +1 -1
  67. package/.next/server/pages/services/Orders Service.html +1 -1
  68. package/.next/server/pages/services/Payment Service.html +2 -2
  69. package/.next/server/pages/services/Payment Service.json +1 -1
  70. package/.next/server/pages/services/Shipping Service.html +2 -2
  71. package/.next/server/pages/services/Shipping Service.json +1 -1
  72. package/.next/server/pages/services/[name].js +7 -0
  73. package/.next/server/pages/services.html +2 -2
  74. package/.next/server/pages/users/dboyne.html +2 -2
  75. package/.next/server/pages/users/mSmith.html +2 -2
  76. package/.next/server/pages/visualiser.html +2 -2
  77. package/.next/server/pages/visualiser.js +70 -12
  78. package/.next/static/1k9Wr4kK-77XnIbsUE4UM/_buildManifest.js +1 -0
  79. package/.next/static/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/_middlewareManifest.js +0 -0
  80. package/.next/static/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/_ssgManifest.js +0 -0
  81. package/.next/static/chunks/102-8f499174d959ae76.js +1 -0
  82. package/.next/static/chunks/109-7e910ba645edff2d.js +1 -0
  83. package/{out/_next/static/chunks/178-c0d21132335f7d58.js → .next/static/chunks/178-e25cdb082bc62edd.js} +1 -1
  84. package/.next/static/chunks/223-30d08619b4edda15.js +1 -0
  85. package/.next/static/chunks/379.1804d2aabaeb062b.js +1 -0
  86. package/.next/static/chunks/40247457-5e8b57cf2f01f630.js +1 -0
  87. package/.next/static/chunks/470-f4091fe4e0b2b803.js +1 -0
  88. package/.next/static/chunks/681-0739f8ea484461b9.js +1 -0
  89. package/.next/static/chunks/{7f5d3f51-83121b73403fb948.js → 7f5d3f51-910a6c1f7e252346.js} +1 -1
  90. package/.next/static/chunks/903-34d2b253285a8ae4.js +1 -0
  91. package/.next/static/chunks/b744740b-594b36f2f589c271.js +1 -0
  92. package/.next/static/chunks/pages/domains/[domain]/events/[name]/v/{[version]-a7fa6002267ccd3b.js → [version]-d1aa840823fe776a.js} +1 -1
  93. package/.next/static/chunks/pages/domains/[domain]/events/{[name]-a5fb5b26471e703b.js → [name]-f4cdf2a266e66be5.js} +1 -1
  94. package/.next/static/chunks/pages/domains/[domain]/services/{[name]-80d6d803e5466b81.js → [name]-49bce8da5b1625d0.js} +1 -1
  95. package/.next/static/chunks/pages/events/[name]/v/{[version]-93d978734b0dc0a3.js → [version]-eb1b8cbc04f132e4.js} +1 -1
  96. package/.next/static/chunks/pages/events/{[name]-d3d2a03948b8dfeb.js → [name]-a4c0d33ba9dfc927.js} +1 -1
  97. package/.next/static/chunks/pages/{overview-7ada2cb9fcb9a9ea.js → overview-3fc16cb1ae9c6206.js} +1 -1
  98. package/.next/static/chunks/pages/services/[name]-5355630da956ee4f.js +1 -0
  99. package/.next/static/chunks/pages/visualiser-5ba1bdaa135986ba.js +1 -0
  100. package/.next/static/chunks/webpack-5243ea3e842fcabb.js +1 -0
  101. package/.next/static/css/996136b57250cdf7.css +3 -0
  102. package/.next/static/css/bc1af6b16510c531.css +2 -0
  103. package/.next/trace +65 -57
  104. package/CHANGELOG.md +18 -0
  105. package/components/Mdx/NodeGraph/GraphElements.tsx +35 -8
  106. package/components/Mdx/NodeGraph/GraphLayout.ts +50 -2
  107. package/components/Mdx/NodeGraph/NodeGraph.tsx +24 -41
  108. package/components/Mdx/NodeGraph/__tests__/__snapshots__/GraphElements.spec.ts.snap +37 -11
  109. package/components/Mdx/NodeGraph/__tests__/__snapshots__/GraphLayout.spec.ts.snap +6 -6
  110. package/components/Mdx/OpenApiSpec.tsx +18 -0
  111. package/lib/__tests__/assets/services/Payment Service/index.md +7 -0
  112. package/lib/__tests__/assets/services/Payment Service/openapi.yaml +94 -0
  113. package/lib/__tests__/file-reader.spec.ts +19 -1
  114. package/lib/__tests__/services.spec.ts +25 -12
  115. package/lib/file-reader.ts +13 -0
  116. package/lib/services.ts +2 -1
  117. package/out/404/index.html +1 -1
  118. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders/events/OrderComplete/logs.json +0 -0
  119. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders/events/OrderComplete.json +1 -1
  120. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders/events/OrderConfirmed/logs.json +0 -0
  121. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders/events/OrderConfirmed.json +1 -1
  122. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders/events/OrderRequested/logs.json +0 -0
  123. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders/events/OrderRequested.json +1 -1
  124. package/out/_next/data/1k9Wr4kK-77XnIbsUE4UM/domains/Orders/services/Orders Service.json +1 -0
  125. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Orders.json +1 -1
  126. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping/events/AddedItemToCart/logs.json +0 -0
  127. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -1
  128. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -1
  129. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping/events/AddedItemToCart.json +1 -1
  130. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping/events/RemovedItemFromCart/logs.json +0 -0
  131. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping/events/RemovedItemFromCart.json +1 -1
  132. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains/Shopping.json +1 -1
  133. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/domains.json +0 -0
  134. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/PaymentProcessed/logs.json +0 -0
  135. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/PaymentProcessed.json +1 -1
  136. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/ShipmentDelivered/logs.json +0 -0
  137. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/ShipmentDelivered.json +1 -1
  138. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/ShipmentDispatched/logs.json +0 -0
  139. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/ShipmentDispatched.json +1 -1
  140. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/ShipmentPrepared/logs.json +0 -0
  141. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events/ShipmentPrepared.json +1 -1
  142. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/events.json +0 -0
  143. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/overview.json +0 -0
  144. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/services/Orders Service.json +0 -0
  145. package/out/_next/data/1k9Wr4kK-77XnIbsUE4UM/services/Payment Service.json +1 -0
  146. package/out/_next/data/1k9Wr4kK-77XnIbsUE4UM/services/Shipping Service.json +1 -0
  147. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/services.json +0 -0
  148. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/users/dboyne.json +0 -0
  149. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/users/mSmith.json +0 -0
  150. package/out/_next/data/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/visualiser.json +0 -0
  151. package/out/_next/static/1k9Wr4kK-77XnIbsUE4UM/_buildManifest.js +1 -0
  152. package/out/_next/static/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/_middlewareManifest.js +0 -0
  153. package/out/_next/static/{zBZQzifddapIzeKavm45C → 1k9Wr4kK-77XnIbsUE4UM}/_ssgManifest.js +0 -0
  154. package/out/_next/static/chunks/102-8f499174d959ae76.js +1 -0
  155. package/out/_next/static/chunks/109-7e910ba645edff2d.js +1 -0
  156. package/{.next/static/chunks/178-c0d21132335f7d58.js → out/_next/static/chunks/178-e25cdb082bc62edd.js} +1 -1
  157. package/out/_next/static/chunks/223-30d08619b4edda15.js +1 -0
  158. package/out/_next/static/chunks/379.1804d2aabaeb062b.js +1 -0
  159. package/out/_next/static/chunks/40247457-5e8b57cf2f01f630.js +1 -0
  160. package/out/_next/static/chunks/470-f4091fe4e0b2b803.js +1 -0
  161. package/out/_next/static/chunks/681-0739f8ea484461b9.js +1 -0
  162. package/out/_next/static/chunks/{7f5d3f51-83121b73403fb948.js → 7f5d3f51-910a6c1f7e252346.js} +1 -1
  163. package/out/_next/static/chunks/903-34d2b253285a8ae4.js +1 -0
  164. package/out/_next/static/chunks/b744740b-594b36f2f589c271.js +1 -0
  165. package/out/_next/static/chunks/pages/domains/[domain]/events/[name]/v/{[version]-a7fa6002267ccd3b.js → [version]-d1aa840823fe776a.js} +1 -1
  166. package/out/_next/static/chunks/pages/domains/[domain]/events/{[name]-a5fb5b26471e703b.js → [name]-f4cdf2a266e66be5.js} +1 -1
  167. package/out/_next/static/chunks/pages/domains/[domain]/services/{[name]-80d6d803e5466b81.js → [name]-49bce8da5b1625d0.js} +1 -1
  168. package/out/_next/static/chunks/pages/events/[name]/v/{[version]-93d978734b0dc0a3.js → [version]-eb1b8cbc04f132e4.js} +1 -1
  169. package/out/_next/static/chunks/pages/events/{[name]-d3d2a03948b8dfeb.js → [name]-a4c0d33ba9dfc927.js} +1 -1
  170. package/out/_next/static/chunks/pages/{overview-7ada2cb9fcb9a9ea.js → overview-3fc16cb1ae9c6206.js} +1 -1
  171. package/out/_next/static/chunks/pages/services/[name]-5355630da956ee4f.js +1 -0
  172. package/out/_next/static/chunks/pages/visualiser-5ba1bdaa135986ba.js +1 -0
  173. package/out/_next/static/chunks/webpack-5243ea3e842fcabb.js +1 -0
  174. package/out/_next/static/css/996136b57250cdf7.css +3 -0
  175. package/out/_next/static/css/bc1af6b16510c531.css +2 -0
  176. package/out/domains/Orders/events/OrderComplete/index.html +2 -2
  177. package/out/domains/Orders/events/OrderComplete/logs/index.html +1 -1
  178. package/out/domains/Orders/events/OrderConfirmed/index.html +2 -2
  179. package/out/domains/Orders/events/OrderConfirmed/logs/index.html +1 -1
  180. package/out/domains/Orders/events/OrderRequested/index.html +2 -2
  181. package/out/domains/Orders/events/OrderRequested/logs/index.html +1 -1
  182. package/out/domains/Orders/index.html +2 -2
  183. package/out/domains/Orders/services/Orders Service/index.html +2 -2
  184. package/out/domains/Shopping/events/AddedItemToCart/index.html +2 -2
  185. package/out/domains/Shopping/events/AddedItemToCart/logs/index.html +1 -1
  186. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.1/index.html +2 -2
  187. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.2/index.html +2 -2
  188. package/out/domains/Shopping/events/RemovedItemFromCart/index.html +2 -2
  189. package/out/domains/Shopping/events/RemovedItemFromCart/logs/index.html +1 -1
  190. package/out/domains/Shopping/index.html +2 -2
  191. package/out/domains/index.html +2 -2
  192. package/out/events/PaymentProcessed/index.html +2 -2
  193. package/out/events/PaymentProcessed/logs/index.html +1 -1
  194. package/out/events/ShipmentDelivered/index.html +2 -2
  195. package/out/events/ShipmentDelivered/logs/index.html +1 -1
  196. package/out/events/ShipmentDispatched/index.html +2 -2
  197. package/out/events/ShipmentDispatched/logs/index.html +1 -1
  198. package/out/events/ShipmentPrepared/index.html +2 -2
  199. package/out/events/ShipmentPrepared/logs/index.html +1 -1
  200. package/out/events/index.html +2 -2
  201. package/out/index.html +1 -1
  202. package/out/overview/index.html +1 -1
  203. package/out/services/Orders Service/index.html +1 -1
  204. package/out/services/Payment Service/index.html +2 -2
  205. package/out/services/Shipping Service/index.html +2 -2
  206. package/out/services/index.html +2 -2
  207. package/out/users/dboyne/index.html +2 -2
  208. package/out/users/mSmith/index.html +2 -2
  209. package/out/visualiser/index.html +2 -2
  210. package/package.json +6 -4
  211. package/pages/services/[name].tsx +6 -1
  212. package/pages/visualiser.tsx +52 -2
  213. package/styles/globals.css +19 -0
  214. package/.next/static/chunks/109-c7517eb568876b36.js +0 -1
  215. package/.next/static/chunks/5-6380a6f543e8372a.js +0 -1
  216. package/.next/static/chunks/585-8ff3ec10b43fcb10.js +0 -1
  217. package/.next/static/chunks/650-7b49ecd97114e917.js +0 -1
  218. package/.next/static/chunks/802.7a3e85882c0aeb52.js +0 -1
  219. package/.next/static/chunks/b744740b-32af777c67e2c3ff.js +0 -1
  220. package/.next/static/chunks/pages/services/[name]-148079bb388f8c53.js +0 -1
  221. package/.next/static/chunks/pages/visualiser-249f35d81fbd72e6.js +0 -1
  222. package/.next/static/chunks/webpack-7adfcbd8c9cf8b5d.js +0 -1
  223. package/.next/static/css/70ede87da43120f8.css +0 -3
  224. package/.next/static/zBZQzifddapIzeKavm45C/_buildManifest.js +0 -1
  225. package/out/_next/data/zBZQzifddapIzeKavm45C/domains/Orders/services/Orders Service.json +0 -1
  226. package/out/_next/data/zBZQzifddapIzeKavm45C/services/Payment Service.json +0 -1
  227. package/out/_next/data/zBZQzifddapIzeKavm45C/services/Shipping Service.json +0 -1
  228. package/out/_next/static/chunks/109-c7517eb568876b36.js +0 -1
  229. package/out/_next/static/chunks/5-6380a6f543e8372a.js +0 -1
  230. package/out/_next/static/chunks/585-8ff3ec10b43fcb10.js +0 -1
  231. package/out/_next/static/chunks/650-7b49ecd97114e917.js +0 -1
  232. package/out/_next/static/chunks/802.7a3e85882c0aeb52.js +0 -1
  233. package/out/_next/static/chunks/b744740b-32af777c67e2c3ff.js +0 -1
  234. package/out/_next/static/chunks/pages/services/[name]-148079bb388f8c53.js +0 -1
  235. package/out/_next/static/chunks/pages/visualiser-249f35d81fbd72e6.js +0 -1
  236. package/out/_next/static/chunks/webpack-7adfcbd8c9cf8b5d.js +0 -1
  237. package/out/_next/static/css/70ede87da43120f8.css +0 -3
  238. package/out/_next/static/zBZQzifddapIzeKavm45C/_buildManifest.js +0 -1
@@ -1 +1 @@
1
- {"pageProps":{"domain":{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]},"markdown":{"content":"\n<Admonition>Domain for everything to do with Shopping at our business. Before adding any events or services to this domain make sure you contact the domain owners and verify it's the correct place.</Admonition>\n\n### Details\n\nThis domain encapsulates everything in our business that has to do with shopping and users. This might be new items added to our online shop or online cart management.\n\n<NodeGraph title=\"Domain Graph\" />","lastModifiedDate":"2022/3/4","source":{"compiledSource":"var m=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(o,e,n)=>e in o?m(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,r=(o,e)=>{for(var n in e||(e={}))a.call(e,n)&&d(o,n,e[n]);if(i)for(var n of i(e))s.call(e,n)&&d(o,n,e[n]);return o},p=(o,e)=>c(o,u(e));var h=(o,e)=>{var n={};for(var t in o)a.call(o,t)&&e.indexOf(t)<0&&(n[t]=o[t]);if(o!=null&&i)for(var t of i(o))e.indexOf(t)<0&&s.call(o,t)&&(n[t]=o[t]);return n};const makeShortcode=o=>function(n){return console.warn(\"Component \"+o+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},n))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(n){var t=n,{components:o}=t,e=h(t,[\"components\"]);return mdx(MDXLayout,p(r(r({},layoutProps),e),{components:o,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"Domain for everything to do with Shopping at our business. Before adding any events or services to this domain make sure you contact the domain owners and verify it's the correct place.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This domain encapsulates everything in our business that has to do with shopping and users. This might be new items added to our online shop or online cart management.\"),mdx(NodeGraph,{title:\"Domain Graph\",mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
1
+ {"pageProps":{"domain":{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]},"markdown":{"content":"\n<Admonition>Domain for everything to do with Shopping at our business. Before adding any events or services to this domain make sure you contact the domain owners and verify it's the correct place.</Admonition>\n\n### Details\n\nThis domain encapsulates everything in our business that has to do with shopping and users. This might be new items added to our online shop or online cart management.\n\n<NodeGraph title=\"Domain Graph\" />","lastModifiedDate":"2022/3/7","source":{"compiledSource":"var m=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(o,e,n)=>e in o?m(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,r=(o,e)=>{for(var n in e||(e={}))a.call(e,n)&&d(o,n,e[n]);if(i)for(var n of i(e))s.call(e,n)&&d(o,n,e[n]);return o},p=(o,e)=>c(o,u(e));var h=(o,e)=>{var n={};for(var t in o)a.call(o,t)&&e.indexOf(t)<0&&(n[t]=o[t]);if(o!=null&&i)for(var t of i(o))e.indexOf(t)<0&&s.call(o,t)&&(n[t]=o[t]);return n};const makeShortcode=o=>function(n){return console.warn(\"Component \"+o+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},n))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(n){var t=n,{components:o}=t,e=h(t,[\"components\"]);return mdx(MDXLayout,p(r(r({},layoutProps),e),{components:o,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"Domain for everything to do with Shopping at our business. Before adding any events or services to this domain make sure you contact the domain owners and verify it's the correct place.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This domain encapsulates everything in our business that has to do with shopping and users. This might be new items added to our online shop or online cart management.\"),mdx(NodeGraph,{title:\"Domain Graph\",mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
@@ -1 +1 @@
1
- {"pageProps":{"event":{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":"Orders","producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Orders Service","summary":"Service that handles customer orders\n","domain":"Orders","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/PaymentProcessed.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"PaymentProcessed\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The ID the users order\"\n },\n \"stripeId\": {\n \"type\": \"string\",\n \"description\": \"The ID the payment handled in stripe\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/PaymentProcessed","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"PaymentProcessed","href":"/events/PaymentProcessed","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when the payment has succesfully been processed for a customers orders.\n\nWe use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,h=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,s=(e,o)=>{for(var t in o||(o={}))a.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&i(e,t,o[t]);return e},m=(e,o)=>h(e,u(o));var c=(e,o)=>{var t={};for(var n in e)a.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",s({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,m(s(s({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when the payment has succesfully been processed for a customers orders.\"),mdx(\"p\",null,\"We use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/4"},"loadedVersion":"latest"},"__N_SSG":true}
1
+ {"pageProps":{"event":{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":"Orders","producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Orders Service","summary":"Service that handles customer orders\n","domain":"Orders","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/PaymentProcessed.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"PaymentProcessed\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The ID the users order\"\n },\n \"stripeId\": {\n \"type\": \"string\",\n \"description\": \"The ID the payment handled in stripe\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/PaymentProcessed","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"PaymentProcessed","href":"/events/PaymentProcessed","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when the payment has succesfully been processed for a customers orders.\n\nWe use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,h=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,s=(e,o)=>{for(var t in o||(o={}))a.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&i(e,t,o[t]);return e},m=(e,o)=>h(e,u(o));var c=(e,o)=>{var t={};for(var n in e)a.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",s({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,m(s(s({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when the payment has succesfully been processed for a customers orders.\"),mdx(\"p\",null,\"We use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/7"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +1 @@
1
- {"pageProps":{"event":{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentDispatched.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentDispatched\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentDelivered","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentDelivered","href":"/events/ShipmentDelivered","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has been delivered to its destination.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,r=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(a)for(var t of a(o))d.call(o,t)&&s(e,t,o[t]);return e},m=(e,o)=>c(e,u(o));var h=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&a)for(var n of a(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has been delivered to its destination.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/4"},"loadedVersion":"latest"},"__N_SSG":true}
1
+ {"pageProps":{"event":{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentDispatched.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentDispatched\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentDelivered","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentDelivered","href":"/events/ShipmentDelivered","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has been delivered to its destination.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,r=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(a)for(var t of a(o))d.call(o,t)&&s(e,t,o[t]);return e},m=(e,o)=>c(e,u(o));var h=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&a)for(var n of a(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has been delivered to its destination.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/7"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +1 @@
1
- {"pageProps":{"event":{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentDispatched.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentDispatched\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentDispatched","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentDispatched","href":"/events/ShipmentDispatched","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has been dispatched from the warehouse.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,r=(e,o)=>{for(var t in o||(o={}))d.call(o,t)&&s(e,t,o[t]);if(a)for(var t of a(o))i.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)d.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&a)for(var n of a(e))o.indexOf(n)<0&&i.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(r(r({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has been dispatched from the warehouse.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/4"},"loadedVersion":"latest"},"__N_SSG":true}
1
+ {"pageProps":{"event":{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentDispatched.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentDispatched\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentDispatched","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentDispatched","href":"/events/ShipmentDispatched","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has been dispatched from the warehouse.\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,r=(e,o)=>{for(var t in o||(o={}))d.call(o,t)&&s(e,t,o[t]);if(a)for(var t of a(o))i.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)d.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&a)for(var n of a(e))o.indexOf(n)<0&&i.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(r(r({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has been dispatched from the warehouse.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/7"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +1 @@
1
- {"pageProps":{"event":{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentPrepared.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentPrepared\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentPrepared","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentPrepared","href":"/events/ShipmentPrepared","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has finished being prepared. \n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<SchemaViewer renderRootTreeLines defaultExpandedDepth='0' maxHeight=\"500\" />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),SchemaViewer=makeShortcode(\"SchemaViewer\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has finished being prepared. \"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(SchemaViewer,{renderRootTreeLines:!0,defaultExpandedDepth:\"0\",maxHeight:\"500\",mdxType:\"SchemaViewer\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/4"},"loadedVersion":"latest"},"__N_SSG":true}
1
+ {"pageProps":{"event":{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"consumers":[{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/ShipmentPrepared.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"ShipmentPrepared\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\", \"service\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"shipmentId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shipment\"\n },\n \"orderId\": {\n \"type\": \"string\",\n \"description\": \"The order assigned to the shipment\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/ShipmentPrepared","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"ShipmentPrepared","href":"/events/ShipmentPrepared","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event is triggered when a shipment has finished being prepared. \n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<SchemaViewer renderRootTreeLines defaultExpandedDepth='0' maxHeight=\"500\" />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(e,o,t)=>o in e?p(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))i.call(o,t)&&s(e,t,o[t]);if(r)for(var t of r(o))d.call(o,t)&&s(e,t,o[t]);return e},h=(e,o)=>c(e,u(o));var m=(e,o)=>{var t={};for(var n in e)i.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),SchemaViewer=makeShortcode(\"SchemaViewer\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=m(n,[\"components\"]);return mdx(MDXLayout,h(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event is triggered when a shipment has finished being prepared. \"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(SchemaViewer,{renderRootTreeLines:!0,defaultExpandedDepth:\"0\",maxHeight:\"500\",mdxType:\"SchemaViewer\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/7"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"openAPISpec":"openapi: 3.0.0\ninfo:\n description: A Payment Service API\n version: 0.0.1\n title: Payment service API\nservers:\n - url: http://payment.example.com/v1\n description: Optional server description, e.g. Main (production) server\n - url: http://payment.example.com\n description: Optional server description, e.g. Internal staging server for testing\npaths:\n /getSinglePaymentURL:\n get:\n tags:\n - PaymentServices\n summary: Generate a Payment endpoint URL\n operationId: singlepaymenturlUsingGET\n consumes:\n - application/json\n produces:\n - application/xml\n parameters:\n - name: transType\n in: query\n description: transType\n required: true\n type: string\n - name: invoiceNumber\n in: query\n description: invoiceNumber\n required: true\n type: string\n - name: approvedPage\n in: query\n description: approvedPage\n required: true\n type: string\n - name: declinedPage\n in: query\n description: declinedPage\n required: true\n type: string\n - in: query\n name: errorPage\n description: errorPage\n required: true\n type: string\n - in: query\n name: totalItemsAmount\n description: totalItemsAmount\n required: true\n type: string\n - name: ref1\n in: query\n description: ref1\n required: false\n type: string\n - name: ref2\n in: query\n description: ref2\n required: false\n type: string\n - name: ref3\n in: query\n description: ref3\n required: false\n type: string\n - name: minutesToExpire\n in: query\n description: minutesToExpire\n required: true\n type: string\n responses:\n '200':\n description: Successful operation\n schema:\n $ref: '#/definitions/SinglePaymentResponse'\n '401':\n description: Unauthorized\n '403':\n description: Forbidden\n '404':\n description: Not Found\ndefinitions:\n SinglePaymentResponse:\n type: object\n properties:\n respCode:\n type: integer\n format: int32\n respMsg:\n type: string\n respValue:\n type: string","publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":"Orders","producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nThe payment service is our own internal payment service that listens to events from stripe and handles them within our own domain. \n\nWe use Stripe to handle services and use this Payment service to enrich events for internal use.\n\n<OpenAPI />\n\n<NodeGraph />\n","lastModifiedDate":"2022/3/7","source":{"compiledSource":"var u=Object.defineProperty,m=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var i=(e,o,n)=>o in e?u(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,s=(e,o)=>{for(var n in o||(o={}))p.call(o,n)&&i(e,n,o[n]);if(r)for(var n of r(o))a.call(o,n)&&i(e,n,o[n]);return e},d=(e,o)=>m(e,h(o));var c=(e,o)=>{var n={};for(var t in e)p.call(e,t)&&o.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&r)for(var t of r(e))o.indexOf(t)<0&&a.call(e,t)&&(n[t]=e[t]);return n};const makeShortcode=e=>function(n){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",s({},n))},OpenAPI=makeShortcode(\"OpenAPI\"),NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(n){var t=n,{components:e}=t,o=c(t,[\"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(OpenAPI,{mdxType:\"OpenAPI\"}),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"breadCrumbs":[{"name":"Services","href":"/services","current":false},{"name":"Payment Service","href":"/services/Payment Service","current":true}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ {"pageProps":{"service":{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"openAPISpec":null,"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nEvent based service that allows you to create shipments, prepare them and dispatch them. This service handles the `Shipment` domain.\n\nThis service will also generate Async events for downstream services.\n\n<NodeGraph />","lastModifiedDate":"2022/3/7","source":{"compiledSource":"var h=Object.defineProperty,m=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var s=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?h(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))s.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))p.call(o,t)&&i(e,t,o[t]);return e},d=(e,o)=>m(e,l(o));var c=(e,o)=>{var t={};for(var n in e)s.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&p.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,d(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Event based service that allows you to create shipments, prepare them and dispatch them. This service handles the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Shipment\"),\" domain.\"),mdx(\"p\",null,\"This service will also generate Async events for downstream services.\"),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"breadCrumbs":[{"name":"Services","href":"/services","current":false},{"name":"Shipping Service","href":"/services/Shipping Service","current":true}]},"__N_SSG":true}
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST=function(s,e,a,c,n,i,t,d,m,o,v,f,u,b,r,k,h,j,g,p,_,l){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-fe1a9e09c7f51e66.js"],"/_error":["static/chunks/pages/_error-5a714c45c50a8db4.js"],"/domains":[s,"static/chunks/pages/domains-6ab78cb1bc2f4200.js"],"/domains/[domain]":[c,e,s,n,i,t,"static/chunks/pages/domains/[domain]-2b08aa35416b7fe6.js"],"/domains/[domain]/events/[name]":[a,c,m,o,v,e,s,n,d,f,u,i,t,b,r,"static/chunks/pages/domains/[domain]/events/[name]-f4cdf2a266e66be5.js"],"/domains/[domain]/events/[name]/logs":[e,k,h,"static/chunks/pages/domains/[domain]/events/[name]/logs-9678f8d15063d3b5.js"],"/domains/[domain]/events/[name]/v/[version]":[a,c,m,o,v,e,s,n,d,f,u,i,t,b,r,"static/chunks/pages/domains/[domain]/events/[name]/v/[version]-d1aa840823fe776a.js"],"/domains/[domain]/services/[name]":[a,c,j,g,e,s,n,d,p,i,t,_,"static/chunks/pages/domains/[domain]/services/[name]-49bce8da5b1625d0.js"],"/events":[a,e,s,l,"static/chunks/pages/events-691363297e733e50.js"],"/events/[name]":[a,c,m,o,v,e,s,n,d,f,u,i,t,b,r,"static/chunks/pages/events/[name]-a4c0d33ba9dfc927.js"],"/events/[name]/logs":[e,k,h,"static/chunks/pages/events/[name]/logs-279caf3ba628e52c.js"],"/events/[name]/v/[version]":[a,c,m,o,v,e,s,n,d,f,u,i,t,b,r,"static/chunks/pages/events/[name]/v/[version]-eb1b8cbc04f132e4.js"],"/overview":["static/chunks/pages/overview-3fc16cb1ae9c6206.js"],"/services":[a,e,s,l,"static/chunks/pages/services-0a099323cc1d9712.js"],"/services/[name]":[a,c,j,g,e,s,n,d,p,i,t,_,"static/chunks/pages/services/[name]-5355630da956ee4f.js"],"/users/[id]":[a,s,"static/chunks/pages/users/[id]-d1f16749cca85865.js"],"/visualiser":[c,e,s,n,i,"static/chunks/pages/visualiser-5ba1bdaa135986ba.js"],sortedPages:["/","/_app","/_error","/domains","/domains/[domain]","/domains/[domain]/events/[name]","/domains/[domain]/events/[name]/logs","/domains/[domain]/events/[name]/v/[version]","/domains/[domain]/services/[name]","/events","/events/[name]","/events/[name]/logs","/events/[name]/v/[version]","/overview","/services","/services/[name]","/users/[id]","/visualiser"]}}("static/chunks/962-17a425b16c23bd0f.js","static/chunks/519-2ec6fc3cdbaa4dc2.js","static/chunks/176cb4e4-59b1695530801e16.js","static/chunks/b744740b-594b36f2f589c271.js","static/chunks/506-68ae644af2659950.js","static/chunks/109-7e910ba645edff2d.js","static/chunks/169-b33dfdaf2847d062.js","static/chunks/903-34d2b253285a8ae4.js","static/chunks/1df474da-91f6061ee61707c6.js","static/chunks/7f5d3f51-910a6c1f7e252346.js","static/chunks/2edb282b-b8f4863366339abc.js","static/chunks/102-8f499174d959ae76.js","static/chunks/681-0739f8ea484461b9.js","static/chunks/178-e25cdb082bc62edd.js","static/css/7e14b4dede1671ad.css","static/chunks/364-0efd016d31d19995.js","static/css/5eeed9cb243ce668.css","static/chunks/40247457-5e8b57cf2f01f630.js","static/css/bc1af6b16510c531.css","static/chunks/470-f4091fe4e0b2b803.js","static/chunks/223-30d08619b4edda15.js","static/chunks/274-8d503842229d0944.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[102],{13102:function(e,r,t){t.d(r,{H3:function(){return A},CD:function(){return P},jb:function(){return S},L:function(){return F},Oq:function(){return I},XV:function(){return H},m4:function(){return _}});var a=t(7896);function n(e,r){return n=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},n(e,r)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function o(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,r,t){return u=o()?Reflect.construct:function(e,r,t){var a=[null];a.push.apply(a,r);var f=new(Function.bind.apply(e,a));return t&&n(f,t.prototype),f},u.apply(null,arguments)}function i(e){var r="function"===typeof Map?new Map:void 0;return i=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof r){if(r.has(e))return r.get(e);r.set(e,a)}function a(){return u(e,arguments,f(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),n(a,e)},i(e)}var l=function(e){var r,t;function a(r){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this)}return t=e,(r=a).prototype=Object.create(t.prototype),r.prototype.constructor=r,n(r,t),a}(i(Error));function s(e){return Math.round(255*e)}function d(e,r,t){return s(e)+","+s(r)+","+s(t)}function c(e,r,t,a){if(void 0===a&&(a=d),0===r)return a(t,t,t);var n=(e%360+360)%360/60,f=(1-Math.abs(2*t-1))*r,o=f*(1-Math.abs(n%2-1)),u=0,i=0,l=0;n>=0&&n<1?(u=f,i=o):n>=1&&n<2?(u=o,i=f):n>=2&&n<3?(i=f,l=o):n>=3&&n<4?(i=o,l=f):n>=4&&n<5?(u=o,l=f):n>=5&&n<6&&(u=f,l=o);var s=t-f/2;return a(u+s,i+s,l+s)}var p={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var b=/^#[a-fA-F0-9]{6}$/,h=/^#[a-fA-F0-9]{8}$/,g=/^#[a-fA-F0-9]{3}$/,y=/^#[a-fA-F0-9]{4}$/,m=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,v=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,w=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,k=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function I(e){if("string"!==typeof e)throw new l(3);var r=function(e){if("string"!==typeof e)return e;var r=e.toLowerCase();return p[r]?"#"+p[r]:e}(e);if(r.match(b))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(h)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(g))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(y)){var a=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:a}}var n=m.exec(r);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var f=v.exec(r.substring(0,50));if(f)return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10),alpha:parseFloat(""+f[4])};var o=w.exec(r);if(o){var u="rgb("+c(parseInt(""+o[1],10),parseInt(""+o[2],10)/100,parseInt(""+o[3],10)/100)+")",i=m.exec(u);if(!i)throw new l(4,r,u);return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)}}var s=k.exec(r.substring(0,50));if(s){var d="rgb("+c(parseInt(""+s[1],10),parseInt(""+s[2],10)/100,parseInt(""+s[3],10)/100)+")",I=m.exec(d);if(!I)throw new l(4,r,d);return{red:parseInt(""+I[1],10),green:parseInt(""+I[2],10),blue:parseInt(""+I[3],10),alpha:parseFloat(""+s[4])}}throw new l(5)}function F(e){return function(e){var r,t=e.red/255,a=e.green/255,n=e.blue/255,f=Math.max(t,a,n),o=Math.min(t,a,n),u=(f+o)/2;if(f===o)return void 0!==e.alpha?{hue:0,saturation:0,lightness:u,alpha:e.alpha}:{hue:0,saturation:0,lightness:u};var i=f-o,l=u>.5?i/(2-f-o):i/(f+o);switch(f){case t:r=(a-n)/i+(a<n?6:0);break;case a:r=(n-t)/i+2;break;default:r=(t-a)/i+4}return r*=60,void 0!==e.alpha?{hue:r,saturation:l,lightness:u,alpha:e.alpha}:{hue:r,saturation:l,lightness:u}}(I(e))}var x=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function O(e){var r=e.toString(16);return 1===r.length?"0"+r:r}function M(e,r,t){if("number"===typeof e&&"number"===typeof r&&"number"===typeof t)return x("#"+O(e)+O(r)+O(t));if("object"===typeof e&&void 0===r&&void 0===t)return x("#"+O(e.red)+O(e.green)+O(e.blue));throw new l(6)}function _(e,r,t,a){if("string"===typeof e&&"number"===typeof r){var n=I(e);return"rgba("+n.red+","+n.green+","+n.blue+","+r+")"}if("number"===typeof e&&"number"===typeof r&&"number"===typeof t&&"number"===typeof a)return a>=1?M(e,r,t):"rgba("+e+","+r+","+t+","+a+")";if("object"===typeof e&&void 0===r&&void 0===t&&void 0===a)return e.alpha>=1?M(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new l(7)}function j(e,r,t){return function(){var a=t.concat(Array.prototype.slice.call(arguments));return a.length>=r?e.apply(this,a):j(e,r,a)}}function q(e){return j(e,e.length,[])}function $(e,r,t){return Math.max(e,Math.min(r,t))}function A(e){if("transparent"===e)return 0;var r=I(e),t=Object.keys(r).map((function(e){var t=r[e]/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),a=t[0],n=t[1],f=t[2];return parseFloat((.2126*a+.7152*n+.0722*f).toFixed(3))}function R(e,r){var t=A(e),a=A(r);return parseFloat((t>a?(t+.05)/(a+.05):(a+.05)/(t+.05)).toFixed(2))}function E(e,r,t){if("transparent"===r)return t;if("transparent"===t)return r;if(0===e)return t;var n=I(r),f=(0,a.Z)({},n,{alpha:"number"===typeof n.alpha?n.alpha:1}),o=I(t),u=(0,a.Z)({},o,{alpha:"number"===typeof o.alpha?o.alpha:1}),i=f.alpha-u.alpha,l=2*parseFloat(e)-1,s=((l*i===-1?l:l+i)/(1+l*i)+1)/2,d=1-s;return _({red:Math.floor(f.red*s+u.red*d),green:Math.floor(f.green*s+u.green*d),blue:Math.floor(f.blue*s+u.blue*d),alpha:f.alpha*parseFloat(e)+u.alpha*(1-parseFloat(e))})}var P=q(E);function C(e,r){if("transparent"===r)return r;var t=I(r),n="number"===typeof t.alpha?t.alpha:1;return _((0,a.Z)({},t,{alpha:$(0,1,(100*n+100*parseFloat(e))/100)}))}var S=q(C),Z="#000",B="#fff";function H(e,r,t,a){void 0===r&&(r=Z),void 0===t&&(t=B),void 0===a&&(a=!0);var n=A(e)>.179,f=n?r:t;return!a||R(e,f)>=4.5?f:n?Z:B}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[109],{78484:function(e,t,n){n.d(t,{Z:function(){return z}});var r=n(52322),a=n(2784),o=n(39097),i=n(54064),l=n(70314),c=n(17962),u=n(61519);var d=function(e){var t=e.type,n=e.label,a="event"===t?u.bV6:c.QTo;return(0,r.jsxs)("div",{children:[(0,r.jsx)(a,{className:"h-3 w-3 text-gray-700 inline-block mr-1 -mt-0.5"}),(0,r.jsx)("span",{className:"text-gray-700",children:n})]})};function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}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 m(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 p(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=(0,l.default)().publicRuntimeConfig,v=(void 0===b?{}:b).basePath,h=void 0===v?"":v,y=function(e){return 8*e.length>150?8*e.length:150},g=function(e){var t=e.id,n=e.target,r=e.source,a=e.label,o=e.isAnimated,l=void 0===o||o;return{id:t,target:n,source:r,type:"smoothstep",arrowHeadType:i.f8.ArrowClosed,animated:l,label:a,labelBgPadding:[8,4],labelBgBorderRadius:4,labelStyle:{fontSize:"6px"},labelBgStyle:{fill:"white",color:"#fff",fillOpacity:.5}}},x=function(e){var t=e.name,n=e.label,r=e.type,a=e.maxWidth,o=e.renderInColumn,i=y(n),l=function(e,t){return""!==h?"".concat(h,"/").concat(t,"/").concat(e):"/".concat(t,"/").concat(e)}(t,"service"===r?"services":"events");return{label:n,link:l,width:i,maxWidth:a,renderInColumn:o}},w=function(e){var t=e.type,n=e.label;return e.includeIcon?(0,r.jsx)(d,{type:t,label:n}):n},I=function(e){var t,n,r=e.name,a=e.producerNames,o=e.consumerNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],d={x:0,y:0},s="#818cf8",f="#75d7b6",b={fontSize:u?"8px":"auto"},v=a.map((function(e){return y(e)})),h=(t=Math).max.apply(t,p(v)),I=o.map((function(e){return y(e)})),j=(n=Math).max.apply(n,p(I)),A="ev-".concat(r.replace(/ /g,"_")),C=y(r),S=a.map((function(e){return{label:e,id:"pr-".concat(e.replace(/ /g,"_"))}})),_=o.map((function(e){return{label:e,id:"co-".concat(e.replace(/ /g,"_"))}})),N=S.map((function(e){var t=e.label,n=e.id,r=y(t),a=h-r,o=0!==a?r-a:h,i=w({type:"service",label:t,includeIcon:u});return{id:n,data:x({name:t,label:i,type:"service",maxWidth:o,renderInColumn:1}),style:m({border:"2px solid ".concat(f),width:r},b),type:"input",position:d}})),O=_.map((function(e){var t=e.id,n=e.label,r=y(n),a=w({type:"service",label:n,includeIcon:u});return{id:t,data:x({name:n,label:a,type:"service",maxWidth:j,renderInColumn:3}),style:m({border:"2px solid ".concat(s),width:r},b),type:"output",position:d}})),k={id:A,data:x({name:r,label:w({type:"event",label:r,includeIcon:u}),type:"event",maxWidth:C,renderInColumn:2}),style:m({border:"2px solid ".concat(i),width:C},b),position:d},E=S.map((function(e){var t=e.id,n=e.label;return g({id:"epe-".concat(n.replace(/ /g,"_"),"-").concat(A),source:t,target:A,isAnimated:l,label:c?"publishes":""})})),W=_.map((function(e){var t=e.id,n=e.label;return g({id:"ece-".concat(n.replace(/ /g,"_"),"-").concat(A),target:t,source:A,isAnimated:l,label:c?"subscribed by":""})})),z=p(N).concat([k],p(O),p(E),p(W));return z},j=function(e){var t,n,r=e.publishes,a=e.subscribes,o=e.name,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],d={x:0,y:0},s="#818cf8",f="#75d7b6",b={fontSize:u?"8px":"auto"},v=r.map((function(e){return y(e.name)})),h=(t=Math).max.apply(t,p(v)),I=a.map((function(e){return y(e.name)})),j=(n=Math).max.apply(n,p(I)),A="ser-".concat(o.replace(/ /g,"_")),C=r.map((function(e){var t=y(e.name),n=w({type:"event",label:e.name,includeIcon:u});return{id:"pub-".concat(e.name.replace(/ /g,"_")),data:x({name:e.name,label:n,type:"event",maxWidth:h,renderInColumn:3}),style:m({border:"2px solid ".concat(s),width:t},b),type:"output",position:d}})),S=a.map((function(e){var t=y(e.name),n=j-t,r=0!==n?t-n:j,a=w({type:"event",label:e.name,includeIcon:u});return{id:"sub-".concat(e.name.replace(/ /g,"_")),data:x(m({name:e.name,label:a,type:"event",maxWidth:r},b,{renderInColumn:1})),style:m({border:"2px solid ".concat(f),width:t},b),type:"input",position:d}})),_={id:A,data:x({name:o,label:w({type:"service",label:o,includeIcon:u}),type:"service",maxWidth:y(o),renderInColumn:2}),style:m({border:"2px solid ".concat(i),width:y(o)},b),position:d},N=r.map((function(e){return g({id:"ecp-".concat(e.name.replace(/ /g,"_")),source:A,target:"pub-".concat(e.name.replace(/ /g,"_")),isAnimated:l,label:c?"publishes":""})})),O=a.map((function(e){return g({id:"esc-".concat(e.name.replace(/ /g,"_")),target:A,source:"sub-".concat(e.name.replace(/ /g,"_")),isAnimated:l,label:c?"subscribed by":""})})),k=p(S).concat([_],p(C),p(N),p(O));return k},A=n(46506),C=n.n(A);function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var N=150;function O(e,t){var n=new(C().graphlib.Graph);n.setDefaultEdgeLabel((function(){return{}})),n.setGraph({rankdir:"LR",ranksep:96,nodesep:32}),e.forEach((function(e){if((0,i.UG)(e)){var t,r,a,o,l=(null===(t=e.__rf)||void 0===t?void 0:t.width)?null===(r=e.__rf)||void 0===r?void 0:r.width:null===(a=e.data)||void 0===a?void 0:a.width;n.setNode(e.id,{width:l||N,height:(null===(o=e.__rf)||void 0===o?void 0:o.height)||36})}else n.setEdge(e.source,e.target)})),C().layout(n);var r=e.filter((function(e){return e.data})),a=e.filter((function(e){return!e.data}));return _(r.sort((function(e,t){return e.data.renderInColumn>t.data.renderInColumn?1:t.data.renderInColumn>e.data.renderInColumn?-1:0}))).concat(_(a)).map((function(r){if((0,i.UG)(r)){var a,o=n.node(r.id);r.targetPosition=t?i.Ly.Left:i.Ly.Top,r.sourcePosition=t?i.Ly.Right:i.Ly.Bottom;var l=r.data.renderInColumn>1?75:0,c=null===r||void 0===r||null===(a=r.data)||void 0===a?void 0:a.renderInColumn,u=function(e,t){var n=e.filter((function(e){var n;return(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.renderInColumn)===t}));if(0===n.length)return{};if(1===n.length)return n[0];var r=n.reduce((function(e,t){var n,r,a,o=(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.maxWidth)||(null===e||void 0===e||null===(r=e.data)||void 0===r?void 0:r.width)||N;return((null===t||void 0===t||null===(a=t.data)||void 0===a?void 0:a.maxWidth)||(null===t||void 0===t?void 0:t.data.width)||N)>o?t:e}),n[0]);return r}(e,c-1),d=Object.keys(u).length>0?function(e){var t,n=(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.maxWidth)||e.width||N;return e.position.x+n}(u):0;r.position={x:d+l,y:o.y-o.height/2},r.style.width&&r.style.width<=N&&(r.style.width=void 0)}return r}))}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e){var t=e.data,n=e.source,o=e.rootNodeColor,l=e.maxZoom,c=void 0===l?10:l,u=e.isAnimated,d=void 0===u||u,s=e.fitView,f=void 0===s||s,m=e.zoomOnScroll,p=void 0!==m&&m,b=e.isDraggable,v=void 0!==b&&b,h=e.isHorizontal,y=void 0===h||h,g=e.includeBackground,x=void 0!==g&&g,w=e.includeEdgeLabels,A=void 0!==w&&w,C=e.includeNodeIcons,S=e.title,_=e.subtitle,N=(0,a.useCallback)((function(){if("domain"===n||"all"===n){var e=t,r=e.events.map((function(e){return I(e,o,d,!0,!0)})),a=e.services.map((function(e){return j(e,o,d,!0,!0)})),i=r.flat().concat(a.flat());return E(new Map(i.map((function(e){return[e.id,e]}))).values())}return"event"===n?I(t,o,d,A,C):j(t,o,d,A,C)}),[t,A,C,d,o,n]),k=(0,i.Hs)().fitView,W=(0,a.useState)([]),z=W[0],L=W[1];(0,a.useEffect)((function(){var e=O(N(),y);L(e),setTimeout((function(){k()}),1)}),[t,N,y,k]);var M=(0,a.useCallback)((function(e){f&&e.fitView()}),[f]);return(0,r.jsxs)(i.ZP,{elements:z,onLoad:M,onElementClick:function(e,t){return window.open(t.data.link,"_self")},nodesDraggable:v,zoomOnScroll:p,maxZoom:c,children:[S&&(0,r.jsxs)("div",{className:"absolute top-4 right-4 bg-white z-10 text-lg px-4 py-2 space-x-2",children:[(0,r.jsx)("span",{className:" font-bold",children:S}),_&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-gray-200",children:"|"}),(0,r.jsx)("span",{className:"font-light",children:_})]})]}),(0,r.jsx)(i.ZX,{className:"block absolute top-5 react-flow__controls-no-shadow"}),x&&(0,r.jsx)(i.Aq,{color:"#c1c1c1",gap:8})]})}var z=function(e){var t=e.data,n=e.source,a=e.rootNodeColor,l=e.maxHeight,c=e.maxZoom,u=e.fitView,d=e.zoomOnScroll,s=e.isAnimated,f=e.isDraggable,m=e.isHorizontal,p=e.includeBackground,b=e.renderWithBorder,v=void 0===b||b,h=e.title,y=e.subtitle,g=e.includeEdgeLabels,x=e.includeNodeIcons,w=l||function(e,t){var n=0;return"event"===t&&(n=68*Math.max(e.producerNames.length,e.consumerNames.length)),"service"===t&&(n=68*Math.max(e.publishes.length,e.subscribes.length)),Math.max(300,n)}(t,n);return(0,r.jsxs)("div",{className:"node-graph w-full h-screen ".concat(v?"border-dashed border-2 border-slate-300":""),style:{height:w},children:[(0,r.jsx)(i.tV,{children:(0,r.jsx)(W,{source:n,data:t,rootNodeColor:a,maxZoom:c,fitView:u,includeBackground:p,zoomOnScroll:d,isAnimated:s,isDraggable:f,isHorizontal:m,includeEdgeLabels:g,includeNodeIcons:x,title:h,subtitle:y})}),(0,r.jsx)(o.default,{href:"/visualiser?type=".concat(n,"&name=").concat(t.name),children:(0,r.jsx)("a",{className:"block text-right underline text-xs mt-4",children:"Open in Visualiser \u2192"})})]})}},46892:function(e,t,n){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}})}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(52322),a=t(2784),i=t(14689),s=t(70314),o=(0,s.default)().publicRuntimeConfig,c=(void 0===o?{}:o).basePath,l=void 0===c?"":c,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},u=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},m=function(e,n,t,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(t.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(t.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};i.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var f=function(e){var n=e.data,t=e.source,s=void 0===t?"event":t,o=e.rootNodeColor,c=e.charts;if((0,a.useEffect)((function(){i.Z.contentLoaded()}),[]),c)return(0,r.jsx)(r.Fragment,{children:c.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===s?function(e){var n=e.name,t=e.producerNames,r=e.consumerNames,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",i=t.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:u(e,"services")}})),s=r.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,i,s,a)}(n,o):function(e){var n=e.publishes,t=e.subscribes,r=e.name,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",i=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),s=n.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),o={id:d(r.replace(/ /g,"_")),name:r,link:u(r,"services")};return m(o,i,s,a)}(n,o);return(0,r.jsx)("div",{className:"mermaid",children:l})}},81178:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return U},default:function(){return B},getComponents:function(){return z}});var r=t(52322),a=t(97729),i=t(23816),s=t(61790),o=t(2784),c=t(63548),l=t(86562),d=t(85411),u=t(17962);function m(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){m(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var h=function(e){var n=e.language,t=e.name,a=void 0===t?"":t,i=x(e,["language","name"]),s=(0,o.useState)(!1),m=s[0],h=s[1],p=function(){(0,d.Z)(i.children),h(!0),setTimeout((function(){return h(!1)}),2e3)};return(0,r.jsxs)("div",{className:"h-96 relative",children:[a&&(0,r.jsxs)("div",{className:"flex -mb-3 pb-2 bg-gray-900 ".concat(a?"justify-between":"justify-end"),children:[a&&(0,r.jsx)("span",{className:"block text-xs py-2 px-2 font-bold text-gray-300",children:a}),(0,r.jsx)("button",{type:"button",onClick:p,className:"text-xs text-white rounded-md px-4",children:m?"Copied":(0,r.jsx)(u.dqY,{className:"h-4 w-4"})})]}),!a&&(0,r.jsx)("button",{type:"button",onClick:p,className:"text-xs absolute right-0 top-2 text-white rounded-md px-4",children:m?"Copied":(0,r.jsx)(u.dqY,{className:"h-4 w-4"})}),(0,r.jsx)(l.Z,f({style:c.Z,language:n},i,{wrapLines:!0,className:"h-96 overflow-auto",children:i.children.replace(/\\n/g,"\n")}))]})};function p(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var g=function(e){var n=e.title,t=void 0===n?"Examples":n,a=e.description,i=e.examples,s=void 0===i?[]:i,c=e.showLineNumbers,l=s.map((function(e,n){return{name:e.name||"Example ".concat(n+1),content:e.snippet,description:e.description,langugage:e.langugage}})),d=(0,o.useState)(l[0]),u=d[0],m=d[1];return(0,r.jsx)("div",{className:"my-5 examples",children:(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-700 underline",children:t}),a&&(0,r.jsx)("p",{className:"text-md font-medium text-gray-700",children:a}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"col-span-5",children:[(0,r.jsx)("nav",{className:"-mb-2 flex bg-gray-900","aria-label":"Tabs",children:l.map((function(e){var n=e.name===u.name;return(0,r.jsx)("button",{type:"button",onClick:function(){return function(e){m(e)}(e)},className:p(n?"border-yellow-300 text-yellow-300 selected bg-gray-700":"border-transparent text-gray-500 hover:text-gray-400 bg-gray-800 ","whitespace-nowrap py-3 border-b-2 font-medium important:no-underline px-6 text-xs transition "),"aria-current":n?"page":void 0,children:e.name},e.name)}))}),(0,r.jsx)("div",{children:(0,r.jsx)(h,{language:u.langugage,showLineNumbers:c,children:u.content})})]})})]})})},v=t(46892),b=t(62455),j=t(4573),y=t(39097),w=t(70314),N=t(55746),O=t(43553),k=t(17933);function S(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function E(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return S(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var C=function(e,n){var t=E(n.consumers).concat(E(n.producers)).find((function(n){return n.name===e}));return t?"/domains/".concat(t.domain,"/services/").concat(e):"/services/".concat(e)},Z=function(e){return e.domain?"/domains/".concat(e.domain,"/events/").concat(e.name,"/logs"):"/events/".concat(e.name,"/logs")};var _=function(e){var n=e.event,t=e.loadedVersion,a=e.isOldVersion,i=e.urlPath,s=n.name,o=n.owners,c=n.producerNames,l=n.consumerNames,d=n.historicVersions,m=n.externalLinks,f=n.schema,x=n.domain,h=(0,w.default)().publicRuntimeConfig,p=(void 0===h?{}:h).basePath,g=void 0===p?"":p;return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8 divide-y divide-gray-200",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),c.length>0&&(0,r.jsx)(k.Z,{title:"Producers (".concat(c.length,")"),titleIcon:{icon:u.FMB,className:"text-green-400"},items:c.map((function(e){return{label:e,href:C(e,n),bgColor:"green"}}))}),l.length>0&&(0,r.jsx)(k.Z,{title:"Consumers (".concat(l.length,")"),titleIcon:{icon:u.FMB,className:"text-indigo-400"},items:l.map((function(e){return{label:e,href:C(e,n),bgColor:"indigo"}}))}),x&&(0,r.jsx)("div",{className:"py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(u.wZP,{className:"h-5 w-5 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),"Domain"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(y.default,{href:"/domains/".concat(x),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-yellow-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:x})]})})})})]})}),d.length>0&&(0,r.jsx)("div",{className:" py-6",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Versions"}),(0,r.jsxs)("ul",{className:"mt-2 leading-8 text-left text-blue-500",children:[(0,r.jsx)("li",{className:"text-sm inline ",children:(0,r.jsx)(y.default,{href:i,children:(0,r.jsx)("a",{children:(0,r.jsx)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat("latest"===t?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800"),children:"Latest"})})})}),d.map((function(e){var n=t===e?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800";return(0,r.jsx)("li",{className:"text-sm inline",children:(0,r.jsx)(y.default,{href:"".concat(i,"/v/").concat(e),children:(0,r.jsx)("a",{children:(0,r.jsxs)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat(n),children:["v",e]})})})},e)}))]})]})}),o.length>0&&(0,r.jsx)(O.Z,{owners:o}),(0,r.jsxs)("div",{className:" py-6 space-y-1",children:[f&&(0,r.jsxs)("a",{href:f?a?"".concat(g,"/schemas/").concat(s,"/").concat(t,"/schema.").concat(f.extension):"".concat(g,"/schemas/").concat(s,"/schema.").concat(f.extension):null,download:"".concat(s,"(").concat(n.version,").").concat(f.extension),className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",children:[(0,r.jsx)(u._8t,{className:"-ml-1 mr-2 h-5 w-5 text-gray-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Download Schema"})]}),d.length>0&&(0,r.jsx)(y.default,{href:Z(n),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View Changes"})})}),(0,r.jsx)(y.default,{href:"/visualiser?type=event&name".concat(s),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View in Visualiser"})})}),m.length>0&&(0,r.jsx)(N.Z,{externalLinks:m})]})]})},P=t(4488),V=t(52428),D=t(57840),L=t(69931),A=t(81669),R=t.n(A);(0,L.fH)();var I=function(e){var n=e.schema,t=e.maxHeight,a=e.renderRootTreeLines,i=void 0!==a&&a,s=e.hideExamples,c=void 0!==s&&s,l=e.defaultExpandedDepth,d=void 0===l?1:l,u=(0,o.useMemo)((function(){return JSON.parse(n)}),[n]);return(0,r.jsx)(D.K,{schema:u,emptyText:"No schema defined",maxHeight:t,defaultExpandedDepth:d,renderRootTreeLines:i,hideExamples:c,className:R().schemaViewer})},M=t(55008),T=t(78484);function F(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function H(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){F(e,n,t[n])}))}return e}function G(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var U=!0,z=function(e){var n=e.event,t=e.schema,a=e.examples;return{code:function(e){var n=e.className,t=G(e,["className"]),a=/language-(\w+)/.exec(n||"");return a?(0,r.jsx)(h,H({language:a[1]},t)):(0,r.jsx)("code",H({className:n},t))},Schema:function(e){var a=e.title;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[a&&(0,r.jsx)("h2",{id:"activity-title",className:"text-lg font-medium text-gray-900 underline",children:a}),(0,r.jsx)(h,{language:t.language,showLineNumbers:!1,name:"".concat(n.name," Schema (").concat(t.language,")"),children:t.snippet})]}):null},SchemaViewer:function(e){var n=e.title,a=e.renderRootTreeLines,i=void 0!==a&&a,s=e.defaultExpandedDepth,o=void 0===s?1:s,c=e.maxHeight;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[n&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:n}),(0,r.jsx)(I,{schema:t.snippet,maxHeight:parseInt(c,10),renderRootTreeLines:i,defaultExpandedDepth:o})]}):null},Admonition:s.Z,EventExamples:function(e){return a.length>0?(0,r.jsx)(g,H({},e,{examples:a,showLineNumbers:!0})):(console.log("You are using the <EventExamples /> component without any examples, please read https://eventcatalog.dev/docs/events/adding-examples for more information"),null)},Mermaid:function(e){var t=e.title,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(j.Z,{source:"event",data:n,rootNodeColor:(0,v.Z)(n.name),charts:a})]})},NodeGraph:function(e){var t=e.title,a=e.maxHeight,i=e.maxZoom,s=e.fitView,o=e.zoomOnScroll,c=e.isAnimated,l=e.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(T.Z,{source:"event",data:n,rootNodeColor:(0,v.Z)(n.name),maxHeight:a,maxZoom:i,fitView:s,zoomOnScroll:o,isAnimated:c,isDraggable:l})]})}}};function B(e){var n=e.event,t=e.markdown,s=e.loadedVersion,o=e.notFound,c=e.breadCrumbs,l=e.eventPath,d=(0,M.ZR)().title,u=(0,M.wG)(),m=u.getEditUrl,f=u.hasEditUrl,x=n.name,h=n.summary,p=n.draft,g=n.schema,v=n.examples,j=n.version;if(o)return(0,r.jsx)(P.Z,{type:"event",name:n.name,editUrl:f?m("/events/".concat(x,"/index.md")):""});var y=t.lastModifiedDate,w=z({event:n,schema:g,examples:v});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[d," - ",x," v",j]})}),(0,r.jsx)(b.Z,{title:x,editUrl:f?m("".concat(l,"/index.md")):"",subtitle:h,draft:p,lastModifiedDate:y,tags:[{label:"v".concat(j)}],breadCrumbs:(0,r.jsx)(V.Z,{pages:c}),isOldVersion:"latest"!==s,latestVersionUrl:l,version:s,sidebar:(0,r.jsx)(_,{event:n,urlPath:l,loadedVersion:s,isOldVersion:"latest"!==s}),children:(0,r.jsx)(i.R,H({},t.source,{components:w}))})]})}},81669:function(e){e.exports={schemaViewer:"SchemaViewer_schemaViewer__un45l"}}}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(52322),a=t(2784),i=t(14689),s=t(70314),o=(0,s.default)().publicRuntimeConfig,c=(void 0===o?{}:o).basePath,l=void 0===c?"":c,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},u=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},m=function(e,n,t,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(t.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(t.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};i.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var f=function(e){var n=e.data,t=e.source,s=void 0===t?"event":t,o=e.rootNodeColor,c=e.charts;if((0,a.useEffect)((function(){i.Z.contentLoaded()}),[]),c)return(0,r.jsx)(r.Fragment,{children:c.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===s?function(e){var n=e.name,t=e.producerNames,r=e.consumerNames,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",i=t.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:u(e,"services")}})),s=r.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,i,s,a)}(n,o):function(e){var n=e.publishes,t=e.subscribes,r=e.name,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",i=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),s=n.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),o={id:d(r.replace(/ /g,"_")),name:r,link:u(r,"services")};return m(o,i,s,a)}(n,o);return(0,r.jsx)("div",{className:"mermaid",children:l})}},81178:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return U},default:function(){return B},getComponents:function(){return z}});var r=t(52322),a=t(97729),i=t(23816),s=t(61790),o=t(2784),c=t(63548),l=t(73183),d=t(85411),u=t(17962);function m(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){m(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var h=function(e){var n=e.language,t=e.name,a=void 0===t?"":t,i=x(e,["language","name"]),s=(0,o.useState)(!1),m=s[0],h=s[1],p=function(){(0,d.Z)(i.children),h(!0),setTimeout((function(){return h(!1)}),2e3)};return(0,r.jsxs)("div",{className:"h-96 relative",children:[a&&(0,r.jsxs)("div",{className:"flex -mb-3 pb-2 bg-gray-900 ".concat(a?"justify-between":"justify-end"),children:[a&&(0,r.jsx)("span",{className:"block text-xs py-2 px-2 font-bold text-gray-300",children:a}),(0,r.jsx)("button",{type:"button",onClick:p,className:"text-xs text-white rounded-md px-4",children:m?"Copied":(0,r.jsx)(u.dqY,{className:"h-4 w-4"})})]}),!a&&(0,r.jsx)("button",{type:"button",onClick:p,className:"text-xs absolute right-0 top-2 text-white rounded-md px-4",children:m?"Copied":(0,r.jsx)(u.dqY,{className:"h-4 w-4"})}),(0,r.jsx)(l.Z,f({style:c.Z,language:n},i,{wrapLines:!0,className:"h-96 overflow-auto",children:i.children.replace(/\\n/g,"\n")}))]})};function p(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var g=function(e){var n=e.title,t=void 0===n?"Examples":n,a=e.description,i=e.examples,s=void 0===i?[]:i,c=e.showLineNumbers,l=s.map((function(e,n){return{name:e.name||"Example ".concat(n+1),content:e.snippet,description:e.description,langugage:e.langugage}})),d=(0,o.useState)(l[0]),u=d[0],m=d[1];return(0,r.jsx)("div",{className:"my-5 examples",children:(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-700 underline",children:t}),a&&(0,r.jsx)("p",{className:"text-md font-medium text-gray-700",children:a}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"col-span-5",children:[(0,r.jsx)("nav",{className:"-mb-2 flex bg-gray-900","aria-label":"Tabs",children:l.map((function(e){var n=e.name===u.name;return(0,r.jsx)("button",{type:"button",onClick:function(){return function(e){m(e)}(e)},className:p(n?"border-yellow-300 text-yellow-300 selected bg-gray-700":"border-transparent text-gray-500 hover:text-gray-400 bg-gray-800 ","whitespace-nowrap py-3 border-b-2 font-medium important:no-underline px-6 text-xs transition "),"aria-current":n?"page":void 0,children:e.name},e.name)}))}),(0,r.jsx)("div",{children:(0,r.jsx)(h,{language:u.langugage,showLineNumbers:c,children:u.content})})]})})]})})},v=t(46892),b=t(62455),j=t(4573),y=t(39097),w=t(70314),N=t(55746),O=t(43553),k=t(17933);function S(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function E(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return S(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var C=function(e,n){var t=E(n.consumers).concat(E(n.producers)).find((function(n){return n.name===e}));return t?"/domains/".concat(t.domain,"/services/").concat(e):"/services/".concat(e)},Z=function(e){return e.domain?"/domains/".concat(e.domain,"/events/").concat(e.name,"/logs"):"/events/".concat(e.name,"/logs")};var _=function(e){var n=e.event,t=e.loadedVersion,a=e.isOldVersion,i=e.urlPath,s=n.name,o=n.owners,c=n.producerNames,l=n.consumerNames,d=n.historicVersions,m=n.externalLinks,f=n.schema,x=n.domain,h=(0,w.default)().publicRuntimeConfig,p=(void 0===h?{}:h).basePath,g=void 0===p?"":p;return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8 divide-y divide-gray-200",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),c.length>0&&(0,r.jsx)(k.Z,{title:"Producers (".concat(c.length,")"),titleIcon:{icon:u.FMB,className:"text-green-400"},items:c.map((function(e){return{label:e,href:C(e,n),bgColor:"green"}}))}),l.length>0&&(0,r.jsx)(k.Z,{title:"Consumers (".concat(l.length,")"),titleIcon:{icon:u.FMB,className:"text-indigo-400"},items:l.map((function(e){return{label:e,href:C(e,n),bgColor:"indigo"}}))}),x&&(0,r.jsx)("div",{className:"py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(u.wZP,{className:"h-5 w-5 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),"Domain"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(y.default,{href:"/domains/".concat(x),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-yellow-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:x})]})})})})]})}),d.length>0&&(0,r.jsx)("div",{className:" py-6",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Versions"}),(0,r.jsxs)("ul",{className:"mt-2 leading-8 text-left text-blue-500",children:[(0,r.jsx)("li",{className:"text-sm inline ",children:(0,r.jsx)(y.default,{href:i,children:(0,r.jsx)("a",{children:(0,r.jsx)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat("latest"===t?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800"),children:"Latest"})})})}),d.map((function(e){var n=t===e?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800";return(0,r.jsx)("li",{className:"text-sm inline",children:(0,r.jsx)(y.default,{href:"".concat(i,"/v/").concat(e),children:(0,r.jsx)("a",{children:(0,r.jsxs)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat(n),children:["v",e]})})})},e)}))]})]})}),o.length>0&&(0,r.jsx)(O.Z,{owners:o}),(0,r.jsxs)("div",{className:" py-6 space-y-1",children:[f&&(0,r.jsxs)("a",{href:f?a?"".concat(g,"/schemas/").concat(s,"/").concat(t,"/schema.").concat(f.extension):"".concat(g,"/schemas/").concat(s,"/schema.").concat(f.extension):null,download:"".concat(s,"(").concat(n.version,").").concat(f.extension),className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",children:[(0,r.jsx)(u._8t,{className:"-ml-1 mr-2 h-5 w-5 text-gray-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Download Schema"})]}),d.length>0&&(0,r.jsx)(y.default,{href:Z(n),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View Changes"})})}),(0,r.jsx)(y.default,{href:"/visualiser?type=event&name".concat(s),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View in Visualiser"})})}),m.length>0&&(0,r.jsx)(N.Z,{externalLinks:m})]})]})},P=t(4488),V=t(52428),D=t(57840),L=t(69931),A=t(81669),R=t.n(A);(0,L.fH)();var I=function(e){var n=e.schema,t=e.maxHeight,a=e.renderRootTreeLines,i=void 0!==a&&a,s=e.hideExamples,c=void 0!==s&&s,l=e.defaultExpandedDepth,d=void 0===l?1:l,u=(0,o.useMemo)((function(){return JSON.parse(n)}),[n]);return(0,r.jsx)(D.K,{schema:u,emptyText:"No schema defined",maxHeight:t,defaultExpandedDepth:d,renderRootTreeLines:i,hideExamples:c,className:R().schemaViewer})},M=t(55008),T=t(78484);function F(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function H(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){F(e,n,t[n])}))}return e}function G(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var U=!0,z=function(e){var n=e.event,t=e.schema,a=e.examples;return{code:function(e){var n=e.className,t=G(e,["className"]),a=/language-(\w+)/.exec(n||"");return a?(0,r.jsx)(h,H({language:a[1]},t)):(0,r.jsx)("code",H({className:n},t))},Schema:function(e){var a=e.title;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[a&&(0,r.jsx)("h2",{id:"activity-title",className:"text-lg font-medium text-gray-900 underline",children:a}),(0,r.jsx)(h,{language:t.language,showLineNumbers:!1,name:"".concat(n.name," Schema (").concat(t.language,")"),children:t.snippet})]}):null},SchemaViewer:function(e){var n=e.title,a=e.renderRootTreeLines,i=void 0!==a&&a,s=e.defaultExpandedDepth,o=void 0===s?1:s,c=e.maxHeight;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[n&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:n}),(0,r.jsx)(I,{schema:t.snippet,maxHeight:parseInt(c,10),renderRootTreeLines:i,defaultExpandedDepth:o})]}):null},Admonition:s.Z,EventExamples:function(e){return a.length>0?(0,r.jsx)(g,H({},e,{examples:a,showLineNumbers:!0})):(console.log("You are using the <EventExamples /> component without any examples, please read https://eventcatalog.dev/docs/events/adding-examples for more information"),null)},Mermaid:function(e){var t=e.title,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(j.Z,{source:"event",data:n,rootNodeColor:(0,v.Z)(n.name),charts:a})]})},NodeGraph:function(e){var t=e.title,a=e.maxHeight,i=e.maxZoom,s=e.fitView,o=e.zoomOnScroll,c=e.isAnimated,l=e.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(T.Z,{source:"event",data:n,rootNodeColor:(0,v.Z)(n.name),maxHeight:a,maxZoom:i,fitView:s,zoomOnScroll:o,isAnimated:c,isDraggable:l})]})}}};function B(e){var n=e.event,t=e.markdown,s=e.loadedVersion,o=e.notFound,c=e.breadCrumbs,l=e.eventPath,d=(0,M.ZR)().title,u=(0,M.wG)(),m=u.getEditUrl,f=u.hasEditUrl,x=n.name,h=n.summary,p=n.draft,g=n.schema,v=n.examples,j=n.version;if(o)return(0,r.jsx)(P.Z,{type:"event",name:n.name,editUrl:f?m("/events/".concat(x,"/index.md")):""});var y=t.lastModifiedDate,w=z({event:n,schema:g,examples:v});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[d," - ",x," v",j]})}),(0,r.jsx)(b.Z,{title:x,editUrl:f?m("".concat(l,"/index.md")):"",subtitle:h,draft:p,lastModifiedDate:y,tags:[{label:"v".concat(j)}],breadCrumbs:(0,r.jsx)(V.Z,{pages:c}),isOldVersion:"latest"!==s,latestVersionUrl:l,version:s,sidebar:(0,r.jsx)(_,{event:n,urlPath:l,loadedVersion:s,isOldVersion:"latest"!==s}),children:(0,r.jsx)(i.R,H({},t.source,{components:w}))})]})}},81669:function(e){e.exports={schemaViewer:"SchemaViewer_schemaViewer__un45l"}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[223],{4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var r=t(52322),a=t(2784),s=t(14689),i=t(70314),c=(0,i.default)().publicRuntimeConfig,l=(void 0===c?{}:c).basePath,o=void 0===l?"":l,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n){return""!==o?"".concat(o,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},u=function(e,n,t,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(t.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(t.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};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,t=e.source,i=void 0===t?"event":t,c=e.rootNodeColor,l=e.charts;if((0,a.useEffect)((function(){s.Z.contentLoaded()}),[]),l)return(0,r.jsx)(r.Fragment,{children:l.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var o="event"===i?function(e){var n=e.name,t=e.producerNames,r=e.consumerNames,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",s=t.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),i=r.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),c={id:d(n.replace(/ /g,"_")),name:n,link:m(n,"events")};return u(c,s,i,a)}(n,c):function(e){var n=e.publishes,t=e.subscribes,r=e.name,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",s=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),i=n.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),c={id:d(r.replace(/ /g,"_")),name:r,link:m(r,"services")};return u(c,s,i,a)}(n,c);return(0,r.jsx)("div",{className:"mermaid",children:o})}},28778:function(e,n,t){"use strict";var r=t(52322),a=(t(2784),t(17962)),s=["purple","pink","green","yellow","blue","indigo"];n.Z=function(e){var n=e.tags;return(0,r.jsx)("div",{className:" py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(a.lO_,{className:"h-5 w-5 text-gray-400 inline-block mr-2","aria-hidden":"true"}),"Tags"]}),(0,r.jsx)("div",{className:"mt-3 space-y-2",children:n.map((function(e,n){var t=e.label,a=e.url,i=s[n%s.length];return a?(0,r.jsx)("a",{href:a,className:"inline-block underline",target:"_blank",rel:"noreferrer",children:(0,r.jsx)("span",{className:"underline inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(i,"-100 text-").concat(i,"-800"),children:t})}):(0,r.jsx)("span",{className:"inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(i,"-100 text-").concat(i,"-800"),children:t})}))})]})})}},32963:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return O},default:function(){return C}});var r=t(52322),a=t(97729),s=t(23816),i=t(62455),c=t(78344);t(60272);function l(e){var n=e.spec,t=e.showTitle,a=void 0===t||t,s=a?"":"swagger-hide-title";return(0,r.jsxs)("div",{className:"my-4 border border-gray-300 border-dashed px-5 eventcatalog-swagger ".concat(s),children:[!a&&(0,r.jsx)("span",{className:"text-2xl block mt-10 font-bold -mb-8",children:"OpenAPI Specification"}),(0,r.jsx)(c.Z,{spec:n,tryItOutEnabled:!1})]})}var o=t(61790),d=t(4573),m=(t(2784),t(39097)),u=t(17962),x=t(46892),f=t(55746),h=t(28778),p=t(43553),g=t(17933),v=function(e){return e.domain?"/domains/".concat(e.domain,"/events/").concat(e.name):"/events/".concat(e.name)};var j=function(e){var n=e.service,t=n.owners,a=n.subscribes,s=n.publishes,i=n.repository,c=n.tags,l=void 0===c?[]:c,o=n.externalLinks,d=n.domain,j=i.language,b=i.url,y=[];j&&(y=Array.isArray(j)?j:[j]);var N="";return b&&(N=b.replace(/(^\w+:|^)\/\//,"")),(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8 ",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),s.length>0&&(0,r.jsx)(g.Z,{title:"Publishes Events (".concat(s.length,")"),titleIcon:{icon:u.FMB,className:"text-indigo-400"},items:s.map((function(e){return{label:e.name,href:v(e),bgColor:"indigo"}}))}),a.length>0&&(0,r.jsx)(g.Z,{title:"Subscribes to Events (".concat(a.length,")"),titleIcon:{icon:u.FMB,className:"text-green-400"},items:a.map((function(e){return{label:e.name,href:v(e),bgColor:"green"}}))}),d&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(u.wZP,{className:"h-5 w-5 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),"Domain"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(m.default,{href:"/domains/".concat(d),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-yellow-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:d})]})})},d)})]})}),t.length>0&&(0,r.jsx)(p.Z,{owners:t}),(null===i||void 0===i?void 0:i.url)&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Repository"}),(0,r.jsx)("ul",{className:" leading-8 space-y-2",children:(0,r.jsx)("li",{className:"flex justify-start",children:(0,r.jsx)("a",{href:null===i||void 0===i?void 0:i.url,target:"_blank",className:"flex items-center space-x-3 text-blue-600 underline text-sm",rel:"noreferrer",children:N})})})]})}),y.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Language"}),y.map((function(e){return(0,r.jsxs)("div",{className:"relative flex items-center mt-2",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-2 w-2 rounded-full","aria-hidden":"true",style:{background:(0,x.Z)(e)}})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]},e)}))]})}),(0,r.jsx)(m.default,{href:"/visualiser?type=service&name=".concat(n.name),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View in Visualiser"})})}),o.length>0&&(0,r.jsx)(f.Z,{externalLinks:o}),l.length>0&&(0,r.jsx)(h.Z,{tags:l})]})},b=t(52428),y=t(4488),N=t(55008),k=t(78484);function w(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){w(e,n,t[n])}))}return e}function _(e){var n=e.title,t=e.service,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[n&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:n}),(0,r.jsx)(d.Z,{source:"service",data:t,rootNodeColor:(0,x.Z)(t.name),charts:a})]})}var O=!0;function C(e){var n=e.service,t=e.markdown,c=e.notFound,d=e.breadCrumbs,m=(0,N.ZR)().title,u=(0,N.wG)(),f=u.getEditUrl,h=u.hasEditUrl;if(c)return(0,r.jsx)(y.Z,{type:"service",name:n.name,editUrl:h?f("/services/".concat(n.name,"/index.md")):""});var p=n.name,g=n.summary,v=n.draft,w=t.lastModifiedDate,O=function(e){return{Admonition:o.Z,OpenAPI:function(){return e.openAPISpec?(0,r.jsx)(l,{spec:e.openAPISpec}):null},Mermaid:function(n){var t=n.title,a=n.charts;return(0,r.jsx)(_,{service:e,title:t,charts:a})},NodeGraph:function(n){var t=n.title,a=n.maxHeight,s=n.maxZoom,i=n.fitView,c=n.zoomOnScroll,l=n.isAnimated,o=n.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(k.Z,{source:"service",data:e,rootNodeColor:(0,x.Z)(e.name),maxHeight:a,maxZoom:s,fitView:i,zoomOnScroll:c,isAnimated:l,isDraggable:o})]})}}}(n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[m," - ",p]})}),(0,r.jsx)(i.Z,{title:p,editUrl:h?f("/services/".concat(p,"/index.md")):"",subtitle:g,draft:v,lastModifiedDate:w,breadCrumbs:(0,r.jsx)(b.Z,{pages:d,homePath:"/services"}),sidebar:(0,r.jsx)(j,{service:n}),children:(0,r.jsx)(s.R,Z({},t.source,{components:O}))})]})}},53260:function(){}}]);