@eventcatalog/core 0.1.12 → 0.1.16
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +58 -38
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1bay4w0 +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/484.js +572 -0
- package/.next/server/chunks/944.js +89 -53
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +16 -5
- package/.next/server/pages/events/AddedItemToCart/logs.html +1 -1
- package/.next/server/pages/events/AddedItemToCart/v/0.0.1.html +3 -3
- package/.next/server/pages/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/.next/server/pages/events/AddedItemToCart/v/0.0.2.html +3 -3
- package/.next/server/pages/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/.next/server/pages/events/AddedItemToCart.html +4 -22
- package/.next/server/pages/events/AddedItemToCart.json +1 -1
- package/.next/server/pages/events/OrderComplete/logs.html +1 -1
- package/.next/server/pages/events/OrderComplete.html +3 -21
- package/.next/server/pages/events/OrderComplete.json +1 -1
- package/.next/server/pages/events/OrderConfirmed/logs.html +1 -1
- package/.next/server/pages/events/OrderConfirmed.html +3 -21
- package/.next/server/pages/events/OrderConfirmed.json +1 -1
- package/.next/server/pages/events/OrderRequested/logs.html +1 -1
- package/.next/server/pages/events/OrderRequested.html +3 -21
- package/.next/server/pages/events/OrderRequested.json +1 -1
- package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
- package/.next/server/pages/events/PaymentProcessed.html +3 -21
- package/.next/server/pages/events/PaymentProcessed.json +1 -1
- package/.next/server/pages/events/RemovedItemFromCart/logs.html +1 -1
- package/.next/server/pages/events/RemovedItemFromCart.html +3 -21
- package/.next/server/pages/events/RemovedItemFromCart.json +1 -1
- package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
- package/.next/server/pages/events/ShipmentDelivered.html +3 -23
- package/.next/server/pages/events/ShipmentDelivered.json +1 -1
- package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
- package/.next/server/pages/events/ShipmentDispatched.html +3 -21
- package/.next/server/pages/events/ShipmentDispatched.json +1 -1
- package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
- package/.next/server/pages/events/ShipmentPrepared.html +2 -20
- package/.next/server/pages/events/ShipmentPrepared.json +1 -1
- package/.next/server/pages/events/[name]/v/[version].js +29 -1
- package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
- package/.next/server/pages/events/[name].js +29 -1
- package/.next/server/pages/events/[name].js.nft.json +1 -1
- package/.next/server/pages/events.html +3 -3
- package/.next/server/pages/events.js.nft.json +1 -1
- package/.next/server/pages/events.json +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/overview.json +1 -1
- package/.next/server/pages/services/Basket Service.html +2 -22
- package/.next/server/pages/services/Basket Service.json +1 -1
- package/.next/server/pages/services/Data Lake.html +2 -24
- package/.next/server/pages/services/Data Lake.json +1 -1
- package/.next/server/pages/services/Payment Service.html +2 -20
- package/.next/server/pages/services/Payment Service.json +1 -1
- package/.next/server/pages/services/Shipping Service.html +2 -28
- package/.next/server/pages/services/Shipping Service.json +1 -1
- package/.next/server/pages/services/[name].js +64 -4
- package/.next/server/pages/services/[name].js.nft.json +1 -1
- package/.next/server/pages/services.html +2 -2
- package/.next/server/pages/services.js.nft.json +1 -1
- package/.next/server/pages/services.json +1 -1
- package/.next/server/pages/users/[id].js.nft.json +1 -1
- package/.next/server/pages/users/dboyne.html +3 -3
- package/.next/server/pages/users/dboyne.json +1 -1
- package/.next/server/pages/users/mSmith.html +3 -3
- package/.next/server/pages/users/mSmith.json +1 -1
- package/.next/server/pages/visualiser.html +14 -0
- package/.next/server/pages/visualiser.js +583 -0
- package/.next/server/pages/visualiser.js.nft.json +1 -0
- package/.next/server/pages/visualiser.json +1 -0
- package/.next/server/pages-manifest.json +1 -0
- package/.next/static/7llqY64OLAlXQNo-YhXyr/_buildManifest.js +1 -0
- package/.next/static/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/_middlewareManifest.js +0 -0
- package/.next/static/7llqY64OLAlXQNo-YhXyr/_ssgManifest.js +1 -0
- package/.next/static/chunks/109-a08539311d3d6672.js +1 -0
- package/.next/static/chunks/178-87f01d17ab32dd4f.js +1 -0
- package/.next/static/chunks/252-08ab418f9b6821dd.js +1 -0
- package/.next/static/chunks/506-12764fcf4b5d93b0.js +1 -0
- package/.next/static/chunks/519-2ec6fc3cdbaa4dc2.js +1 -0
- package/.next/static/chunks/650-343888e13f994a09.js +1 -0
- package/.next/static/chunks/962-20c87db3880df896.js +1 -0
- package/.next/static/chunks/b744740b-229c238b25b9eeac.js +1 -0
- package/.next/static/chunks/pages/_app-6eba1099469a6889.js +1 -0
- package/.next/static/chunks/pages/events/[name]/v/{[version]-f6619ec4056cc70d.js → [version]-33051dbc32f5fe4e.js} +1 -1
- package/.next/static/chunks/pages/events/{[name]-73ecab7171745a3f.js → [name]-813780e7042af288.js} +1 -1
- package/.next/static/chunks/pages/services/[name]-142d7fa515cfc532.js +1 -0
- package/.next/static/chunks/pages/visualiser-0fbd55ba5b1f83ed.js +1 -0
- package/.next/static/chunks/{webpack-2ebfdb1666dac4ad.js → webpack-de66347fdf9ac788.js} +1 -1
- package/.next/static/css/f56eba33afeb64fa.css +3 -0
- package/.next/trace +56 -54
- package/CHANGELOG.md +26 -0
- package/components/Header.tsx +1 -0
- package/components/Mdx/Examples.tsx +27 -27
- package/components/Mdx/NodeGraph/GraphElements.tsx +238 -0
- package/components/Mdx/NodeGraph/GraphLayout.ts +57 -0
- package/components/Mdx/NodeGraph/Node.tsx +15 -0
- package/components/Mdx/NodeGraph/NodeGraph.tsx +180 -0
- package/components/Mdx/NodeGraph/__tests__/GraphElements.spec.ts +98 -0
- package/components/Mdx/NodeGraph/__tests__/GraphLayout.spec.ts +104 -0
- package/components/Mdx/NodeGraph/__tests__/__snapshots__/GraphElements.spec.ts.snap +995 -0
- package/components/Mdx/NodeGraph/__tests__/__snapshots__/GraphLayout.spec.ts.snap +81 -0
- package/components/Sidebars/EventSidebar.tsx +7 -0
- package/components/Sidebars/ServiceSidebar.tsx +8 -1
- package/components/SyntaxHighlighter.tsx +18 -10
- package/out/404/index.html +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/AddedItemToCart/logs.json +0 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/events/AddedItemToCart.json +1 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/OrderComplete/logs.json +0 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/events/OrderComplete.json +1 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/OrderConfirmed/logs.json +0 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/OrderConfirmed.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/OrderRequested/logs.json +0 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/events/OrderRequested.json +1 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/PaymentProcessed/logs.json +0 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/PaymentProcessed.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/RemovedItemFromCart/logs.json +0 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/RemovedItemFromCart.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/ShipmentDelivered/logs.json +0 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/events/ShipmentDelivered.json +1 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/ShipmentDispatched/logs.json +0 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/ShipmentDispatched.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events/ShipmentPrepared/logs.json +0 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/events/ShipmentPrepared.json +1 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/events.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/overview.json +1 -1
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/services/Basket Service.json +1 -1
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/services/Data Lake.json +1 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/services/Payment Service.json +1 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/services/Shipping Service.json +1 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/services.json +1 -0
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/users/dboyne.json +1 -0
- package/out/_next/data/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/users/mSmith.json +1 -1
- package/out/_next/data/7llqY64OLAlXQNo-YhXyr/visualiser.json +1 -0
- package/out/_next/static/7llqY64OLAlXQNo-YhXyr/_buildManifest.js +1 -0
- package/out/_next/static/{bMdE5uGdmIhIs9cgTPp_Z → 7llqY64OLAlXQNo-YhXyr}/_middlewareManifest.js +0 -0
- package/out/_next/static/7llqY64OLAlXQNo-YhXyr/_ssgManifest.js +1 -0
- package/out/_next/static/chunks/109-a08539311d3d6672.js +1 -0
- package/out/_next/static/chunks/178-87f01d17ab32dd4f.js +1 -0
- package/out/_next/static/chunks/252-08ab418f9b6821dd.js +1 -0
- package/out/_next/static/chunks/506-12764fcf4b5d93b0.js +1 -0
- package/out/_next/static/chunks/519-2ec6fc3cdbaa4dc2.js +1 -0
- package/out/_next/static/chunks/650-343888e13f994a09.js +1 -0
- package/out/_next/static/chunks/962-20c87db3880df896.js +1 -0
- package/out/_next/static/chunks/b744740b-229c238b25b9eeac.js +1 -0
- package/out/_next/static/chunks/pages/_app-6eba1099469a6889.js +1 -0
- package/out/_next/static/chunks/pages/events/[name]/v/{[version]-f6619ec4056cc70d.js → [version]-33051dbc32f5fe4e.js} +1 -1
- package/out/_next/static/chunks/pages/events/{[name]-73ecab7171745a3f.js → [name]-813780e7042af288.js} +1 -1
- package/out/_next/static/chunks/pages/services/[name]-142d7fa515cfc532.js +1 -0
- package/out/_next/static/chunks/pages/visualiser-0fbd55ba5b1f83ed.js +1 -0
- package/out/_next/static/chunks/{webpack-2ebfdb1666dac4ad.js → webpack-de66347fdf9ac788.js} +1 -1
- package/out/_next/static/css/f56eba33afeb64fa.css +3 -0
- package/out/events/AddedItemToCart/index.html +4 -22
- package/out/events/AddedItemToCart/logs/index.html +1 -1
- package/out/events/AddedItemToCart/v/0.0.1/index.html +3 -3
- package/out/events/AddedItemToCart/v/0.0.2/index.html +3 -3
- package/out/events/OrderComplete/index.html +3 -21
- package/out/events/OrderComplete/logs/index.html +1 -1
- package/out/events/OrderConfirmed/index.html +3 -21
- package/out/events/OrderConfirmed/logs/index.html +1 -1
- package/out/events/OrderRequested/index.html +3 -21
- package/out/events/OrderRequested/logs/index.html +1 -1
- package/out/events/PaymentProcessed/index.html +3 -21
- package/out/events/PaymentProcessed/logs/index.html +1 -1
- package/out/events/RemovedItemFromCart/index.html +3 -21
- package/out/events/RemovedItemFromCart/logs/index.html +1 -1
- package/out/events/ShipmentDelivered/index.html +3 -23
- package/out/events/ShipmentDelivered/logs/index.html +1 -1
- package/out/events/ShipmentDispatched/index.html +3 -21
- package/out/events/ShipmentDispatched/logs/index.html +1 -1
- package/out/events/ShipmentPrepared/index.html +2 -20
- package/out/events/ShipmentPrepared/logs/index.html +1 -1
- package/out/events/index.html +3 -3
- package/out/index.html +1 -1
- package/out/overview/index.html +1 -1
- package/out/services/Basket Service/index.html +2 -22
- package/out/services/Data Lake/index.html +2 -24
- package/out/services/Payment Service/index.html +2 -20
- package/out/services/Shipping Service/index.html +2 -28
- package/out/services/index.html +2 -2
- package/out/users/dboyne/index.html +3 -3
- package/out/users/mSmith/index.html +3 -3
- package/out/visualiser/index.html +14 -0
- package/package.json +3 -1
- package/pages/events/[name].tsx +46 -8
- package/pages/services/[name].tsx +37 -1
- package/pages/visualiser.tsx +226 -0
- package/styles/globals.css +4 -0
- package/.next/static/bMdE5uGdmIhIs9cgTPp_Z/_buildManifest.js +0 -1
- package/.next/static/bMdE5uGdmIhIs9cgTPp_Z/_ssgManifest.js +0 -1
- package/.next/static/chunks/178-9b89f5c036d77ab9.js +0 -1
- package/.next/static/chunks/336-7c4681dab353ec23.js +0 -1
- package/.next/static/chunks/519-7c428c1e49c8e614.js +0 -1
- package/.next/static/chunks/650-4004943b2a9623ca.js +0 -1
- package/.next/static/chunks/962-d5070461f6d4a478.js +0 -1
- package/.next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js +0 -1
- package/.next/static/chunks/pages/services/[name]-d8873d29190a6447.js +0 -1
- package/.next/static/css/0b54ec6503b91283.css +0 -3
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/events/AddedItemToCart.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/events/OrderComplete.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/events/OrderRequested.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/events/ShipmentDelivered.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/events/ShipmentPrepared.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/services/Data Lake.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/services/Payment Service.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/services/Shipping Service.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/services.json +0 -1
- package/out/_next/data/bMdE5uGdmIhIs9cgTPp_Z/users/dboyne.json +0 -1
- package/out/_next/static/bMdE5uGdmIhIs9cgTPp_Z/_buildManifest.js +0 -1
- package/out/_next/static/bMdE5uGdmIhIs9cgTPp_Z/_ssgManifest.js +0 -1
- package/out/_next/static/chunks/178-9b89f5c036d77ab9.js +0 -1
- package/out/_next/static/chunks/336-7c4681dab353ec23.js +0 -1
- package/out/_next/static/chunks/519-7c428c1e49c8e614.js +0 -1
- package/out/_next/static/chunks/650-4004943b2a9623ca.js +0 -1
- package/out/_next/static/chunks/962-d5070461f6d4a478.js +0 -1
- package/out/_next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js +0 -1
- package/out/_next/static/chunks/pages/services/[name]-d8873d29190a6447.js +0 -1
- package/out/_next/static/css/0b54ec6503b91283.css +0 -3
|
@@ -59,48 +59,34 @@ function Examples({ title ='Examples' , description , examples =[] , showLineNum
|
|
|
59
59
|
className: "text-md font-medium text-gray-700",
|
|
60
60
|
children: description
|
|
61
61
|
}),
|
|
62
|
-
/*#__PURE__*/
|
|
63
|
-
children:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
]
|
|
84
|
-
})
|
|
85
|
-
]
|
|
86
|
-
}, tab.name));
|
|
87
|
-
})
|
|
88
|
-
}),
|
|
89
|
-
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
90
|
-
className: "my-4",
|
|
91
|
-
children: [
|
|
92
|
-
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_SyntaxHighlighter__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
|
|
62
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
|
|
63
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
64
|
+
className: "col-span-5",
|
|
65
|
+
children: [
|
|
66
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("nav", {
|
|
67
|
+
className: "-mb-2 flex bg-gray-900",
|
|
68
|
+
"aria-label": "Tabs",
|
|
69
|
+
children: tabs.map((tab)=>{
|
|
70
|
+
const isSelected = tab.name === selectedTab.name;
|
|
71
|
+
return(/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
|
72
|
+
type: "button",
|
|
73
|
+
onClick: ()=>handleTabSelection(tab)
|
|
74
|
+
,
|
|
75
|
+
className: classNames(isSelected ? 'border-yellow-300 text-yellow-300 selected bg-gray-700' : 'border-transparent text-gray-500 hover:text-gray-400 bg-gray-800 ', 'whitespace-nowrap py-3 border-b-2 font-medium important:no-underline px-6 text-xs transition '),
|
|
76
|
+
"aria-current": isSelected ? 'page' : undefined,
|
|
77
|
+
children: tab.name
|
|
78
|
+
}, tab.name));
|
|
79
|
+
})
|
|
80
|
+
}),
|
|
81
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
|
|
82
|
+
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_SyntaxHighlighter__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
|
|
93
83
|
language: selectedTab.langugage,
|
|
94
84
|
showLineNumbers: showLineNumbers,
|
|
95
85
|
children: selectedTab.content
|
|
96
|
-
}),
|
|
97
|
-
selectedTab.langugage && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
|
98
|
-
className: "-mb-2 block text-xs text-right font-bold",
|
|
99
|
-
children: selectedTab.name
|
|
100
86
|
})
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
87
|
+
})
|
|
88
|
+
]
|
|
89
|
+
})
|
|
104
90
|
})
|
|
105
91
|
]
|
|
106
92
|
})
|
|
@@ -399,6 +385,15 @@ function EventSideBar({ event , loadedVersion , isOldVersion }) {
|
|
|
399
385
|
})
|
|
400
386
|
})
|
|
401
387
|
}),
|
|
388
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(next_link__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
389
|
+
href: `/visualiser?type=event&name${eventName}`,
|
|
390
|
+
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("a", {
|
|
391
|
+
className: "hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",
|
|
392
|
+
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
|
393
|
+
children: "View in Visualiser"
|
|
394
|
+
})
|
|
395
|
+
})
|
|
396
|
+
}),
|
|
402
397
|
externalLinks.length > 0 && externalLinks.map((tag)=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("a", {
|
|
403
398
|
href: tag.url,
|
|
404
399
|
target: "_blank",
|
|
@@ -443,6 +438,8 @@ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__) => {
|
|
|
443
438
|
/* harmony import */ var react_syntax_highlighter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(727);
|
|
444
439
|
/* harmony import */ var react_syntax_highlighter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_syntax_highlighter__WEBPACK_IMPORTED_MODULE_3__);
|
|
445
440
|
/* harmony import */ var copy_text_to_clipboard__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7656);
|
|
441
|
+
/* harmony import */ var _heroicons_react_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8768);
|
|
442
|
+
/* harmony import */ var _heroicons_react_outline__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_heroicons_react_outline__WEBPACK_IMPORTED_MODULE_5__);
|
|
446
443
|
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([copy_text_to_clipboard__WEBPACK_IMPORTED_MODULE_4__]);
|
|
447
444
|
copy_text_to_clipboard__WEBPACK_IMPORTED_MODULE_4__ = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];
|
|
448
445
|
|
|
@@ -450,6 +447,7 @@ copy_text_to_clipboard__WEBPACK_IMPORTED_MODULE_4__ = (__webpack_async_dependenc
|
|
|
450
447
|
|
|
451
448
|
|
|
452
449
|
|
|
450
|
+
|
|
453
451
|
function SyntaxHighlighter({ language , name ='' , ...props }) {
|
|
454
452
|
const { 0: showCopied , 1: setShowCopied } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
|
|
455
453
|
const handleCopyCode = ()=>{
|
|
@@ -460,25 +458,40 @@ function SyntaxHighlighter({ language , name ='' , ...props }) {
|
|
|
460
458
|
};
|
|
461
459
|
const regex = /\\n/g;
|
|
462
460
|
return(/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
463
|
-
className: "relative
|
|
461
|
+
className: "h-96 relative",
|
|
464
462
|
children: [
|
|
465
|
-
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.
|
|
463
|
+
name && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
464
|
+
className: `flex -mb-3 pb-2 bg-gray-900 ${name ? 'justify-between' : 'justify-end'}`,
|
|
465
|
+
children: [
|
|
466
|
+
name && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
|
467
|
+
className: "block text-xs py-2 px-2 font-bold text-gray-300",
|
|
468
|
+
children: name
|
|
469
|
+
}),
|
|
470
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
|
471
|
+
type: "button",
|
|
472
|
+
onClick: handleCopyCode,
|
|
473
|
+
className: "text-xs text-white rounded-md px-4",
|
|
474
|
+
children: showCopied ? 'Copied' : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_heroicons_react_outline__WEBPACK_IMPORTED_MODULE_5__.ClipboardCopyIcon, {
|
|
475
|
+
className: "h-4 w-4"
|
|
476
|
+
})
|
|
477
|
+
})
|
|
478
|
+
]
|
|
479
|
+
}),
|
|
480
|
+
!name && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
|
466
481
|
type: "button",
|
|
467
482
|
onClick: handleCopyCode,
|
|
468
|
-
className: "absolute
|
|
469
|
-
children: showCopied ? 'Copied' :
|
|
483
|
+
className: "text-xs absolute right-0 top-2 text-white rounded-md px-4",
|
|
484
|
+
children: showCopied ? 'Copied' : /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_heroicons_react_outline__WEBPACK_IMPORTED_MODULE_5__.ClipboardCopyIcon, {
|
|
485
|
+
className: "h-4 w-4"
|
|
486
|
+
})
|
|
470
487
|
}),
|
|
471
488
|
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_syntax_highlighter__WEBPACK_IMPORTED_MODULE_3__.Prism, {
|
|
472
489
|
style: (react_syntax_highlighter_dist_cjs_styles_prism_dracula__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
473
490
|
language: language,
|
|
474
491
|
...props,
|
|
475
492
|
wrapLines: true,
|
|
476
|
-
className: "
|
|
493
|
+
className: "h-96 overflow-auto",
|
|
477
494
|
children: props.children.replace(regex, '\n')
|
|
478
|
-
}),
|
|
479
|
-
name && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
|
480
|
-
className: "-mb-2 block text-xs text-right font-bold",
|
|
481
|
-
children: name
|
|
482
495
|
})
|
|
483
496
|
]
|
|
484
497
|
}));
|
|
@@ -509,7 +522,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
509
522
|
/* harmony import */ var next_mdx_remote__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_mdx_remote__WEBPACK_IMPORTED_MODULE_2__);
|
|
510
523
|
/* harmony import */ var _components_Mdx_Admonition__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1790);
|
|
511
524
|
/* harmony import */ var _components_Mdx_Examples__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3067);
|
|
512
|
-
/* harmony import */ var
|
|
525
|
+
/* harmony import */ var _utils_random_bg__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(6892);
|
|
513
526
|
/* harmony import */ var _components_ContentView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2455);
|
|
514
527
|
/* harmony import */ var _components_Mermaid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(788);
|
|
515
528
|
/* harmony import */ var _components_Sidebars_EventSidebar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9610);
|
|
@@ -519,6 +532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
519
532
|
/* harmony import */ var _components_Mdx_SchemaViewer_SchemaViewer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7228);
|
|
520
533
|
/* harmony import */ var _lib_events__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9959);
|
|
521
534
|
/* harmony import */ var _hooks_EventCatalog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5008);
|
|
535
|
+
/* harmony import */ var _components_Mdx_NodeGraph_NodeGraph__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(8484);
|
|
522
536
|
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_lib_events__WEBPACK_IMPORTED_MODULE_12__, _components_Mermaid__WEBPACK_IMPORTED_MODULE_6__, _components_Mdx_Examples__WEBPACK_IMPORTED_MODULE_4__, _components_Mdx_SchemaViewer_SchemaViewer__WEBPACK_IMPORTED_MODULE_11__, _components_SyntaxHighlighter__WEBPACK_IMPORTED_MODULE_10__]);
|
|
523
537
|
([_lib_events__WEBPACK_IMPORTED_MODULE_12__, _components_Mermaid__WEBPACK_IMPORTED_MODULE_6__, _components_Mdx_Examples__WEBPACK_IMPORTED_MODULE_4__, _components_Mdx_SchemaViewer_SchemaViewer__WEBPACK_IMPORTED_MODULE_11__, _components_SyntaxHighlighter__WEBPACK_IMPORTED_MODULE_10__] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);
|
|
524
538
|
|
|
@@ -536,6 +550,7 @@ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_lib
|
|
|
536
550
|
|
|
537
551
|
|
|
538
552
|
|
|
553
|
+
|
|
539
554
|
const getComponents = ({ event , schema , examples })=>({
|
|
540
555
|
code: ({ className , ...props })=>{
|
|
541
556
|
const match = /language-(\w+)/.exec(className || '');
|
|
@@ -547,12 +562,12 @@ const getComponents = ({ event , schema , examples })=>({
|
|
|
547
562
|
...props
|
|
548
563
|
});
|
|
549
564
|
},
|
|
550
|
-
Schema: ({ title
|
|
565
|
+
Schema: ({ title })=>{
|
|
551
566
|
if (!schema) return null;
|
|
552
567
|
return(/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("section", {
|
|
553
568
|
className: "mt-8 xl:mt-10",
|
|
554
569
|
children: [
|
|
555
|
-
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
|
|
570
|
+
title && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
|
|
556
571
|
id: "activity-title",
|
|
557
572
|
className: "text-lg font-medium text-gray-900 underline",
|
|
558
573
|
children: title
|
|
@@ -566,12 +581,12 @@ const getComponents = ({ event , schema , examples })=>({
|
|
|
566
581
|
]
|
|
567
582
|
}));
|
|
568
583
|
},
|
|
569
|
-
SchemaViewer: ({ title
|
|
584
|
+
SchemaViewer: ({ title , renderRootTreeLines =false , defaultExpandedDepth =1 , maxHeight })=>{
|
|
570
585
|
if (!schema) return null;
|
|
571
586
|
return(/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("section", {
|
|
572
587
|
className: "mt-8 xl:mt-10",
|
|
573
588
|
children: [
|
|
574
|
-
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
|
|
589
|
+
title && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
|
|
575
590
|
className: "text-lg font-medium text-gray-900 underline",
|
|
576
591
|
children: title
|
|
577
592
|
}),
|
|
@@ -606,11 +621,32 @@ const getComponents = ({ event , schema , examples })=>({
|
|
|
606
621
|
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Mermaid__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
|
|
607
622
|
source: "event",
|
|
608
623
|
data: event,
|
|
609
|
-
rootNodeColor: (0,
|
|
624
|
+
rootNodeColor: (0,_utils_random_bg__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(event.name),
|
|
610
625
|
charts: charts
|
|
611
626
|
})
|
|
612
627
|
]
|
|
613
628
|
})
|
|
629
|
+
,
|
|
630
|
+
NodeGraph: ({ title , maxHeight , maxZoom , fitView , zoomOnScroll , isAnimated , isDraggable })=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
631
|
+
className: "mx-auto w-full",
|
|
632
|
+
children: [
|
|
633
|
+
title && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
|
|
634
|
+
className: "text-lg font-medium text-gray-900 underline",
|
|
635
|
+
children: title
|
|
636
|
+
}),
|
|
637
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Mdx_NodeGraph_NodeGraph__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
|
|
638
|
+
source: "event",
|
|
639
|
+
data: event,
|
|
640
|
+
rootNodeColor: (0,_utils_random_bg__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(event.name),
|
|
641
|
+
maxHeight: maxHeight,
|
|
642
|
+
maxZoom: maxZoom,
|
|
643
|
+
fitView: fitView,
|
|
644
|
+
zoomOnScroll: zoomOnScroll,
|
|
645
|
+
isAnimated: isAnimated,
|
|
646
|
+
isDraggable: isDraggable
|
|
647
|
+
})
|
|
648
|
+
]
|
|
649
|
+
})
|
|
614
650
|
})
|
|
615
651
|
;
|
|
616
652
|
function Events(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><title>404: This page could not be found</title><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><title>404: This page could not be found</title><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/f56eba33afeb64fa.css" as="style"/><link rel="stylesheet" href="/_next/static/css/f56eba33afeb64fa.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-de66347fdf9ac788.js" defer=""></script><script src="/_next/static/chunks/framework-576ec6a1c1386453.js" defer=""></script><script src="/_next/static/chunks/main-0015f560a7edeb35.js" defer=""></script><script src="/_next/static/chunks/pages/_app-6eba1099469a6889.js" defer=""></script><script src="/_next/static/chunks/pages/_error-5a714c45c50a8db4.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_buildManifest.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_ssgManifest.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_middlewareManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div class="bg-gray-800"><div class="max-w-7xl mx-auto "><div class="relative flex items-center justify-between h-16"><div class="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"><div class="flex-shrink-0 flex items-center text-white font-bold"><a class="flex items-center" href="/"><img alt="logo" class="text-white w-8 inline-block mr-3" src="/logo.svg"/><span class="text-xl">EventCatalog</span></a></div></div><div class="hidden sm:block sm:ml-6"><div class="flex space-x-4"><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/events/">Events</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/services/">Services</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/visualiser/">Visualiser</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/overview/">3D Node Graph</a></div></div></div></div></div><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><h1 style="display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div><footer class="bg-gray-800"><div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"><nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"><div class="px-5 py-2"><a href="/events" class="text-base text-gray-500 hover:text-gray-900">Events</a></div><div class="px-5 py-2"><a href="/services" class="text-base text-gray-500 hover:text-gray-900">Services</a></div><div class="px-5 py-2"><a href="/overview" class="text-base text-gray-500 hover:text-gray-900">3D Node Graph</a></div><div class="px-5 py-2"><a href="https://github.com/boyney123/eventcatalog-demo/edit/master" class="text-base text-gray-500 hover:text-gray-900">GitHub</a></div></nav><p class="mt-8 text-center text-base text-gray-400">Copyright © <!-- -->2022<!-- --> <!-- -->Your Company<!-- -->. Built with<!-- --> <a class="underline" href="https://eventcatalog.dev" target="_blank" rel="noreferrer">EventCatalog.</a></p></div></footer></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"7llqY64OLAlXQNo-YhXyr","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><title>500: Internal Server Error</title><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><title>500: Internal Server Error</title><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/f56eba33afeb64fa.css" as="style"/><link rel="stylesheet" href="/_next/static/css/f56eba33afeb64fa.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-de66347fdf9ac788.js" defer=""></script><script src="/_next/static/chunks/framework-576ec6a1c1386453.js" defer=""></script><script src="/_next/static/chunks/main-0015f560a7edeb35.js" defer=""></script><script src="/_next/static/chunks/pages/_app-6eba1099469a6889.js" defer=""></script><script src="/_next/static/chunks/pages/_error-5a714c45c50a8db4.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_buildManifest.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_ssgManifest.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_middlewareManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div class="bg-gray-800"><div class="max-w-7xl mx-auto "><div class="relative flex items-center justify-between h-16"><div class="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"><div class="flex-shrink-0 flex items-center text-white font-bold"><a class="flex items-center" href="/"><img alt="logo" class="text-white w-8 inline-block mr-3" src="/logo.svg"/><span class="text-xl">EventCatalog</span></a></div></div><div class="hidden sm:block sm:ml-6"><div class="flex space-x-4"><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/events/">Events</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/services/">Services</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/visualiser/">Visualiser</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/overview/">3D Node Graph</a></div></div></div></div></div><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><h1 style="display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">Internal Server Error<!-- -->.</h2></div></div></div><footer class="bg-gray-800"><div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"><nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"><div class="px-5 py-2"><a href="/events" class="text-base text-gray-500 hover:text-gray-900">Events</a></div><div class="px-5 py-2"><a href="/services" class="text-base text-gray-500 hover:text-gray-900">Services</a></div><div class="px-5 py-2"><a href="/overview" class="text-base text-gray-500 hover:text-gray-900">3D Node Graph</a></div><div class="px-5 py-2"><a href="https://github.com/boyney123/eventcatalog-demo/edit/master" class="text-base text-gray-500 hover:text-gray-900">GitHub</a></div></nav><p class="mt-8 text-center text-base text-gray-400">Copyright © <!-- -->2022<!-- --> <!-- -->Your Company<!-- -->. Built with<!-- --> <a class="underline" href="https://eventcatalog.dev" target="_blank" rel="noreferrer">EventCatalog.</a></p></div></footer></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"7llqY64OLAlXQNo-YhXyr","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -5,7 +5,7 @@ exports.id = 888;
|
|
|
5
5
|
exports.ids = [888];
|
|
6
6
|
exports.modules = {
|
|
7
7
|
|
|
8
|
-
/***/
|
|
8
|
+
/***/ 2373:
|
|
9
9
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10
10
|
|
|
11
11
|
// ESM COMPAT FLAG
|
|
@@ -26,8 +26,8 @@ var next_link = __webpack_require__(9097);
|
|
|
26
26
|
// EXTERNAL MODULE: external "next/config"
|
|
27
27
|
var config_ = __webpack_require__(4558);
|
|
28
28
|
var config_default = /*#__PURE__*/__webpack_require__.n(config_);
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
// EXTERNAL MODULE: external "next/router"
|
|
30
|
+
var router_ = __webpack_require__(1853);
|
|
31
31
|
// EXTERNAL MODULE: ./hooks/EventCatalog.tsx
|
|
32
32
|
var EventCatalog = __webpack_require__(5008);
|
|
33
33
|
;// CONCATENATED MODULE: ./components/Header.tsx
|
|
@@ -45,6 +45,10 @@ const navigation = [
|
|
|
45
45
|
name: 'Services',
|
|
46
46
|
href: '/services'
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Visualiser',
|
|
50
|
+
href: '/visualiser'
|
|
51
|
+
},
|
|
48
52
|
{
|
|
49
53
|
name: '3D Node Graph',
|
|
50
54
|
href: '/overview'
|
|
@@ -55,7 +59,7 @@ function classNames(...classes) {
|
|
|
55
59
|
}
|
|
56
60
|
function Example() {
|
|
57
61
|
const { title , homepageLink , logo } = (0,EventCatalog/* useConfig */.ZR)();
|
|
58
|
-
const router = (0,
|
|
62
|
+
const router = (0,router_.useRouter)();
|
|
59
63
|
const { publicRuntimeConfig: { basePath ='' } = {
|
|
60
64
|
} } = config_default()();
|
|
61
65
|
const logoToLoad = logo || {
|
|
@@ -374,6 +378,13 @@ module.exports = require("next/head");
|
|
|
374
378
|
|
|
375
379
|
/***/ }),
|
|
376
380
|
|
|
381
|
+
/***/ 1853:
|
|
382
|
+
/***/ ((module) => {
|
|
383
|
+
|
|
384
|
+
module.exports = require("next/router");
|
|
385
|
+
|
|
386
|
+
/***/ }),
|
|
387
|
+
|
|
377
388
|
/***/ 6689:
|
|
378
389
|
/***/ ((module) => {
|
|
379
390
|
|
|
@@ -402,7 +413,7 @@ module.exports = require("path");
|
|
|
402
413
|
var __webpack_require__ = require("../webpack-runtime.js");
|
|
403
414
|
__webpack_require__.C(exports);
|
|
404
415
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
405
|
-
var __webpack_exports__ = __webpack_require__.X(0, [47,97,8], () => (__webpack_exec__(
|
|
416
|
+
var __webpack_exports__ = __webpack_require__.X(0, [47,97,8], () => (__webpack_exec__(2373)));
|
|
406
417
|
module.exports = __webpack_exports__;
|
|
407
418
|
|
|
408
419
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>EventCatalog</title><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/0b54ec6503b91283.css" as="style"/><link rel="stylesheet" href="/_next/static/css/0b54ec6503b91283.css" data-n-g=""/><link rel="preload" href="/_next/static/css/5eeed9cb243ce668.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5eeed9cb243ce668.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-2ebfdb1666dac4ad.js" defer=""></script><script src="/_next/static/chunks/framework-576ec6a1c1386453.js" defer=""></script><script src="/_next/static/chunks/main-0015f560a7edeb35.js" defer=""></script><script src="/_next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js" defer=""></script><script src="/_next/static/chunks/519-7c428c1e49c8e614.js" defer=""></script><script src="/_next/static/chunks/364-9c039ca46569869e.js" defer=""></script><script src="/_next/static/chunks/pages/events/%5Bname%5D/logs-707da36de8222a98.js" defer=""></script><script src="/_next/static/bMdE5uGdmIhIs9cgTPp_Z/_buildManifest.js" defer=""></script><script src="/_next/static/bMdE5uGdmIhIs9cgTPp_Z/_ssgManifest.js" defer=""></script><script src="/_next/static/bMdE5uGdmIhIs9cgTPp_Z/_middlewareManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div class="bg-gray-800"><div class="max-w-7xl mx-auto "><div class="relative flex items-center justify-between h-16"><div class="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"><div class="flex-shrink-0 flex items-center text-white font-bold"><a class="flex items-center" href="/"><img alt="logo" class="text-white w-8 inline-block mr-3" src="/logo.svg"/><span class="text-xl">EventCatalog</span></a></div></div><div class="hidden sm:block sm:ml-6"><div class="flex space-x-4"><a class="bg-gray-900 text-white px-3 py-2 rounded-md text-sm font-medium" aria-current="page" href="/events/">Events</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/services/">Services</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/overview/">3D Node Graph</a></div></div></div></div></div><div class="flex relative min-h-screen"><div class=" flex flex-col w-0 flex-1 "><main class="flex-1 "><div class="py-8 xl:py-10"><div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 xl:max-w-7xl xl:grid xl:grid-cols-4"><div class="xl:col-span-4 flex-col justify-between flex "><div class="mb-5 border-b border-gray-100 pb-4"><nav class="flex" aria-label="Breadcrumb"><ol class="flex items-center space-x-4"><li><a class="text-gray-400 hover:text-gray-500" href="/events/"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="flex-shrink-0 h-5 w-5"><path d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"></path></svg><span class="sr-only">Home</span></a></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" href="/events/">Events</a></div></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" href="/events/AddedItemToCart/">AddedItemToCart</a></div></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" aria-current="page" href="/events/AddedItemToCart/history/">Logs</a></div></li></ol></nav></div><div><div class="border-b pb-4 flex justify-between mb-4"><div class="space-y-2 w-full"><h1 class="text-3xl font-bold text-gray-900 relative">AddedItemToCart</h1></div></div><div class="flow-root mb-20"><ul class=""><li class=""><div class="relative pb-8"><span class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-100" aria-hidden="true"></span><div class="relative flex space-x-3"><div><span class="h-8 text-white text-xs w-8 rounded-full flex items-center justify-center ring-8 ring-white bg-blue-500"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="h-4 w-4"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></span></div><div><div><p class="font-bold text-gray-800 text-xl">Schema version update<a class="font-medium" href="/events/AddedItemToCart/v/0.0.2"> from<span class="text-blue-500 underline px-1">0.0.2</span>to</a><a class="font-medium" href="/events/AddedItemToCart/"><span class="text-blue-500 underline px-1">0.0.3<!-- -->(latest)</span></a></p><h2 class="text-xl text-blue-500 font-bold mt-4 border-b border-gray-100 pb-2">Changelog</h2><div class="prose max-w-none mt-2"><p>Changed <code>quantity</code> maximum to 1000.</p></div></div><div class="text-right text-sm text-gray-500 py-4"><div id="code-diff-0"></div></div></div></div></div></li><li class=""><div class="relative pb-8"><div class="relative flex space-x-3"><div><span class="h-8 text-white text-xs w-8 rounded-full flex items-center justify-center ring-8 ring-white bg-blue-500"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="h-4 w-4"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></span></div><div><div><p class="font-bold text-gray-800 text-xl">Schema version update<a class="font-medium" href="/events/AddedItemToCart/v/0.0.1"> from<span class="text-blue-500 underline px-1">0.0.1</span>to</a><a class="font-medium" href="/events/AddedItemToCart/v/0.0.2"><span class="text-blue-500 underline px-1">0.0.2</span></a></p><h2 class="text-xl text-blue-500 font-bold mt-4 border-b border-gray-100 pb-2">Changelog</h2><div class="prose max-w-none mt-2"><p>Added <code>quantity</code> into the schema.</p></div></div><div class="text-right text-sm text-gray-500 py-4"><div id="code-diff-1"></div></div></div></div></div></li></ul></div></div></div></div></div></main></div></div><footer class="bg-gray-800"><div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"><nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"><div class="px-5 py-2"><a href="/events" class="text-base text-gray-500 hover:text-gray-900">Events</a></div><div class="px-5 py-2"><a href="/services" class="text-base text-gray-500 hover:text-gray-900">Services</a></div><div class="px-5 py-2"><a href="/overview" class="text-base text-gray-500 hover:text-gray-900">3D Node Graph</a></div><div class="px-5 py-2"><a href="https://github.com/boyney123/eventcatalog-demo/edit/master" class="text-base text-gray-500 hover:text-gray-900">GitHub</a></div></nav><p class="mt-8 text-center text-base text-gray-400">Copyright © <!-- -->2022<!-- --> <!-- -->Your Company<!-- -->. Built with<!-- --> <a class="underline" href="https://eventcatalog.dev" target="_blank" rel="noreferrer">EventCatalog.</a></p></div></footer></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"changes":[{"versions":["0.0.2","0.0.3"],"changelog":{"content":"Changed `quantity` maximum to 1000.","source":{"compiledSource":"var s=Object.defineProperty,C=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var m=(n,t,o)=\u003et in n?s(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,p=(n,t)=\u003e{for(var o in t||(t={}))u.call(t,o)\u0026\u0026m(n,o,t[o]);if(a)for(var o of a(t))i.call(t,o)\u0026\u0026m(n,o,t[o]);return n},r=(n,t)=\u003eC(n,D(t));var y=(n,t)=\u003e{var o={};for(var e in n)u.call(n,e)\u0026\u0026t.indexOf(e)\u003c0\u0026\u0026(o[e]=n[e]);if(n!=null\u0026\u0026a)for(var e of a(n))t.indexOf(e)\u003c0\u0026\u0026i.call(n,e)\u0026\u0026(o[e]=n[e]);return o};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var e=o,{components:n}=e,t=y(e,[\"components\"]);return mdx(MDXLayout,r(p(p({},layoutProps),t),{components:n,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Changed \",mdx(\"inlineCode\",{parentName:\"p\"},\"quantity\"),\" maximum to 1000.\"))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"value":"===================================================================\n--- schema.json (0.0.2)\n+++ schema.json (0.0.3)\n@@ -36,9 +36,9 @@\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to add to their shopping cart\",\n \"minimum\": 1,\n- \"maximum\": 100,\n+ \"maximum\": 1000,\n \"default\": 1\n }\n }\n }\n"},{"versions":["0.0.1","0.0.2"],"changelog":{"content":"Added `quantity` into the schema.","source":{"compiledSource":"var y=Object.defineProperty,c=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(n,t,e)=\u003et in n?y(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,a=(n,t)=\u003e{for(var e in t||(t={}))i.call(t,e)\u0026\u0026r(n,e,t[e]);if(p)for(var e of p(t))u.call(t,e)\u0026\u0026r(n,e,t[e]);return n},d=(n,t)=\u003ec(n,m(t));var s=(n,t)=\u003e{var e={};for(var o in n)i.call(n,o)\u0026\u0026t.indexOf(o)\u003c0\u0026\u0026(e[o]=n[o]);if(n!=null\u0026\u0026p)for(var o of p(n))t.indexOf(o)\u003c0\u0026\u0026u.call(n,o)\u0026\u0026(e[o]=n[o]);return e};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(e){var o=e,{components:n}=o,t=s(o,[\"components\"]);return mdx(MDXLayout,d(a(a({},layoutProps),t),{components:n,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Added \",mdx(\"inlineCode\",{parentName:\"p\"},\"quantity\"),\" into the schema.\"))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"value":"===================================================================\n--- schema.json (0.0.1)\n+++ schema.json (0.0.2)\n@@ -31,8 +31,15 @@\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n+ },\n+ \"quantity\": {\n+ \"type\": \"number\",\n+ \"description\": \"How many items the user wants to add to their shopping cart\",\n+ \"minimum\": 1,\n+ \"maximum\": 100,\n+ \"default\": 1\n }\n }\n }\n }\n"}],"name":"AddedItemToCart","currentVersion":"0.0.3"},"__N_SSG":true},"page":"/events/[name]/logs","query":{"name":"AddedItemToCart"},"buildId":"bMdE5uGdmIhIs9cgTPp_Z","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>EventCatalog</title><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/f56eba33afeb64fa.css" as="style"/><link rel="stylesheet" href="/_next/static/css/f56eba33afeb64fa.css" data-n-g=""/><link rel="preload" href="/_next/static/css/5eeed9cb243ce668.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5eeed9cb243ce668.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-de66347fdf9ac788.js" defer=""></script><script src="/_next/static/chunks/framework-576ec6a1c1386453.js" defer=""></script><script src="/_next/static/chunks/main-0015f560a7edeb35.js" defer=""></script><script src="/_next/static/chunks/pages/_app-6eba1099469a6889.js" defer=""></script><script src="/_next/static/chunks/519-2ec6fc3cdbaa4dc2.js" defer=""></script><script src="/_next/static/chunks/364-9c039ca46569869e.js" defer=""></script><script src="/_next/static/chunks/pages/events/%5Bname%5D/logs-707da36de8222a98.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_buildManifest.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_ssgManifest.js" defer=""></script><script src="/_next/static/7llqY64OLAlXQNo-YhXyr/_middlewareManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div class="bg-gray-800"><div class="max-w-7xl mx-auto "><div class="relative flex items-center justify-between h-16"><div class="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"><div class="flex-shrink-0 flex items-center text-white font-bold"><a class="flex items-center" href="/"><img alt="logo" class="text-white w-8 inline-block mr-3" src="/logo.svg"/><span class="text-xl">EventCatalog</span></a></div></div><div class="hidden sm:block sm:ml-6"><div class="flex space-x-4"><a class="bg-gray-900 text-white px-3 py-2 rounded-md text-sm font-medium" aria-current="page" href="/events/">Events</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/services/">Services</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/visualiser/">Visualiser</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/overview/">3D Node Graph</a></div></div></div></div></div><div class="flex relative min-h-screen"><div class=" flex flex-col w-0 flex-1 "><main class="flex-1 "><div class="py-8 xl:py-10"><div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 xl:max-w-7xl xl:grid xl:grid-cols-4"><div class="xl:col-span-4 flex-col justify-between flex "><div class="mb-5 border-b border-gray-100 pb-4"><nav class="flex" aria-label="Breadcrumb"><ol class="flex items-center space-x-4"><li><a class="text-gray-400 hover:text-gray-500" href="/events/"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="flex-shrink-0 h-5 w-5"><path d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"></path></svg><span class="sr-only">Home</span></a></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" href="/events/">Events</a></div></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" href="/events/AddedItemToCart/">AddedItemToCart</a></div></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" aria-current="page" href="/events/AddedItemToCart/history/">Logs</a></div></li></ol></nav></div><div><div class="border-b pb-4 flex justify-between mb-4"><div class="space-y-2 w-full"><h1 class="text-3xl font-bold text-gray-900 relative">AddedItemToCart</h1></div></div><div class="flow-root mb-20"><ul class=""><li class=""><div class="relative pb-8"><span class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-100" aria-hidden="true"></span><div class="relative flex space-x-3"><div><span class="h-8 text-white text-xs w-8 rounded-full flex items-center justify-center ring-8 ring-white bg-blue-500"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="h-4 w-4"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></span></div><div><div><p class="font-bold text-gray-800 text-xl">Schema version update<a class="font-medium" href="/events/AddedItemToCart/v/0.0.2"> from<span class="text-blue-500 underline px-1">0.0.2</span>to</a><a class="font-medium" href="/events/AddedItemToCart/"><span class="text-blue-500 underline px-1">0.0.3<!-- -->(latest)</span></a></p><h2 class="text-xl text-blue-500 font-bold mt-4 border-b border-gray-100 pb-2">Changelog</h2><div class="prose max-w-none mt-2"><p>Changed <code>quantity</code> maximum to 1000.</p></div></div><div class="text-right text-sm text-gray-500 py-4"><div id="code-diff-0"></div></div></div></div></div></li><li class=""><div class="relative pb-8"><div class="relative flex space-x-3"><div><span class="h-8 text-white text-xs w-8 rounded-full flex items-center justify-center ring-8 ring-white bg-blue-500"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="h-4 w-4"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></span></div><div><div><p class="font-bold text-gray-800 text-xl">Schema version update<a class="font-medium" href="/events/AddedItemToCart/v/0.0.1"> from<span class="text-blue-500 underline px-1">0.0.1</span>to</a><a class="font-medium" href="/events/AddedItemToCart/v/0.0.2"><span class="text-blue-500 underline px-1">0.0.2</span></a></p><h2 class="text-xl text-blue-500 font-bold mt-4 border-b border-gray-100 pb-2">Changelog</h2><div class="prose max-w-none mt-2"><p>Added <code>quantity</code> into the schema.</p></div></div><div class="text-right text-sm text-gray-500 py-4"><div id="code-diff-1"></div></div></div></div></div></li></ul></div></div></div></div></div></main></div></div><footer class="bg-gray-800"><div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"><nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"><div class="px-5 py-2"><a href="/events" class="text-base text-gray-500 hover:text-gray-900">Events</a></div><div class="px-5 py-2"><a href="/services" class="text-base text-gray-500 hover:text-gray-900">Services</a></div><div class="px-5 py-2"><a href="/overview" class="text-base text-gray-500 hover:text-gray-900">3D Node Graph</a></div><div class="px-5 py-2"><a href="https://github.com/boyney123/eventcatalog-demo/edit/master" class="text-base text-gray-500 hover:text-gray-900">GitHub</a></div></nav><p class="mt-8 text-center text-base text-gray-400">Copyright © <!-- -->2022<!-- --> <!-- -->Your Company<!-- -->. Built with<!-- --> <a class="underline" href="https://eventcatalog.dev" target="_blank" rel="noreferrer">EventCatalog.</a></p></div></footer></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"changes":[{"versions":["0.0.2","0.0.3"],"changelog":{"content":"Changed `quantity` maximum to 1000.","source":{"compiledSource":"var s=Object.defineProperty,C=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var m=(n,t,o)=\u003et in n?s(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,p=(n,t)=\u003e{for(var o in t||(t={}))u.call(t,o)\u0026\u0026m(n,o,t[o]);if(a)for(var o of a(t))i.call(t,o)\u0026\u0026m(n,o,t[o]);return n},r=(n,t)=\u003eC(n,D(t));var y=(n,t)=\u003e{var o={};for(var e in n)u.call(n,e)\u0026\u0026t.indexOf(e)\u003c0\u0026\u0026(o[e]=n[e]);if(n!=null\u0026\u0026a)for(var e of a(n))t.indexOf(e)\u003c0\u0026\u0026i.call(n,e)\u0026\u0026(o[e]=n[e]);return o};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var e=o,{components:n}=e,t=y(e,[\"components\"]);return mdx(MDXLayout,r(p(p({},layoutProps),t),{components:n,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Changed \",mdx(\"inlineCode\",{parentName:\"p\"},\"quantity\"),\" maximum to 1000.\"))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"value":"===================================================================\n--- schema.json (0.0.2)\n+++ schema.json (0.0.3)\n@@ -36,9 +36,9 @@\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to add to their shopping cart\",\n \"minimum\": 1,\n- \"maximum\": 100,\n+ \"maximum\": 1000,\n \"default\": 1\n }\n }\n }\n"},{"versions":["0.0.1","0.0.2"],"changelog":{"content":"Added `quantity` into the schema.","source":{"compiledSource":"var y=Object.defineProperty,c=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(n,t,e)=\u003et in n?y(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,a=(n,t)=\u003e{for(var e in t||(t={}))i.call(t,e)\u0026\u0026r(n,e,t[e]);if(p)for(var e of p(t))u.call(t,e)\u0026\u0026r(n,e,t[e]);return n},d=(n,t)=\u003ec(n,m(t));var s=(n,t)=\u003e{var e={};for(var o in n)i.call(n,o)\u0026\u0026t.indexOf(o)\u003c0\u0026\u0026(e[o]=n[o]);if(n!=null\u0026\u0026p)for(var o of p(n))t.indexOf(o)\u003c0\u0026\u0026u.call(n,o)\u0026\u0026(e[o]=n[o]);return e};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(e){var o=e,{components:n}=o,t=s(o,[\"components\"]);return mdx(MDXLayout,d(a(a({},layoutProps),t),{components:n,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Added \",mdx(\"inlineCode\",{parentName:\"p\"},\"quantity\"),\" into the schema.\"))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"value":"===================================================================\n--- schema.json (0.0.1)\n+++ schema.json (0.0.2)\n@@ -31,8 +31,15 @@\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n+ },\n+ \"quantity\": {\n+ \"type\": \"number\",\n+ \"description\": \"How many items the user wants to add to their shopping cart\",\n+ \"minimum\": 1,\n+ \"maximum\": 100,\n+ \"default\": 1\n }\n }\n }\n }\n"}],"name":"AddedItemToCart","currentVersion":"0.0.3"},"__N_SSG":true},"page":"/events/[name]/logs","query":{"name":"AddedItemToCart"},"buildId":"7llqY64OLAlXQNo-YhXyr","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>
|