@eventcatalog/core 0.1.7 → 0.1.11
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 +50 -40
- 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/export-marker.json +1 -1
- package/.next/images-manifest.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +3 -2
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/565.js +2 -2
- package/.next/server/chunks/8.js +1 -0
- package/.next/server/chunks/944.js +92 -11
- package/.next/server/chunks/97.js +9 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +28 -7
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 -44
- package/.next/server/pages/events/ShipmentPrepared.json +1 -1
- package/.next/server/pages/events/[name]/v/[version].js +14 -0
- package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
- package/.next/server/pages/events/[name].js +14 -0
- package/.next/server/pages/events/[name].js.nft.json +1 -1
- package/.next/server/pages/events.html +10 -10
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/services/Basket Service.html +6 -6
- package/.next/server/pages/services/Basket Service.json +1 -1
- package/.next/server/pages/services/Data Lake.html +7 -7
- package/.next/server/pages/services/Data Lake.json +1 -1
- package/.next/server/pages/services/Payment Service.html +6 -6
- package/.next/server/pages/services/Payment Service.json +1 -1
- package/.next/server/pages/services/Shipping Service.html +6 -6
- package/.next/server/pages/services/Shipping Service.json +1 -1
- package/.next/server/pages/services.html +5 -5
- package/.next/server/pages/users/dboyne.html +14 -14
- package/.next/server/pages/users/mSmith.html +10 -10
- package/.next/static/chunks/{873-b2f75ede9cf9538c.js → 178-9b89f5c036d77ab9.js} +1 -1
- package/.next/static/chunks/1df474da-91f6061ee61707c6.js +1 -0
- package/.next/static/chunks/2edb282b-9e1cce5842787609.js +1 -0
- package/.next/static/chunks/{336-b1acb0b6aa306baf.js → 336-22157631c3f2ef95.js} +1 -1
- package/.next/static/chunks/364-9c039ca46569869e.js +1 -0
- package/.next/static/chunks/5-f60eecf67567a225.js +1 -0
- package/.next/static/chunks/650-4004943b2a9623ca.js +1 -0
- package/.next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js +1 -0
- package/.next/static/chunks/802.a40c121588cf5040.js +1 -0
- package/.next/static/chunks/main-0015f560a7edeb35.js +1 -0
- package/.next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js +1 -0
- package/.next/static/chunks/pages/events/[name]/v/{[version]-5652060e116d4a61.js → [version]-f6619ec4056cc70d.js} +1 -1
- package/.next/static/chunks/pages/events/[name]-73ecab7171745a3f.js +1 -0
- package/.next/static/chunks/pages/{events-c9e5a0fa7d23d620.js → events-5ffe0ca38bc5f78c.js} +1 -1
- package/.next/static/chunks/pages/{overview-44ba3c19ae643475.js → overview-2f0bfad06c84e437.js} +1 -1
- package/{out/_next/static/chunks/pages/services-30e4132ef02b1784.js → .next/static/chunks/pages/services-a4eaef0c2abfdf9c.js} +1 -1
- package/{out/_next/static/chunks/pages/users/[id]-a4274bfad4d9a9ec.js → .next/static/chunks/pages/users/[id]-6e62960d4bd19b7d.js} +1 -1
- package/.next/static/chunks/webpack-2ebfdb1666dac4ad.js +1 -0
- package/.next/static/css/7e14b4dede1671ad.css +1 -0
- package/.next/static/tw9SsMZIDgYMqCZaZrkY7/_buildManifest.js +1 -0
- package/.next/static/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/_middlewareManifest.js +0 -0
- package/.next/static/tw9SsMZIDgYMqCZaZrkY7/_ssgManifest.js +1 -0
- package/.next/trace +54 -37
- package/CHANGELOG.md +24 -0
- package/components/Header.tsx +14 -5
- package/components/Mdx/SchemaViewer/SchemaViewer.module.css +5 -0
- package/components/Mdx/SchemaViewer/SchemaViewer.tsx +34 -0
- package/eventcatalog.config.js +1 -0
- package/lib/__tests__/graphs.spec.ts +4 -4
- package/lib/graphs.ts +2 -2
- package/out/404/index.html +1 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/AddedItemToCart/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/AddedItemToCart.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/OrderComplete/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/OrderComplete.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/OrderConfirmed/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/OrderConfirmed.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/OrderRequested/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/OrderRequested.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/PaymentProcessed/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/PaymentProcessed.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/RemovedItemFromCart/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/RemovedItemFromCart.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/ShipmentDelivered/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/ShipmentDelivered.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/ShipmentDispatched/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/ShipmentDispatched.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/ShipmentPrepared/logs.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events/ShipmentPrepared.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/events.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/overview.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/services/Basket Service.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/services/Data Lake.json +1 -1
- package/out/_next/data/tw9SsMZIDgYMqCZaZrkY7/services/Payment Service.json +1 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/services/Shipping Service.json +1 -1
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/services.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/users/dboyne.json +0 -0
- package/out/_next/data/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/users/mSmith.json +0 -0
- package/out/_next/static/chunks/{873-b2f75ede9cf9538c.js → 178-9b89f5c036d77ab9.js} +1 -1
- package/out/_next/static/chunks/1df474da-91f6061ee61707c6.js +1 -0
- package/out/_next/static/chunks/2edb282b-9e1cce5842787609.js +1 -0
- package/out/_next/static/chunks/{336-b1acb0b6aa306baf.js → 336-22157631c3f2ef95.js} +1 -1
- package/out/_next/static/chunks/364-9c039ca46569869e.js +1 -0
- package/out/_next/static/chunks/5-f60eecf67567a225.js +1 -0
- package/out/_next/static/chunks/650-4004943b2a9623ca.js +1 -0
- package/out/_next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js +1 -0
- package/out/_next/static/chunks/802.a40c121588cf5040.js +1 -0
- package/out/_next/static/chunks/main-0015f560a7edeb35.js +1 -0
- package/out/_next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js +1 -0
- package/out/_next/static/chunks/pages/events/[name]/v/{[version]-5652060e116d4a61.js → [version]-f6619ec4056cc70d.js} +1 -1
- package/out/_next/static/chunks/pages/events/[name]-73ecab7171745a3f.js +1 -0
- package/out/_next/static/chunks/pages/{events-c9e5a0fa7d23d620.js → events-5ffe0ca38bc5f78c.js} +1 -1
- package/out/_next/static/chunks/pages/{overview-44ba3c19ae643475.js → overview-2f0bfad06c84e437.js} +1 -1
- package/{.next/static/chunks/pages/services-30e4132ef02b1784.js → out/_next/static/chunks/pages/services-a4eaef0c2abfdf9c.js} +1 -1
- package/{.next/static/chunks/pages/users/[id]-a4274bfad4d9a9ec.js → out/_next/static/chunks/pages/users/[id]-6e62960d4bd19b7d.js} +1 -1
- package/out/_next/static/chunks/webpack-2ebfdb1666dac4ad.js +1 -0
- package/out/_next/static/css/7e14b4dede1671ad.css +1 -0
- package/out/_next/static/tw9SsMZIDgYMqCZaZrkY7/_buildManifest.js +1 -0
- package/out/_next/static/{muqmp6UkJzlet500sAKkA → tw9SsMZIDgYMqCZaZrkY7}/_middlewareManifest.js +0 -0
- package/out/_next/static/tw9SsMZIDgYMqCZaZrkY7/_ssgManifest.js +1 -0
- package/out/events/{AddedItemToCart.html → AddedItemToCart/index.html} +2 -2
- package/out/events/AddedItemToCart/logs/index.html +1 -0
- package/out/events/AddedItemToCart/v/0.0.1/index.html +58 -0
- package/out/events/AddedItemToCart/v/{0.0.2.html → 0.0.2/index.html} +3 -3
- package/out/events/{OrderComplete.html → OrderComplete/index.html} +2 -2
- package/out/events/OrderComplete/logs/index.html +1 -0
- package/out/events/{OrderConfirmed.html → OrderConfirmed/index.html} +2 -2
- package/out/events/OrderConfirmed/logs/index.html +1 -0
- package/out/events/{OrderRequested.html → OrderRequested/index.html} +2 -2
- package/out/events/OrderRequested/logs/index.html +1 -0
- package/out/events/{PaymentProcessed.html → PaymentProcessed/index.html} +2 -2
- package/out/events/PaymentProcessed/logs/index.html +1 -0
- package/out/events/{RemovedItemFromCart.html → RemovedItemFromCart/index.html} +2 -2
- package/out/events/RemovedItemFromCart/logs/index.html +1 -0
- package/out/events/{ShipmentDelivered.html → ShipmentDelivered/index.html} +2 -2
- package/out/events/ShipmentDelivered/logs/index.html +1 -0
- package/out/events/{ShipmentDispatched.html → ShipmentDispatched/index.html} +2 -2
- package/out/events/ShipmentDispatched/logs/index.html +1 -0
- package/out/events/ShipmentPrepared/index.html +20 -0
- package/out/events/ShipmentPrepared/logs/index.html +1 -0
- package/out/{events.html → events/index.html} +10 -10
- package/out/index.html +1 -1
- package/out/overview/index.html +1 -0
- package/out/services/{Basket Service.html → Basket Service/index.html } +6 -6
- package/out/services/Data Lake/index.html +24 -0
- package/out/services/Payment Service/index.html +20 -0
- package/out/services/Shipping Service/index.html +28 -0
- package/out/{services.html → services/index.html} +5 -5
- package/out/users/{dboyne.html → dboyne/index.html} +14 -14
- package/out/users/{mSmith.html → mSmith/index.html} +10 -10
- package/package.json +6 -2
- package/pages/events/[name].tsx +26 -0
- package/styles/globals.css +1 -1
- package/.next/static/chunks/28-812913d1c0167bab.js +0 -1
- package/.next/static/chunks/364-3cb3c8cf1d3c95de.js +0 -1
- package/.next/static/chunks/638.d570519ae49c92c8.js +0 -1
- package/.next/static/chunks/main-0289ecbd51cd4cb4.js +0 -1
- package/.next/static/chunks/pages/_app-151e9a6aaffc086e.js +0 -1
- package/.next/static/chunks/pages/events/[name]-146170e56a404524.js +0 -1
- package/.next/static/chunks/webpack-4d9342d4391c2a09.js +0 -1
- package/.next/static/muqmp6UkJzlet500sAKkA/_buildManifest.js +0 -1
- package/.next/static/muqmp6UkJzlet500sAKkA/_ssgManifest.js +0 -1
- package/out/404.html +0 -1
- package/out/_next/data/muqmp6UkJzlet500sAKkA/services/Payment Service.json +0 -1
- package/out/_next/static/chunks/28-812913d1c0167bab.js +0 -1
- package/out/_next/static/chunks/364-3cb3c8cf1d3c95de.js +0 -1
- package/out/_next/static/chunks/638.d570519ae49c92c8.js +0 -1
- package/out/_next/static/chunks/main-0289ecbd51cd4cb4.js +0 -1
- package/out/_next/static/chunks/pages/_app-151e9a6aaffc086e.js +0 -1
- package/out/_next/static/chunks/pages/events/[name]-146170e56a404524.js +0 -1
- package/out/_next/static/chunks/webpack-4d9342d4391c2a09.js +0 -1
- package/out/_next/static/muqmp6UkJzlet500sAKkA/_buildManifest.js +0 -1
- package/out/_next/static/muqmp6UkJzlet500sAKkA/_ssgManifest.js +0 -1
- package/out/events/AddedItemToCart/logs.html +0 -1
- package/out/events/AddedItemToCart/v/0.0.1.html +0 -58
- package/out/events/OrderComplete/logs.html +0 -1
- package/out/events/OrderConfirmed/logs.html +0 -1
- package/out/events/OrderRequested/logs.html +0 -1
- package/out/events/PaymentProcessed/logs.html +0 -1
- package/out/events/RemovedItemFromCart/logs.html +0 -1
- package/out/events/ShipmentDelivered/logs.html +0 -1
- package/out/events/ShipmentDispatched/logs.html +0 -1
- package/out/events/ShipmentPrepared/logs.html +0 -1
- package/out/events/ShipmentPrepared.html +0 -62
- package/out/overview.html +0 -1
- package/out/services/Data Lake.html +0 -24
- package/out/services/Payment Service.html +0 -20
- package/out/services/Shipping Service.html +0 -28
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
exports.id = 944;
|
|
3
2
|
exports.ids = [944];
|
|
4
3
|
exports.modules = {
|
|
5
4
|
|
|
5
|
+
/***/ 918:
|
|
6
|
+
/***/ ((module) => {
|
|
7
|
+
|
|
8
|
+
// Exports
|
|
9
|
+
module.exports = {
|
|
10
|
+
"schemaViewer": "SchemaViewer_schemaViewer__un45l"
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/***/ }),
|
|
15
|
+
|
|
6
16
|
/***/ 3067:
|
|
7
17
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
8
18
|
|
|
19
|
+
"use strict";
|
|
9
20
|
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__) => {
|
|
10
21
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11
22
|
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -101,9 +112,57 @@ function Examples({ title ='Examples' , description , examples =[] , showLineNum
|
|
|
101
112
|
|
|
102
113
|
/***/ }),
|
|
103
114
|
|
|
115
|
+
/***/ 7228:
|
|
116
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
117
|
+
|
|
118
|
+
"use strict";
|
|
119
|
+
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__) => {
|
|
120
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
121
|
+
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
122
|
+
/* harmony export */ });
|
|
123
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
|
|
124
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|
125
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
|
|
126
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
127
|
+
/* harmony import */ var _stoplight_json_schema_viewer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6884);
|
|
128
|
+
/* harmony import */ var _stoplight_mosaic__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3226);
|
|
129
|
+
/* harmony import */ var _stoplight_mosaic__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_stoplight_mosaic__WEBPACK_IMPORTED_MODULE_3__);
|
|
130
|
+
/* harmony import */ var _SchemaViewer_module_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(918);
|
|
131
|
+
/* harmony import */ var _SchemaViewer_module_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_SchemaViewer_module_css__WEBPACK_IMPORTED_MODULE_4__);
|
|
132
|
+
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_stoplight_json_schema_viewer__WEBPACK_IMPORTED_MODULE_2__]);
|
|
133
|
+
_stoplight_json_schema_viewer__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
// Inject Stoplight styles
|
|
140
|
+
(0,_stoplight_mosaic__WEBPACK_IMPORTED_MODULE_3__.injectStyles)();
|
|
141
|
+
function SchemaViewer({ schema , maxHeight , renderRootTreeLines =false , hideExamples =false , defaultExpandedDepth =1 }) {
|
|
142
|
+
const JsonSchema = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>JSON.parse(schema)
|
|
143
|
+
, [
|
|
144
|
+
schema
|
|
145
|
+
]);
|
|
146
|
+
return(/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_stoplight_json_schema_viewer__WEBPACK_IMPORTED_MODULE_2__.JsonSchemaViewer, {
|
|
147
|
+
schema: JsonSchema,
|
|
148
|
+
emptyText: "No schema defined",
|
|
149
|
+
maxHeight: maxHeight,
|
|
150
|
+
defaultExpandedDepth: defaultExpandedDepth,
|
|
151
|
+
renderRootTreeLines: renderRootTreeLines,
|
|
152
|
+
hideExamples: hideExamples,
|
|
153
|
+
className: (_SchemaViewer_module_css__WEBPACK_IMPORTED_MODULE_4___default().schemaViewer)
|
|
154
|
+
}));
|
|
155
|
+
}
|
|
156
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SchemaViewer);
|
|
157
|
+
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
/***/ }),
|
|
161
|
+
|
|
104
162
|
/***/ 9610:
|
|
105
163
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
106
164
|
|
|
165
|
+
"use strict";
|
|
107
166
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
108
167
|
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
109
168
|
/* harmony export */ });
|
|
@@ -370,6 +429,7 @@ function EventSideBar({ event , loadedVersion , isOldVersion }) {
|
|
|
370
429
|
/***/ 3695:
|
|
371
430
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
372
431
|
|
|
432
|
+
"use strict";
|
|
373
433
|
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__) => {
|
|
374
434
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
375
435
|
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -432,6 +492,7 @@ function SyntaxHighlighter({ language , name ='' , ...props }) {
|
|
|
432
492
|
/***/ 5944:
|
|
433
493
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
434
494
|
|
|
495
|
+
"use strict";
|
|
435
496
|
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__) => {
|
|
436
497
|
__webpack_require__.r(__webpack_exports__);
|
|
437
498
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -448,17 +509,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
448
509
|
/* harmony import */ var next_mdx_remote__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_mdx_remote__WEBPACK_IMPORTED_MODULE_2__);
|
|
449
510
|
/* harmony import */ var _components_Mdx_Admonition__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1790);
|
|
450
511
|
/* harmony import */ var _components_Mdx_Examples__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3067);
|
|
451
|
-
/* harmony import */ var
|
|
512
|
+
/* harmony import */ var _utils_random_bg__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(6892);
|
|
452
513
|
/* harmony import */ var _components_ContentView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2455);
|
|
453
514
|
/* harmony import */ var _components_Mermaid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(788);
|
|
454
515
|
/* harmony import */ var _components_Sidebars_EventSidebar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9610);
|
|
455
516
|
/* harmony import */ var _components_NotFound__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4488);
|
|
456
517
|
/* harmony import */ var _components_BreadCrumbs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(2428);
|
|
457
518
|
/* harmony import */ var _components_SyntaxHighlighter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(3695);
|
|
458
|
-
/* harmony import */ var
|
|
459
|
-
/* harmony import */ var
|
|
460
|
-
var
|
|
461
|
-
([
|
|
519
|
+
/* harmony import */ var _components_Mdx_SchemaViewer_SchemaViewer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7228);
|
|
520
|
+
/* harmony import */ var _lib_events__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9959);
|
|
521
|
+
/* harmony import */ var _hooks_EventCatalog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5008);
|
|
522
|
+
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
|
+
([_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
|
+
|
|
462
525
|
|
|
463
526
|
|
|
464
527
|
|
|
@@ -503,6 +566,24 @@ const getComponents = ({ event , schema , examples })=>({
|
|
|
503
566
|
]
|
|
504
567
|
}));
|
|
505
568
|
},
|
|
569
|
+
SchemaViewer: ({ title ='Event Schema' , renderRootTreeLines =false , defaultExpandedDepth =1 , maxHeight })=>{
|
|
570
|
+
if (!schema) return null;
|
|
571
|
+
return(/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("section", {
|
|
572
|
+
className: "mt-8 xl:mt-10",
|
|
573
|
+
children: [
|
|
574
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
|
|
575
|
+
className: "text-lg font-medium text-gray-900 underline",
|
|
576
|
+
children: title
|
|
577
|
+
}),
|
|
578
|
+
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Mdx_SchemaViewer_SchemaViewer__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
579
|
+
schema: schema.snippet,
|
|
580
|
+
maxHeight: parseInt(maxHeight, 10),
|
|
581
|
+
renderRootTreeLines: renderRootTreeLines,
|
|
582
|
+
defaultExpandedDepth: defaultExpandedDepth
|
|
583
|
+
})
|
|
584
|
+
]
|
|
585
|
+
}));
|
|
586
|
+
},
|
|
506
587
|
Admonition: _components_Mdx_Admonition__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z,
|
|
507
588
|
EventExamples: (props)=>{
|
|
508
589
|
if (examples.length > 0) {
|
|
@@ -525,7 +606,7 @@ const getComponents = ({ event , schema , examples })=>({
|
|
|
525
606
|
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Mermaid__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
|
|
526
607
|
source: "event",
|
|
527
608
|
data: event,
|
|
528
|
-
rootNodeColor: (0,
|
|
609
|
+
rootNodeColor: (0,_utils_random_bg__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(event.name),
|
|
529
610
|
charts: charts
|
|
530
611
|
})
|
|
531
612
|
]
|
|
@@ -534,8 +615,8 @@ const getComponents = ({ event , schema , examples })=>({
|
|
|
534
615
|
;
|
|
535
616
|
function Events(props) {
|
|
536
617
|
const { event , markdown , loadedVersion , notFound } = props;
|
|
537
|
-
const { title } = (0,
|
|
538
|
-
const { getEditUrl , hasEditUrl } = (0,
|
|
618
|
+
const { title } = (0,_hooks_EventCatalog__WEBPACK_IMPORTED_MODULE_13__/* .useConfig */ .ZR)();
|
|
619
|
+
const { getEditUrl , hasEditUrl } = (0,_hooks_EventCatalog__WEBPACK_IMPORTED_MODULE_13__/* .useUrl */ .wG)();
|
|
539
620
|
const { name , summary , draft , schema , examples , version } = event;
|
|
540
621
|
if (notFound) return(/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_NotFound__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {
|
|
541
622
|
type: "event",
|
|
@@ -605,7 +686,7 @@ function Events(props) {
|
|
|
605
686
|
};
|
|
606
687
|
async function getStaticProps({ params }) {
|
|
607
688
|
try {
|
|
608
|
-
const { event , markdown } = await (0,
|
|
689
|
+
const { event , markdown } = await (0,_lib_events__WEBPACK_IMPORTED_MODULE_12__/* .getEventByName */ .Zh)(params.name);
|
|
609
690
|
return {
|
|
610
691
|
props: {
|
|
611
692
|
event,
|
|
@@ -625,7 +706,7 @@ async function getStaticProps({ params }) {
|
|
|
625
706
|
}
|
|
626
707
|
}
|
|
627
708
|
async function getStaticPaths() {
|
|
628
|
-
const events = (0,
|
|
709
|
+
const events = (0,_lib_events__WEBPACK_IMPORTED_MODULE_12__/* .getAllEvents */ .IP)();
|
|
629
710
|
const paths = events.map((event)=>({
|
|
630
711
|
params: {
|
|
631
712
|
name: event.name
|
|
@@ -167,7 +167,15 @@ exports.normalizePathTrailingSlash = void 0;
|
|
|
167
167
|
function removePathTrailingSlash(path) {
|
|
168
168
|
return path.endsWith('/') && path !== '/' ? path.slice(0, -1) : path;
|
|
169
169
|
}
|
|
170
|
-
const normalizePathTrailingSlash =
|
|
170
|
+
const normalizePathTrailingSlash = true ? (path)=>{
|
|
171
|
+
if (/\.[^/]+\/?$/.test(path)) {
|
|
172
|
+
return removePathTrailingSlash(path);
|
|
173
|
+
} else if (path.endsWith('/')) {
|
|
174
|
+
return path;
|
|
175
|
+
} else {
|
|
176
|
+
return path + '/';
|
|
177
|
+
}
|
|
178
|
+
} : 0;
|
|
171
179
|
exports.normalizePathTrailingSlash = normalizePathTrailingSlash; //# sourceMappingURL=normalize-trailing-slash.js.map
|
|
172
180
|
|
|
173
181
|
|
|
@@ -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/0b54ec6503b91283.css" as="style"/><link rel="stylesheet" href="/_next/static/css/0b54ec6503b91283.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-
|
|
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/0b54ec6503b91283.css" as="style"/><link rel="stylesheet" href="/_next/static/css/0b54ec6503b91283.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-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/pages/_error-5a714c45c50a8db4.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_buildManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_ssgManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_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="/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":"tw9SsMZIDgYMqCZaZrkY7","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/0b54ec6503b91283.css" as="style"/><link rel="stylesheet" href="/_next/static/css/0b54ec6503b91283.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-
|
|
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/0b54ec6503b91283.css" as="style"/><link rel="stylesheet" href="/_next/static/css/0b54ec6503b91283.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-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/pages/_error-5a714c45c50a8db4.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_buildManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_ssgManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_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="/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":"tw9SsMZIDgYMqCZaZrkY7","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -54,10 +54,14 @@ function classNames(...classes) {
|
|
|
54
54
|
return classes.filter(Boolean).join(' ');
|
|
55
55
|
}
|
|
56
56
|
function Example() {
|
|
57
|
-
const { title } = (0,EventCatalog/* useConfig */.ZR)();
|
|
57
|
+
const { title , homepageLink , logo } = (0,EventCatalog/* useConfig */.ZR)();
|
|
58
58
|
const router = (0,router_namespaceObject.useRouter)();
|
|
59
59
|
const { publicRuntimeConfig: { basePath ='' } = {
|
|
60
60
|
} } = config_default()();
|
|
61
|
+
const logoToLoad = logo || {
|
|
62
|
+
alt: 'EventCatalog Logo',
|
|
63
|
+
src: `logo.svg`
|
|
64
|
+
};
|
|
61
65
|
return(/*#__PURE__*/ jsx_runtime_.jsx("div", {
|
|
62
66
|
className: "bg-gray-800",
|
|
63
67
|
children: /*#__PURE__*/ jsx_runtime_.jsx("div", {
|
|
@@ -67,17 +71,34 @@ function Example() {
|
|
|
67
71
|
children: [
|
|
68
72
|
/*#__PURE__*/ jsx_runtime_.jsx("div", {
|
|
69
73
|
className: "flex-1 flex items-center justify-center sm:items-stretch sm:justify-start",
|
|
70
|
-
children: /*#__PURE__*/ jsx_runtime_.
|
|
74
|
+
children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
|
|
71
75
|
className: "flex-shrink-0 flex items-center text-white font-bold",
|
|
72
|
-
children:
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
children: [
|
|
77
|
+
!homepageLink && /*#__PURE__*/ jsx_runtime_.jsx(next_link["default"], {
|
|
78
|
+
href: "/",
|
|
79
|
+
children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("a", {
|
|
80
|
+
className: "flex items-center",
|
|
81
|
+
children: [
|
|
82
|
+
/*#__PURE__*/ jsx_runtime_.jsx("img", {
|
|
83
|
+
alt: "logo",
|
|
84
|
+
className: "text-white w-8 inline-block mr-3",
|
|
85
|
+
src: `${basePath}/${logoToLoad.src}`
|
|
86
|
+
}),
|
|
87
|
+
/*#__PURE__*/ jsx_runtime_.jsx("span", {
|
|
88
|
+
className: "text-xl",
|
|
89
|
+
children: title
|
|
90
|
+
})
|
|
91
|
+
]
|
|
92
|
+
})
|
|
93
|
+
}),
|
|
94
|
+
homepageLink && /*#__PURE__*/ (0,jsx_runtime_.jsxs)("a", {
|
|
95
|
+
href: homepageLink,
|
|
75
96
|
className: "flex items-center",
|
|
76
97
|
children: [
|
|
77
98
|
/*#__PURE__*/ jsx_runtime_.jsx("img", {
|
|
78
99
|
alt: "logo",
|
|
79
100
|
className: "text-white w-8 inline-block mr-3",
|
|
80
|
-
src: `${basePath}
|
|
101
|
+
src: `${basePath}/${logoToLoad.src}`
|
|
81
102
|
}),
|
|
82
103
|
/*#__PURE__*/ jsx_runtime_.jsx("span", {
|
|
83
104
|
className: "text-xl",
|
|
@@ -85,7 +106,7 @@ function Example() {
|
|
|
85
106
|
})
|
|
86
107
|
]
|
|
87
108
|
})
|
|
88
|
-
|
|
109
|
+
]
|
|
89
110
|
})
|
|
90
111
|
}),
|
|
91
112
|
/*#__PURE__*/ jsx_runtime_.jsx("div", {
|
|
@@ -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-4d9342d4391c2a09.js" defer=""></script><script src="/_next/static/chunks/framework-576ec6a1c1386453.js" defer=""></script><script src="/_next/static/chunks/main-0289ecbd51cd4cb4.js" defer=""></script><script src="/_next/static/chunks/pages/_app-151e9a6aaffc086e.js" defer=""></script><script src="/_next/static/chunks/519-7c428c1e49c8e614.js" defer=""></script><script src="/_next/static/chunks/364-3cb3c8cf1d3c95de.js" defer=""></script><script src="/_next/static/chunks/pages/events/%5Bname%5D/logs-707da36de8222a98.js" defer=""></script><script src="/_next/static/muqmp6UkJzlet500sAKkA/_buildManifest.js" defer=""></script><script src="/_next/static/muqmp6UkJzlet500sAKkA/_ssgManifest.js" defer=""></script><script src="/_next/static/muqmp6UkJzlet500sAKkA/_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":"muqmp6UkJzlet500sAKkA","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/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/tw9SsMZIDgYMqCZaZrkY7/_buildManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_ssgManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_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":"tw9SsMZIDgYMqCZaZrkY7","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -1,5 +1,5 @@
|
|
|
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>EventCatalog - AddedItemToCart v0.0.1</title><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=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-
|
|
2
|
-
</div><div class="bg-yellow-50 border-l-4 border-yellow-400 my-4 mt-0 pt-0 w-full"><div class="flex"><div class="ml-3 py-4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="inline-block mr-2 h-5 w-5 text-yellow-400"><path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd"></path></svg>You are currently viewing an old version of this event (<!-- -->0.0.1<!-- -->).<a class="block text-sm pl-7 mt-2 text-blue-500 underline" href="/events/AddedItemToCart">Read latest version →</a></div></div></div></div><div class="mt-4 flex space-x-3 md:mt-0"><a href="https:/github.com/boyney123/eventcatalog-demo/edit/master/events/AddedItemToCart/index.md" target="_blank" type="button" class="hidden md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900" rel="noreferrer"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="-ml-1 mr-2 h-5 w-5 text-gray-400"><path d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"></path></svg><span>Edit</span></a></div></div><div class="py-3 xl:pt-6 xl:pb-0"><div class="prose max-w-none"><div class="bg-indigo-50 border-l-4 border-indigo-400 my-4 "><div class="flex"><div class="ml-3 py-4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="inline-block mr-2 h-5 w-5 text-indigo-400"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd"></path></svg>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.</div></div></div><h3>Details</h3><p>This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.</p><p>We have a frontend application that allows users to buy things from our store. This front end interacts directly with the <code>Basket Service</code> to add items to the cart. The <code>Basket Service</code> will raise the events.</p><h3>Consumer / Producer Diagram</h3><div class="mx-auto w-full py-10"><div class="mermaid">flowchart LR
|
|
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>EventCatalog - AddedItemToCart v0.0.1</title><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/7e14b4dede1671ad.css" as="style"/><link rel="stylesheet" href="/_next/static/css/7e14b4dede1671ad.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/176cb4e4-8a0f6f010ef8accb.js" defer=""></script><script src="/_next/static/chunks/1df474da-91f6061ee61707c6.js" defer=""></script><script src="/_next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js" defer=""></script><script src="/_next/static/chunks/2edb282b-9e1cce5842787609.js" defer=""></script><script src="/_next/static/chunks/519-7c428c1e49c8e614.js" defer=""></script><script src="/_next/static/chunks/962-d5070461f6d4a478.js" defer=""></script><script src="/_next/static/chunks/5-f60eecf67567a225.js" defer=""></script><script src="/_next/static/chunks/650-4004943b2a9623ca.js" defer=""></script><script src="/_next/static/chunks/336-22157631c3f2ef95.js" defer=""></script><script src="/_next/static/chunks/178-9b89f5c036d77ab9.js" defer=""></script><script src="/_next/static/chunks/pages/events/%5Bname%5D/v/%5Bversion%5D-f6619ec4056cc70d.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_buildManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_ssgManifest.js" defer=""></script><script src="/_next/static/tw9SsMZIDgYMqCZaZrkY7/_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"><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-3 xl:pr-8 xl:border-r xl:border-gray-200 flex-col justify-between flex"><div><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" aria-current="page" href="/services/AddedItemToCart/">AddedItemToCart</a></div></li></ol></nav></div><div><div><div class="xl:border-b pb-4 flex justify-between "><div class="space-y-2 w-full"><h1 class="text-3xl font-bold text-gray-900 relative">AddedItemToCart<div class="-top-1 relative inline-block ml-2"><span class="ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-yellow-100 text-yellow-800">v0.0.1</span></div></h1><div class="text-gray-600 mb-10 text py-2">Holds information about what the user added to their shopping cart.
|
|
2
|
+
</div><div class="bg-yellow-50 border-l-4 border-yellow-400 my-4 mt-0 pt-0 w-full"><div class="flex"><div class="ml-3 py-4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="inline-block mr-2 h-5 w-5 text-yellow-400"><path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd"></path></svg>You are currently viewing an old version of this event (<!-- -->0.0.1<!-- -->).<a class="block text-sm pl-7 mt-2 text-blue-500 underline" href="/events/AddedItemToCart/">Read latest version →</a></div></div></div></div><div class="mt-4 flex space-x-3 md:mt-0"><a href="https:/github.com/boyney123/eventcatalog-demo/edit/master/events/AddedItemToCart/index.md" target="_blank" type="button" class="hidden md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900" rel="noreferrer"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="-ml-1 mr-2 h-5 w-5 text-gray-400"><path d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"></path></svg><span>Edit</span></a></div></div><div class="py-3 xl:pt-6 xl:pb-0"><div class="prose max-w-none"><div class="bg-indigo-50 border-l-4 border-indigo-400 my-4 "><div class="flex"><div class="ml-3 py-4"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="inline-block mr-2 h-5 w-5 text-indigo-400"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd"></path></svg>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.</div></div></div><h3>Details</h3><p>This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.</p><p>We have a frontend application that allows users to buy things from our store. This front end interacts directly with the <code>Basket Service</code> to add items to the cart. The <code>Basket Service</code> will raise the events.</p><h3>Consumer / Producer Diagram</h3><div class="mx-auto w-full py-10"><div class="mermaid">flowchart LR
|
|
3
3
|
|
|
4
4
|
Basket_Service[Basket Service]:::producer-->AddedItemToCart[AddedItemToCart]:::event
|
|
5
5
|
|
|
@@ -55,4 +55,4 @@ click AddedItemToCart href "/events/AddedItemToCart" "Go to Added
|
|
|
55
55
|
</span></span><span><span> </span><span class="token" style="color:#f8f8f2">}</span><span>
|
|
56
56
|
</span></span><span><span> </span><span class="token" style="color:#f8f8f2">}</span><span>
|
|
57
57
|
</span></span><span><span> </span><span class="token" style="color:#f8f8f2">}</span><span>
|
|
58
|
-
</span></span><span><span></span><span class="token" style="color:#f8f8f2">}</span></span></code></pre><span class="-mb-2 block text-xs text-right font-bold">AddedItemToCart Schema (json)</span></div></section></div></div></div></div></div><div class="flex mt-10 justify-between"><a href="https:/github.com/boyney123/eventcatalog-demo/edit/master/events/AddedItemToCart/index.md" target="_blank" class="flex text-gray-400" rel="noreferrer"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="top-1 mr-2 relative h-4 w-4 text-gray-400"><path d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"></path></svg><span>Edit this page</span></a><span class="italic text-xs mt-2">Last updated on <!-- -->2022/1/31</span></div></div><div class="md:min-h-screen"><aside class="hidden xl:block xl:pl-8"><h2 class="sr-only">Details</h2><div class="pt-6 py-6 space-y-8"><div><h2 class="text-sm font-medium text-gray-500"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" class="h-5 w-5 text-green-400 inline-block mr-2"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path></svg>Producers</h2><ul class="mt-2 leading-8"><li class="inline mr-1"><a class="relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5" href="/services/Basket%20Service"><div class="absolute flex-shrink-0 flex items-center justify-center"><span class="h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse" aria-hidden="true"></span></div><div class="ml-3.5 text-sm font-medium text-gray-900">Basket Service</div></a></li></ul></div></div><div class="border-t border-gray-200 py-6 space-y-8"><div><h2 class="text-sm font-medium text-gray-500"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" class="h-5 w-5 text-indigo-400 inline-block mr-2"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path></svg>Consumers</h2><ul class="mt-2 leading-8"><li class="inline"><a href="#" class="relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5"><div class="absolute flex-shrink-0 flex items-center justify-center"><span class="h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse" aria-hidden="true"></span></div><div class="ml-3.5 text-sm font-medium text-gray-900">Data Lake</div></a></li></ul></div></div><div class="border-t border-gray-200 py-6"><div><h2 class="text-sm font-medium text-gray-500">Event Versions</h2><ul class="mt-2 leading-8 text-left text-blue-500"><li class="text-sm inline "><a href="/events/AddedItemToCart"><span class="inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-blue-100 text-blue-800">Latest</span></a></li><li class="text-sm inline"><a href="/events/AddedItemToCart/v/0.0.2"><span class="inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-blue-100 text-blue-800">v<!-- -->0.0.2</span></a></li><li class="text-sm inline"><a href="/events/AddedItemToCart/v/0.0.1"><span class="inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-blue-400 text-white shadow-md font-bold underline">v<!-- -->0.0.1</span></a></li></ul></div></div><div class="border-t border-gray-200 py-6 space-y-8"><div><h2 class="text-sm font-medium text-gray-500">Event Owners</h2><ul class="mt-4 leading-8 space-y-2"><li class="flex justify-start"><a class="flex items-center space-x-3" href="/users/dboyne"><div class="flex-shrink-0"><img class="h-5 w-5 rounded-full" src="https://pbs.twimg.com/profile_images/1262283153563140096/DYRDqKg6_400x400.png" alt=""/></div><div class="text-sm font-medium text-gray-900">David Boyne</div></a></li><li class="flex justify-start"><a class="flex items-center space-x-3" href="/users/mSmith"><div class="flex-shrink-0"><img class="h-5 w-5 rounded-full" src="https://randomuser.me/api/portraits/lego/3.jpg" alt=""/></div><div class="text-sm font-medium text-gray-900">Matthew Smith</div></a></li></ul></div></div><div class="border-t border-gray-200 py-6 space-y-1"><a href="/schemas/AddedItemToCart/0.0.1/schema.json" download="AddedItemToCart(0.0.1).json" class="hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" class="-ml-1 mr-2 h-5 w-5 text-gray-200"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path></svg><span>Download Schema</span></a><a class="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" href="/events/AddedItemToCart/logs"><span>View Changes</span></a></div></aside></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":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"],"schema":{"snippet":"{\n \"$id\": \"https://example.com/AddedItemToCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"AddedItemToCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"markdown":{"content":"\n\u003cAdmonition\u003eWhen 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.\u003c/Admonition\u003e\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n### Consumer / Producer Diagram\n\n\u003cMermaid /\u003e\n\n\u003cSchema /\u003e","source":{"compiledSource":"var c=Object.defineProperty,p=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=\u003et in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r=(e,t)=\u003e{for(var o in t||(t={}))a.call(t,o)\u0026\u0026d(e,o,t[o]);if(i)for(var o of i(t))s.call(t,o)\u0026\u0026d(e,o,t[o]);return e},m=(e,t)=\u003ep(e,l(t));var h=(e,t)=\u003e{var o={};for(var n in e)a.call(e,n)\u0026\u0026t.indexOf(n)\u003c0\u0026\u0026(o[n]=e[n]);if(e!=null\u0026\u0026i)for(var n of i(e))t.indexOf(n)\u003c0\u0026\u0026s.call(e,n)\u0026\u0026(o[n]=e[n]);return o};const makeShortcode=e=\u003efunction(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},o))},Admonition=makeShortcode(\"Admonition\"),Mermaid=makeShortcode(\"Mermaid\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(\"h3\",null,\"Consumer / Producer Diagram\"),mdx(Mermaid,{mdxType:\"Mermaid\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/1/31"},"loadedVersion":"0.0.1"},"__N_SSG":true},"page":"/events/[name]/v/[version]","query":{"name":"AddedItemToCart","version":"0.0.1"},"buildId":"muqmp6UkJzlet500sAKkA","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>
|
|
58
|
+
</span></span><span><span></span><span class="token" style="color:#f8f8f2">}</span></span></code></pre><span class="-mb-2 block text-xs text-right font-bold">AddedItemToCart Schema (json)</span></div></section></div></div></div></div></div><div class="flex mt-10 justify-between"><a href="https:/github.com/boyney123/eventcatalog-demo/edit/master/events/AddedItemToCart/index.md" target="_blank" class="flex text-gray-400" rel="noreferrer"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="top-1 mr-2 relative h-4 w-4 text-gray-400"><path d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"></path></svg><span>Edit this page</span></a><span class="italic text-xs mt-2">Last updated on <!-- -->2022/2/4</span></div></div><div class="md:min-h-screen"><aside class="hidden xl:block xl:pl-8"><h2 class="sr-only">Details</h2><div class="pt-6 py-6 space-y-8"><div><h2 class="text-sm font-medium text-gray-500"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" class="h-5 w-5 text-green-400 inline-block mr-2"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path></svg>Producers</h2><ul class="mt-2 leading-8"><li class="inline mr-1"><a class="relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5" href="/services/Basket%20Service/"><div class="absolute flex-shrink-0 flex items-center justify-center"><span class="h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse" aria-hidden="true"></span></div><div class="ml-3.5 text-sm font-medium text-gray-900">Basket Service</div></a></li></ul></div></div><div class="border-t border-gray-200 py-6 space-y-8"><div><h2 class="text-sm font-medium text-gray-500"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" class="h-5 w-5 text-indigo-400 inline-block mr-2"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path></svg>Consumers</h2><ul class="mt-2 leading-8"><li class="inline"><a href="#" class="relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5"><div class="absolute flex-shrink-0 flex items-center justify-center"><span class="h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse" aria-hidden="true"></span></div><div class="ml-3.5 text-sm font-medium text-gray-900">Data Lake</div></a></li></ul></div></div><div class="border-t border-gray-200 py-6"><div><h2 class="text-sm font-medium text-gray-500">Event Versions</h2><ul class="mt-2 leading-8 text-left text-blue-500"><li class="text-sm inline "><a href="/events/AddedItemToCart/"><span class="inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-blue-100 text-blue-800">Latest</span></a></li><li class="text-sm inline"><a href="/events/AddedItemToCart/v/0.0.2"><span class="inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-blue-100 text-blue-800">v<!-- -->0.0.2</span></a></li><li class="text-sm inline"><a href="/events/AddedItemToCart/v/0.0.1"><span class="inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-blue-400 text-white shadow-md font-bold underline">v<!-- -->0.0.1</span></a></li></ul></div></div><div class="border-t border-gray-200 py-6 space-y-8"><div><h2 class="text-sm font-medium text-gray-500">Event Owners</h2><ul class="mt-4 leading-8 space-y-2"><li class="flex justify-start"><a class="flex items-center space-x-3" href="/users/dboyne/"><div class="flex-shrink-0"><img class="h-5 w-5 rounded-full" src="https://pbs.twimg.com/profile_images/1262283153563140096/DYRDqKg6_400x400.png" alt=""/></div><div class="text-sm font-medium text-gray-900">David Boyne</div></a></li><li class="flex justify-start"><a class="flex items-center space-x-3" href="/users/mSmith/"><div class="flex-shrink-0"><img class="h-5 w-5 rounded-full" src="https://randomuser.me/api/portraits/lego/3.jpg" alt=""/></div><div class="text-sm font-medium text-gray-900">Matthew Smith</div></a></li></ul></div></div><div class="border-t border-gray-200 py-6 space-y-1"><a href="/schemas/AddedItemToCart/0.0.1/schema.json" download="AddedItemToCart(0.0.1).json" class="hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" class="-ml-1 mr-2 h-5 w-5 text-gray-200"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path></svg><span>Download Schema</span></a><a class="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" href="/events/AddedItemToCart/logs/"><span>View Changes</span></a></div></aside></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":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"],"schema":{"snippet":"{\n \"$id\": \"https://example.com/AddedItemToCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"AddedItemToCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"markdown":{"content":"\n\u003cAdmonition\u003eWhen 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.\u003c/Admonition\u003e\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n### Consumer / Producer Diagram\n\n\u003cMermaid /\u003e\n\n\u003cSchema /\u003e","source":{"compiledSource":"var c=Object.defineProperty,p=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=\u003et in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r=(e,t)=\u003e{for(var o in t||(t={}))a.call(t,o)\u0026\u0026d(e,o,t[o]);if(i)for(var o of i(t))s.call(t,o)\u0026\u0026d(e,o,t[o]);return e},m=(e,t)=\u003ep(e,l(t));var h=(e,t)=\u003e{var o={};for(var n in e)a.call(e,n)\u0026\u0026t.indexOf(n)\u003c0\u0026\u0026(o[n]=e[n]);if(e!=null\u0026\u0026i)for(var n of i(e))t.indexOf(n)\u003c0\u0026\u0026s.call(e,n)\u0026\u0026(o[n]=e[n]);return o};const makeShortcode=e=\u003efunction(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},o))},Admonition=makeShortcode(\"Admonition\"),Mermaid=makeShortcode(\"Mermaid\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(\"h3\",null,\"Consumer / Producer Diagram\"),mdx(Mermaid,{mdxType:\"Mermaid\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/4"},"loadedVersion":"0.0.1"},"__N_SSG":true},"page":"/events/[name]/v/[version]","query":{"name":"AddedItemToCart","version":"0.0.1"},"buildId":"tw9SsMZIDgYMqCZaZrkY7","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"],"schema":{"snippet":"{\n \"$id\": \"https://example.com/AddedItemToCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"AddedItemToCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n### Consumer / Producer Diagram\n\n<Mermaid />\n\n<Schema />","source":{"compiledSource":"var c=Object.defineProperty,p=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(i)for(var o of i(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>p(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&i)for(var n of i(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},o))},Admonition=makeShortcode(\"Admonition\"),Mermaid=makeShortcode(\"Mermaid\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(\"h3\",null,\"Consumer / Producer Diagram\"),mdx(Mermaid,{mdxType:\"Mermaid\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/
|
|
1
|
+
{"pageProps":{"event":{"name":"AddedItemToCart","version":"0.0.1","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"],"schema":{"snippet":"{\n \"$id\": \"https://example.com/AddedItemToCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"AddedItemToCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n### Consumer / Producer Diagram\n\n<Mermaid />\n\n<Schema />","source":{"compiledSource":"var c=Object.defineProperty,p=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(i)for(var o of i(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>p(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&i)for(var n of i(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},o))},Admonition=makeShortcode(\"Admonition\"),Mermaid=makeShortcode(\"Mermaid\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(r(r({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(\"h3\",null,\"Consumer / Producer Diagram\"),mdx(Mermaid,{mdxType:\"Mermaid\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/2/4"},"loadedVersion":"0.0.1"},"__N_SSG":true}
|