zudoku 0.18.6 → 0.18.7
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/dist/lib/components/Layout.js +3 -2
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +1 -1
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/Search.d.ts +3 -1
- package/dist/lib/components/Search.js +3 -3
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
- package/dist/lib/components/navigation/Sidebar.js +2 -2
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -1
- package/dist/lib/components/navigation/SidebarCategory.js +2 -2
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +2 -2
- package/dist/lib/components/navigation/SidebarItem.js +5 -5
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +4 -0
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +44 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/vite/build.js +7 -1
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/output.js +31 -16
- package/dist/vite/output.js.map +1 -1
- package/lib/AnchorLink-BR0MvI7n.js +35 -0
- package/lib/AnchorLink-BR0MvI7n.js.map +1 -0
- package/lib/{MdxPage-DOVlXMwT.js → MdxPage-HjFSZJQk.js} +37 -36
- package/lib/{MdxPage-DOVlXMwT.js.map → MdxPage-HjFSZJQk.js.map} +1 -1
- package/lib/{OperationList-BkNQEsNs.js → OperationList-DzE32oyS.js} +971 -961
- package/lib/{OperationList-BkNQEsNs.js.map → OperationList-DzE32oyS.js.map} +1 -1
- package/lib/assets/{worker-BHClFO3A.js → worker-CyxLedqF.js} +435 -431
- package/lib/assets/{worker-BHClFO3A.js.map → worker-CyxLedqF.js.map} +1 -1
- package/lib/{createServer-CpJlUPtn.js → createServer-DTiCfoql.js} +5 -1
- package/lib/{createServer-CpJlUPtn.js.map → createServer-DTiCfoql.js.map} +1 -1
- package/lib/{index-C7SaIME0.js → index-NNCc1BSK.js} +5 -4
- package/lib/{index-C7SaIME0.js.map → index-NNCc1BSK.js.map} +1 -1
- package/lib/{AnchorLink-CDlhr8gL.js → index.esm-Bm8pj-bc.js} +223 -254
- package/lib/index.esm-Bm8pj-bc.js.map +1 -0
- package/lib/ui/Drawer.js +79 -79
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/zudoku.components.js +445 -414
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +3 -3
- package/src/lib/components/Layout.tsx +8 -3
- package/src/lib/components/MobileTopNavigation.tsx +18 -18
- package/src/lib/components/Search.tsx +3 -3
- package/src/lib/components/navigation/Sidebar.tsx +18 -8
- package/src/lib/components/navigation/SidebarCategory.tsx +3 -0
- package/src/lib/components/navigation/SidebarItem.tsx +12 -2
- package/src/lib/oas/graphql/index.ts +4 -0
- package/src/lib/plugins/openapi/OperationList.tsx +62 -2
- package/src/lib/plugins/openapi/graphql/gql.ts +2 -2
- package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
- package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
|
@@ -116,6 +116,7 @@ const ct = new L(
|
|
|
116
116
|
query AllOperations($input: JSON!, $type: SchemaType!) {
|
|
117
117
|
schema(input: $input, type: $type) {
|
|
118
118
|
description
|
|
119
|
+
summary
|
|
119
120
|
title
|
|
120
121
|
url
|
|
121
122
|
version
|
|
@@ -220,7 +221,7 @@ const ct = new L(
|
|
|
220
221
|
`), ht = {
|
|
221
222
|
"\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": dt,
|
|
222
223
|
"\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n parameters {\n name\n in\n description\n required\n schema\n style\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n": ct,
|
|
223
|
-
"\n query AllOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n description\n title\n url\n version\n tags {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n }\n }\n }\n": ut,
|
|
224
|
+
"\n query AllOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n description\n summary\n title\n url\n version\n tags {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n }\n }\n }\n": ut,
|
|
224
225
|
"\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": mt,
|
|
225
226
|
"\n query GetCategories($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n tags {\n __typename\n name\n operations {\n __typename\n slug\n deprecated\n method\n summary\n operationId\n path\n }\n }\n }\n }\n": pt
|
|
226
227
|
};
|
|
@@ -378,7 +379,7 @@ class _t {
|
|
|
378
379
|
R(this, T);
|
|
379
380
|
R(this, O, /* @__PURE__ */ new Map());
|
|
380
381
|
R(this, N);
|
|
381
|
-
R(this, Q, () => import("./createServer-
|
|
382
|
+
R(this, Q, () => import("./createServer-DTiCfoql.js").then((n) => n.createServer()));
|
|
382
383
|
W(this, "fetch", async (n, ...[s]) => {
|
|
383
384
|
var l;
|
|
384
385
|
const r = (l = n.match(/query (\w+)/)) == null ? void 0 : l[1];
|
|
@@ -1256,7 +1257,7 @@ const ne = (t) => Math.abs(
|
|
|
1256
1257
|
{
|
|
1257
1258
|
index: !0,
|
|
1258
1259
|
async lazy() {
|
|
1259
|
-
const { OperationList: r } = await import("./OperationList-
|
|
1260
|
+
const { OperationList: r } = await import("./OperationList-DzE32oyS.js");
|
|
1260
1261
|
return { element: /* @__PURE__ */ e.jsx(r, {}) };
|
|
1261
1262
|
}
|
|
1262
1263
|
}
|
|
@@ -1274,4 +1275,4 @@ export {
|
|
|
1274
1275
|
ft as g,
|
|
1275
1276
|
jn as o
|
|
1276
1277
|
};
|
|
1277
|
-
//# sourceMappingURL=index-
|
|
1278
|
+
//# sourceMappingURL=index-NNCc1BSK.js.map
|