zudoku 0.37.1 → 0.38.0
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/app/main.js +2 -0
- package/dist/app/main.js.map +1 -1
- package/dist/config/validators/common.d.ts +287 -18
- package/dist/config/validators/common.js +2 -0
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +107 -7
- package/dist/lib/authentication/authentication.d.ts +1 -0
- package/dist/lib/authentication/providers/clerk.js +19 -0
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -0
- package/dist/lib/authentication/providers/openid.js +5 -0
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.js +5 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +0 -26
- package/dist/lib/authentication/state.js +1 -16
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/Layout.js +5 -3
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +7 -0
- package/dist/lib/core/ZudokuContext.js +8 -3
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +2 -8
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +1 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +29 -5
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +26 -0
- package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +2 -2
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +13 -4
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js +19 -12
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +8 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +9 -4
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/util/traverse.d.ts +2 -8
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/useScrollToAnchor.js +18 -12
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/plugin-api.js +4 -1
- package/dist/vite/plugin-api.js.map +1 -1
- package/lib/{AuthenticationPlugin-Cij2tPWa.js → AuthenticationPlugin-Duy_R1TU.js} +3 -3
- package/lib/{AuthenticationPlugin-Cij2tPWa.js.map → AuthenticationPlugin-Duy_R1TU.js.map} +1 -1
- package/lib/{Markdown-DT5Rrq8_.js → Markdown-DIZ8nBVC.js} +742 -738
- package/lib/{Markdown-DT5Rrq8_.js.map → Markdown-DIZ8nBVC.js.map} +1 -1
- package/lib/{MdxPage-D2rD1vC4.js → MdxPage-JEdbfW-f.js} +42 -47
- package/lib/MdxPage-JEdbfW-f.js.map +1 -0
- package/lib/{OasProvider-DdEBf2qS.js → OasProvider-D1A10JeA.js} +4 -4
- package/lib/{OasProvider-DdEBf2qS.js.map → OasProvider-D1A10JeA.js.map} +1 -1
- package/lib/{OperationList-DT4-gm_S.js → OperationList-yOmYzMIp.js} +1128 -1112
- package/lib/OperationList-yOmYzMIp.js.map +1 -0
- package/lib/{Select-z1Lwl0-J.js → Select-fAYcJ0OU.js} +8 -8
- package/lib/{Select-z1Lwl0-J.js.map → Select-fAYcJ0OU.js.map} +1 -1
- package/lib/{SlotletProvider-D8OBnr77.js → SlotletProvider-BEwNY8q0.js} +4 -4
- package/lib/{SlotletProvider-D8OBnr77.js.map → SlotletProvider-BEwNY8q0.js.map} +1 -1
- package/lib/{chunk-HA7DTUK3-ZGg2W6yV.js → chunk-HA7DTUK3-C4gP41vD.js} +5 -5
- package/lib/{chunk-HA7DTUK3-ZGg2W6yV.js.map → chunk-HA7DTUK3-C4gP41vD.js.map} +1 -1
- package/lib/hook-Cge6LiTK.js +1483 -0
- package/lib/hook-Cge6LiTK.js.map +1 -0
- package/lib/{index-DdQSV2RF.js → index-B0y3fTg-.js} +261 -243
- package/lib/index-B0y3fTg-.js.map +1 -0
- package/lib/{mutation-_Z5C2wFZ.js → mutation-EChriCeF.js} +2 -2
- package/lib/{mutation-_Z5C2wFZ.js.map → mutation-EChriCeF.js.map} +1 -1
- package/lib/post-processors/traverse.js.map +1 -1
- package/lib/{useExposedProps-BslIn-FE.js → useExposedProps-B9qXJedG.js} +2 -2
- package/lib/{useExposedProps-BslIn-FE.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +59 -41
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +76 -73
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +229 -215
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +23 -24
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +15 -16
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -6
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +133 -98
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +1 -1
- package/src/app/main.tsx +2 -0
- package/src/lib/authentication/authentication.ts +2 -0
- package/src/lib/authentication/providers/clerk.tsx +20 -0
- package/src/lib/authentication/providers/openid.tsx +6 -0
- package/src/lib/authentication/providers/supabase.tsx +6 -0
- package/src/lib/authentication/state.ts +1 -35
- package/src/lib/components/Layout.tsx +14 -2
- package/src/lib/core/ZudokuContext.ts +13 -6
- package/src/lib/core/plugins.ts +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +1 -8
- package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
- package/src/lib/plugins/openapi/OperationList.tsx +1 -1
- package/src/lib/plugins/openapi/Sidecar.tsx +36 -7
- package/src/lib/plugins/openapi/interfaces.ts +29 -0
- package/src/lib/plugins/openapi/playground/Playground.tsx +1 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +2 -1
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +26 -4
- package/src/lib/plugins/search-pagefind/ResultList.tsx +59 -47
- package/src/lib/plugins/search-pagefind/get-results.tsx +31 -10
- package/src/lib/util/traverse.ts +2 -6
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/useScrollToAnchor.ts +20 -12
- package/lib/MdxPage-D2rD1vC4.js.map +0 -1
- package/lib/OperationList-DT4-gm_S.js.map +0 -1
- package/lib/hook-DzQC8PzJ.js +0 -355
- package/lib/hook-DzQC8PzJ.js.map +0 -1
- package/lib/index-DdQSV2RF.js.map +0 -1
- package/lib/joinUrl-BjDooT-T.js +0 -1154
- package/lib/joinUrl-BjDooT-T.js.map +0 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import z, { type RefinementCtx, type ZodEnumDef, type ZodOptional, type ZodString, type ZodType, type ZodUnion } from "zod";
|
|
3
|
-
import {
|
|
3
|
+
import type { AuthState } from "../../lib/authentication/state.js";
|
|
4
|
+
import type { ZudokuContext } from "../../lib/core/ZudokuContext.js";
|
|
4
5
|
import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
|
|
6
|
+
import type { transformExamples } from "../../lib/plugins/openapi/interfaces.js";
|
|
5
7
|
import type { PagefindSearchFragment } from "../../lib/plugins/search-pagefind/types.js";
|
|
6
8
|
declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
7
9
|
type: z.ZodLiteral<"url">;
|
|
@@ -25,16 +27,19 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
27
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
26
28
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
27
29
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
28
31
|
}, "strip", z.ZodTypeAny, {
|
|
29
32
|
examplesLanguage?: string | undefined;
|
|
30
33
|
disablePlayground?: boolean | undefined;
|
|
31
34
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
32
35
|
expandAllTags?: boolean | undefined;
|
|
36
|
+
transformExamples?: transformExamples | undefined;
|
|
33
37
|
}, {
|
|
34
38
|
examplesLanguage?: string | undefined;
|
|
35
39
|
disablePlayground?: boolean | undefined;
|
|
36
40
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
37
41
|
expandAllTags?: boolean | undefined;
|
|
42
|
+
transformExamples?: transformExamples | undefined;
|
|
38
43
|
}>>;
|
|
39
44
|
}>, "strip", z.ZodTypeAny, {
|
|
40
45
|
type: "url";
|
|
@@ -46,6 +51,7 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
46
51
|
disablePlayground?: boolean | undefined;
|
|
47
52
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
48
53
|
expandAllTags?: boolean | undefined;
|
|
54
|
+
transformExamples?: transformExamples | undefined;
|
|
49
55
|
} | undefined;
|
|
50
56
|
navigationId?: string | undefined;
|
|
51
57
|
categories?: {
|
|
@@ -62,6 +68,7 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
62
68
|
disablePlayground?: boolean | undefined;
|
|
63
69
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
64
70
|
expandAllTags?: boolean | undefined;
|
|
71
|
+
transformExamples?: transformExamples | undefined;
|
|
65
72
|
} | undefined;
|
|
66
73
|
navigationId?: string | undefined;
|
|
67
74
|
categories?: {
|
|
@@ -90,16 +97,19 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
90
97
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
91
98
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
92
99
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
93
101
|
}, "strip", z.ZodTypeAny, {
|
|
94
102
|
examplesLanguage?: string | undefined;
|
|
95
103
|
disablePlayground?: boolean | undefined;
|
|
96
104
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
97
105
|
expandAllTags?: boolean | undefined;
|
|
106
|
+
transformExamples?: transformExamples | undefined;
|
|
98
107
|
}, {
|
|
99
108
|
examplesLanguage?: string | undefined;
|
|
100
109
|
disablePlayground?: boolean | undefined;
|
|
101
110
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
102
111
|
expandAllTags?: boolean | undefined;
|
|
112
|
+
transformExamples?: transformExamples | undefined;
|
|
103
113
|
}>>;
|
|
104
114
|
}>, {
|
|
105
115
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -113,6 +123,7 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
113
123
|
disablePlayground?: boolean | undefined;
|
|
114
124
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
115
125
|
expandAllTags?: boolean | undefined;
|
|
126
|
+
transformExamples?: transformExamples | undefined;
|
|
116
127
|
} | undefined;
|
|
117
128
|
navigationId?: string | undefined;
|
|
118
129
|
categories?: {
|
|
@@ -130,6 +141,7 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
130
141
|
disablePlayground?: boolean | undefined;
|
|
131
142
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
132
143
|
expandAllTags?: boolean | undefined;
|
|
144
|
+
transformExamples?: transformExamples | undefined;
|
|
133
145
|
} | undefined;
|
|
134
146
|
navigationId?: string | undefined;
|
|
135
147
|
categories?: {
|
|
@@ -159,16 +171,19 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
159
171
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
160
172
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
161
173
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
162
175
|
}, "strip", z.ZodTypeAny, {
|
|
163
176
|
examplesLanguage?: string | undefined;
|
|
164
177
|
disablePlayground?: boolean | undefined;
|
|
165
178
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
166
179
|
expandAllTags?: boolean | undefined;
|
|
180
|
+
transformExamples?: transformExamples | undefined;
|
|
167
181
|
}, {
|
|
168
182
|
examplesLanguage?: string | undefined;
|
|
169
183
|
disablePlayground?: boolean | undefined;
|
|
170
184
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
171
185
|
expandAllTags?: boolean | undefined;
|
|
186
|
+
transformExamples?: transformExamples | undefined;
|
|
172
187
|
}>>;
|
|
173
188
|
}>, "strip", z.ZodTypeAny, {
|
|
174
189
|
type: "raw";
|
|
@@ -180,6 +195,7 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
180
195
|
disablePlayground?: boolean | undefined;
|
|
181
196
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
182
197
|
expandAllTags?: boolean | undefined;
|
|
198
|
+
transformExamples?: transformExamples | undefined;
|
|
183
199
|
} | undefined;
|
|
184
200
|
navigationId?: string | undefined;
|
|
185
201
|
categories?: {
|
|
@@ -196,6 +212,7 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
196
212
|
disablePlayground?: boolean | undefined;
|
|
197
213
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
198
214
|
expandAllTags?: boolean | undefined;
|
|
215
|
+
transformExamples?: transformExamples | undefined;
|
|
199
216
|
} | undefined;
|
|
200
217
|
navigationId?: string | undefined;
|
|
201
218
|
categories?: {
|
|
@@ -322,6 +339,7 @@ export declare const CdnUrlSchema: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodS
|
|
|
322
339
|
export declare const CommonConfigSchema: z.ZodObject<{
|
|
323
340
|
protectedRoutes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
324
341
|
basePath: z.ZodOptional<z.ZodString>;
|
|
342
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodString>;
|
|
325
343
|
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
326
344
|
base: z.ZodOptional<z.ZodString>;
|
|
327
345
|
media: z.ZodOptional<z.ZodString>;
|
|
@@ -898,7 +916,15 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
898
916
|
}>>;
|
|
899
917
|
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
900
918
|
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
901
|
-
transformResults: z.ZodOptional<z.ZodType<(
|
|
919
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
920
|
+
result: PagefindSearchFragment;
|
|
921
|
+
auth: AuthState;
|
|
922
|
+
context: ZudokuContext;
|
|
923
|
+
}) => PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
924
|
+
result: PagefindSearchFragment;
|
|
925
|
+
auth: AuthState;
|
|
926
|
+
context: ZudokuContext;
|
|
927
|
+
}) => PagefindSearchFragment | boolean | undefined | void>>;
|
|
902
928
|
}, "strip", z.ZodTypeAny, {
|
|
903
929
|
type: "pagefind";
|
|
904
930
|
ranking?: {
|
|
@@ -909,7 +935,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
909
935
|
} | undefined;
|
|
910
936
|
maxResults?: number | undefined;
|
|
911
937
|
maxSubResults?: number | undefined;
|
|
912
|
-
transformResults?: ((
|
|
938
|
+
transformResults?: ((data: {
|
|
939
|
+
result: PagefindSearchFragment;
|
|
940
|
+
auth: AuthState;
|
|
941
|
+
context: ZudokuContext;
|
|
942
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
913
943
|
}, {
|
|
914
944
|
type: "pagefind";
|
|
915
945
|
ranking?: {
|
|
@@ -920,7 +950,11 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
920
950
|
} | undefined;
|
|
921
951
|
maxResults?: number | undefined;
|
|
922
952
|
maxSubResults?: number | undefined;
|
|
923
|
-
transformResults?: ((
|
|
953
|
+
transformResults?: ((data: {
|
|
954
|
+
result: PagefindSearchFragment;
|
|
955
|
+
auth: AuthState;
|
|
956
|
+
context: ZudokuContext;
|
|
957
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
924
958
|
}>]>>;
|
|
925
959
|
docs: z.ZodUnion<[z.ZodObject<{
|
|
926
960
|
files: z.ZodString;
|
|
@@ -993,16 +1027,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
993
1027
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
994
1028
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
995
1029
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1030
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
996
1031
|
}, "strip", z.ZodTypeAny, {
|
|
997
1032
|
examplesLanguage?: string | undefined;
|
|
998
1033
|
disablePlayground?: boolean | undefined;
|
|
999
1034
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1000
1035
|
expandAllTags?: boolean | undefined;
|
|
1036
|
+
transformExamples?: transformExamples | undefined;
|
|
1001
1037
|
}, {
|
|
1002
1038
|
examplesLanguage?: string | undefined;
|
|
1003
1039
|
disablePlayground?: boolean | undefined;
|
|
1004
1040
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1005
1041
|
expandAllTags?: boolean | undefined;
|
|
1042
|
+
transformExamples?: transformExamples | undefined;
|
|
1006
1043
|
}>>;
|
|
1007
1044
|
}>, "strip", z.ZodTypeAny, {
|
|
1008
1045
|
type: "url";
|
|
@@ -1014,6 +1051,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1014
1051
|
disablePlayground?: boolean | undefined;
|
|
1015
1052
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1016
1053
|
expandAllTags?: boolean | undefined;
|
|
1054
|
+
transformExamples?: transformExamples | undefined;
|
|
1017
1055
|
} | undefined;
|
|
1018
1056
|
navigationId?: string | undefined;
|
|
1019
1057
|
categories?: {
|
|
@@ -1030,6 +1068,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1030
1068
|
disablePlayground?: boolean | undefined;
|
|
1031
1069
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1032
1070
|
expandAllTags?: boolean | undefined;
|
|
1071
|
+
transformExamples?: transformExamples | undefined;
|
|
1033
1072
|
} | undefined;
|
|
1034
1073
|
navigationId?: string | undefined;
|
|
1035
1074
|
categories?: {
|
|
@@ -1058,16 +1097,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1058
1097
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1059
1098
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1060
1099
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1100
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1061
1101
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1102
|
examplesLanguage?: string | undefined;
|
|
1063
1103
|
disablePlayground?: boolean | undefined;
|
|
1064
1104
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1065
1105
|
expandAllTags?: boolean | undefined;
|
|
1106
|
+
transformExamples?: transformExamples | undefined;
|
|
1066
1107
|
}, {
|
|
1067
1108
|
examplesLanguage?: string | undefined;
|
|
1068
1109
|
disablePlayground?: boolean | undefined;
|
|
1069
1110
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1070
1111
|
expandAllTags?: boolean | undefined;
|
|
1112
|
+
transformExamples?: transformExamples | undefined;
|
|
1071
1113
|
}>>;
|
|
1072
1114
|
}>, {
|
|
1073
1115
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -1081,6 +1123,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1081
1123
|
disablePlayground?: boolean | undefined;
|
|
1082
1124
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1083
1125
|
expandAllTags?: boolean | undefined;
|
|
1126
|
+
transformExamples?: transformExamples | undefined;
|
|
1084
1127
|
} | undefined;
|
|
1085
1128
|
navigationId?: string | undefined;
|
|
1086
1129
|
categories?: {
|
|
@@ -1098,6 +1141,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1098
1141
|
disablePlayground?: boolean | undefined;
|
|
1099
1142
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1100
1143
|
expandAllTags?: boolean | undefined;
|
|
1144
|
+
transformExamples?: transformExamples | undefined;
|
|
1101
1145
|
} | undefined;
|
|
1102
1146
|
navigationId?: string | undefined;
|
|
1103
1147
|
categories?: {
|
|
@@ -1127,16 +1171,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1127
1171
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1128
1172
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1129
1173
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1174
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1130
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1131
1176
|
examplesLanguage?: string | undefined;
|
|
1132
1177
|
disablePlayground?: boolean | undefined;
|
|
1133
1178
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1134
1179
|
expandAllTags?: boolean | undefined;
|
|
1180
|
+
transformExamples?: transformExamples | undefined;
|
|
1135
1181
|
}, {
|
|
1136
1182
|
examplesLanguage?: string | undefined;
|
|
1137
1183
|
disablePlayground?: boolean | undefined;
|
|
1138
1184
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1139
1185
|
expandAllTags?: boolean | undefined;
|
|
1186
|
+
transformExamples?: transformExamples | undefined;
|
|
1140
1187
|
}>>;
|
|
1141
1188
|
}>, "strip", z.ZodTypeAny, {
|
|
1142
1189
|
type: "raw";
|
|
@@ -1148,6 +1195,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1148
1195
|
disablePlayground?: boolean | undefined;
|
|
1149
1196
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1150
1197
|
expandAllTags?: boolean | undefined;
|
|
1198
|
+
transformExamples?: transformExamples | undefined;
|
|
1151
1199
|
} | undefined;
|
|
1152
1200
|
navigationId?: string | undefined;
|
|
1153
1201
|
categories?: {
|
|
@@ -1164,6 +1212,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1164
1212
|
disablePlayground?: boolean | undefined;
|
|
1165
1213
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1166
1214
|
expandAllTags?: boolean | undefined;
|
|
1215
|
+
transformExamples?: transformExamples | undefined;
|
|
1167
1216
|
} | undefined;
|
|
1168
1217
|
navigationId?: string | undefined;
|
|
1169
1218
|
categories?: {
|
|
@@ -1192,16 +1241,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1192
1241
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1193
1242
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1194
1243
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1244
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1195
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1196
1246
|
examplesLanguage?: string | undefined;
|
|
1197
1247
|
disablePlayground?: boolean | undefined;
|
|
1198
1248
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1199
1249
|
expandAllTags?: boolean | undefined;
|
|
1250
|
+
transformExamples?: transformExamples | undefined;
|
|
1200
1251
|
}, {
|
|
1201
1252
|
examplesLanguage?: string | undefined;
|
|
1202
1253
|
disablePlayground?: boolean | undefined;
|
|
1203
1254
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1204
1255
|
expandAllTags?: boolean | undefined;
|
|
1256
|
+
transformExamples?: transformExamples | undefined;
|
|
1205
1257
|
}>>;
|
|
1206
1258
|
}>, "strip", z.ZodTypeAny, {
|
|
1207
1259
|
type: "url";
|
|
@@ -1213,6 +1265,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1213
1265
|
disablePlayground?: boolean | undefined;
|
|
1214
1266
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1215
1267
|
expandAllTags?: boolean | undefined;
|
|
1268
|
+
transformExamples?: transformExamples | undefined;
|
|
1216
1269
|
} | undefined;
|
|
1217
1270
|
navigationId?: string | undefined;
|
|
1218
1271
|
categories?: {
|
|
@@ -1229,6 +1282,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1229
1282
|
disablePlayground?: boolean | undefined;
|
|
1230
1283
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1231
1284
|
expandAllTags?: boolean | undefined;
|
|
1285
|
+
transformExamples?: transformExamples | undefined;
|
|
1232
1286
|
} | undefined;
|
|
1233
1287
|
navigationId?: string | undefined;
|
|
1234
1288
|
categories?: {
|
|
@@ -1257,16 +1311,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1257
1311
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1258
1312
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1259
1313
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1314
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1260
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1316
|
examplesLanguage?: string | undefined;
|
|
1262
1317
|
disablePlayground?: boolean | undefined;
|
|
1263
1318
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1264
1319
|
expandAllTags?: boolean | undefined;
|
|
1320
|
+
transformExamples?: transformExamples | undefined;
|
|
1265
1321
|
}, {
|
|
1266
1322
|
examplesLanguage?: string | undefined;
|
|
1267
1323
|
disablePlayground?: boolean | undefined;
|
|
1268
1324
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1269
1325
|
expandAllTags?: boolean | undefined;
|
|
1326
|
+
transformExamples?: transformExamples | undefined;
|
|
1270
1327
|
}>>;
|
|
1271
1328
|
}>, {
|
|
1272
1329
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -1280,6 +1337,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1280
1337
|
disablePlayground?: boolean | undefined;
|
|
1281
1338
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1282
1339
|
expandAllTags?: boolean | undefined;
|
|
1340
|
+
transformExamples?: transformExamples | undefined;
|
|
1283
1341
|
} | undefined;
|
|
1284
1342
|
navigationId?: string | undefined;
|
|
1285
1343
|
categories?: {
|
|
@@ -1297,6 +1355,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1297
1355
|
disablePlayground?: boolean | undefined;
|
|
1298
1356
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1299
1357
|
expandAllTags?: boolean | undefined;
|
|
1358
|
+
transformExamples?: transformExamples | undefined;
|
|
1300
1359
|
} | undefined;
|
|
1301
1360
|
navigationId?: string | undefined;
|
|
1302
1361
|
categories?: {
|
|
@@ -1326,16 +1385,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1326
1385
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1327
1386
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1328
1387
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1329
1389
|
}, "strip", z.ZodTypeAny, {
|
|
1330
1390
|
examplesLanguage?: string | undefined;
|
|
1331
1391
|
disablePlayground?: boolean | undefined;
|
|
1332
1392
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1333
1393
|
expandAllTags?: boolean | undefined;
|
|
1394
|
+
transformExamples?: transformExamples | undefined;
|
|
1334
1395
|
}, {
|
|
1335
1396
|
examplesLanguage?: string | undefined;
|
|
1336
1397
|
disablePlayground?: boolean | undefined;
|
|
1337
1398
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1338
1399
|
expandAllTags?: boolean | undefined;
|
|
1400
|
+
transformExamples?: transformExamples | undefined;
|
|
1339
1401
|
}>>;
|
|
1340
1402
|
}>, "strip", z.ZodTypeAny, {
|
|
1341
1403
|
type: "raw";
|
|
@@ -1347,6 +1409,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1347
1409
|
disablePlayground?: boolean | undefined;
|
|
1348
1410
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1349
1411
|
expandAllTags?: boolean | undefined;
|
|
1412
|
+
transformExamples?: transformExamples | undefined;
|
|
1350
1413
|
} | undefined;
|
|
1351
1414
|
navigationId?: string | undefined;
|
|
1352
1415
|
categories?: {
|
|
@@ -1363,6 +1426,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1363
1426
|
disablePlayground?: boolean | undefined;
|
|
1364
1427
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1365
1428
|
expandAllTags?: boolean | undefined;
|
|
1429
|
+
transformExamples?: transformExamples | undefined;
|
|
1366
1430
|
} | undefined;
|
|
1367
1431
|
navigationId?: string | undefined;
|
|
1368
1432
|
categories?: {
|
|
@@ -1515,16 +1579,19 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1515
1579
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1516
1580
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
1517
1581
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
1518
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1519
1584
|
examplesLanguage?: string | undefined;
|
|
1520
1585
|
disablePlayground?: boolean | undefined;
|
|
1521
1586
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1522
1587
|
expandAllTags?: boolean | undefined;
|
|
1588
|
+
transformExamples?: transformExamples | undefined;
|
|
1523
1589
|
}, {
|
|
1524
1590
|
examplesLanguage?: string | undefined;
|
|
1525
1591
|
disablePlayground?: boolean | undefined;
|
|
1526
1592
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1527
1593
|
expandAllTags?: boolean | undefined;
|
|
1594
|
+
transformExamples?: transformExamples | undefined;
|
|
1528
1595
|
}>;
|
|
1529
1596
|
/**
|
|
1530
1597
|
* @deprecated Use `apis.examplesLanguage` or `defaults.apis.examplesLanguage` instead
|
|
@@ -1536,6 +1603,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1536
1603
|
disablePlayground?: boolean | undefined;
|
|
1537
1604
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1538
1605
|
expandAllTags?: boolean | undefined;
|
|
1606
|
+
transformExamples?: transformExamples | undefined;
|
|
1539
1607
|
};
|
|
1540
1608
|
examplesLanguage?: string | undefined;
|
|
1541
1609
|
}, {
|
|
@@ -1544,6 +1612,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1544
1612
|
disablePlayground?: boolean | undefined;
|
|
1545
1613
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1546
1614
|
expandAllTags?: boolean | undefined;
|
|
1615
|
+
transformExamples?: transformExamples | undefined;
|
|
1547
1616
|
};
|
|
1548
1617
|
examplesLanguage?: string | undefined;
|
|
1549
1618
|
}>;
|
|
@@ -1554,6 +1623,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1554
1623
|
disablePlayground?: boolean | undefined;
|
|
1555
1624
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1556
1625
|
expandAllTags?: boolean | undefined;
|
|
1626
|
+
transformExamples?: transformExamples | undefined;
|
|
1557
1627
|
};
|
|
1558
1628
|
examplesLanguage?: string | undefined;
|
|
1559
1629
|
};
|
|
@@ -1705,6 +1775,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1705
1775
|
disablePlayground?: boolean | undefined;
|
|
1706
1776
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1707
1777
|
expandAllTags?: boolean | undefined;
|
|
1778
|
+
transformExamples?: transformExamples | undefined;
|
|
1708
1779
|
} | undefined;
|
|
1709
1780
|
navigationId?: string | undefined;
|
|
1710
1781
|
categories?: {
|
|
@@ -1721,6 +1792,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1721
1792
|
disablePlayground?: boolean | undefined;
|
|
1722
1793
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1723
1794
|
expandAllTags?: boolean | undefined;
|
|
1795
|
+
transformExamples?: transformExamples | undefined;
|
|
1724
1796
|
} | undefined;
|
|
1725
1797
|
navigationId?: string | undefined;
|
|
1726
1798
|
categories?: {
|
|
@@ -1738,6 +1810,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1738
1810
|
disablePlayground?: boolean | undefined;
|
|
1739
1811
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1740
1812
|
expandAllTags?: boolean | undefined;
|
|
1813
|
+
transformExamples?: transformExamples | undefined;
|
|
1741
1814
|
} | undefined;
|
|
1742
1815
|
navigationId?: string | undefined;
|
|
1743
1816
|
categories?: {
|
|
@@ -1754,6 +1827,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1754
1827
|
disablePlayground?: boolean | undefined;
|
|
1755
1828
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1756
1829
|
expandAllTags?: boolean | undefined;
|
|
1830
|
+
transformExamples?: transformExamples | undefined;
|
|
1757
1831
|
} | undefined;
|
|
1758
1832
|
navigationId?: string | undefined;
|
|
1759
1833
|
categories?: {
|
|
@@ -1770,6 +1844,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1770
1844
|
disablePlayground?: boolean | undefined;
|
|
1771
1845
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1772
1846
|
expandAllTags?: boolean | undefined;
|
|
1847
|
+
transformExamples?: transformExamples | undefined;
|
|
1773
1848
|
} | undefined;
|
|
1774
1849
|
navigationId?: string | undefined;
|
|
1775
1850
|
categories?: {
|
|
@@ -1787,6 +1862,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1787
1862
|
disablePlayground?: boolean | undefined;
|
|
1788
1863
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1789
1864
|
expandAllTags?: boolean | undefined;
|
|
1865
|
+
transformExamples?: transformExamples | undefined;
|
|
1790
1866
|
} | undefined;
|
|
1791
1867
|
navigationId?: string | undefined;
|
|
1792
1868
|
categories?: {
|
|
@@ -1843,10 +1919,15 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1843
1919
|
} | undefined;
|
|
1844
1920
|
maxResults?: number | undefined;
|
|
1845
1921
|
maxSubResults?: number | undefined;
|
|
1846
|
-
transformResults?: ((
|
|
1922
|
+
transformResults?: ((data: {
|
|
1923
|
+
result: PagefindSearchFragment;
|
|
1924
|
+
auth: AuthState;
|
|
1925
|
+
context: ZudokuContext;
|
|
1926
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1847
1927
|
} | undefined;
|
|
1848
1928
|
protectedRoutes?: string[] | undefined;
|
|
1849
1929
|
basePath?: string | undefined;
|
|
1930
|
+
canonicalUrlOrigin?: string | undefined;
|
|
1850
1931
|
cdnUrl?: {
|
|
1851
1932
|
base: string | undefined;
|
|
1852
1933
|
media: string | undefined;
|
|
@@ -1874,6 +1955,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
1874
1955
|
disablePlayground?: boolean | undefined;
|
|
1875
1956
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
1876
1957
|
expandAllTags?: boolean | undefined;
|
|
1958
|
+
transformExamples?: transformExamples | undefined;
|
|
1877
1959
|
};
|
|
1878
1960
|
examplesLanguage?: string | undefined;
|
|
1879
1961
|
};
|
|
@@ -2025,6 +2107,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2025
2107
|
disablePlayground?: boolean | undefined;
|
|
2026
2108
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2027
2109
|
expandAllTags?: boolean | undefined;
|
|
2110
|
+
transformExamples?: transformExamples | undefined;
|
|
2028
2111
|
} | undefined;
|
|
2029
2112
|
navigationId?: string | undefined;
|
|
2030
2113
|
categories?: {
|
|
@@ -2041,6 +2124,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2041
2124
|
disablePlayground?: boolean | undefined;
|
|
2042
2125
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2043
2126
|
expandAllTags?: boolean | undefined;
|
|
2127
|
+
transformExamples?: transformExamples | undefined;
|
|
2044
2128
|
} | undefined;
|
|
2045
2129
|
navigationId?: string | undefined;
|
|
2046
2130
|
categories?: {
|
|
@@ -2058,6 +2142,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2058
2142
|
disablePlayground?: boolean | undefined;
|
|
2059
2143
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2060
2144
|
expandAllTags?: boolean | undefined;
|
|
2145
|
+
transformExamples?: transformExamples | undefined;
|
|
2061
2146
|
} | undefined;
|
|
2062
2147
|
navigationId?: string | undefined;
|
|
2063
2148
|
categories?: {
|
|
@@ -2074,6 +2159,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2074
2159
|
disablePlayground?: boolean | undefined;
|
|
2075
2160
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2076
2161
|
expandAllTags?: boolean | undefined;
|
|
2162
|
+
transformExamples?: transformExamples | undefined;
|
|
2077
2163
|
} | undefined;
|
|
2078
2164
|
navigationId?: string | undefined;
|
|
2079
2165
|
categories?: {
|
|
@@ -2090,6 +2176,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2090
2176
|
disablePlayground?: boolean | undefined;
|
|
2091
2177
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2092
2178
|
expandAllTags?: boolean | undefined;
|
|
2179
|
+
transformExamples?: transformExamples | undefined;
|
|
2093
2180
|
} | undefined;
|
|
2094
2181
|
navigationId?: string | undefined;
|
|
2095
2182
|
categories?: {
|
|
@@ -2107,6 +2194,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2107
2194
|
disablePlayground?: boolean | undefined;
|
|
2108
2195
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2109
2196
|
expandAllTags?: boolean | undefined;
|
|
2197
|
+
transformExamples?: transformExamples | undefined;
|
|
2110
2198
|
} | undefined;
|
|
2111
2199
|
navigationId?: string | undefined;
|
|
2112
2200
|
categories?: {
|
|
@@ -2163,10 +2251,15 @@ export declare const CommonConfigSchema: z.ZodObject<{
|
|
|
2163
2251
|
} | undefined;
|
|
2164
2252
|
maxResults?: number | undefined;
|
|
2165
2253
|
maxSubResults?: number | undefined;
|
|
2166
|
-
transformResults?: ((
|
|
2254
|
+
transformResults?: ((data: {
|
|
2255
|
+
result: PagefindSearchFragment;
|
|
2256
|
+
auth: AuthState;
|
|
2257
|
+
context: ZudokuContext;
|
|
2258
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2167
2259
|
} | undefined;
|
|
2168
2260
|
protectedRoutes?: string[] | undefined;
|
|
2169
2261
|
basePath?: string | undefined;
|
|
2262
|
+
canonicalUrlOrigin?: string | undefined;
|
|
2170
2263
|
cdnUrl?: string | {
|
|
2171
2264
|
base?: string | undefined;
|
|
2172
2265
|
media?: string | undefined;
|
|
@@ -2192,6 +2285,7 @@ export declare const refine: (config: z.output<typeof CommonConfigSchemaPartial>
|
|
|
2192
2285
|
declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
2193
2286
|
protectedRoutes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2194
2287
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2288
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2195
2289
|
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2196
2290
|
base: z.ZodOptional<z.ZodString>;
|
|
2197
2291
|
media: z.ZodOptional<z.ZodString>;
|
|
@@ -2768,7 +2862,15 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2768
2862
|
}>>;
|
|
2769
2863
|
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
2770
2864
|
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
2771
|
-
transformResults: z.ZodOptional<z.ZodType<(
|
|
2865
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
2866
|
+
result: PagefindSearchFragment;
|
|
2867
|
+
auth: AuthState;
|
|
2868
|
+
context: ZudokuContext;
|
|
2869
|
+
}) => PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
2870
|
+
result: PagefindSearchFragment;
|
|
2871
|
+
auth: AuthState;
|
|
2872
|
+
context: ZudokuContext;
|
|
2873
|
+
}) => PagefindSearchFragment | boolean | undefined | void>>;
|
|
2772
2874
|
}, "strip", z.ZodTypeAny, {
|
|
2773
2875
|
type: "pagefind";
|
|
2774
2876
|
ranking?: {
|
|
@@ -2779,7 +2881,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2779
2881
|
} | undefined;
|
|
2780
2882
|
maxResults?: number | undefined;
|
|
2781
2883
|
maxSubResults?: number | undefined;
|
|
2782
|
-
transformResults?: ((
|
|
2884
|
+
transformResults?: ((data: {
|
|
2885
|
+
result: PagefindSearchFragment;
|
|
2886
|
+
auth: AuthState;
|
|
2887
|
+
context: ZudokuContext;
|
|
2888
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2783
2889
|
}, {
|
|
2784
2890
|
type: "pagefind";
|
|
2785
2891
|
ranking?: {
|
|
@@ -2790,7 +2896,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2790
2896
|
} | undefined;
|
|
2791
2897
|
maxResults?: number | undefined;
|
|
2792
2898
|
maxSubResults?: number | undefined;
|
|
2793
|
-
transformResults?: ((
|
|
2899
|
+
transformResults?: ((data: {
|
|
2900
|
+
result: PagefindSearchFragment;
|
|
2901
|
+
auth: AuthState;
|
|
2902
|
+
context: ZudokuContext;
|
|
2903
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
2794
2904
|
}>]>>>;
|
|
2795
2905
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2796
2906
|
files: z.ZodString;
|
|
@@ -2863,16 +2973,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2863
2973
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
2864
2974
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
2865
2975
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
2976
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
2866
2977
|
}, "strip", z.ZodTypeAny, {
|
|
2867
2978
|
examplesLanguage?: string | undefined;
|
|
2868
2979
|
disablePlayground?: boolean | undefined;
|
|
2869
2980
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2870
2981
|
expandAllTags?: boolean | undefined;
|
|
2982
|
+
transformExamples?: transformExamples | undefined;
|
|
2871
2983
|
}, {
|
|
2872
2984
|
examplesLanguage?: string | undefined;
|
|
2873
2985
|
disablePlayground?: boolean | undefined;
|
|
2874
2986
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2875
2987
|
expandAllTags?: boolean | undefined;
|
|
2988
|
+
transformExamples?: transformExamples | undefined;
|
|
2876
2989
|
}>>;
|
|
2877
2990
|
}>, "strip", z.ZodTypeAny, {
|
|
2878
2991
|
type: "url";
|
|
@@ -2884,6 +2997,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2884
2997
|
disablePlayground?: boolean | undefined;
|
|
2885
2998
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2886
2999
|
expandAllTags?: boolean | undefined;
|
|
3000
|
+
transformExamples?: transformExamples | undefined;
|
|
2887
3001
|
} | undefined;
|
|
2888
3002
|
navigationId?: string | undefined;
|
|
2889
3003
|
categories?: {
|
|
@@ -2900,6 +3014,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2900
3014
|
disablePlayground?: boolean | undefined;
|
|
2901
3015
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2902
3016
|
expandAllTags?: boolean | undefined;
|
|
3017
|
+
transformExamples?: transformExamples | undefined;
|
|
2903
3018
|
} | undefined;
|
|
2904
3019
|
navigationId?: string | undefined;
|
|
2905
3020
|
categories?: {
|
|
@@ -2928,16 +3043,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2928
3043
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
2929
3044
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
2930
3045
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3046
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
2931
3047
|
}, "strip", z.ZodTypeAny, {
|
|
2932
3048
|
examplesLanguage?: string | undefined;
|
|
2933
3049
|
disablePlayground?: boolean | undefined;
|
|
2934
3050
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2935
3051
|
expandAllTags?: boolean | undefined;
|
|
3052
|
+
transformExamples?: transformExamples | undefined;
|
|
2936
3053
|
}, {
|
|
2937
3054
|
examplesLanguage?: string | undefined;
|
|
2938
3055
|
disablePlayground?: boolean | undefined;
|
|
2939
3056
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2940
3057
|
expandAllTags?: boolean | undefined;
|
|
3058
|
+
transformExamples?: transformExamples | undefined;
|
|
2941
3059
|
}>>;
|
|
2942
3060
|
}>, {
|
|
2943
3061
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -2951,6 +3069,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2951
3069
|
disablePlayground?: boolean | undefined;
|
|
2952
3070
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2953
3071
|
expandAllTags?: boolean | undefined;
|
|
3072
|
+
transformExamples?: transformExamples | undefined;
|
|
2954
3073
|
} | undefined;
|
|
2955
3074
|
navigationId?: string | undefined;
|
|
2956
3075
|
categories?: {
|
|
@@ -2968,6 +3087,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2968
3087
|
disablePlayground?: boolean | undefined;
|
|
2969
3088
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
2970
3089
|
expandAllTags?: boolean | undefined;
|
|
3090
|
+
transformExamples?: transformExamples | undefined;
|
|
2971
3091
|
} | undefined;
|
|
2972
3092
|
navigationId?: string | undefined;
|
|
2973
3093
|
categories?: {
|
|
@@ -2997,16 +3117,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
2997
3117
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
2998
3118
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
2999
3119
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3120
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3000
3121
|
}, "strip", z.ZodTypeAny, {
|
|
3001
3122
|
examplesLanguage?: string | undefined;
|
|
3002
3123
|
disablePlayground?: boolean | undefined;
|
|
3003
3124
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3004
3125
|
expandAllTags?: boolean | undefined;
|
|
3126
|
+
transformExamples?: transformExamples | undefined;
|
|
3005
3127
|
}, {
|
|
3006
3128
|
examplesLanguage?: string | undefined;
|
|
3007
3129
|
disablePlayground?: boolean | undefined;
|
|
3008
3130
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3009
3131
|
expandAllTags?: boolean | undefined;
|
|
3132
|
+
transformExamples?: transformExamples | undefined;
|
|
3010
3133
|
}>>;
|
|
3011
3134
|
}>, "strip", z.ZodTypeAny, {
|
|
3012
3135
|
type: "raw";
|
|
@@ -3018,6 +3141,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3018
3141
|
disablePlayground?: boolean | undefined;
|
|
3019
3142
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3020
3143
|
expandAllTags?: boolean | undefined;
|
|
3144
|
+
transformExamples?: transformExamples | undefined;
|
|
3021
3145
|
} | undefined;
|
|
3022
3146
|
navigationId?: string | undefined;
|
|
3023
3147
|
categories?: {
|
|
@@ -3034,6 +3158,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3034
3158
|
disablePlayground?: boolean | undefined;
|
|
3035
3159
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3036
3160
|
expandAllTags?: boolean | undefined;
|
|
3161
|
+
transformExamples?: transformExamples | undefined;
|
|
3037
3162
|
} | undefined;
|
|
3038
3163
|
navigationId?: string | undefined;
|
|
3039
3164
|
categories?: {
|
|
@@ -3062,16 +3187,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3062
3187
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3063
3188
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3064
3189
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3190
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3065
3191
|
}, "strip", z.ZodTypeAny, {
|
|
3066
3192
|
examplesLanguage?: string | undefined;
|
|
3067
3193
|
disablePlayground?: boolean | undefined;
|
|
3068
3194
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3069
3195
|
expandAllTags?: boolean | undefined;
|
|
3196
|
+
transformExamples?: transformExamples | undefined;
|
|
3070
3197
|
}, {
|
|
3071
3198
|
examplesLanguage?: string | undefined;
|
|
3072
3199
|
disablePlayground?: boolean | undefined;
|
|
3073
3200
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3074
3201
|
expandAllTags?: boolean | undefined;
|
|
3202
|
+
transformExamples?: transformExamples | undefined;
|
|
3075
3203
|
}>>;
|
|
3076
3204
|
}>, "strip", z.ZodTypeAny, {
|
|
3077
3205
|
type: "url";
|
|
@@ -3083,6 +3211,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3083
3211
|
disablePlayground?: boolean | undefined;
|
|
3084
3212
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3085
3213
|
expandAllTags?: boolean | undefined;
|
|
3214
|
+
transformExamples?: transformExamples | undefined;
|
|
3086
3215
|
} | undefined;
|
|
3087
3216
|
navigationId?: string | undefined;
|
|
3088
3217
|
categories?: {
|
|
@@ -3099,6 +3228,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3099
3228
|
disablePlayground?: boolean | undefined;
|
|
3100
3229
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3101
3230
|
expandAllTags?: boolean | undefined;
|
|
3231
|
+
transformExamples?: transformExamples | undefined;
|
|
3102
3232
|
} | undefined;
|
|
3103
3233
|
navigationId?: string | undefined;
|
|
3104
3234
|
categories?: {
|
|
@@ -3127,16 +3257,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3127
3257
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3128
3258
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3129
3259
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3260
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3130
3261
|
}, "strip", z.ZodTypeAny, {
|
|
3131
3262
|
examplesLanguage?: string | undefined;
|
|
3132
3263
|
disablePlayground?: boolean | undefined;
|
|
3133
3264
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3134
3265
|
expandAllTags?: boolean | undefined;
|
|
3266
|
+
transformExamples?: transformExamples | undefined;
|
|
3135
3267
|
}, {
|
|
3136
3268
|
examplesLanguage?: string | undefined;
|
|
3137
3269
|
disablePlayground?: boolean | undefined;
|
|
3138
3270
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3139
3271
|
expandAllTags?: boolean | undefined;
|
|
3272
|
+
transformExamples?: transformExamples | undefined;
|
|
3140
3273
|
}>>;
|
|
3141
3274
|
}>, {
|
|
3142
3275
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -3150,6 +3283,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3150
3283
|
disablePlayground?: boolean | undefined;
|
|
3151
3284
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3152
3285
|
expandAllTags?: boolean | undefined;
|
|
3286
|
+
transformExamples?: transformExamples | undefined;
|
|
3153
3287
|
} | undefined;
|
|
3154
3288
|
navigationId?: string | undefined;
|
|
3155
3289
|
categories?: {
|
|
@@ -3167,6 +3301,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3167
3301
|
disablePlayground?: boolean | undefined;
|
|
3168
3302
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3169
3303
|
expandAllTags?: boolean | undefined;
|
|
3304
|
+
transformExamples?: transformExamples | undefined;
|
|
3170
3305
|
} | undefined;
|
|
3171
3306
|
navigationId?: string | undefined;
|
|
3172
3307
|
categories?: {
|
|
@@ -3196,16 +3331,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3196
3331
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3197
3332
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3198
3333
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3334
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3199
3335
|
}, "strip", z.ZodTypeAny, {
|
|
3200
3336
|
examplesLanguage?: string | undefined;
|
|
3201
3337
|
disablePlayground?: boolean | undefined;
|
|
3202
3338
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3203
3339
|
expandAllTags?: boolean | undefined;
|
|
3340
|
+
transformExamples?: transformExamples | undefined;
|
|
3204
3341
|
}, {
|
|
3205
3342
|
examplesLanguage?: string | undefined;
|
|
3206
3343
|
disablePlayground?: boolean | undefined;
|
|
3207
3344
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3208
3345
|
expandAllTags?: boolean | undefined;
|
|
3346
|
+
transformExamples?: transformExamples | undefined;
|
|
3209
3347
|
}>>;
|
|
3210
3348
|
}>, "strip", z.ZodTypeAny, {
|
|
3211
3349
|
type: "raw";
|
|
@@ -3217,6 +3355,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3217
3355
|
disablePlayground?: boolean | undefined;
|
|
3218
3356
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3219
3357
|
expandAllTags?: boolean | undefined;
|
|
3358
|
+
transformExamples?: transformExamples | undefined;
|
|
3220
3359
|
} | undefined;
|
|
3221
3360
|
navigationId?: string | undefined;
|
|
3222
3361
|
categories?: {
|
|
@@ -3233,6 +3372,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3233
3372
|
disablePlayground?: boolean | undefined;
|
|
3234
3373
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3235
3374
|
expandAllTags?: boolean | undefined;
|
|
3375
|
+
transformExamples?: transformExamples | undefined;
|
|
3236
3376
|
} | undefined;
|
|
3237
3377
|
navigationId?: string | undefined;
|
|
3238
3378
|
categories?: {
|
|
@@ -3385,16 +3525,19 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3385
3525
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
3386
3526
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
3387
3527
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
3528
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
3388
3529
|
}, "strip", z.ZodTypeAny, {
|
|
3389
3530
|
examplesLanguage?: string | undefined;
|
|
3390
3531
|
disablePlayground?: boolean | undefined;
|
|
3391
3532
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3392
3533
|
expandAllTags?: boolean | undefined;
|
|
3534
|
+
transformExamples?: transformExamples | undefined;
|
|
3393
3535
|
}, {
|
|
3394
3536
|
examplesLanguage?: string | undefined;
|
|
3395
3537
|
disablePlayground?: boolean | undefined;
|
|
3396
3538
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3397
3539
|
expandAllTags?: boolean | undefined;
|
|
3540
|
+
transformExamples?: transformExamples | undefined;
|
|
3398
3541
|
}>;
|
|
3399
3542
|
/**
|
|
3400
3543
|
* @deprecated Use `apis.examplesLanguage` or `defaults.apis.examplesLanguage` instead
|
|
@@ -3406,6 +3549,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3406
3549
|
disablePlayground?: boolean | undefined;
|
|
3407
3550
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3408
3551
|
expandAllTags?: boolean | undefined;
|
|
3552
|
+
transformExamples?: transformExamples | undefined;
|
|
3409
3553
|
};
|
|
3410
3554
|
examplesLanguage?: string | undefined;
|
|
3411
3555
|
}, {
|
|
@@ -3414,6 +3558,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3414
3558
|
disablePlayground?: boolean | undefined;
|
|
3415
3559
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3416
3560
|
expandAllTags?: boolean | undefined;
|
|
3561
|
+
transformExamples?: transformExamples | undefined;
|
|
3417
3562
|
};
|
|
3418
3563
|
examplesLanguage?: string | undefined;
|
|
3419
3564
|
}>>;
|
|
@@ -3435,7 +3580,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3435
3580
|
} | undefined;
|
|
3436
3581
|
maxResults?: number | undefined;
|
|
3437
3582
|
maxSubResults?: number | undefined;
|
|
3438
|
-
transformResults?: ((
|
|
3583
|
+
transformResults?: ((data: {
|
|
3584
|
+
result: PagefindSearchFragment;
|
|
3585
|
+
auth: AuthState;
|
|
3586
|
+
context: ZudokuContext;
|
|
3587
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
3439
3588
|
} | undefined;
|
|
3440
3589
|
defaults?: {
|
|
3441
3590
|
apis: {
|
|
@@ -3443,6 +3592,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3443
3592
|
disablePlayground?: boolean | undefined;
|
|
3444
3593
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3445
3594
|
expandAllTags?: boolean | undefined;
|
|
3595
|
+
transformExamples?: transformExamples | undefined;
|
|
3446
3596
|
};
|
|
3447
3597
|
examplesLanguage?: string | undefined;
|
|
3448
3598
|
} | undefined;
|
|
@@ -3556,6 +3706,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3556
3706
|
} | undefined;
|
|
3557
3707
|
protectedRoutes?: string[] | undefined;
|
|
3558
3708
|
basePath?: string | undefined;
|
|
3709
|
+
canonicalUrlOrigin?: string | undefined;
|
|
3559
3710
|
cdnUrl?: {
|
|
3560
3711
|
base: string | undefined;
|
|
3561
3712
|
media: string | undefined;
|
|
@@ -3606,6 +3757,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3606
3757
|
disablePlayground?: boolean | undefined;
|
|
3607
3758
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3608
3759
|
expandAllTags?: boolean | undefined;
|
|
3760
|
+
transformExamples?: transformExamples | undefined;
|
|
3609
3761
|
} | undefined;
|
|
3610
3762
|
navigationId?: string | undefined;
|
|
3611
3763
|
categories?: {
|
|
@@ -3622,6 +3774,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3622
3774
|
disablePlayground?: boolean | undefined;
|
|
3623
3775
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3624
3776
|
expandAllTags?: boolean | undefined;
|
|
3777
|
+
transformExamples?: transformExamples | undefined;
|
|
3625
3778
|
} | undefined;
|
|
3626
3779
|
navigationId?: string | undefined;
|
|
3627
3780
|
categories?: {
|
|
@@ -3639,6 +3792,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3639
3792
|
disablePlayground?: boolean | undefined;
|
|
3640
3793
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3641
3794
|
expandAllTags?: boolean | undefined;
|
|
3795
|
+
transformExamples?: transformExamples | undefined;
|
|
3642
3796
|
} | undefined;
|
|
3643
3797
|
navigationId?: string | undefined;
|
|
3644
3798
|
categories?: {
|
|
@@ -3655,6 +3809,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3655
3809
|
disablePlayground?: boolean | undefined;
|
|
3656
3810
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3657
3811
|
expandAllTags?: boolean | undefined;
|
|
3812
|
+
transformExamples?: transformExamples | undefined;
|
|
3658
3813
|
} | undefined;
|
|
3659
3814
|
navigationId?: string | undefined;
|
|
3660
3815
|
categories?: {
|
|
@@ -3671,6 +3826,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3671
3826
|
disablePlayground?: boolean | undefined;
|
|
3672
3827
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3673
3828
|
expandAllTags?: boolean | undefined;
|
|
3829
|
+
transformExamples?: transformExamples | undefined;
|
|
3674
3830
|
} | undefined;
|
|
3675
3831
|
navigationId?: string | undefined;
|
|
3676
3832
|
categories?: {
|
|
@@ -3688,6 +3844,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3688
3844
|
disablePlayground?: boolean | undefined;
|
|
3689
3845
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3690
3846
|
expandAllTags?: boolean | undefined;
|
|
3847
|
+
transformExamples?: transformExamples | undefined;
|
|
3691
3848
|
} | undefined;
|
|
3692
3849
|
navigationId?: string | undefined;
|
|
3693
3850
|
categories?: {
|
|
@@ -3755,7 +3912,11 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3755
3912
|
} | undefined;
|
|
3756
3913
|
maxResults?: number | undefined;
|
|
3757
3914
|
maxSubResults?: number | undefined;
|
|
3758
|
-
transformResults?: ((
|
|
3915
|
+
transformResults?: ((data: {
|
|
3916
|
+
result: PagefindSearchFragment;
|
|
3917
|
+
auth: AuthState;
|
|
3918
|
+
context: ZudokuContext;
|
|
3919
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
3759
3920
|
} | undefined;
|
|
3760
3921
|
defaults?: {
|
|
3761
3922
|
apis: {
|
|
@@ -3763,6 +3924,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3763
3924
|
disablePlayground?: boolean | undefined;
|
|
3764
3925
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3765
3926
|
expandAllTags?: boolean | undefined;
|
|
3927
|
+
transformExamples?: transformExamples | undefined;
|
|
3766
3928
|
};
|
|
3767
3929
|
examplesLanguage?: string | undefined;
|
|
3768
3930
|
} | undefined;
|
|
@@ -3876,6 +4038,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3876
4038
|
} | undefined;
|
|
3877
4039
|
protectedRoutes?: string[] | undefined;
|
|
3878
4040
|
basePath?: string | undefined;
|
|
4041
|
+
canonicalUrlOrigin?: string | undefined;
|
|
3879
4042
|
cdnUrl?: string | {
|
|
3880
4043
|
base?: string | undefined;
|
|
3881
4044
|
media?: string | undefined;
|
|
@@ -3926,6 +4089,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3926
4089
|
disablePlayground?: boolean | undefined;
|
|
3927
4090
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3928
4091
|
expandAllTags?: boolean | undefined;
|
|
4092
|
+
transformExamples?: transformExamples | undefined;
|
|
3929
4093
|
} | undefined;
|
|
3930
4094
|
navigationId?: string | undefined;
|
|
3931
4095
|
categories?: {
|
|
@@ -3942,6 +4106,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3942
4106
|
disablePlayground?: boolean | undefined;
|
|
3943
4107
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3944
4108
|
expandAllTags?: boolean | undefined;
|
|
4109
|
+
transformExamples?: transformExamples | undefined;
|
|
3945
4110
|
} | undefined;
|
|
3946
4111
|
navigationId?: string | undefined;
|
|
3947
4112
|
categories?: {
|
|
@@ -3959,6 +4124,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3959
4124
|
disablePlayground?: boolean | undefined;
|
|
3960
4125
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3961
4126
|
expandAllTags?: boolean | undefined;
|
|
4127
|
+
transformExamples?: transformExamples | undefined;
|
|
3962
4128
|
} | undefined;
|
|
3963
4129
|
navigationId?: string | undefined;
|
|
3964
4130
|
categories?: {
|
|
@@ -3975,6 +4141,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3975
4141
|
disablePlayground?: boolean | undefined;
|
|
3976
4142
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3977
4143
|
expandAllTags?: boolean | undefined;
|
|
4144
|
+
transformExamples?: transformExamples | undefined;
|
|
3978
4145
|
} | undefined;
|
|
3979
4146
|
navigationId?: string | undefined;
|
|
3980
4147
|
categories?: {
|
|
@@ -3991,6 +4158,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
3991
4158
|
disablePlayground?: boolean | undefined;
|
|
3992
4159
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
3993
4160
|
expandAllTags?: boolean | undefined;
|
|
4161
|
+
transformExamples?: transformExamples | undefined;
|
|
3994
4162
|
} | undefined;
|
|
3995
4163
|
navigationId?: string | undefined;
|
|
3996
4164
|
categories?: {
|
|
@@ -4008,6 +4176,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
4008
4176
|
disablePlayground?: boolean | undefined;
|
|
4009
4177
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4010
4178
|
expandAllTags?: boolean | undefined;
|
|
4179
|
+
transformExamples?: transformExamples | undefined;
|
|
4011
4180
|
} | undefined;
|
|
4012
4181
|
navigationId?: string | undefined;
|
|
4013
4182
|
categories?: {
|
|
@@ -4061,6 +4230,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
|
|
|
4061
4230
|
export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
4062
4231
|
protectedRoutes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
4063
4232
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4233
|
+
canonicalUrlOrigin: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4064
4234
|
cdnUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4065
4235
|
base: z.ZodOptional<z.ZodString>;
|
|
4066
4236
|
media: z.ZodOptional<z.ZodString>;
|
|
@@ -4637,7 +4807,15 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4637
4807
|
}>>;
|
|
4638
4808
|
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
4639
4809
|
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
4640
|
-
transformResults: z.ZodOptional<z.ZodType<(
|
|
4810
|
+
transformResults: z.ZodOptional<z.ZodType<(data: {
|
|
4811
|
+
result: PagefindSearchFragment;
|
|
4812
|
+
auth: AuthState;
|
|
4813
|
+
context: ZudokuContext;
|
|
4814
|
+
}) => PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (data: {
|
|
4815
|
+
result: PagefindSearchFragment;
|
|
4816
|
+
auth: AuthState;
|
|
4817
|
+
context: ZudokuContext;
|
|
4818
|
+
}) => PagefindSearchFragment | boolean | undefined | void>>;
|
|
4641
4819
|
}, "strip", z.ZodTypeAny, {
|
|
4642
4820
|
type: "pagefind";
|
|
4643
4821
|
ranking?: {
|
|
@@ -4648,7 +4826,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4648
4826
|
} | undefined;
|
|
4649
4827
|
maxResults?: number | undefined;
|
|
4650
4828
|
maxSubResults?: number | undefined;
|
|
4651
|
-
transformResults?: ((
|
|
4829
|
+
transformResults?: ((data: {
|
|
4830
|
+
result: PagefindSearchFragment;
|
|
4831
|
+
auth: AuthState;
|
|
4832
|
+
context: ZudokuContext;
|
|
4833
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
4652
4834
|
}, {
|
|
4653
4835
|
type: "pagefind";
|
|
4654
4836
|
ranking?: {
|
|
@@ -4659,7 +4841,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4659
4841
|
} | undefined;
|
|
4660
4842
|
maxResults?: number | undefined;
|
|
4661
4843
|
maxSubResults?: number | undefined;
|
|
4662
|
-
transformResults?: ((
|
|
4844
|
+
transformResults?: ((data: {
|
|
4845
|
+
result: PagefindSearchFragment;
|
|
4846
|
+
auth: AuthState;
|
|
4847
|
+
context: ZudokuContext;
|
|
4848
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
4663
4849
|
}>]>>>;
|
|
4664
4850
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
4665
4851
|
files: z.ZodString;
|
|
@@ -4732,16 +4918,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4732
4918
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4733
4919
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4734
4920
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
4921
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4735
4922
|
}, "strip", z.ZodTypeAny, {
|
|
4736
4923
|
examplesLanguage?: string | undefined;
|
|
4737
4924
|
disablePlayground?: boolean | undefined;
|
|
4738
4925
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4739
4926
|
expandAllTags?: boolean | undefined;
|
|
4927
|
+
transformExamples?: transformExamples | undefined;
|
|
4740
4928
|
}, {
|
|
4741
4929
|
examplesLanguage?: string | undefined;
|
|
4742
4930
|
disablePlayground?: boolean | undefined;
|
|
4743
4931
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4744
4932
|
expandAllTags?: boolean | undefined;
|
|
4933
|
+
transformExamples?: transformExamples | undefined;
|
|
4745
4934
|
}>>;
|
|
4746
4935
|
}>, "strip", z.ZodTypeAny, {
|
|
4747
4936
|
type: "url";
|
|
@@ -4753,6 +4942,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4753
4942
|
disablePlayground?: boolean | undefined;
|
|
4754
4943
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4755
4944
|
expandAllTags?: boolean | undefined;
|
|
4945
|
+
transformExamples?: transformExamples | undefined;
|
|
4756
4946
|
} | undefined;
|
|
4757
4947
|
navigationId?: string | undefined;
|
|
4758
4948
|
categories?: {
|
|
@@ -4769,6 +4959,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4769
4959
|
disablePlayground?: boolean | undefined;
|
|
4770
4960
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4771
4961
|
expandAllTags?: boolean | undefined;
|
|
4962
|
+
transformExamples?: transformExamples | undefined;
|
|
4772
4963
|
} | undefined;
|
|
4773
4964
|
navigationId?: string | undefined;
|
|
4774
4965
|
categories?: {
|
|
@@ -4797,16 +4988,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4797
4988
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4798
4989
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4799
4990
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
4991
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4800
4992
|
}, "strip", z.ZodTypeAny, {
|
|
4801
4993
|
examplesLanguage?: string | undefined;
|
|
4802
4994
|
disablePlayground?: boolean | undefined;
|
|
4803
4995
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4804
4996
|
expandAllTags?: boolean | undefined;
|
|
4997
|
+
transformExamples?: transformExamples | undefined;
|
|
4805
4998
|
}, {
|
|
4806
4999
|
examplesLanguage?: string | undefined;
|
|
4807
5000
|
disablePlayground?: boolean | undefined;
|
|
4808
5001
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4809
5002
|
expandAllTags?: boolean | undefined;
|
|
5003
|
+
transformExamples?: transformExamples | undefined;
|
|
4810
5004
|
}>>;
|
|
4811
5005
|
}>, {
|
|
4812
5006
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -4820,6 +5014,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4820
5014
|
disablePlayground?: boolean | undefined;
|
|
4821
5015
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4822
5016
|
expandAllTags?: boolean | undefined;
|
|
5017
|
+
transformExamples?: transformExamples | undefined;
|
|
4823
5018
|
} | undefined;
|
|
4824
5019
|
navigationId?: string | undefined;
|
|
4825
5020
|
categories?: {
|
|
@@ -4837,6 +5032,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4837
5032
|
disablePlayground?: boolean | undefined;
|
|
4838
5033
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4839
5034
|
expandAllTags?: boolean | undefined;
|
|
5035
|
+
transformExamples?: transformExamples | undefined;
|
|
4840
5036
|
} | undefined;
|
|
4841
5037
|
navigationId?: string | undefined;
|
|
4842
5038
|
categories?: {
|
|
@@ -4866,16 +5062,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4866
5062
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4867
5063
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4868
5064
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5065
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4869
5066
|
}, "strip", z.ZodTypeAny, {
|
|
4870
5067
|
examplesLanguage?: string | undefined;
|
|
4871
5068
|
disablePlayground?: boolean | undefined;
|
|
4872
5069
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4873
5070
|
expandAllTags?: boolean | undefined;
|
|
5071
|
+
transformExamples?: transformExamples | undefined;
|
|
4874
5072
|
}, {
|
|
4875
5073
|
examplesLanguage?: string | undefined;
|
|
4876
5074
|
disablePlayground?: boolean | undefined;
|
|
4877
5075
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4878
5076
|
expandAllTags?: boolean | undefined;
|
|
5077
|
+
transformExamples?: transformExamples | undefined;
|
|
4879
5078
|
}>>;
|
|
4880
5079
|
}>, "strip", z.ZodTypeAny, {
|
|
4881
5080
|
type: "raw";
|
|
@@ -4887,6 +5086,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4887
5086
|
disablePlayground?: boolean | undefined;
|
|
4888
5087
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4889
5088
|
expandAllTags?: boolean | undefined;
|
|
5089
|
+
transformExamples?: transformExamples | undefined;
|
|
4890
5090
|
} | undefined;
|
|
4891
5091
|
navigationId?: string | undefined;
|
|
4892
5092
|
categories?: {
|
|
@@ -4903,6 +5103,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4903
5103
|
disablePlayground?: boolean | undefined;
|
|
4904
5104
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4905
5105
|
expandAllTags?: boolean | undefined;
|
|
5106
|
+
transformExamples?: transformExamples | undefined;
|
|
4906
5107
|
} | undefined;
|
|
4907
5108
|
navigationId?: string | undefined;
|
|
4908
5109
|
categories?: {
|
|
@@ -4931,16 +5132,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4931
5132
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4932
5133
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4933
5134
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5135
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4934
5136
|
}, "strip", z.ZodTypeAny, {
|
|
4935
5137
|
examplesLanguage?: string | undefined;
|
|
4936
5138
|
disablePlayground?: boolean | undefined;
|
|
4937
5139
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4938
5140
|
expandAllTags?: boolean | undefined;
|
|
5141
|
+
transformExamples?: transformExamples | undefined;
|
|
4939
5142
|
}, {
|
|
4940
5143
|
examplesLanguage?: string | undefined;
|
|
4941
5144
|
disablePlayground?: boolean | undefined;
|
|
4942
5145
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4943
5146
|
expandAllTags?: boolean | undefined;
|
|
5147
|
+
transformExamples?: transformExamples | undefined;
|
|
4944
5148
|
}>>;
|
|
4945
5149
|
}>, "strip", z.ZodTypeAny, {
|
|
4946
5150
|
type: "url";
|
|
@@ -4952,6 +5156,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4952
5156
|
disablePlayground?: boolean | undefined;
|
|
4953
5157
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4954
5158
|
expandAllTags?: boolean | undefined;
|
|
5159
|
+
transformExamples?: transformExamples | undefined;
|
|
4955
5160
|
} | undefined;
|
|
4956
5161
|
navigationId?: string | undefined;
|
|
4957
5162
|
categories?: {
|
|
@@ -4968,6 +5173,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4968
5173
|
disablePlayground?: boolean | undefined;
|
|
4969
5174
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
4970
5175
|
expandAllTags?: boolean | undefined;
|
|
5176
|
+
transformExamples?: transformExamples | undefined;
|
|
4971
5177
|
} | undefined;
|
|
4972
5178
|
navigationId?: string | undefined;
|
|
4973
5179
|
categories?: {
|
|
@@ -4996,16 +5202,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
4996
5202
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
4997
5203
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
4998
5204
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5205
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
4999
5206
|
}, "strip", z.ZodTypeAny, {
|
|
5000
5207
|
examplesLanguage?: string | undefined;
|
|
5001
5208
|
disablePlayground?: boolean | undefined;
|
|
5002
5209
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5003
5210
|
expandAllTags?: boolean | undefined;
|
|
5211
|
+
transformExamples?: transformExamples | undefined;
|
|
5004
5212
|
}, {
|
|
5005
5213
|
examplesLanguage?: string | undefined;
|
|
5006
5214
|
disablePlayground?: boolean | undefined;
|
|
5007
5215
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5008
5216
|
expandAllTags?: boolean | undefined;
|
|
5217
|
+
transformExamples?: transformExamples | undefined;
|
|
5009
5218
|
}>>;
|
|
5010
5219
|
}>, {
|
|
5011
5220
|
postProcessors: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>], z.ZodUnknown>, z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodPromise<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>]>>, "many">>;
|
|
@@ -5019,6 +5228,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5019
5228
|
disablePlayground?: boolean | undefined;
|
|
5020
5229
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5021
5230
|
expandAllTags?: boolean | undefined;
|
|
5231
|
+
transformExamples?: transformExamples | undefined;
|
|
5022
5232
|
} | undefined;
|
|
5023
5233
|
navigationId?: string | undefined;
|
|
5024
5234
|
categories?: {
|
|
@@ -5036,6 +5246,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5036
5246
|
disablePlayground?: boolean | undefined;
|
|
5037
5247
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5038
5248
|
expandAllTags?: boolean | undefined;
|
|
5249
|
+
transformExamples?: transformExamples | undefined;
|
|
5039
5250
|
} | undefined;
|
|
5040
5251
|
navigationId?: string | undefined;
|
|
5041
5252
|
categories?: {
|
|
@@ -5065,16 +5276,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5065
5276
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5066
5277
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5067
5278
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5279
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5068
5280
|
}, "strip", z.ZodTypeAny, {
|
|
5069
5281
|
examplesLanguage?: string | undefined;
|
|
5070
5282
|
disablePlayground?: boolean | undefined;
|
|
5071
5283
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5072
5284
|
expandAllTags?: boolean | undefined;
|
|
5285
|
+
transformExamples?: transformExamples | undefined;
|
|
5073
5286
|
}, {
|
|
5074
5287
|
examplesLanguage?: string | undefined;
|
|
5075
5288
|
disablePlayground?: boolean | undefined;
|
|
5076
5289
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5077
5290
|
expandAllTags?: boolean | undefined;
|
|
5291
|
+
transformExamples?: transformExamples | undefined;
|
|
5078
5292
|
}>>;
|
|
5079
5293
|
}>, "strip", z.ZodTypeAny, {
|
|
5080
5294
|
type: "raw";
|
|
@@ -5086,6 +5300,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5086
5300
|
disablePlayground?: boolean | undefined;
|
|
5087
5301
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5088
5302
|
expandAllTags?: boolean | undefined;
|
|
5303
|
+
transformExamples?: transformExamples | undefined;
|
|
5089
5304
|
} | undefined;
|
|
5090
5305
|
navigationId?: string | undefined;
|
|
5091
5306
|
categories?: {
|
|
@@ -5102,6 +5317,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5102
5317
|
disablePlayground?: boolean | undefined;
|
|
5103
5318
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5104
5319
|
expandAllTags?: boolean | undefined;
|
|
5320
|
+
transformExamples?: transformExamples | undefined;
|
|
5105
5321
|
} | undefined;
|
|
5106
5322
|
navigationId?: string | undefined;
|
|
5107
5323
|
categories?: {
|
|
@@ -5254,16 +5470,19 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5254
5470
|
disablePlayground: z.ZodOptional<z.ZodBoolean>;
|
|
5255
5471
|
showVersionSelect: z.ZodOptional<z.ZodEnum<["always", "if-available", "hide"]>>;
|
|
5256
5472
|
expandAllTags: z.ZodOptional<z.ZodBoolean>;
|
|
5473
|
+
transformExamples: z.ZodOptional<z.ZodType<transformExamples, z.ZodTypeDef, transformExamples>>;
|
|
5257
5474
|
}, "strip", z.ZodTypeAny, {
|
|
5258
5475
|
examplesLanguage?: string | undefined;
|
|
5259
5476
|
disablePlayground?: boolean | undefined;
|
|
5260
5477
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5261
5478
|
expandAllTags?: boolean | undefined;
|
|
5479
|
+
transformExamples?: transformExamples | undefined;
|
|
5262
5480
|
}, {
|
|
5263
5481
|
examplesLanguage?: string | undefined;
|
|
5264
5482
|
disablePlayground?: boolean | undefined;
|
|
5265
5483
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5266
5484
|
expandAllTags?: boolean | undefined;
|
|
5485
|
+
transformExamples?: transformExamples | undefined;
|
|
5267
5486
|
}>;
|
|
5268
5487
|
/**
|
|
5269
5488
|
* @deprecated Use `apis.examplesLanguage` or `defaults.apis.examplesLanguage` instead
|
|
@@ -5275,6 +5494,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5275
5494
|
disablePlayground?: boolean | undefined;
|
|
5276
5495
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5277
5496
|
expandAllTags?: boolean | undefined;
|
|
5497
|
+
transformExamples?: transformExamples | undefined;
|
|
5278
5498
|
};
|
|
5279
5499
|
examplesLanguage?: string | undefined;
|
|
5280
5500
|
}, {
|
|
@@ -5283,6 +5503,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5283
5503
|
disablePlayground?: boolean | undefined;
|
|
5284
5504
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5285
5505
|
expandAllTags?: boolean | undefined;
|
|
5506
|
+
transformExamples?: transformExamples | undefined;
|
|
5286
5507
|
};
|
|
5287
5508
|
examplesLanguage?: string | undefined;
|
|
5288
5509
|
}>>;
|
|
@@ -5304,7 +5525,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5304
5525
|
} | undefined;
|
|
5305
5526
|
maxResults?: number | undefined;
|
|
5306
5527
|
maxSubResults?: number | undefined;
|
|
5307
|
-
transformResults?: ((
|
|
5528
|
+
transformResults?: ((data: {
|
|
5529
|
+
result: PagefindSearchFragment;
|
|
5530
|
+
auth: AuthState;
|
|
5531
|
+
context: ZudokuContext;
|
|
5532
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
5308
5533
|
} | undefined;
|
|
5309
5534
|
defaults?: {
|
|
5310
5535
|
apis: {
|
|
@@ -5312,6 +5537,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5312
5537
|
disablePlayground?: boolean | undefined;
|
|
5313
5538
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5314
5539
|
expandAllTags?: boolean | undefined;
|
|
5540
|
+
transformExamples?: transformExamples | undefined;
|
|
5315
5541
|
};
|
|
5316
5542
|
examplesLanguage?: string | undefined;
|
|
5317
5543
|
} | undefined;
|
|
@@ -5425,6 +5651,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5425
5651
|
} | undefined;
|
|
5426
5652
|
protectedRoutes?: string[] | undefined;
|
|
5427
5653
|
basePath?: string | undefined;
|
|
5654
|
+
canonicalUrlOrigin?: string | undefined;
|
|
5428
5655
|
cdnUrl?: {
|
|
5429
5656
|
base: string | undefined;
|
|
5430
5657
|
media: string | undefined;
|
|
@@ -5475,6 +5702,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5475
5702
|
disablePlayground?: boolean | undefined;
|
|
5476
5703
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5477
5704
|
expandAllTags?: boolean | undefined;
|
|
5705
|
+
transformExamples?: transformExamples | undefined;
|
|
5478
5706
|
} | undefined;
|
|
5479
5707
|
navigationId?: string | undefined;
|
|
5480
5708
|
categories?: {
|
|
@@ -5491,6 +5719,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5491
5719
|
disablePlayground?: boolean | undefined;
|
|
5492
5720
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5493
5721
|
expandAllTags?: boolean | undefined;
|
|
5722
|
+
transformExamples?: transformExamples | undefined;
|
|
5494
5723
|
} | undefined;
|
|
5495
5724
|
navigationId?: string | undefined;
|
|
5496
5725
|
categories?: {
|
|
@@ -5508,6 +5737,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5508
5737
|
disablePlayground?: boolean | undefined;
|
|
5509
5738
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5510
5739
|
expandAllTags?: boolean | undefined;
|
|
5740
|
+
transformExamples?: transformExamples | undefined;
|
|
5511
5741
|
} | undefined;
|
|
5512
5742
|
navigationId?: string | undefined;
|
|
5513
5743
|
categories?: {
|
|
@@ -5524,6 +5754,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5524
5754
|
disablePlayground?: boolean | undefined;
|
|
5525
5755
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5526
5756
|
expandAllTags?: boolean | undefined;
|
|
5757
|
+
transformExamples?: transformExamples | undefined;
|
|
5527
5758
|
} | undefined;
|
|
5528
5759
|
navigationId?: string | undefined;
|
|
5529
5760
|
categories?: {
|
|
@@ -5540,6 +5771,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5540
5771
|
disablePlayground?: boolean | undefined;
|
|
5541
5772
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5542
5773
|
expandAllTags?: boolean | undefined;
|
|
5774
|
+
transformExamples?: transformExamples | undefined;
|
|
5543
5775
|
} | undefined;
|
|
5544
5776
|
navigationId?: string | undefined;
|
|
5545
5777
|
categories?: {
|
|
@@ -5557,6 +5789,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5557
5789
|
disablePlayground?: boolean | undefined;
|
|
5558
5790
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5559
5791
|
expandAllTags?: boolean | undefined;
|
|
5792
|
+
transformExamples?: transformExamples | undefined;
|
|
5560
5793
|
} | undefined;
|
|
5561
5794
|
navigationId?: string | undefined;
|
|
5562
5795
|
categories?: {
|
|
@@ -5624,7 +5857,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5624
5857
|
} | undefined;
|
|
5625
5858
|
maxResults?: number | undefined;
|
|
5626
5859
|
maxSubResults?: number | undefined;
|
|
5627
|
-
transformResults?: ((
|
|
5860
|
+
transformResults?: ((data: {
|
|
5861
|
+
result: PagefindSearchFragment;
|
|
5862
|
+
auth: AuthState;
|
|
5863
|
+
context: ZudokuContext;
|
|
5864
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
5628
5865
|
} | undefined;
|
|
5629
5866
|
defaults?: {
|
|
5630
5867
|
apis: {
|
|
@@ -5632,6 +5869,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5632
5869
|
disablePlayground?: boolean | undefined;
|
|
5633
5870
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5634
5871
|
expandAllTags?: boolean | undefined;
|
|
5872
|
+
transformExamples?: transformExamples | undefined;
|
|
5635
5873
|
};
|
|
5636
5874
|
examplesLanguage?: string | undefined;
|
|
5637
5875
|
} | undefined;
|
|
@@ -5745,6 +5983,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5745
5983
|
} | undefined;
|
|
5746
5984
|
protectedRoutes?: string[] | undefined;
|
|
5747
5985
|
basePath?: string | undefined;
|
|
5986
|
+
canonicalUrlOrigin?: string | undefined;
|
|
5748
5987
|
cdnUrl?: string | {
|
|
5749
5988
|
base?: string | undefined;
|
|
5750
5989
|
media?: string | undefined;
|
|
@@ -5795,6 +6034,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5795
6034
|
disablePlayground?: boolean | undefined;
|
|
5796
6035
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5797
6036
|
expandAllTags?: boolean | undefined;
|
|
6037
|
+
transformExamples?: transformExamples | undefined;
|
|
5798
6038
|
} | undefined;
|
|
5799
6039
|
navigationId?: string | undefined;
|
|
5800
6040
|
categories?: {
|
|
@@ -5811,6 +6051,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5811
6051
|
disablePlayground?: boolean | undefined;
|
|
5812
6052
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5813
6053
|
expandAllTags?: boolean | undefined;
|
|
6054
|
+
transformExamples?: transformExamples | undefined;
|
|
5814
6055
|
} | undefined;
|
|
5815
6056
|
navigationId?: string | undefined;
|
|
5816
6057
|
categories?: {
|
|
@@ -5828,6 +6069,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5828
6069
|
disablePlayground?: boolean | undefined;
|
|
5829
6070
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5830
6071
|
expandAllTags?: boolean | undefined;
|
|
6072
|
+
transformExamples?: transformExamples | undefined;
|
|
5831
6073
|
} | undefined;
|
|
5832
6074
|
navigationId?: string | undefined;
|
|
5833
6075
|
categories?: {
|
|
@@ -5844,6 +6086,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5844
6086
|
disablePlayground?: boolean | undefined;
|
|
5845
6087
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5846
6088
|
expandAllTags?: boolean | undefined;
|
|
6089
|
+
transformExamples?: transformExamples | undefined;
|
|
5847
6090
|
} | undefined;
|
|
5848
6091
|
navigationId?: string | undefined;
|
|
5849
6092
|
categories?: {
|
|
@@ -5860,6 +6103,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5860
6103
|
disablePlayground?: boolean | undefined;
|
|
5861
6104
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5862
6105
|
expandAllTags?: boolean | undefined;
|
|
6106
|
+
transformExamples?: transformExamples | undefined;
|
|
5863
6107
|
} | undefined;
|
|
5864
6108
|
navigationId?: string | undefined;
|
|
5865
6109
|
categories?: {
|
|
@@ -5877,6 +6121,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5877
6121
|
disablePlayground?: boolean | undefined;
|
|
5878
6122
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5879
6123
|
expandAllTags?: boolean | undefined;
|
|
6124
|
+
transformExamples?: transformExamples | undefined;
|
|
5880
6125
|
} | undefined;
|
|
5881
6126
|
navigationId?: string | undefined;
|
|
5882
6127
|
categories?: {
|
|
@@ -5944,7 +6189,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5944
6189
|
} | undefined;
|
|
5945
6190
|
maxResults?: number | undefined;
|
|
5946
6191
|
maxSubResults?: number | undefined;
|
|
5947
|
-
transformResults?: ((
|
|
6192
|
+
transformResults?: ((data: {
|
|
6193
|
+
result: PagefindSearchFragment;
|
|
6194
|
+
auth: AuthState;
|
|
6195
|
+
context: ZudokuContext;
|
|
6196
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
5948
6197
|
} | undefined;
|
|
5949
6198
|
defaults?: {
|
|
5950
6199
|
apis: {
|
|
@@ -5952,6 +6201,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
5952
6201
|
disablePlayground?: boolean | undefined;
|
|
5953
6202
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
5954
6203
|
expandAllTags?: boolean | undefined;
|
|
6204
|
+
transformExamples?: transformExamples | undefined;
|
|
5955
6205
|
};
|
|
5956
6206
|
examplesLanguage?: string | undefined;
|
|
5957
6207
|
} | undefined;
|
|
@@ -6065,6 +6315,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6065
6315
|
} | undefined;
|
|
6066
6316
|
protectedRoutes?: string[] | undefined;
|
|
6067
6317
|
basePath?: string | undefined;
|
|
6318
|
+
canonicalUrlOrigin?: string | undefined;
|
|
6068
6319
|
cdnUrl?: {
|
|
6069
6320
|
base: string | undefined;
|
|
6070
6321
|
media: string | undefined;
|
|
@@ -6115,6 +6366,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6115
6366
|
disablePlayground?: boolean | undefined;
|
|
6116
6367
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6117
6368
|
expandAllTags?: boolean | undefined;
|
|
6369
|
+
transformExamples?: transformExamples | undefined;
|
|
6118
6370
|
} | undefined;
|
|
6119
6371
|
navigationId?: string | undefined;
|
|
6120
6372
|
categories?: {
|
|
@@ -6131,6 +6383,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6131
6383
|
disablePlayground?: boolean | undefined;
|
|
6132
6384
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6133
6385
|
expandAllTags?: boolean | undefined;
|
|
6386
|
+
transformExamples?: transformExamples | undefined;
|
|
6134
6387
|
} | undefined;
|
|
6135
6388
|
navigationId?: string | undefined;
|
|
6136
6389
|
categories?: {
|
|
@@ -6148,6 +6401,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6148
6401
|
disablePlayground?: boolean | undefined;
|
|
6149
6402
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6150
6403
|
expandAllTags?: boolean | undefined;
|
|
6404
|
+
transformExamples?: transformExamples | undefined;
|
|
6151
6405
|
} | undefined;
|
|
6152
6406
|
navigationId?: string | undefined;
|
|
6153
6407
|
categories?: {
|
|
@@ -6164,6 +6418,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6164
6418
|
disablePlayground?: boolean | undefined;
|
|
6165
6419
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6166
6420
|
expandAllTags?: boolean | undefined;
|
|
6421
|
+
transformExamples?: transformExamples | undefined;
|
|
6167
6422
|
} | undefined;
|
|
6168
6423
|
navigationId?: string | undefined;
|
|
6169
6424
|
categories?: {
|
|
@@ -6180,6 +6435,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6180
6435
|
disablePlayground?: boolean | undefined;
|
|
6181
6436
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6182
6437
|
expandAllTags?: boolean | undefined;
|
|
6438
|
+
transformExamples?: transformExamples | undefined;
|
|
6183
6439
|
} | undefined;
|
|
6184
6440
|
navigationId?: string | undefined;
|
|
6185
6441
|
categories?: {
|
|
@@ -6197,6 +6453,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6197
6453
|
disablePlayground?: boolean | undefined;
|
|
6198
6454
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6199
6455
|
expandAllTags?: boolean | undefined;
|
|
6456
|
+
transformExamples?: transformExamples | undefined;
|
|
6200
6457
|
} | undefined;
|
|
6201
6458
|
navigationId?: string | undefined;
|
|
6202
6459
|
categories?: {
|
|
@@ -6264,7 +6521,11 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6264
6521
|
} | undefined;
|
|
6265
6522
|
maxResults?: number | undefined;
|
|
6266
6523
|
maxSubResults?: number | undefined;
|
|
6267
|
-
transformResults?: ((
|
|
6524
|
+
transformResults?: ((data: {
|
|
6525
|
+
result: PagefindSearchFragment;
|
|
6526
|
+
auth: AuthState;
|
|
6527
|
+
context: ZudokuContext;
|
|
6528
|
+
}) => PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
6268
6529
|
} | undefined;
|
|
6269
6530
|
defaults?: {
|
|
6270
6531
|
apis: {
|
|
@@ -6272,6 +6533,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6272
6533
|
disablePlayground?: boolean | undefined;
|
|
6273
6534
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6274
6535
|
expandAllTags?: boolean | undefined;
|
|
6536
|
+
transformExamples?: transformExamples | undefined;
|
|
6275
6537
|
};
|
|
6276
6538
|
examplesLanguage?: string | undefined;
|
|
6277
6539
|
} | undefined;
|
|
@@ -6385,6 +6647,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6385
6647
|
} | undefined;
|
|
6386
6648
|
protectedRoutes?: string[] | undefined;
|
|
6387
6649
|
basePath?: string | undefined;
|
|
6650
|
+
canonicalUrlOrigin?: string | undefined;
|
|
6388
6651
|
cdnUrl?: string | {
|
|
6389
6652
|
base?: string | undefined;
|
|
6390
6653
|
media?: string | undefined;
|
|
@@ -6435,6 +6698,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6435
6698
|
disablePlayground?: boolean | undefined;
|
|
6436
6699
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6437
6700
|
expandAllTags?: boolean | undefined;
|
|
6701
|
+
transformExamples?: transformExamples | undefined;
|
|
6438
6702
|
} | undefined;
|
|
6439
6703
|
navigationId?: string | undefined;
|
|
6440
6704
|
categories?: {
|
|
@@ -6451,6 +6715,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6451
6715
|
disablePlayground?: boolean | undefined;
|
|
6452
6716
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6453
6717
|
expandAllTags?: boolean | undefined;
|
|
6718
|
+
transformExamples?: transformExamples | undefined;
|
|
6454
6719
|
} | undefined;
|
|
6455
6720
|
navigationId?: string | undefined;
|
|
6456
6721
|
categories?: {
|
|
@@ -6468,6 +6733,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6468
6733
|
disablePlayground?: boolean | undefined;
|
|
6469
6734
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6470
6735
|
expandAllTags?: boolean | undefined;
|
|
6736
|
+
transformExamples?: transformExamples | undefined;
|
|
6471
6737
|
} | undefined;
|
|
6472
6738
|
navigationId?: string | undefined;
|
|
6473
6739
|
categories?: {
|
|
@@ -6484,6 +6750,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6484
6750
|
disablePlayground?: boolean | undefined;
|
|
6485
6751
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6486
6752
|
expandAllTags?: boolean | undefined;
|
|
6753
|
+
transformExamples?: transformExamples | undefined;
|
|
6487
6754
|
} | undefined;
|
|
6488
6755
|
navigationId?: string | undefined;
|
|
6489
6756
|
categories?: {
|
|
@@ -6500,6 +6767,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6500
6767
|
disablePlayground?: boolean | undefined;
|
|
6501
6768
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6502
6769
|
expandAllTags?: boolean | undefined;
|
|
6770
|
+
transformExamples?: transformExamples | undefined;
|
|
6503
6771
|
} | undefined;
|
|
6504
6772
|
navigationId?: string | undefined;
|
|
6505
6773
|
categories?: {
|
|
@@ -6517,6 +6785,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
|
|
|
6517
6785
|
disablePlayground?: boolean | undefined;
|
|
6518
6786
|
showVersionSelect?: "hide" | "always" | "if-available" | undefined;
|
|
6519
6787
|
expandAllTags?: boolean | undefined;
|
|
6788
|
+
transformExamples?: transformExamples | undefined;
|
|
6520
6789
|
} | undefined;
|
|
6521
6790
|
navigationId?: string | undefined;
|
|
6522
6791
|
categories?: {
|