@eventcatalog/core 1.2.5 → 1.2.6

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 (166) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +5 -5
  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/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/server-production/0.pack +0 -0
  9. package/.next/cache/webpack/server-production/index.pack +0 -0
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/routes-manifest.json +1 -1
  12. package/.next/server/pages/404.html +2 -2
  13. package/.next/server/pages/500.html +2 -2
  14. package/.next/server/pages/domains/Orders/events/OrderComplete/logs.html +1 -1
  15. package/.next/server/pages/domains/Orders/events/OrderComplete.html +2 -2
  16. package/.next/server/pages/domains/Orders/events/OrderComplete.json +1 -1
  17. package/.next/server/pages/domains/Orders/events/OrderConfirmed/logs.html +1 -1
  18. package/.next/server/pages/domains/Orders/events/OrderConfirmed.html +2 -2
  19. package/.next/server/pages/domains/Orders/events/OrderConfirmed.json +1 -1
  20. package/.next/server/pages/domains/Orders/events/OrderCreated/logs.html +1 -1
  21. package/.next/server/pages/domains/Orders/events/OrderCreated.html +2 -2
  22. package/.next/server/pages/domains/Orders/events/OrderCreated.json +1 -1
  23. package/.next/server/pages/domains/Orders/events/OrderRequested/logs.html +1 -1
  24. package/.next/server/pages/domains/Orders/events/OrderRequested.html +2 -2
  25. package/.next/server/pages/domains/Orders/events/OrderRequested.json +1 -1
  26. package/.next/server/pages/domains/Orders/services/Orders Service.html +2 -2
  27. package/.next/server/pages/domains/Orders/services/Orders Service.json +1 -1
  28. package/.next/server/pages/domains/Orders.html +2 -2
  29. package/.next/server/pages/domains/Orders.json +1 -1
  30. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/logs.html +1 -1
  31. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.html +2 -2
  32. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -1
  33. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.html +2 -2
  34. package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -1
  35. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.html +2 -2
  36. package/.next/server/pages/domains/Shopping/events/AddedItemToCart.json +1 -1
  37. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart/logs.html +1 -1
  38. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.html +2 -2
  39. package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.json +1 -1
  40. package/.next/server/pages/domains/Shopping.html +2 -2
  41. package/.next/server/pages/domains/Shopping.json +1 -1
  42. package/.next/server/pages/domains.html +2 -2
  43. package/.next/server/pages/domains.js +23 -1
  44. package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
  45. package/.next/server/pages/events/PaymentProcessed.html +2 -2
  46. package/.next/server/pages/events/PaymentProcessed.json +1 -1
  47. package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
  48. package/.next/server/pages/events/ShipmentDelivered.html +2 -2
  49. package/.next/server/pages/events/ShipmentDelivered.json +1 -1
  50. package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
  51. package/.next/server/pages/events/ShipmentDispatched.html +2 -2
  52. package/.next/server/pages/events/ShipmentDispatched.json +1 -1
  53. package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
  54. package/.next/server/pages/events/ShipmentPrepared.html +2 -2
  55. package/.next/server/pages/events/ShipmentPrepared.json +1 -1
  56. package/.next/server/pages/events.html +2 -2
  57. package/.next/server/pages/events.js +23 -1
  58. package/.next/server/pages/index.html +1 -1
  59. package/.next/server/pages/overview.html +1 -1
  60. package/.next/server/pages/services/Orders Service.html +1 -1
  61. package/.next/server/pages/services/Payment Service.html +2 -2
  62. package/.next/server/pages/services/Payment Service.json +1 -1
  63. package/.next/server/pages/services/Shipping Service.html +2 -2
  64. package/.next/server/pages/services/Shipping Service.json +1 -1
  65. package/.next/server/pages/services.html +2 -2
  66. package/.next/server/pages/services.js +23 -1
  67. package/.next/server/pages/users/dboyne.html +2 -2
  68. package/.next/server/pages/users/mSmith.html +2 -2
  69. package/.next/server/pages/users.html +1 -1
  70. package/.next/server/pages/visualiser.html +2 -2
  71. package/.next/static/chunks/pages/domains-71179cbdb719a0f8.js +1 -0
  72. package/.next/static/chunks/pages/events-05ca59359ab07aa2.js +1 -0
  73. package/.next/static/chunks/pages/services-2c63507ae596def3.js +1 -0
  74. package/{out/_next/static/iIifsuP3Zi8zL1k9xuH-x → .next/static/rP51t_ISuRqZMVs4QvwfY}/_buildManifest.js +1 -1
  75. package/.next/trace +141 -141
  76. package/CHANGELOG.md +6 -0
  77. package/out/404/index.html +2 -2
  78. package/out/404.html +2 -2
  79. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderComplete.json +1 -1
  80. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderConfirmed.json +1 -1
  81. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderCreated.json +1 -1
  82. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderRequested.json +1 -1
  83. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/services/Orders Service.json +1 -1
  84. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders.json +1 -1
  85. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -1
  86. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -1
  87. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping/events/AddedItemToCart.json +1 -1
  88. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping/events/RemovedItemFromCart.json +1 -1
  89. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping.json +1 -1
  90. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/PaymentProcessed.json +1 -1
  91. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/ShipmentDelivered.json +1 -1
  92. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/ShipmentDispatched.json +1 -1
  93. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/ShipmentPrepared.json +1 -1
  94. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/services/Payment Service.json +1 -1
  95. package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/services/Shipping Service.json +1 -1
  96. package/out/_next/static/chunks/pages/domains-71179cbdb719a0f8.js +1 -0
  97. package/out/_next/static/chunks/pages/events-05ca59359ab07aa2.js +1 -0
  98. package/out/_next/static/chunks/pages/services-2c63507ae596def3.js +1 -0
  99. package/{.next/static/iIifsuP3Zi8zL1k9xuH-x → out/_next/static/rP51t_ISuRqZMVs4QvwfY}/_buildManifest.js +1 -1
  100. package/out/domains/Orders/events/OrderComplete/index.html +2 -2
  101. package/out/domains/Orders/events/OrderComplete/logs/index.html +1 -1
  102. package/out/domains/Orders/events/OrderConfirmed/index.html +2 -2
  103. package/out/domains/Orders/events/OrderConfirmed/logs/index.html +1 -1
  104. package/out/domains/Orders/events/OrderCreated/index.html +2 -2
  105. package/out/domains/Orders/events/OrderCreated/logs/index.html +1 -1
  106. package/out/domains/Orders/events/OrderRequested/index.html +2 -2
  107. package/out/domains/Orders/events/OrderRequested/logs/index.html +1 -1
  108. package/out/domains/Orders/index.html +2 -2
  109. package/out/domains/Orders/services/Orders Service/index.html +2 -2
  110. package/out/domains/Shopping/events/AddedItemToCart/index.html +2 -2
  111. package/out/domains/Shopping/events/AddedItemToCart/logs/index.html +1 -1
  112. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.1/index.html +2 -2
  113. package/out/domains/Shopping/events/AddedItemToCart/v/0.0.2/index.html +2 -2
  114. package/out/domains/Shopping/events/RemovedItemFromCart/index.html +2 -2
  115. package/out/domains/Shopping/events/RemovedItemFromCart/logs/index.html +1 -1
  116. package/out/domains/Shopping/index.html +2 -2
  117. package/out/domains/index.html +2 -2
  118. package/out/events/PaymentProcessed/index.html +2 -2
  119. package/out/events/PaymentProcessed/logs/index.html +1 -1
  120. package/out/events/ShipmentDelivered/index.html +2 -2
  121. package/out/events/ShipmentDelivered/logs/index.html +1 -1
  122. package/out/events/ShipmentDispatched/index.html +2 -2
  123. package/out/events/ShipmentDispatched/logs/index.html +1 -1
  124. package/out/events/ShipmentPrepared/index.html +2 -2
  125. package/out/events/ShipmentPrepared/logs/index.html +1 -1
  126. package/out/events/index.html +2 -2
  127. package/out/index.html +1 -1
  128. package/out/overview/index.html +1 -1
  129. package/out/services/Orders Service/index.html +1 -1
  130. package/out/services/Payment Service/index.html +2 -2
  131. package/out/services/Shipping Service/index.html +2 -2
  132. package/out/services/index.html +2 -2
  133. package/out/users/dboyne/index.html +2 -2
  134. package/out/users/index.html +1 -1
  135. package/out/users/mSmith/index.html +2 -2
  136. package/out/visualiser/index.html +2 -2
  137. package/package.json +1 -1
  138. package/pages/domains.tsx +14 -1
  139. package/pages/events.tsx +14 -1
  140. package/pages/services.tsx +14 -1
  141. package/.next/static/chunks/pages/domains-8277e2e465919172.js +0 -1
  142. package/.next/static/chunks/pages/events-533e7116aef3d642.js +0 -1
  143. package/.next/static/chunks/pages/services-27072edf4c6acc54.js +0 -1
  144. package/out/_next/static/chunks/pages/domains-8277e2e465919172.js +0 -1
  145. package/out/_next/static/chunks/pages/events-533e7116aef3d642.js +0 -1
  146. package/out/_next/static/chunks/pages/services-27072edf4c6acc54.js +0 -1
  147. /package/.next/static/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/_ssgManifest.js +0 -0
  148. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderComplete/logs.json +0 -0
  149. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderConfirmed/logs.json +0 -0
  150. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderCreated/logs.json +0 -0
  151. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Orders/events/OrderRequested/logs.json +0 -0
  152. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping/events/AddedItemToCart/logs.json +0 -0
  153. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains/Shopping/events/RemovedItemFromCart/logs.json +0 -0
  154. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/domains.json +0 -0
  155. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/PaymentProcessed/logs.json +0 -0
  156. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/ShipmentDelivered/logs.json +0 -0
  157. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/ShipmentDispatched/logs.json +0 -0
  158. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events/ShipmentPrepared/logs.json +0 -0
  159. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/events.json +0 -0
  160. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/overview.json +0 -0
  161. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/services/Orders Service.json +0 -0
  162. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/services.json +0 -0
  163. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/users/dboyne.json +0 -0
  164. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/users/mSmith.json +0 -0
  165. /package/out/_next/data/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/visualiser.json +0 -0
  166. /package/out/_next/static/{iIifsuP3Zi8zL1k9xuH-x → rP51t_ISuRqZMVs4QvwfY}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"pageProps":{"domain":{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"badges":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"}],"tags":[],"historicVersions":["0.0.2","0.0.1"],"producers":[{"name":"Basket Service"}],"consumers":[{"name":"Data Lake"}]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"badges":[],"tags":[],"historicVersions":[],"producers":[{"name":"Basket Service"}],"consumers":[{"name":"Data Lake"}]}],"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":"2024/2/17","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":[],"badges":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"}],"tags":[],"historicVersions":["0.0.2","0.0.1"],"producers":[{"name":"Basket Service"}],"consumers":[{"name":"Data Lake"}]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"badges":[],"tags":[],"historicVersions":[],"producers":[{"name":"Basket Service"}],"consumers":[{"name":"Data Lake"}]}],"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":"2024/4/12","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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"producers":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"},{"content":"Payment Process","backgroundColor":"yellow","textColor":"red"}],"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"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":[],"badges":[],"tags":[{"label":"Topic: order-requested"},{"label":"Broker: kafka","url":"https://kafka.apache.org"}],"historicVersions":[]}]}],"consumers":[{"name":"Orders Service","summary":"Service that handles customer orders\n","domain":"Orders","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"}],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"historicVersions":[]},{"name":"OrderCreated","version":"0.0.1","summary":"Event represents when an order has been created. \n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"historicVersions":[]}]}],"openAPISpec":null,"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":"2024/2/17"},"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"producers":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"},{"content":"Payment Process","backgroundColor":"yellow","textColor":"red"}],"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"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":[],"badges":[],"tags":[{"label":"Topic: order-requested"},{"label":"Broker: kafka","url":"https://kafka.apache.org"}],"historicVersions":[]}]}],"consumers":[{"name":"Orders Service","summary":"Service that handles customer orders\n","domain":"Orders","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"}],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"historicVersions":[]},{"name":"OrderCreated","version":"0.0.1","summary":"Event represents when an order has been created. \n","domain":"Orders","producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"historicVersions":[]}]}],"openAPISpec":null,"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":"2024/4/12"},"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"historicVersions":[]}]}],"consumers":[{"name":"Order Service"},{"name":"Data Lake"}],"openAPISpec":null,"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":"2024/2/17"},"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"historicVersions":[]}]}],"consumers":[{"name":"Order Service"},{"name":"Data Lake"}],"openAPISpec":null,"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":"2024/4/12"},"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"historicVersions":[]}]}],"openAPISpec":null,"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":"2024/2/17"},"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"historicVersions":[]}]}],"openAPISpec":null,"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":"2024/4/12"},"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"historicVersions":[]}]}],"openAPISpec":null,"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":"2024/2/17"},"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"historicVersions":[]}]}],"openAPISpec":null,"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":"2024/4/12"},"loadedVersion":"latest"},"__N_SSG":true}
