zudoku 0.66.3 → 0.66.4
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/authentication/components/SignIn.js +4 -2
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignUp.js +4 -2
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +7 -3
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.js +2 -3
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.js +1 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +3 -2
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +24 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
- package/dist/lib/ui/Button.js +1 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/vite/plugin-markdown-export.js +1 -1
- package/dist/vite/plugin-markdown-export.js.map +1 -1
- package/dist/vite/prerender/worker.js +3 -0
- package/dist/vite/prerender/worker.js.map +1 -1
- package/lib/{ActionButton-DUgvSylL.js → ActionButton-BSM2oNHF.js} +2 -2
- package/lib/{ActionButton-DUgvSylL.js.map → ActionButton-BSM2oNHF.js.map} +1 -1
- package/lib/{Button-CynVW1JV.js → Button-IOAeVaIH.js} +7 -6
- package/lib/{Button-CynVW1JV.js.map → Button-IOAeVaIH.js.map} +1 -1
- package/lib/{ClaudeLogo-BZslN9XF.js → ClaudeLogo-DgjivS8A.js} +2 -2
- package/lib/{ClaudeLogo-BZslN9XF.js.map → ClaudeLogo-DgjivS8A.js.map} +1 -1
- package/lib/Drawer-BRMcpfuF.js.map +1 -1
- package/lib/{IndexingDialog-B5zCiUKr.js → IndexingDialog-DZWj_3cU.js} +2 -2
- package/lib/{IndexingDialog-B5zCiUKr.js.map → IndexingDialog-DZWj_3cU.js.map} +1 -1
- package/lib/Input-D-kqEQ5M.js.map +1 -1
- package/lib/{MdxPage-B4zZq5aR.js → MdxPage-BL-HbZrv.js} +6 -6
- package/lib/{MdxPage-B4zZq5aR.js.map → MdxPage-BL-HbZrv.js.map} +1 -1
- package/lib/{OAuthErrorPage-DRY2hlga.js → OAuthErrorPage-DQtg28Go.js} +3 -3
- package/lib/{OAuthErrorPage-DRY2hlga.js.map → OAuthErrorPage-DQtg28Go.js.map} +1 -1
- package/lib/{OasProvider-lMwTD76Y.js → OasProvider--qcZwrKS.js} +2 -2
- package/lib/{OasProvider-lMwTD76Y.js.map → OasProvider--qcZwrKS.js.map} +1 -1
- package/lib/{OperationList-Bm76b4vl.js → OperationList-CSJYzxQY.js} +1094 -1079
- package/lib/{OperationList-Bm76b4vl.js.map → OperationList-CSJYzxQY.js.map} +1 -1
- package/lib/{RouteGuard-DGc32XJV.js → RouteGuard-D0f743SM.js} +2 -2
- package/lib/{RouteGuard-DGc32XJV.js.map → RouteGuard-D0f743SM.js.map} +1 -1
- package/lib/{SchemaList-DX4FPogg.js → SchemaList-DtyuDrQA.js} +7 -7
- package/lib/{SchemaList-DX4FPogg.js.map → SchemaList-DtyuDrQA.js.map} +1 -1
- package/lib/{SchemaView-CjXvSRxy.js → SchemaView-G-SVXxAG.js} +111 -110
- package/lib/SchemaView-G-SVXxAG.js.map +1 -0
- package/lib/SignUp-CDl7bQj3.js +50 -0
- package/lib/SignUp-CDl7bQj3.js.map +1 -0
- package/lib/{Toc-L1vGGHA1.js → Toc-D_Rj4jVx.js} +2 -2
- package/lib/{Toc-L1vGGHA1.js.map → Toc-D_Rj4jVx.js.map} +1 -1
- package/lib/ZudokuContext-DNHMZfcP.js.map +1 -1
- package/lib/chunk-PVWAREVJ-ClM0m2aJ.js.map +1 -1
- package/lib/{circular-BIN_WQ0c.js → circular-BxODTa7z.js} +2 -2
- package/lib/{circular-BIN_WQ0c.js.map → circular-BxODTa7z.js.map} +1 -1
- package/lib/{createServer-BEl12QFw.js → createServer-BpreIXp6.js} +10 -10
- package/lib/{createServer-BEl12QFw.js.map → createServer-BpreIXp6.js.map} +1 -1
- package/lib/{errors-CtBbD47A.js → errors-DliW1dED.js} +2 -2
- package/lib/{errors-CtBbD47A.js.map → errors-DliW1dED.js.map} +1 -1
- package/lib/{firebase-CT38ugg4.js → firebase-D4tbaCYB.js} +12 -12
- package/lib/{firebase-CT38ugg4.js.map → firebase-D4tbaCYB.js.map} +1 -1
- package/lib/{index-CISwSpdT.js → index-1TbL0HXQ.js} +2 -2
- package/lib/{index-CISwSpdT.js.map → index-1TbL0HXQ.js.map} +1 -1
- package/lib/{index-jI2Fjpy-.js → index-9MxNUgg4.js} +8 -8
- package/lib/{index-jI2Fjpy-.js.map → index-9MxNUgg4.js.map} +1 -1
- package/lib/{index-CG2v-T7-.js → index-CboxZOVW.js} +2 -2
- package/lib/{index-CG2v-T7-.js.map → index-CboxZOVW.js.map} +1 -1
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/index-DXXZDuSJ.js.map +1 -1
- package/lib/index.esm-BYObtETB.js.map +1 -1
- package/lib/index.esm-DtzT_KoE.js.map +1 -1
- package/lib/{index.esm-Bu35TNgg.js → index.esm-ti5zvZS_.js} +2 -2
- package/lib/index.esm-ti5zvZS_.js.map +1 -0
- package/lib/jsx-runtime-BzflLqGi.js.map +1 -1
- package/lib/ui/ActionButton.js +1 -1
- package/lib/ui/Button.js +6 -5
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/zudoku.__internal.js +2 -2
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +3 -3
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-firebase.js +3 -3
- package/lib/zudoku.auth-openid.js +3 -3
- package/lib/zudoku.auth-supabase.js +3 -3
- package/lib/zudoku.components.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +2 -2
- package/lib/zudoku.plugin-api-keys.js +5 -7
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +3 -3
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +4 -4
- package/src/lib/authentication/components/SignIn.tsx +5 -2
- package/src/lib/authentication/components/SignUp.tsx +5 -2
- package/src/lib/oas/graphql/index.ts +7 -3
- package/src/lib/plugins/api-keys/index.tsx +2 -3
- package/src/lib/plugins/openapi/ParamInfos.tsx +1 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +3 -2
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +6 -4
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +29 -1
- package/src/lib/ui/Button.tsx +1 -0
- package/lib/SchemaView-CjXvSRxy.js.map +0 -1
- package/lib/SignUp-CntxjFGS.js +0 -50
- package/lib/SignUp-CntxjFGS.js.map +0 -1
- package/lib/index.esm-Bu35TNgg.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { LogOutIcon as n } from "lucide-react";
|
|
3
|
-
import { S as i, a, b as u } from "./SignUp-
|
|
3
|
+
import { S as i, a, b as u } from "./SignUp-CDl7bQj3.js";
|
|
4
4
|
import { Z as m } from "./invariant-CGOLuIIz.js";
|
|
5
5
|
class h {
|
|
6
6
|
getRoutes() {
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
h as C,
|
|
43
43
|
f as O
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=errors-
|
|
45
|
+
//# sourceMappingURL=errors-DliW1dED.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-DliW1dED.js","sources":["../src/lib/authentication/AuthenticationPlugin.tsx","../src/lib/authentication/errors.ts"],"sourcesContent":["import { LogOutIcon } from \"lucide-react\";\nimport type {\n CommonPlugin,\n NavigationPlugin,\n ProfileMenuPlugin,\n} from \"../core/plugins.js\";\nimport { SignIn } from \"./components/SignIn.js\";\nimport { SignOut } from \"./components/SignOut.js\";\nimport { SignUp } from \"./components/SignUp.js\";\n\ntype PluginInterface = NavigationPlugin & CommonPlugin & ProfileMenuPlugin;\n\nexport class CoreAuthenticationPlugin implements PluginInterface {\n getRoutes() {\n return [\n {\n path: \"/signout\",\n element: <SignOut />,\n },\n {\n path: \"/signin\",\n element: <SignIn />,\n },\n {\n path: \"/signup\",\n element: <SignUp />,\n },\n ];\n }\n\n getProfileMenuItems() {\n return [\n {\n label: \"Logout\",\n path: \"/signout\",\n category: \"bottom\",\n icon: LogOutIcon,\n } as const,\n ];\n }\n}\n","import type { OAuth2Error } from \"oauth4webapi\";\nimport { ZudokuError, type ZudokuErrorOptions } from \"../util/invariant.js\";\n\nexport class AuthorizationError extends Error {}\n\nexport class OAuthAuthorizationError extends ZudokuError {\n constructor(\n message: string,\n public error: OAuth2Error,\n options?: ZudokuErrorOptions,\n ) {\n super(message, options);\n }\n}\n\nexport type OAuthErrorType =\n // Authorization errors\n | \"invalid_request\"\n | \"unauthorized_client\"\n | \"access_denied\"\n | \"unsupported_response_type\"\n | \"invalid_scope\"\n | \"server_error\"\n | \"temporarily_unavailable\"\n // Token errors\n | \"invalid_client\"\n | \"invalid_grant\"\n | \"unsupported_grant_type\"\n // Custom errors\n | \"invalid_state\"\n | \"missing_code_verifier\"\n | \"network_error\"\n | \"token_expired\"\n | \"configuration_error\"\n | \"unknown_error\";\n"],"names":["CoreAuthenticationPlugin","SignOut","SignIn","SignUp","LogOutIcon","AuthorizationError","OAuthAuthorizationError","ZudokuError","message","error","options"],"mappings":";;;;AAYO,MAAMA,EAAoD;AAAA,EAC/D,YAAY;AACV,WAAO;AAAA,MACL;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAQ;AAAA,MAAA;AAAA,MAEpB;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAO;AAAA,MAAA;AAAA,MAEnB;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAO;AAAA,MAAA;AAAA,IACnB;AAAA,EAEJ;AAAA,EAEA,sBAAsB;AACpB,WAAO;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,MAAMC;AAAA,MAAA;AAAA,IACR;AAAA,EAEJ;AACF;ACrCO,MAAMC,UAA2B,MAAM;AAAC;AAExC,MAAMC,UAAgCC,EAAY;AAAA,EACvD,YACEC,GACOC,GACPC,GACA;AACA,UAAMF,GAASE,CAAO,GAHf,KAAA,QAAAD;AAAA,EAIT;AACF;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as o } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { Z as qe } from "./invariant-CGOLuIIz.js";
|
|
3
|
-
import { C as Ir, A as Te } from "./errors-
|
|
4
|
-
import { S as yr } from "./SignUp-
|
|
3
|
+
import { C as Ir, A as Te } from "./errors-DliW1dED.js";
|
|
4
|
+
import { S as yr } from "./SignUp-CDl7bQj3.js";
|
|
5
5
|
import { j as Er, f as vr, u as D } from "./ZudokuContext-DNHMZfcP.js";
|
|
6
6
|
import { u as te, I as tt } from "./Input-D-kqEQ5M.js";
|
|
7
7
|
import { MailCheck as br, CheckIcon as Tr, RefreshCw as Ot } from "lucide-react";
|
|
8
8
|
import { b as pt, N as Sr, L as de, u as fn } from "./chunk-PVWAREVJ-ClM0m2aJ.js";
|
|
9
|
-
import { A as mt } from "./ActionButton-
|
|
9
|
+
import { A as mt } from "./ActionButton-BSM2oNHF.js";
|
|
10
10
|
import { A as G, a as ne, b as q } from "./Mermaid-BjSczjLW.js";
|
|
11
|
-
import { B as gt } from "./Button-
|
|
11
|
+
import { B as gt } from "./Button-IOAeVaIH.js";
|
|
12
12
|
import { a as je, b as Fe, c as Be, d as Ve, C as pn } from "./Card-KFniaZn5.js";
|
|
13
13
|
import { c as mn } from "./createVariantComponent-CQVt-H3r.js";
|
|
14
14
|
import gn from "react";
|
|
@@ -7495,31 +7495,31 @@ class $o extends Ir {
|
|
|
7495
7495
|
const cc = (n) => new $o(n), dn = async (n) => {
|
|
7496
7496
|
switch (n) {
|
|
7497
7497
|
case "google": {
|
|
7498
|
-
const { GoogleAuthProvider: e } = await import("./index.esm-
|
|
7498
|
+
const { GoogleAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7499
7499
|
return new e();
|
|
7500
7500
|
}
|
|
7501
7501
|
case "github": {
|
|
7502
|
-
const { GithubAuthProvider: e } = await import("./index.esm-
|
|
7502
|
+
const { GithubAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7503
7503
|
return new e();
|
|
7504
7504
|
}
|
|
7505
7505
|
case "facebook": {
|
|
7506
|
-
const { FacebookAuthProvider: e } = await import("./index.esm-
|
|
7506
|
+
const { FacebookAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7507
7507
|
return new e();
|
|
7508
7508
|
}
|
|
7509
7509
|
case "twitter": {
|
|
7510
|
-
const { TwitterAuthProvider: e } = await import("./index.esm-
|
|
7510
|
+
const { TwitterAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7511
7511
|
return new e();
|
|
7512
7512
|
}
|
|
7513
7513
|
case "microsoft": {
|
|
7514
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7514
|
+
const { OAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7515
7515
|
return new e("microsoft.com");
|
|
7516
7516
|
}
|
|
7517
7517
|
case "apple": {
|
|
7518
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7518
|
+
const { OAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7519
7519
|
return new e("apple.com");
|
|
7520
7520
|
}
|
|
7521
7521
|
case "yahoo": {
|
|
7522
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7522
|
+
const { OAuthProvider: e } = await import("./index.esm-ti5zvZS_.js");
|
|
7523
7523
|
return new e("yahoo.com");
|
|
7524
7524
|
}
|
|
7525
7525
|
}
|
|
@@ -7609,4 +7609,4 @@ export {
|
|
|
7609
7609
|
wa as x,
|
|
7610
7610
|
cc as y
|
|
7611
7611
|
};
|
|
7612
|
-
//# sourceMappingURL=firebase-
|
|
7612
|
+
//# sourceMappingURL=firebase-D4tbaCYB.js.map
|