@eventcatalog/core 0.0.12 → 0.1.1
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 +39 -38
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1bay4w0 +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/export-detail.json +1 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/526.js +5 -5
- package/.next/server/chunks/565.js +6 -3
- package/.next/server/chunks/{959.js → 681.js} +126 -4
- package/.next/server/chunks/730.js +6 -7
- package/.next/server/chunks/938.js +18 -4
- package/.next/server/chunks/944.js +22 -26
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +18 -1
- package/.next/server/pages/events/AddedItemToCart/logs.html +1 -0
- package/.next/server/pages/events/AddedItemToCart/logs.json +1 -0
- package/.next/server/pages/events/AddedItemToCart/v/0.0.1.html +48 -0
- package/.next/server/pages/events/AddedItemToCart/v/0.0.1.json +1 -0
- package/.next/server/pages/events/AddedItemToCart/v/0.0.2.html +55 -0
- package/.next/server/pages/events/AddedItemToCart/v/0.0.2.json +1 -0
- package/.next/server/pages/events/AddedItemToCart.html +4 -4
- package/.next/server/pages/events/AddedItemToCart.json +1 -1
- package/.next/server/pages/events/OrderComplete/logs.html +1 -0
- package/.next/server/pages/events/OrderComplete/logs.json +1 -0
- package/.next/server/pages/events/OrderComplete.html +3 -3
- package/.next/server/pages/events/OrderComplete.json +1 -1
- package/.next/server/pages/events/OrderConfirmed/logs.html +1 -0
- package/.next/server/pages/events/OrderConfirmed/logs.json +1 -0
- package/.next/server/pages/events/OrderConfirmed.html +3 -3
- package/.next/server/pages/events/OrderConfirmed.json +1 -1
- package/.next/server/pages/events/OrderRequested/logs.html +1 -0
- package/.next/server/pages/events/OrderRequested/logs.json +1 -0
- package/.next/server/pages/events/OrderRequested.html +3 -3
- package/.next/server/pages/events/OrderRequested.json +1 -1
- package/.next/server/pages/events/PaymentProcessed/logs.html +1 -0
- package/.next/server/pages/events/PaymentProcessed/logs.json +1 -0
- package/.next/server/pages/events/PaymentProcessed.html +3 -3
- package/.next/server/pages/events/PaymentProcessed.json +1 -1
- package/.next/server/pages/events/RemovedItemFromCart/logs.html +1 -0
- package/.next/server/pages/events/RemovedItemFromCart/logs.json +1 -0
- package/.next/server/pages/events/RemovedItemFromCart.html +3 -3
- package/.next/server/pages/events/RemovedItemFromCart.json +1 -1
- package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -0
- package/.next/server/pages/events/ShipmentDelivered/logs.json +1 -0
- package/.next/server/pages/events/ShipmentDelivered.html +3 -3
- package/.next/server/pages/events/ShipmentDelivered.json +1 -1
- package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -0
- package/.next/server/pages/events/ShipmentDispatched/logs.json +1 -0
- package/.next/server/pages/events/ShipmentDispatched.html +3 -3
- package/.next/server/pages/events/ShipmentDispatched.json +1 -1
- package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -0
- package/.next/server/pages/events/ShipmentPrepared/logs.json +1 -0
- package/.next/server/pages/events/ShipmentPrepared.html +3 -3
- package/.next/server/pages/events/ShipmentPrepared.json +1 -1
- package/.next/server/pages/events/[name]/logs.js +18 -4
- package/.next/server/pages/events/[name]/logs.js.nft.json +1 -1
- package/.next/server/pages/events/[name]/v/[version].js +25 -9
- package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
- package/.next/server/pages/events/[name].js +7 -7
- package/.next/server/pages/events/[name].js.nft.json +1 -1
- package/.next/server/pages/events.html +10 -0
- package/.next/server/pages/events.js +90 -38
- package/.next/server/pages/events.js.nft.json +1 -1
- package/.next/server/pages/events.json +1 -0
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/overview.html +1 -0
- package/.next/server/pages/overview.js +12 -9
- package/.next/server/pages/overview.js.nft.json +1 -1
- package/.next/server/pages/overview.json +1 -0
- package/.next/server/pages/services/Basket Service.html +2 -2
- package/.next/server/pages/services/Basket Service.json +1 -1
- package/.next/server/pages/services/Data Lake.html +2 -2
- package/.next/server/pages/services/Data Lake.json +1 -1
- package/.next/server/pages/services/Payment Service.html +2 -2
- package/.next/server/pages/services/Payment Service.json +1 -1
- package/.next/server/pages/services/Shipping Service.html +2 -2
- package/.next/server/pages/services/Shipping Service.json +1 -1
- package/.next/server/pages/services/[name].js +5 -5
- package/.next/server/pages/services/[name].js.nft.json +1 -1
- package/.next/server/pages/services.html +5 -0
- package/.next/server/pages/services.js +68 -62
- package/.next/server/pages/services.js.nft.json +1 -1
- package/.next/server/pages/services.json +1 -0
- package/.next/server/pages/users/[id].js +20 -6
- package/.next/server/pages/users/[id].js.nft.json +1 -1
- package/.next/server/pages/users/dboyne.html +14 -0
- package/.next/server/pages/users/dboyne.json +1 -0
- package/.next/server/pages/users/mSmith.html +10 -0
- package/.next/server/pages/users/mSmith.json +1 -0
- package/.next/server/pages-manifest.json +0 -1
- package/.next/static/chunks/28-812913d1c0167bab.js +1 -0
- package/.next/static/chunks/{336-323c44d05b2ca502.js → 336-8b7da71a40e0c439.js} +1 -1
- package/.next/static/chunks/519-7c428c1e49c8e614.js +1 -0
- package/.next/static/chunks/873-f2bce094caa95964.js +1 -0
- package/.next/static/chunks/pages/_app-2b86b0fb5ed8c085.js +1 -0
- package/.next/static/chunks/pages/events/[name]/{logs-d159d7b82f44847f.js → logs-707da36de8222a98.js} +1 -1
- package/.next/static/chunks/pages/events/[name]/v/{[version]-963d3e8377b51e86.js → [version]-5652060e116d4a61.js} +1 -1
- package/.next/static/chunks/pages/events/{[name]-578828157369b5cd.js → [name]-146170e56a404524.js} +1 -1
- package/.next/static/chunks/pages/events-2bca09b458bde8ab.js +1 -0
- package/.next/static/chunks/pages/index-fe1a9e09c7f51e66.js +1 -0
- package/.next/static/chunks/pages/{overview-5ac749891cbe1922.js → overview-6bd5a86d5a28a942.js} +1 -1
- package/.next/static/chunks/pages/services/[name]-78378d531eb27bc2.js +1 -0
- package/.next/static/chunks/pages/services-1293e4d7df6174bf.js +1 -0
- package/.next/static/chunks/pages/users/[id]-5374b99d99fe576e.js +1 -0
- package/.next/static/chunks/{webpack-afe52d4a9fcc5a75.js → webpack-f27c5bb37992d94f.js} +1 -1
- package/.next/static/css/2532bb4d95ad483e.css +3 -0
- package/.next/static/xWuchBA47-kIcuK-WNSOY/_buildManifest.js +1 -0
- package/.next/static/{Ar5NkcdCFs9vlh-33wGgn → xWuchBA47-kIcuK-WNSOY}/_middlewareManifest.js +0 -0
- package/.next/static/xWuchBA47-kIcuK-WNSOY/_ssgManifest.js +1 -0
- package/.next/trace +37 -37
- package/CHANGELOG.md +26 -0
- package/README.md +2 -1
- package/bin/eventcatalog.js +12 -0
- package/components/Grids/EventGrid.tsx +2 -2
- package/components/Grids/ServiceGrid.tsx +8 -1
- package/components/Header.tsx +4 -1
- package/components/NotFound/index.tsx +4 -3
- package/components/Sidebars/EventSidebar.tsx +21 -21
- package/components/Sidebars/ServiceSidebar.tsx +3 -3
- package/components/SyntaxHighlighter.tsx +1 -1
- package/lib/events.ts +24 -0
- package/lib/graphs.ts +7 -3
- package/next.config.js +7 -0
- package/out/404.html +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/AddedItemToCart/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/AddedItemToCart/v/0.0.1.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/AddedItemToCart/v/0.0.2.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/AddedItemToCart.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/OrderComplete/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/OrderComplete.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/OrderConfirmed/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/OrderConfirmed.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/OrderRequested/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/OrderRequested.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/PaymentProcessed/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/PaymentProcessed.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/RemovedItemFromCart/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/RemovedItemFromCart.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/ShipmentDelivered/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/ShipmentDelivered.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/ShipmentDispatched/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/ShipmentDispatched.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/ShipmentPrepared/logs.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events/ShipmentPrepared.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/events.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/overview.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/services/Basket Service.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/services/Data Lake.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/services/Payment Service.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/services/Shipping Service.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/services.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/users/dboyne.json +1 -0
- package/out/_next/data/xWuchBA47-kIcuK-WNSOY/users/mSmith.json +1 -0
- package/out/_next/static/chunks/020d8314.aea2d24215754e7b.js +1 -0
- package/out/_next/static/chunks/176cb4e4-8a0f6f010ef8accb.js +1 -0
- package/out/_next/static/chunks/274-11c4d093341d7201.js +1 -0
- package/out/_next/static/chunks/28-812913d1c0167bab.js +1 -0
- package/out/_next/static/chunks/336-8b7da71a40e0c439.js +1 -0
- package/out/_next/static/chunks/364-3cb3c8cf1d3c95de.js +1 -0
- package/out/_next/static/chunks/519-7c428c1e49c8e614.js +1 -0
- package/out/_next/static/chunks/638.d570519ae49c92c8.js +1 -0
- package/out/_next/static/chunks/873-f2bce094caa95964.js +1 -0
- package/out/_next/static/chunks/962-d5070461f6d4a478.js +1 -0
- package/out/_next/static/chunks/framework-576ec6a1c1386453.js +1 -0
- package/out/_next/static/chunks/main-0289ecbd51cd4cb4.js +1 -0
- package/out/_next/static/chunks/pages/_app-2b86b0fb5ed8c085.js +1 -0
- package/out/_next/static/chunks/pages/_error-5a714c45c50a8db4.js +1 -0
- package/out/_next/static/chunks/pages/events/[name]/logs-707da36de8222a98.js +1 -0
- package/out/_next/static/chunks/pages/events/[name]/v/[version]-5652060e116d4a61.js +1 -0
- package/out/_next/static/chunks/pages/events/[name]-146170e56a404524.js +1 -0
- package/out/_next/static/chunks/pages/events-2bca09b458bde8ab.js +1 -0
- package/out/_next/static/chunks/pages/index-fe1a9e09c7f51e66.js +1 -0
- package/out/_next/static/chunks/pages/overview-6bd5a86d5a28a942.js +1 -0
- package/out/_next/static/chunks/pages/services/[name]-78378d531eb27bc2.js +1 -0
- package/out/_next/static/chunks/pages/services-1293e4d7df6174bf.js +1 -0
- package/out/_next/static/chunks/pages/users/[id]-5374b99d99fe576e.js +1 -0
- package/out/_next/static/chunks/polyfills-5cd94c89d3acac5f.js +1 -0
- package/out/_next/static/chunks/webpack-f27c5bb37992d94f.js +1 -0
- package/out/_next/static/css/2532bb4d95ad483e.css +3 -0
- package/out/_next/static/css/5eeed9cb243ce668.css +1 -0
- package/out/_next/static/xWuchBA47-kIcuK-WNSOY/_buildManifest.js +1 -0
- package/out/_next/static/xWuchBA47-kIcuK-WNSOY/_middlewareManifest.js +1 -0
- package/out/_next/static/xWuchBA47-kIcuK-WNSOY/_ssgManifest.js +1 -0
- package/out/events/AddedItemToCart/logs.html +1 -0
- package/out/events/AddedItemToCart/v/0.0.1.html +48 -0
- package/out/events/AddedItemToCart/v/0.0.2.html +55 -0
- package/out/events/AddedItemToCart.html +73 -0
- package/out/events/OrderComplete/logs.html +1 -0
- package/out/events/OrderComplete.html +48 -0
- package/out/events/OrderConfirmed/logs.html +1 -0
- package/out/events/OrderConfirmed.html +48 -0
- package/out/events/OrderRequested/logs.html +1 -0
- package/out/events/OrderRequested.html +48 -0
- package/out/events/PaymentProcessed/logs.html +1 -0
- package/out/events/PaymentProcessed.html +52 -0
- package/out/events/RemovedItemFromCart/logs.html +1 -0
- package/out/events/RemovedItemFromCart.html +55 -0
- package/out/events/ShipmentDelivered/logs.html +1 -0
- package/out/events/ShipmentDelivered.html +53 -0
- package/out/events/ShipmentDispatched/logs.html +1 -0
- package/out/events/ShipmentDispatched.html +52 -0
- package/out/events/ShipmentPrepared/logs.html +1 -0
- package/out/events/ShipmentPrepared.html +52 -0
- package/out/events.html +10 -0
- package/out/favicon.ico +0 -0
- package/out/index.html +1 -0
- package/out/logo-random.svg +114 -0
- package/out/logo.svg +44 -0
- package/out/opengraph.png +0 -0
- package/out/overview.html +1 -0
- package/out/services/Basket Service.html +11 -0
- package/out/services/Data Lake.html +12 -0
- package/out/services/Payment Service.html +10 -0
- package/out/services/Shipping Service.html +14 -0
- package/out/services.html +5 -0
- package/out/users/dboyne.html +14 -0
- package/out/users/mSmith.html +10 -0
- package/package.json +4 -3
- package/pages/_app.tsx +2 -0
- package/pages/events/[name]/logs.tsx +12 -3
- package/pages/events/[name]/v/[version].tsx +14 -2
- package/pages/events/[name].tsx +2 -2
- package/pages/events.tsx +75 -31
- package/pages/index.tsx +4 -2
- package/pages/overview.tsx +8 -5
- package/pages/services/[name].tsx +1 -1
- package/pages/services.tsx +28 -15
- package/pages/users/[id].tsx +14 -3
- package/scripts/move-schemas-for-download.js +59 -0
- package/.next/server/chunks/596.js +0 -98
- package/.next/server/pages/api/event/[name]/download.js +0 -64
- package/.next/server/pages/api/event/[name]/download.js.nft.json +0 -1
- package/.next/server/webpack-api-runtime.js +0 -160
- package/.next/static/Ar5NkcdCFs9vlh-33wGgn/_buildManifest.js +0 -1
- package/.next/static/Ar5NkcdCFs9vlh-33wGgn/_ssgManifest.js +0 -1
- package/.next/static/chunks/519-7f22292093abd7c3.js +0 -1
- package/.next/static/chunks/873-cd558fb98674abe5.js +0 -1
- package/.next/static/chunks/954-4d4a09c3269dda3f.js +0 -1
- package/.next/static/chunks/pages/_app-c9d3172cc09cf069.js +0 -1
- package/.next/static/chunks/pages/events-a38d51b4dd9dd7cf.js +0 -1
- package/.next/static/chunks/pages/index-3eeab7e4014a02ea.js +0 -1
- package/.next/static/chunks/pages/services/[name]-881a79d880506d8a.js +0 -1
- package/.next/static/chunks/pages/services-bcc61898062e1bf4.js +0 -1
- package/.next/static/chunks/pages/users/[id]-a2fec953b3532a74.js +0 -1
- package/.next/static/css/b44e1178a88a93b4.css +0 -3
- package/pages/api/event/[name]/download.js +0 -28
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ var __webpack_modules__ = ({});
|
|
4
|
-
/************************************************************************/
|
|
5
|
-
/******/ // The module cache
|
|
6
|
-
/******/ var __webpack_module_cache__ = {};
|
|
7
|
-
/******/
|
|
8
|
-
/******/ // The require function
|
|
9
|
-
/******/ function __webpack_require__(moduleId) {
|
|
10
|
-
/******/ // Check if module is in cache
|
|
11
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
12
|
-
/******/ if (cachedModule !== undefined) {
|
|
13
|
-
/******/ return cachedModule.exports;
|
|
14
|
-
/******/ }
|
|
15
|
-
/******/ // Create a new module (and put it into the cache)
|
|
16
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
17
|
-
/******/ // no module.id needed
|
|
18
|
-
/******/ // no module.loaded needed
|
|
19
|
-
/******/ exports: {}
|
|
20
|
-
/******/ };
|
|
21
|
-
/******/
|
|
22
|
-
/******/ // Execute the module function
|
|
23
|
-
/******/ var threw = true;
|
|
24
|
-
/******/ try {
|
|
25
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
26
|
-
/******/ threw = false;
|
|
27
|
-
/******/ } finally {
|
|
28
|
-
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
|
29
|
-
/******/ }
|
|
30
|
-
/******/
|
|
31
|
-
/******/ // Return the exports of the module
|
|
32
|
-
/******/ return module.exports;
|
|
33
|
-
/******/ }
|
|
34
|
-
/******/
|
|
35
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
36
|
-
/******/ __webpack_require__.m = __webpack_modules__;
|
|
37
|
-
/******/
|
|
38
|
-
/************************************************************************/
|
|
39
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
40
|
-
/******/ (() => {
|
|
41
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
42
|
-
/******/ __webpack_require__.n = (module) => {
|
|
43
|
-
/******/ var getter = module && module.__esModule ?
|
|
44
|
-
/******/ () => (module['default']) :
|
|
45
|
-
/******/ () => (module);
|
|
46
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
47
|
-
/******/ return getter;
|
|
48
|
-
/******/ };
|
|
49
|
-
/******/ })();
|
|
50
|
-
/******/
|
|
51
|
-
/******/ /* webpack/runtime/define property getters */
|
|
52
|
-
/******/ (() => {
|
|
53
|
-
/******/ // define getter functions for harmony exports
|
|
54
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
55
|
-
/******/ for(var key in definition) {
|
|
56
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
57
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
58
|
-
/******/ }
|
|
59
|
-
/******/ }
|
|
60
|
-
/******/ };
|
|
61
|
-
/******/ })();
|
|
62
|
-
/******/
|
|
63
|
-
/******/ /* webpack/runtime/ensure chunk */
|
|
64
|
-
/******/ (() => {
|
|
65
|
-
/******/ __webpack_require__.f = {};
|
|
66
|
-
/******/ // This file contains only the entry chunk.
|
|
67
|
-
/******/ // The chunk loading function for additional chunks
|
|
68
|
-
/******/ __webpack_require__.e = (chunkId) => {
|
|
69
|
-
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
70
|
-
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
71
|
-
/******/ return promises;
|
|
72
|
-
/******/ }, []));
|
|
73
|
-
/******/ };
|
|
74
|
-
/******/ })();
|
|
75
|
-
/******/
|
|
76
|
-
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
77
|
-
/******/ (() => {
|
|
78
|
-
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
|
|
79
|
-
/******/ __webpack_require__.u = (chunkId) => {
|
|
80
|
-
/******/ // return url for filenames based on template
|
|
81
|
-
/******/ return undefined;
|
|
82
|
-
/******/ };
|
|
83
|
-
/******/ })();
|
|
84
|
-
/******/
|
|
85
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
86
|
-
/******/ (() => {
|
|
87
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
88
|
-
/******/ })();
|
|
89
|
-
/******/
|
|
90
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
91
|
-
/******/ (() => {
|
|
92
|
-
/******/ // define __esModule on exports
|
|
93
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
94
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
95
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
96
|
-
/******/ }
|
|
97
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
98
|
-
/******/ };
|
|
99
|
-
/******/ })();
|
|
100
|
-
/******/
|
|
101
|
-
/******/ /* webpack/runtime/startup entrypoint */
|
|
102
|
-
/******/ (() => {
|
|
103
|
-
/******/ __webpack_require__.X = (result, chunkIds, fn) => {
|
|
104
|
-
/******/ // arguments: chunkIds, moduleId are deprecated
|
|
105
|
-
/******/ var moduleId = chunkIds;
|
|
106
|
-
/******/ if(!fn) chunkIds = result, fn = () => (__webpack_require__(__webpack_require__.s = moduleId));
|
|
107
|
-
/******/ chunkIds.map(__webpack_require__.e, __webpack_require__)
|
|
108
|
-
/******/ var r = fn();
|
|
109
|
-
/******/ return r === undefined ? result : r;
|
|
110
|
-
/******/ }
|
|
111
|
-
/******/ })();
|
|
112
|
-
/******/
|
|
113
|
-
/******/ /* webpack/runtime/require chunk loading */
|
|
114
|
-
/******/ (() => {
|
|
115
|
-
/******/ // no baseURI
|
|
116
|
-
/******/
|
|
117
|
-
/******/ // object to store loaded chunks
|
|
118
|
-
/******/ // "1" means "loaded", otherwise not loaded yet
|
|
119
|
-
/******/ var installedChunks = {
|
|
120
|
-
/******/ 165: 1
|
|
121
|
-
/******/ };
|
|
122
|
-
/******/
|
|
123
|
-
/******/ // no on chunks loaded
|
|
124
|
-
/******/
|
|
125
|
-
/******/ var installChunk = (chunk) => {
|
|
126
|
-
/******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
|
|
127
|
-
/******/ for(var moduleId in moreModules) {
|
|
128
|
-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
129
|
-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
130
|
-
/******/ }
|
|
131
|
-
/******/ }
|
|
132
|
-
/******/ if(runtime) runtime(__webpack_require__);
|
|
133
|
-
/******/ for(var i = 0; i < chunkIds.length; i++)
|
|
134
|
-
/******/ installedChunks[chunkIds[i]] = 1;
|
|
135
|
-
/******/
|
|
136
|
-
/******/ };
|
|
137
|
-
/******/
|
|
138
|
-
/******/ // require() chunk loading for javascript
|
|
139
|
-
/******/ __webpack_require__.f.require = (chunkId, promises) => {
|
|
140
|
-
/******/ // "1" is the signal for "already loaded"
|
|
141
|
-
/******/ if(!installedChunks[chunkId]) {
|
|
142
|
-
/******/ if(148 == chunkId) {
|
|
143
|
-
/******/ installChunk(require("./chunks/" + __webpack_require__.u(chunkId)));
|
|
144
|
-
/******/ } else installedChunks[chunkId] = 1;
|
|
145
|
-
/******/ }
|
|
146
|
-
/******/ };
|
|
147
|
-
/******/
|
|
148
|
-
/******/ module.exports = __webpack_require__;
|
|
149
|
-
/******/ __webpack_require__.C = installChunk;
|
|
150
|
-
/******/
|
|
151
|
-
/******/ // no HMR
|
|
152
|
-
/******/
|
|
153
|
-
/******/ // no HMR manifest
|
|
154
|
-
/******/ })();
|
|
155
|
-
/******/
|
|
156
|
-
/************************************************************************/
|
|
157
|
-
/******/
|
|
158
|
-
/******/
|
|
159
|
-
/******/ })()
|
|
160
|
-
;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,e,c,a,t,n,i){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-3eeab7e4014a02ea.js"],"/_error":["static/chunks/pages/_error-5a714c45c50a8db4.js"],"/events":[c,s,e,t,"static/chunks/pages/events-a38d51b4dd9dd7cf.js"],"/events/[name]":[c,s,e,n,a,i,"static/chunks/pages/events/[name]-578828157369b5cd.js"],"/events/[name]/logs":[s,"static/chunks/364-3cb3c8cf1d3c95de.js","static/css/5eeed9cb243ce668.css","static/chunks/pages/events/[name]/logs-d159d7b82f44847f.js"],"/events/[name]/v/[version]":[c,s,e,n,a,i,"static/chunks/pages/events/[name]/v/[version]-963d3e8377b51e86.js"],"/overview":["static/chunks/pages/overview-5ac749891cbe1922.js"],"/services":[s,e,t,"static/chunks/pages/services-bcc61898062e1bf4.js"],"/services/[name]":[c,s,e,a,"static/chunks/pages/services/[name]-881a79d880506d8a.js"],"/users/[id]":[c,e,"static/chunks/pages/users/[id]-a2fec953b3532a74.js"],sortedPages:["/","/_app","/_error","/events","/events/[name]","/events/[name]/logs","/events/[name]/v/[version]","/overview","/services","/services/[name]","/users/[id]"]}}("static/chunks/519-7f22292093abd7c3.js","static/chunks/962-d5070461f6d4a478.js","static/chunks/176cb4e4-8a0f6f010ef8accb.js","static/chunks/336-323c44d05b2ca502.js","static/chunks/274-11c4d093341d7201.js","static/chunks/954-4d4a09c3269dda3f.js","static/chunks/873-cd558fb98674abe5.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__SSG_MANIFEST=new Set(["\u002Fevents\u002F[name]","\u002Fservices\u002F[name]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[519],{61519:function(e,t,n){n.d(t,{v4q:function(){return r},dNJ:function(){return l},Qrl:function(){return i},SI8:function(){return u},tvw:function(){return c},AV5:function(){return o},vdY:function(){return v}});var a=n(2784);var r=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))};var l=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("path",{fillRule:"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",clipRule:"evenodd"}))};var i=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm5 6a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V8z",clipRule:"evenodd"}))};var u=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("path",{fillRule:"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",clipRule:"evenodd"}))};var c=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("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"}))};var o=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("path",{fillRule:"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",clipRule:"evenodd"}))};var v=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),a.createElement("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"}))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[873],{10873:function(e,n,t){t.r(n),t.d(n,{__N_SSG:function(){return U},default:function(){return F},getComponents:function(){return D}});var r=t(52322),a=t(97729),s=t(23816),l=t(61790),i=t(2784),c=t(63548),o=t(86562),d=t(85411);function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){u(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var f=function(e){var n=e.language,t=e.name,a=void 0===t?"":t,s=x(e,["language","name"]),l=(0,i.useState)(!1),u=l[0],f=l[1];return(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsx)("button",{type:"button",onClick:function(){(0,d.Z)(s.children),f(!0),setTimeout((function(){return f(!1)}),2e3)},className:"absolute top-2 right-5 text-sm bg-gray-700 text-white rounded-md py-1 px-4 transform transition opacity-0 group-hover:opacity-100",children:u?"Copied":"Copy"}),(0,r.jsx)(o.Z,m({style:c.Z,language:n},s,{wrapLines:!0,children:s.children.replace(/\\n/g,"\n")})),a&&(0,r.jsx)("span",{className:"-mb-2 block text-xs text-right font-bold",children:a})]})};function h(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var g=function(e){var n=e.title,t=void 0===n?"Examples":n,a=e.description,s=e.examples,l=void 0===s?[]:s,c=e.showLineNumbers,o=l.map((function(e,n){return{name:e.name||"Example ".concat(n+1),content:e.snippet,description:e.description,langugage:e.langugage}})),d=(0,i.useState)(o[0]),u=d[0],m=d[1];return(0,r.jsx)("div",{className:"my-5 examples",children:(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-700 underline",children:t}),a&&(0,r.jsx)("p",{className:"text-md font-medium text-gray-700",children:a}),(0,r.jsxs)("div",{children:[(0,r.jsx)("nav",{className:"-mb-px flex","aria-label":"Tabs",children:o.map((function(e){var n=e.name===u.name;return(0,r.jsxs)("button",{type:"button",onClick:function(){return function(e){m(e)}(e)},className:h(n?"border-green-500 text-green-600 selected":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300","whitespace-nowrap py-4 border-b-2 font-medium text-sm important:no-underline px-8 hover:bg-gray-50 transition"),"aria-current":n?"page":void 0,children:[e.name,(0,r.jsxs)("span",{className:"block text-xs mt-",children:["(",e.langugage,")"]})]},e.name)}))}),(0,r.jsxs)("div",{className:"my-4",children:[(0,r.jsx)(f,{language:u.langugage,showLineNumbers:c,children:u.content}),u.langugage&&(0,r.jsx)("span",{className:"-mb-2 block text-xs text-right font-bold",children:u.name})]})]})]})})},p=t(46892),b=t(62455),v=t(4573),j=t(92021),y=t.n(j),N=t(39097),w=t(17962),O=t(98018),k=t.n(O),E=t(55008);function S(e,n,t,r,a,s,l){try{var i=e[s](l),c=i.value}catch(o){return void t(o)}i.done?n(c):Promise.resolve(c).then(r,a)}var P=function(e){var n,t=e.event,a=e.loadedVersion,s=(0,E.aF)().getUserById,l=t.name,i=t.owners,c=t.producers,o=t.consumers,d=t.historicVersions,u=t.externalLinks,m=(n=y().mark((function e(){var n,r,a,s;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/event/".concat(t.name,"/download"));case 3:if(404!==(n=e.sent).status){e.next=6;break}throw new Error("Failed to find file");case 6:return e.next=8,n.json();case 8:r=e.sent,a=r.schema,s=r.fileName,k()(a,s),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.error(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})),function(){var e=this,t=arguments;return new Promise((function(r,a){var s=n.apply(e,t);function l(e){S(s,r,a,l,i,"next",e)}function i(e){S(s,r,a,l,i,"throw",e)}l(void 0)}))});return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),(0,r.jsx)("div",{className:"pt-6 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(w.FMB,{className:"h-5 w-5 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:c.map((function(e){return(0,r.jsx)("li",{className:"inline mr-1",children:(0,r.jsx)(N.default,{href:"/services/".concat(e),children:(0,r.jsxs)("a",{className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]})})},e)}))})]})}),(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(w.FMB,{className:"h-5 w-5 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Consumers"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:o.map((function(e){return(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(N.default,{href:"/services/".concat(e),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]})})},e)}))})]})}),d.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Versions"}),(0,r.jsxs)("ul",{className:"mt-2 leading-8 text-left text-blue-500",children:[(0,r.jsx)("li",{className:"text-sm inline ",children:(0,r.jsx)(N.default,{href:"/events/".concat(l),children:(0,r.jsx)("a",{children:(0,r.jsx)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat("latest"===a?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800"),children:"Latest"})})})}),d.map((function(e){var n=a===e?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800";return(0,r.jsx)("li",{className:"text-sm inline",children:(0,r.jsx)(N.default,{href:"/events/".concat(l,"/v/").concat(e),children:(0,r.jsx)("a",{children:(0,r.jsxs)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat(n),children:["v",e]})})})},e)}))]})]})}),(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Owners"}),(0,r.jsx)("ul",{className:"mt-4 leading-8 space-y-2",children:i.map((function(e){var n=s(e);return n?(0,r.jsx)("li",{className:"flex justify-start",children:(0,r.jsx)(N.default,{href:"/users/".concat(e),children:(0,r.jsxs)("a",{className:"flex items-center space-x-3",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)("img",{className:"h-5 w-5 rounded-full",src:n.avatarUrl,alt:""})}),(0,r.jsx)("div",{className:"text-sm font-medium text-gray-900",children:n.name})]})})},e):null}))})]})}),(0,r.jsxs)("div",{className:"border-t border-gray-200 py-6 space-y-1",children:[(0,r.jsxs)("button",{type:"button",className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",onClick:function(){return m()},children:[(0,r.jsx)(w._8t,{className:"-ml-1 mr-2 h-5 w-5 text-gray-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Download Schema"})]}),d.length>0&&(0,r.jsx)(N.default,{href:"/events/".concat(l,"/logs"),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View Changes"})})}),u.length>0&&u.map((function(e){return(0,r.jsxs)("a",{href:e.url,target:"_blank",type:"button",className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-teal-300 shadow-sm text-sm font-medium rounded-md text-teal-800 hover:bg-teal-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-teal-200",rel:"noreferrer",children:[(0,r.jsx)(w.h0n,{className:"-ml-1 mr-2 h-5 w-5 text-teal-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"".concat(e.label)})]},e.url)}))]})]})},C=t(4488),Z=t(52428);function _(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function V(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){_(e,n,t[n])}))}return e}function L(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var U=!0,D=function(e){var n=e.event,t=e.schema,a=e.examples;return{code:function(e){var n=e.className,t=L(e,["className"]),a=/language-(\w+)/.exec(n||"");return a?(0,r.jsx)(f,V({language:a[1]},t)):(0,r.jsx)("code",V({className:n},t))},Schema:function(e){var a=e.title,s=void 0===a?"Event Schema":a;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[(0,r.jsx)("h2",{id:"activity-title",className:"text-lg font-medium text-gray-900 underline",children:s}),(0,r.jsx)(f,{language:t.language,showLineNumbers:!1,name:"".concat(n.name," Schema (").concat(t.language,")"),children:t.snippet})]}):null},Admonition:l.Z,EventExamples:function(e){return a.length>0?(0,r.jsx)(g,V({},e,{examples:a,showLineNumbers:!0})):(console.log("You are using the <EventExamples /> component without any examples, please read https://eventcatalog.dev/docs/events/adding-examples for more information"),null)},Mermaid:function(e){var t=e.title,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(v.Z,{source:"event",data:n,rootNodeColor:(0,p.Z)(n.name),charts:a})]})}}};function F(e){var n=e.event,t=e.markdown,l=e.loadedVersion,i=e.notFound,c=(0,E.wG)(),o=c.getEditUrl,d=c.hasEditUrl,u=n.name,m=n.summary,x=n.draft,f=n.schema,h=n.examples,g=n.version;if(i)return(0,r.jsx)(C.Z,{type:"event",name:n.name,editUrl:d?o("/events/".concat(u,"/index.md")):""});var p=t.lastModifiedDate,v=[{name:"Events",href:"/events",current:!1},{name:u,href:"/services/".concat(u),current:!0}],j=D({event:n,schema:f,examples:h});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[u," v",g]})}),(0,r.jsx)(b.Z,{title:u,editUrl:d?o("/events/".concat(u,"/index.md")):"",subtitle:m,draft:x,lastModifiedDate:p,tags:[{label:"v".concat(g)}],breadCrumbs:(0,r.jsx)(Z.Z,{pages:v}),isOldVersion:"latest"!==l,latestVersionUrl:"/events/".concat(u),version:l,sidebar:(0,r.jsx)(P,{event:n,loadedVersion:l}),children:(0,r.jsx)(s.R,V({},t.source,{components:j}))})]})}}}]);
|