@@ -1 +1 @@
1
- {"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"},{"content":"Payment Process","backgroundColor":"yellow","textColor":"red"}],"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","asyncAPISpec":null,"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"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":[],"badges":[],"tags":[{"label":"Topic: order-requested"},{"label":"Broker: kafka","url":"https://kafka.apache.org"}],"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":"2024/2/17","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}
1
+ {"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"badges":[{"content":"New!","backgroundColor":"blue","textColor":"blue"},{"content":"Payment Process","backgroundColor":"yellow","textColor":"red"}],"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","asyncAPISpec":null,"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":[],"badges":[{"content":"Recently updated!","backgroundColor":"green","textColor":"green"}],"tags":[],"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":[],"badges":[],"tags":[{"label":"Topic: order-requested"},{"label":"Broker: kafka","url":"https://kafka.apache.org"}],"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":"2024/4/12","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}
@@ -1 +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":[],"badges":[],"openAPISpec":null,"asyncAPISpec":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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":"2024/2/17","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}
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":[],"badges":[],"openAPISpec":null,"asyncAPISpec":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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[{"content":"Deprecated","backgroundColor":"red","textColor":"red"}],"tags":[],"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":[],"badges":[],"tags":[],"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":[],"badges":[],"tags":[],"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":"2024/4/12","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.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6567],{80594:function(e,t,n){var r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype.toString,f=Math.max,m=Math.min,x=function(){return u.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?o(e.slice(2),n?2:8):s.test(e)?NaN:+e}e.exports=function(e,t,n){var r,s,i,a,o,c,l=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=s;return r=s=void 0,l=t,a=e.apply(i,n)}function p(e){return l=e,o=setTimeout(y,t),u?b(e):a}function j(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=i}function y(){var e=x();if(j(e))return N(e);o=setTimeout(y,function(e){var n=t-(e-c);return d?m(n,i-(e-l)):n}(e))}function N(e){return o=void 0,v&&r?b(e):(r=s=void 0,a)}function w(){var e=x(),n=j(e);if(r=arguments,s=this,c=e,n){if(void 0===o)return p(c);if(d)return o=setTimeout(y,t),b(c)}return void 0===o&&(o=setTimeout(y,t)),a}return t=g(t)||0,h(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(g(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==o&&clearTimeout(o),l=0,r=c=s=o=void 0},w.flush=function(){return void 0===o?a:N(x())},w}},51844:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/domains",function(){return n(91770)}])},43854:function(e,t,n){"use strict";var r=n(52322),s=(n(2784),n(39097)),i=n.n(s),a=n(6632),o=n(46892);t.Z=function(e){var t=e.domains,n=void 0===t?[]:t;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:n.map((function(e){var t;return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(i(),{href:"/domains/".concat(e.name),children:(0,r.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,r.jsx)("div",{style:{background:(0,o.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),null===(t=e.badges)||void 0===t?void 0:t.map((function(t){return(0,r.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-".concat(t.backgroundColor,"-100 text-").concat(t.textColor,"-800"),children:t.content},"".concat(e.name,"-").concat(t.content))})),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(a.Z,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Services (",e.services.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(a.Z,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Events (",e.events.length,")"]})]})]})})]})})},e.name)}))})}},91770:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return g},default:function(){return v}});var r=n(47842),s=n(70865),i=n(96670),a=n(52322),o=n(97729),c=n.n(o),l=n(2784),u=n(80594),d=n.n(u),f=n(77263),m=n(43854),x=n(55008),h=n(5632),g=!0;function v(e){var t=e.domains,n=(0,l.useState)(t),o=n[0],u=n[1],g=(0,l.useState)(""),v=g[0],b=g[1],p=(0,l.useState)({badges:[]}),j=p[0],y=p[1],N=[{id:"badges",name:"Filter by Badges",options:t.reduce((function(e,t){return t.badges?(t.badges.forEach((function(t){e.map((function(e){return e.value})).includes(t.content)||e.push({value:t.content,label:t.content,checked:!1})})),e):e}),[])}];(0,l.useEffect)((function(){u(function(){var e=t;if(!j.badges&&!v)return t;if(v&&(e=e.filter((function(e){return e.name.toLowerCase().includes(v.toLowerCase())}))),j.badges.length>0){var n=j.badges;e=e.filter((function(e){return!!e.badges&&0!==e.badges.filter((function(e){return n.includes(e.content)})).length}))}return e}())}),[j,v]);var w=(0,h.useRouter)();(0,l.useEffect)((function(){w.query.q&&b(w.query.q)}),[w.query.q]);var k=(0,l.useCallback)(d()((function(e){b(e.target.value)}),500),[o]),O=!!v||j.badges.length>0,Z=(0,x.ZR)().title;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c(),{children:(0,a.jsxs)("title",{children:[Z," - All Domains"]})}),(0,a.jsxs)("main",{className:"max-w-7xl mx-auto md:min-h-screen px-4 xl:px-0",children:[(0,a.jsx)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:(0,a.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Domains (",t.length,")"]})}),(0,a.jsx)("section",{className:"pt-6 pb-24",children:(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,a.jsxs)("form",{className:"hidden lg:block",children:[(0,a.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,a.jsx)("label",{htmlFor:"domain",className:"font-bold block text-sm font-medium text-gray-700",children:"Search Domains"}),(0,a.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,a.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,a.jsx)(f.Z,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,a.jsx)("input",{type:"text",name:"domain",id:"domain",onChange:function(e){b(e.target.value),k(e)},value:v,className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})]}),N.map((function(e){return e.options.length?(0,a.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,a.jsx)("h3",{className:"-my-3 flow-root",children:(0,a.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,a.jsxs)("span",{className:"font-bold font-medium text-gray-900",children:[e.name," (",e.options.length,")"]})})}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)("div",{className:"space-y-4",children:e.options.sort((function(e,t){return e.value.localeCompare(t.value)})).map((function(t,n){return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("input",{id:"filter-".concat(e.id,"-").concat(n),name:"".concat(e.id,"[]"),defaultValue:t.value,type:"checkbox",onChange:function(n){return function(e,t,n){if(console.log(e,t,n),n.target.checked){var a=j[t].concat([e.value]);y((0,i.Z)((0,s.Z)({},j),(0,r.Z)({},t,a)))}else{var o=j[t].filter((function(t){return t!==e.value}));y((0,i.Z)((0,s.Z)({},j),(0,r.Z)({},t,o)))}}(t,e.id,n)},defaultChecked:t.checked,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,a.jsx)("label",{htmlFor:"filter-".concat(e.id,"-").concat(n),className:"ml-3 text-sm text-gray-600",children:t.label})]},t.value)}))})})]},e.id):null}))]}),(0,a.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:O?"Filtered Domains (".concat(o.length,"/").concat(t.length,")"):"All Domains (".concat(t.length,")")}),(0,a.jsx)(m.Z,{domains:o}),0===o.length&&(0,a.jsx)("div",{className:"text-gray-400 flex h-96 justify-center items-center",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(f.Z,{className:"w-6 h-6 inline-block mr-1"}),"No domains found."]})})]})})]})})]})]})}},46892:function(e,t,n){"use strict";function r(e){for(var t=0,n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);for(var r="#",s=0;s<3;s++){r+="00".concat((t>>8*s&255).toString(16)).substr(-2)}return r}n.d(t,{Z:function(){return r}})},6632:function(e,t,n){"use strict";var r=n(2784);const s=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"}))}));t.Z=s},77263:function(e,t,n){"use strict";var r=n(2784);const s=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))}));t.Z=s},96670:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})}},function(e){e.O(0,[9774,2888,179],(function(){return t=51844,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7695],{56083:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return t(68209)}])},90526:function(e,n,t){"use strict";var a=t(52322),r=(t(2784),t(39097)),s=t.n(r),c=t(6632),i=t(15231),o=t(46892),l=t(4573),d=t(78484);function m(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}n.Z=function(e){var n=e.events,t=void 0===n?[]:n,r=e.showMermaidDiagrams,u=void 0!==r&&r,f=e.showNodeGraphs,h=void 0!==f&&f;return(0,a.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:t.map((function(e){var n,t=e.draft,r=e.domain,f=r?"/domains/".concat(r,"/events/").concat(e.name):"/events/".concat(e.name),x=r?"".concat(r,"-").concat(e.name):e.name;return(0,a.jsx)("li",{className:"flex",children:(0,a.jsx)(s(),{href:f,children:(0,a.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,a.jsx)("div",{style:{background:(0,o.Z)(e.name)},className:m("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,a.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,a.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,a.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,a.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),null===(n=e.badges)||void 0===n?void 0:n.map((function(n){return(0,a.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-".concat(n.backgroundColor,"-100 text-").concat(n.textColor,"-800"),children:n.content},"".concat(e.name,"-").concat(n.content))})),t&&(0,a.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,a.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),u&&(0,a.jsx)("div",{className:"h-full items-center flex",children:(0,a.jsx)(l.Z,{source:"event",data:e,rootNodeColor:(0,o.Z)(e.name)})}),h&&(0,a.jsx)("div",{className:"h-full items-center flex",children:(0,a.jsx)(d.Z,{source:"event",data:e,rootNodeColor:(0,o.Z)(e.name)})}),(0,a.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,a.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,a.jsx)(c.Z,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producerNames.length,")"]}),(0,a.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,a.jsx)(c.Z,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumerNames.length,")"]}),e.domain&&(0,a.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,a.jsx)(i.Z,{className:"h-4 w-4 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),e.domain]})]})]})})]})})},x)}))})}},4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var a=t(52322),r=t(2784),s=t(27193),c=t(70314),i=t.n(c)()().publicRuntimeConfig,o=(void 0===i?{}:i).basePath,l=void 0===o?"":o,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n,t){var a="/".concat(t?"domains/".concat(t,"/"):"").concat(n,"/").concat(e);return l?"".concat(l).concat(a):a},u=function(e,n,t,a){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(a,",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.K.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1},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"});var f=function(e){var n=e.data,t=e.source,c=void 0===t?"event":t,i=e.rootNodeColor,o=e.charts;if((0,r.useEffect)((function(){s.K.contentLoaded()}),[]),o)return(0,a.jsx)(a.Fragment,{children:o.map((function(e,n){return(0,a.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===c?function(e){var n=e.name,t=e.producerNames,a=e.consumerNames,r=e.producers,s=void 0===r?[]:r,c=e.consumers,i=void 0===c?[]:c,o=e.domain,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",f=t.map(d).map((function(e){var n;return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services",null===(n=s.find((function(n){return n.name===e})))||void 0===n?void 0:n.domain)}})),h=a.map(d).map((function(e){var n;return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services",null===(n=i.find((function(n){return n.name===e})))||void 0===n?void 0:n.domain)}})),x={id:d(n.replace(/ /g,"_")),name:n,link:m(n,"events",o)};return u(x,f,h,l)}(n,i):function(e){var n=e.publishes,t=e.subscribes,a=e.name,r=e.domain,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",c=t.map((function(e){return{event:e,truncatedName:d(e.name)}})).map((function(e){var n=e.event,t=e.truncatedName;return{id:t.replace(/ /g,"_"),name:t,link:m(n.name,"events",n.domain)}})),i=n.map((function(e){return{event:e,truncatedName:d(e.name)}})).map((function(e){var n=e.event,t=e.truncatedName;return{id:t.replace(/ /g,"_"),name:t,link:m(n.name,"events",n.domain)}})),o={id:d(a.replace(/ /g,"_")),name:a,link:m(a,"services",r)};return u(o,c,i,s)}(n,i);return(0,a.jsx)("div",{className:"mermaid",children:l})}},68209:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return y},default:function(){return N}});var a=t(47842),r=t(70865),s=t(96670),c=t(52322),i=t(2784),o=t(97729),l=t.n(o),d=t(80594),m=t.n(d),u=t(75340),f=t(86263),h=t(59081),x=t(81123),v=t(90526),g=t(55008),p=t(5632);function b(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var j=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],y=!0;function N(e){var n=e.events,t=e.services,o=e.domains,d=(0,i.useState)({services:[],domains:[],badges:[]}),y=d[0],N=d[1],w=(0,i.useState)(!1),k=w[0],_=w[1],C=(0,i.useState)(!1),Z=C[0],E=C[1],F=(0,i.useState)(n),S=F[0],D=F[1],L=(0,i.useState)(""),G=L[0],M=L[1],O=[{id:"domains",name:"Filter by Domains",options:o.map((function(e){return{value:e,label:e,checked:!1}}))},{id:"services",name:"Filter by Services",options:t.map((function(e){return{value:e,label:e,checked:!1}}))},{id:"badges",name:"Filter by Badges",options:n.reduce((function(e,n){return n.badges?(n.badges.forEach((function(n){e.map((function(e){return e.value})).includes(n.content)||e.push({value:n.content,label:n.content,checked:!1})})),e):e}),[])}];(0,i.useEffect)((function(){D(function(){if(!y.services&&!G&&!y.domains&&!y.badges)return n;var e=n;if(y.services.length>0&&(e=e.filter((function(e){var n=y.services,t=e.consumerNames.some((function(e){return n.indexOf(e)>-1})),a=e.producerNames.some((function(e){return n.indexOf(e)>-1}));return t||a}))),y.domains.length>0&&(e=e.filter((function(e){return y.domains.indexOf(e.domain)>-1}))),y.badges.length>0){var t=y.badges;e=e.filter((function(e){return!!e.badges&&0!==e.badges.filter((function(e){return t.includes(e.content)})).length}))}return G&&(e=e.filter((function(e){return e.name.toLowerCase().includes(G.toLowerCase())}))),e}())}),[y,G]);var q=(0,p.useRouter)();(0,i.useEffect)((function(){q.query.q&&M(q.query.q)}),[q.query.q]);var B=(0,i.useCallback)(m()((function(e){M(e.target.value)}),500),[S]),R=!!G||y.services.length>0||y.domains.length>0||y.badges.length>0,V=(0,g.ZR)().title;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l(),{children:(0,c.jsxs)("title",{children:[V," - All Events"]})}),(0,c.jsxs)("main",{className:"max-w-7xl mx-auto min-h-screen px-4 xl:px-0",children:[(0,c.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,c.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Events (",n.length,")"]}),(0,c.jsx)("div",{className:"flex items-center",children:(0,c.jsxs)(u.v,{as:"div",className:"hidden relative text-left",children:[(0,c.jsx)("div",{children:(0,c.jsxs)(u.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,c.jsx)(h.Z,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,c.jsx)(f.u,{as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,c.jsx)(u.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,c.jsx)("div",{className:"py-1",children:j.map((function(e){return(0,c.jsx)(u.v.Item,{children:function(n){var t=n.active;return(0,c.jsx)("a",{href:e.href,className:b(e.current?"font-medium text-gray-900":"text-gray-500",t?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,c.jsx)("section",{className:"pt-6 pb-24",children:(0,c.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,c.jsxs)("form",{className:"hidden lg:block",children:[(0,c.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,c.jsx)("label",{htmlFor:"event",className:"font-bold block text-sm font-medium text-gray-700",children:"Search Events"}),(0,c.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,c.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,c.jsx)(x.Z,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,c.jsx)("input",{type:"text",name:"event",id:"event",onChange:function(e){M(e.target.value),B(e)},value:G,className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})]}),O.map((function(e){return e.options.length?(0,c.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,c.jsx)("h3",{className:"-my-3 flow-root",children:(0,c.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,c.jsxs)("span",{className:"font-bold font-medium text-gray-900",children:[e.name," (",e.options.length,")"]})})}),(0,c.jsx)("div",{className:"pt-6",children:(0,c.jsx)("div",{className:"space-y-4",children:e.options.sort((function(e,n){return e.value.localeCompare(n.value)})).map((function(n,t){return(0,c.jsxs)("div",{className:"flex items-center",children:[(0,c.jsx)("input",{id:"filter-".concat(e.id,"-").concat(t),name:"".concat(e.id,"[]"),defaultValue:n.value,type:"checkbox",onChange:function(t){return function(e,n,t){if(console.log(e,n,t),t.target.checked){var c=y[n].concat([e.value]);N((0,s.Z)((0,r.Z)({},y),(0,a.Z)({},n,c)))}else{var i=y[n].filter((function(n){return n!==e.value}));N((0,s.Z)((0,r.Z)({},y),(0,a.Z)({},n,i)))}}(n,e.id,t)},defaultChecked:n.checked,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,c.jsx)("label",{htmlFor:"filter-".concat(e.id,"-").concat(t),className:"ml-3 text-sm text-gray-600",children:n.label})]},n.value)}))})})]},e.id):null})),(0,c.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,c.jsx)("h3",{className:"-my-3 flow-root",children:(0,c.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,c.jsx)("span",{className:"font-bold font-medium text-gray-900",children:"Features"})})}),(0,c.jsx)("div",{className:"pt-6",children:(0,c.jsx)("div",{className:"space-y-4",children:(0,c.jsxs)("div",{className:"flex items-center",children:[(0,c.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return _(e.target.checked)},defaultChecked:k,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,c.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})}),(0,c.jsx)("div",{className:"pt-6",children:(0,c.jsx)("div",{className:"space-y-4",children:(0,c.jsxs)("div",{className:"flex items-center",children:[(0,c.jsx)("input",{id:"show-node-graph",type:"checkbox",onChange:function(e){return E(e.target.checked)},defaultChecked:Z,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,c.jsx)("label",{htmlFor:"show-node-graph",className:"ml-3 text-sm text-gray-600",children:"Show Node Graphs"})]})})})]})]}),(0,c.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,c.jsxs)("div",{children:[(0,c.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:R?"Filtered Events (".concat(S.length,"/").concat(n.length,")"):"All Events (".concat(n.length,")")}),(0,c.jsx)(v.Z,{events:S,showMermaidDiagrams:k,showNodeGraphs:Z}),0===S.length&&(0,c.jsx)("div",{className:"text-gray-400 flex h-96 justify-center items-center",children:(0,c.jsxs)("div",{children:[(0,c.jsx)(x.Z,{className:"w-6 h-6 inline-block mr-1"}),"No events found."]})})]})})]})})]})]})}},15231:function(e,n,t){"use strict";var a=t(2784);const r=a.forwardRef((function(e,n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:n},e),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"}))}));n.Z=r}},function(e){e.O(0,[1740,9482,172,8829,2620,7109,9774,2888,179],(function(){return n=56083,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7054],{37741:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services",function(){return t(46378)}])},44938:function(e,n,t){"use strict";var a=t(52322),r=(t(2784),t(39097)),s=t.n(r),c=t(6632),i=t(4573),o=t(46892),l=t(78484);n.Z=function(e){var n=e.services,t=void 0===n?[]:n,r=e.showMermaidDiagrams,d=void 0!==r&&r,m=e.showNodeGraphs,u=void 0!==m&&m;return(0,a.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:t.map((function(e,n){var t,r=e.draft,m=e.domain,h=m?"/domains/".concat(m,"/services/").concat(e.name):"/services/".concat(e.name);return(0,a.jsx)("li",{className:"flex",children:(0,a.jsx)(s(),{href:h,children:(0,a.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,a.jsx)("div",{style:{background:(0,o.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,a.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,a.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),null===(t=e.badges)||void 0===t?void 0:t.map((function(n){return(0,a.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-".concat(n.backgroundColor,"-100 text-").concat(n.textColor,"-800"),children:n.content},"".concat(e.name,"-").concat(n.content))})),r&&(0,a.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,a.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),d&&(0,a.jsx)("div",{className:"h-full items-center flex",children:(0,a.jsx)(i.Z,{source:"service",data:e,rootNodeColor:(0,o.Z)(e.name)})}),u&&(0,a.jsx)("div",{className:"h-full items-center flex",children:(0,a.jsx)(l.Z,{source:"service",data:e,rootNodeColor:(0,o.Z)(e.name)})}),(0,a.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,a.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,a.jsx)(c.Z,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,a.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,a.jsx)(c.Z,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},"".concat(e.name,"-").concat(n))}))})}},4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var a=t(52322),r=t(2784),s=t(27193),c=t(70314),i=t.n(c)()().publicRuntimeConfig,o=(void 0===i?{}:i).basePath,l=void 0===o?"":o,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n,t){var a="/".concat(t?"domains/".concat(t,"/"):"").concat(n,"/").concat(e);return l?"".concat(l).concat(a):a},u=function(e,n,t,a){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(a,",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.K.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1},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"});var h=function(e){var n=e.data,t=e.source,c=void 0===t?"event":t,i=e.rootNodeColor,o=e.charts;if((0,r.useEffect)((function(){s.K.contentLoaded()}),[]),o)return(0,a.jsx)(a.Fragment,{children:o.map((function(e,n){return(0,a.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===c?function(e){var n=e.name,t=e.producerNames,a=e.consumerNames,r=e.producers,s=void 0===r?[]:r,c=e.consumers,i=void 0===c?[]:c,o=e.domain,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",h=t.map(d).map((function(e){var n;return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services",null===(n=s.find((function(n){return n.name===e})))||void 0===n?void 0:n.domain)}})),x=a.map(d).map((function(e){var n;return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services",null===(n=i.find((function(n){return n.name===e})))||void 0===n?void 0:n.domain)}})),f={id:d(n.replace(/ /g,"_")),name:n,link:m(n,"events",o)};return u(f,h,x,l)}(n,i):function(e){var n=e.publishes,t=e.subscribes,a=e.name,r=e.domain,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#2563eb",c=t.map((function(e){return{event:e,truncatedName:d(e.name)}})).map((function(e){var n=e.event,t=e.truncatedName;return{id:t.replace(/ /g,"_"),name:t,link:m(n.name,"events",n.domain)}})),i=n.map((function(e){return{event:e,truncatedName:d(e.name)}})).map((function(e){var n=e.event,t=e.truncatedName;return{id:t.replace(/ /g,"_"),name:t,link:m(n.name,"events",n.domain)}})),o={id:d(a.replace(/ /g,"_")),name:a,link:m(a,"services",r)};return u(o,c,i,s)}(n,i);return(0,a.jsx)("div",{className:"mermaid",children:l})}},46378:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return N},default:function(){return y}});var a=t(47842),r=t(70865),s=t(96670),c=t(52322),i=t(2784),o=t(97729),l=t.n(o),d=t(80594),m=t.n(d),u=t(75340),h=t(86263),x=t(59081),f=t(81123),v=t(44938),g=t(55008),p=t(5632);function b(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var j=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],N=!0;function y(e){var n=e.services,t=(0,i.useState)(n),o=t[0],d=t[1],N=(0,i.useState)(""),y=N[0],w=N[1],k=(0,i.useState)({badges:[]}),_=k[0],C=k[1],Z=[{id:"badges",name:"Filter by Badges",options:n.reduce((function(e,n){return n.badges?(n.badges.forEach((function(n){e.map((function(e){return e.value})).includes(n.content)||e.push({value:n.content,label:n.content,checked:!1})})),e):e}),[])}];(0,i.useEffect)((function(){d(function(){var e=n;if(!_.badges&&!y)return n;if(y&&(e=e.filter((function(e){return e.name.toLowerCase().includes(y.toLowerCase())}))),_.badges.length>0){var t=_.badges;e=e.filter((function(e){return!!e.badges&&0!==e.badges.filter((function(e){return t.includes(e.content)})).length}))}return e}())}),[_,y]);var S=(0,p.useRouter)();(0,i.useEffect)((function(){S.query.q&&w(S.query.q)}),[S.query.q]);var F=(0,i.useCallback)(m()((function(e){w(e.target.value)}),500),[o]),E=!!y||_.badges.length>0,D=(0,i.useState)(!1),G=D[0],q=D[1],L=(0,i.useState)(!1),M=L[0],P=L[1],R=(0,g.ZR)().title;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l(),{children:(0,c.jsxs)("title",{children:[R," - All Services"]})}),(0,c.jsxs)("main",{className:"max-w-7xl mx-auto md:min-h-screen px-4 xl:px-0",children:[(0,c.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,c.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Services (",n.length,")"]}),(0,c.jsx)("div",{className:"flex items-center",children:(0,c.jsxs)(u.v,{as:"div",className:"relative hidden text-left",children:[(0,c.jsx)("div",{children:(0,c.jsxs)(u.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,c.jsx)(x.Z,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,c.jsx)(h.u,{as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,c.jsx)(u.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,c.jsx)("div",{className:"py-1",children:j.map((function(e){return(0,c.jsx)(u.v.Item,{children:function(n){var t=n.active;return(0,c.jsx)("a",{href:e.href,className:b(e.current?"font-medium text-gray-900":"text-gray-500",t?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,c.jsx)("section",{className:"pt-6 pb-24",children:(0,c.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,c.jsxs)("form",{className:"hidden lg:block",children:[(0,c.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,c.jsx)("label",{htmlFor:"service",className:"font-bold block text-sm font-medium text-gray-700",children:"Search Services"}),(0,c.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,c.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,c.jsx)(f.Z,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,c.jsx)("input",{type:"text",name:"service",id:"service",onChange:function(e){w(e.target.value),F(e)},value:y,className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})]}),Z.map((function(e){return e.options.length?(0,c.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,c.jsx)("h3",{className:"-my-3 flow-root",children:(0,c.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,c.jsxs)("span",{className:"font-bold font-medium text-gray-900",children:[e.name," (",e.options.length,")"]})})}),(0,c.jsx)("div",{className:"pt-6",children:(0,c.jsx)("div",{className:"space-y-4",children:e.options.sort((function(e,n){return e.value.localeCompare(n.value)})).map((function(n,t){return(0,c.jsxs)("div",{className:"flex items-center",children:[(0,c.jsx)("input",{id:"filter-".concat(e.id,"-").concat(t),name:"".concat(e.id,"[]"),defaultValue:n.value,type:"checkbox",onChange:function(t){return function(e,n,t){if(console.log(e,n,t),t.target.checked){var c=_[n].concat([e.value]);C((0,s.Z)((0,r.Z)({},_),(0,a.Z)({},n,c)))}else{var i=_[n].filter((function(n){return n!==e.value}));C((0,s.Z)((0,r.Z)({},_),(0,a.Z)({},n,i)))}}(n,e.id,t)},defaultChecked:n.checked,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,c.jsx)("label",{htmlFor:"filter-".concat(e.id,"-").concat(t),className:"ml-3 text-sm text-gray-600",children:n.label})]},n.value)}))})})]},e.id):null})),(0,c.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,c.jsx)("h3",{className:"-my-3 flow-root",children:(0,c.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,c.jsx)("span",{className:"font-medium text-gray-900",children:"Features"})})}),(0,c.jsx)("div",{className:"pt-6",children:(0,c.jsx)("div",{className:"space-y-4",children:(0,c.jsxs)("div",{className:"flex items-center",children:[(0,c.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return q(e.target.checked)},defaultChecked:G,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,c.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})}),(0,c.jsx)("div",{className:"pt-6",children:(0,c.jsx)("div",{className:"space-y-4",children:(0,c.jsxs)("div",{className:"flex items-center",children:[(0,c.jsx)("input",{id:"show-node-graph",type:"checkbox",onChange:function(e){return P(e.target.checked)},defaultChecked:M,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,c.jsx)("label",{htmlFor:"show-node-graph",className:"ml-3 text-sm text-gray-600",children:"Show Node Graphs"})]})})})]})]}),(0,c.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,c.jsxs)("div",{children:[(0,c.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:E?"Filtered Services (".concat(o.length,"/").concat(n.length,")"):"All Services (".concat(n.length,")")}),(0,c.jsx)(v.Z,{services:o,showMermaidDiagrams:G,showNodeGraphs:M}),0===o.length&&(0,c.jsx)("div",{className:"text-gray-400 flex h-96 justify-center items-center",children:(0,c.jsxs)("div",{children:[(0,c.jsx)(f.Z,{className:"w-6 h-6 inline-block mr-1"}),"No services found."]})})]})})]})})]})]})}}},function(e){e.O(0,[1740,9482,172,8829,2620,7109,9774,2888,179],(function(){return n=37741,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -1 +1 @@
1
- self.__BUILD_MANIFEST=function(s,e,a,c,n,t,i,d,m,o,v,u,f,r,k,h,j,b,g,p,_,l){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-68062a10328e7d10.js"],"/_error":["static/chunks/pages/_error-c36fa6f7fd569cf6.js"],"/domains":["static/chunks/pages/domains-8277e2e465919172.js"],"/domains/[domain]":[s,e,a,t,"static/chunks/pages/domains/[domain]-ea20e2daae1794fc.js"],"/domains/[domain]/events/[name]":[s,c,m,o,e,n,i,d,v,u,f,r,k,a,t,h,j,"static/chunks/pages/domains/[domain]/events/[name]-7c7c2526e7d63883.js"],"/domains/[domain]/events/[name]/logs":[b,g,"static/chunks/pages/domains/[domain]/events/[name]/logs-350f383eed1cf3f8.js"],"/domains/[domain]/events/[name]/v/[version]":[s,c,m,o,e,n,i,d,v,u,f,r,k,a,t,h,j,"static/chunks/pages/domains/[domain]/events/[name]/v/[version]-175a58a05deb2eda.js"],"/domains/[domain]/services/[name]":[s,c,e,n,i,d,p,a,t,_,"static/chunks/pages/domains/[domain]/services/[name]-f447208842a47b40.js"],"/events":[s,c,e,n,l,a,"static/chunks/pages/events-533e7116aef3d642.js"],"/events/[name]":[s,c,m,o,e,n,i,d,v,u,f,r,k,a,t,h,j,"static/chunks/pages/events/[name]-24bc568718357116.js"],"/events/[name]/logs":[b,g,"static/chunks/pages/events/[name]/logs-695c5b2cfd996539.js"],"/events/[name]/v/[version]":[s,c,m,o,e,n,i,d,v,u,f,r,k,a,t,h,j,"static/chunks/pages/events/[name]/v/[version]-af687afaafd7fd45.js"],"/overview":["static/chunks/pages/overview-68b31b232c5ef1ff.js"],"/services":[s,c,e,n,l,a,"static/chunks/pages/services-27072edf4c6acc54.js"],"/services/[name]":[s,c,e,n,i,d,p,a,t,_,"static/chunks/pages/services/[name]-b59b95836832898e.js"],"/users":["static/chunks/pages/users-412f257b1de51363.js"],"/users/[id]":[s,c,e,n,a,"static/chunks/pages/users/[id]-7306f8a1d8a7012a.js"],"/visualiser":[s,e,a,"static/chunks/pages/visualiser-8474d03175cf9d12.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","/users/[id]","/visualiser"]}}("static/chunks/b9e0c7b4-52b02c0d4f161186.js","static/chunks/172-940ad0353b57ff98.js","static/chunks/7109-c8d3fde4c3b6798e.js","static/chunks/d57e5a30-463f9ed8df724792.js","static/chunks/8829-386c887227aab68c.js","static/chunks/5493-b00dc3d50ab46716.js","static/css/cc3c8fcadcf7a58b.css","static/chunks/4384-8a28a71e7e3b8d8a.js","static/chunks/2edb282b-45c56c19221816df.js","static/chunks/7f5d3f51-659399fe6f04b9eb.js","static/chunks/8341-b8d844d6f606aed5.js","static/chunks/6790-f4527d80153a3e25.js","static/chunks/7005-09e42f99859b8d03.js","static/chunks/828-ef0e36f29db31dde.js","static/chunks/6772-fba69ba8e4fa1ef4.js","static/chunks/1178-011609b6f3b123b3.js","static/css/7e14b4dede1671ad.css","static/chunks/8264-a1b0376ff4b3d4da.js","static/css/ed97de5465a152bb.css","static/css/ae8abf3666c55019.css","static/chunks/3116-e9a578a270d9e013.js","static/chunks/2620-21775e17d8a6a407.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
1
+ self.__BUILD_MANIFEST=function(s,e,a,c,n,t,i,d,m,o,v,u,r,f,b,k,h,j,g,p,_,l){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-68062a10328e7d10.js"],"/_error":["static/chunks/pages/_error-c36fa6f7fd569cf6.js"],"/domains":["static/chunks/pages/domains-71179cbdb719a0f8.js"],"/domains/[domain]":[s,e,a,t,"static/chunks/pages/domains/[domain]-ea20e2daae1794fc.js"],"/domains/[domain]/events/[name]":[s,c,m,o,e,n,i,d,v,u,r,f,b,a,t,k,h,"static/chunks/pages/domains/[domain]/events/[name]-7c7c2526e7d63883.js"],"/domains/[domain]/events/[name]/logs":[j,g,"static/chunks/pages/domains/[domain]/events/[name]/logs-350f383eed1cf3f8.js"],"/domains/[domain]/events/[name]/v/[version]":[s,c,m,o,e,n,i,d,v,u,r,f,b,a,t,k,h,"static/chunks/pages/domains/[domain]/events/[name]/v/[version]-175a58a05deb2eda.js"],"/domains/[domain]/services/[name]":[s,c,e,n,i,d,p,a,t,_,"static/chunks/pages/domains/[domain]/services/[name]-f447208842a47b40.js"],"/events":[s,c,e,n,l,a,"static/chunks/pages/events-05ca59359ab07aa2.js"],"/events/[name]":[s,c,m,o,e,n,i,d,v,u,r,f,b,a,t,k,h,"static/chunks/pages/events/[name]-24bc568718357116.js"],"/events/[name]/logs":[j,g,"static/chunks/pages/events/[name]/logs-695c5b2cfd996539.js"],"/events/[name]/v/[version]":[s,c,m,o,e,n,i,d,v,u,r,f,b,a,t,k,h,"static/chunks/pages/events/[name]/v/[version]-af687afaafd7fd45.js"],"/overview":["static/chunks/pages/overview-68b31b232c5ef1ff.js"],"/services":[s,c,e,n,l,a,"static/chunks/pages/services-2c63507ae596def3.js"],"/services/[name]":[s,c,e,n,i,d,p,a,t,_,"static/chunks/pages/services/[name]-b59b95836832898e.js"],"/users":["static/chunks/pages/users-412f257b1de51363.js"],"/users/[id]":[s,c,e,n,a,"static/chunks/pages/users/[id]-7306f8a1d8a7012a.js"],"/visualiser":[s,e,a,"static/chunks/pages/visualiser-8474d03175cf9d12.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","/users/[id]","/visualiser"]}}("static/chunks/b9e0c7b4-52b02c0d4f161186.js","static/chunks/172-940ad0353b57ff98.js","static/chunks/7109-c8d3fde4c3b6798e.js","static/chunks/d57e5a30-463f9ed8df724792.js","static/chunks/8829-386c887227aab68c.js","static/chunks/5493-b00dc3d50ab46716.js","static/css/cc3c8fcadcf7a58b.css","static/chunks/4384-8a28a71e7e3b8d8a.js","static/chunks/2edb282b-45c56c19221816df.js","static/chunks/7f5d3f51-659399fe6f04b9eb.js","static/chunks/8341-b8d844d6f606aed5.js","static/chunks/6790-f4527d80153a3e25.js","static/chunks/7005-09e42f99859b8d03.js","static/chunks/828-ef0e36f29db31dde.js","static/chunks/6772-fba69ba8e4fa1ef4.js","static/chunks/1178-011609b6f3b123b3.js","static/css/7e14b4dede1671ad.css","static/chunks/8264-a1b0376ff4b3d4da.js","static/css/ed97de5465a152bb.css","static/css/ae8abf3666c55019.css","static/chunks/3116-e9a578a270d9e013.js","static/chunks/2620-21775e17d8a6a407.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();