zudoku 0.19.0 → 0.20.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.
Files changed (68) hide show
  1. package/dist/cli/common/outdated.js +2 -1
  2. package/dist/cli/common/outdated.js.map +1 -1
  3. package/dist/config/common.d.ts +8 -0
  4. package/dist/config/common.js +2 -0
  5. package/dist/config/common.js.map +1 -0
  6. package/dist/config/config.d.ts +3 -2
  7. package/dist/config/loader.d.ts +5 -0
  8. package/dist/config/loader.js +110 -0
  9. package/dist/config/loader.js.map +1 -0
  10. package/dist/config/validators/common.d.ts +4651 -0
  11. package/dist/config/validators/common.js +269 -0
  12. package/dist/config/validators/common.js.map +1 -0
  13. package/dist/config/validators/validate.d.ts +350 -584
  14. package/dist/config/validators/validate.js +9 -246
  15. package/dist/config/validators/validate.js.map +1 -1
  16. package/dist/lib/components/Heading.d.ts +1 -1
  17. package/dist/lib/components/TopNavigation.d.ts +1 -1
  18. package/dist/lib/components/navigation/SidebarCategory.d.ts +1 -2
  19. package/dist/lib/components/navigation/SidebarCategory.js +3 -4
  20. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  21. package/dist/lib/components/navigation/SidebarItem.d.ts +1 -3
  22. package/dist/lib/components/navigation/SidebarItem.js +4 -9
  23. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  24. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  25. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  26. package/dist/lib/core/ZudokuContext.d.ts +1 -1
  27. package/dist/lib/plugins/markdown/index.d.ts +1 -1
  28. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  29. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  30. package/dist/lib/ui/Command.d.ts +1 -1
  31. package/dist/lib/util/MdxComponents.d.ts +2 -3
  32. package/dist/lib/util/MdxComponents.js.map +1 -1
  33. package/dist/vite/build.js +4 -1
  34. package/dist/vite/build.js.map +1 -1
  35. package/dist/vite/config.d.ts +1 -3
  36. package/dist/vite/config.js +2 -4
  37. package/dist/vite/config.js.map +1 -1
  38. package/dist/vite/dev-server.js.map +1 -1
  39. package/dist/vite/output.d.ts +1 -1
  40. package/dist/vite/output.js.map +1 -1
  41. package/dist/vite/plugin-config-reload.d.ts +1 -2
  42. package/dist/vite/plugin-config-reload.js.map +1 -1
  43. package/dist/vite/plugin.d.ts +1 -2
  44. package/dist/vite/plugin.js.map +1 -1
  45. package/dist/vite/prerender.d.ts +2 -1
  46. package/dist/vite/prerender.js +2 -2
  47. package/dist/vite/prerender.js.map +1 -1
  48. package/dist/vite/sitemap.d.ts +1 -1
  49. package/dist/zuplo/env.d.ts +6 -0
  50. package/dist/zuplo/env.js +9 -0
  51. package/dist/zuplo/env.js.map +1 -0
  52. package/dist/zuplo/with-zuplo.d.ts +2 -2
  53. package/dist/zuplo/with-zuplo.js.map +1 -1
  54. package/lib/Markdown-ievDDhFT.js.map +1 -1
  55. package/lib/zudoku.components.js +259 -271
  56. package/lib/zudoku.components.js.map +1 -1
  57. package/lib/zudoku.plugin-markdown.js.map +1 -1
  58. package/lib/zudoku.plugin-redirect.js.map +1 -1
  59. package/package.json +2 -2
  60. package/src/lib/components/TopNavigation.tsx +1 -1
  61. package/src/lib/components/navigation/SidebarCategory.tsx +7 -9
  62. package/src/lib/components/navigation/SidebarItem.tsx +3 -16
  63. package/src/lib/components/navigation/SidebarWrapper.tsx +1 -1
  64. package/src/lib/core/ZudokuContext.ts +1 -1
  65. package/src/lib/plugins/markdown/index.tsx +1 -1
  66. package/src/lib/plugins/markdown/resolver.ts +2 -4
  67. package/src/lib/plugins/redirect/index.tsx +1 -1
  68. package/src/lib/util/MdxComponents.tsx +2 -5
@@ -0,0 +1,4651 @@
1
+ import type { ReactNode } from "react";
2
+ import z, { RefinementCtx, type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
3
+ import { ZudokuContext } from "../../lib/core/ZudokuContext.js";
4
+ import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
5
+ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6
+ type: z.ZodLiteral<"url">;
7
+ input: z.ZodString;
8
+ }, {
9
+ id: z.ZodOptional<z.ZodString>;
10
+ server: z.ZodOptional<z.ZodString>;
11
+ navigationId: z.ZodOptional<z.ZodString>;
12
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ label: z.ZodString;
14
+ tags: z.ZodArray<z.ZodString, "many">;
15
+ }, "strip", z.ZodTypeAny, {
16
+ tags: string[];
17
+ label: string;
18
+ }, {
19
+ tags: string[];
20
+ label: string;
21
+ }>, "many">>;
22
+ }>, "strip", z.ZodTypeAny, {
23
+ type: "url";
24
+ input: string;
25
+ server?: string | undefined;
26
+ id?: string | undefined;
27
+ navigationId?: string | undefined;
28
+ categories?: {
29
+ tags: string[];
30
+ label: string;
31
+ }[] | undefined;
32
+ }, {
33
+ type: "url";
34
+ input: string;
35
+ server?: string | undefined;
36
+ id?: string | undefined;
37
+ navigationId?: string | undefined;
38
+ categories?: {
39
+ tags: string[];
40
+ label: string;
41
+ }[] | undefined;
42
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
43
+ type: z.ZodLiteral<"file">;
44
+ input: z.ZodString;
45
+ }, {
46
+ id: z.ZodOptional<z.ZodString>;
47
+ server: z.ZodOptional<z.ZodString>;
48
+ navigationId: z.ZodOptional<z.ZodString>;
49
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
50
+ label: z.ZodString;
51
+ tags: z.ZodArray<z.ZodString, "many">;
52
+ }, "strip", z.ZodTypeAny, {
53
+ tags: string[];
54
+ label: string;
55
+ }, {
56
+ tags: string[];
57
+ label: string;
58
+ }>, "many">>;
59
+ }>, {
60
+ 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">>;
61
+ }>, "strip", z.ZodTypeAny, {
62
+ type: "file";
63
+ input: string;
64
+ server?: string | undefined;
65
+ id?: string | undefined;
66
+ navigationId?: string | undefined;
67
+ categories?: {
68
+ tags: string[];
69
+ label: string;
70
+ }[] | undefined;
71
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
72
+ }, {
73
+ type: "file";
74
+ input: string;
75
+ server?: string | undefined;
76
+ id?: string | undefined;
77
+ navigationId?: string | undefined;
78
+ categories?: {
79
+ tags: string[];
80
+ label: string;
81
+ }[] | undefined;
82
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
83
+ }>, z.ZodObject<z.objectUtil.extendShape<{
84
+ type: z.ZodLiteral<"raw">;
85
+ input: z.ZodString;
86
+ }, {
87
+ id: z.ZodOptional<z.ZodString>;
88
+ server: z.ZodOptional<z.ZodString>;
89
+ navigationId: z.ZodOptional<z.ZodString>;
90
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ label: z.ZodString;
92
+ tags: z.ZodArray<z.ZodString, "many">;
93
+ }, "strip", z.ZodTypeAny, {
94
+ tags: string[];
95
+ label: string;
96
+ }, {
97
+ tags: string[];
98
+ label: string;
99
+ }>, "many">>;
100
+ }>, "strip", z.ZodTypeAny, {
101
+ type: "raw";
102
+ input: string;
103
+ server?: string | undefined;
104
+ id?: string | undefined;
105
+ navigationId?: string | undefined;
106
+ categories?: {
107
+ tags: string[];
108
+ label: string;
109
+ }[] | undefined;
110
+ }, {
111
+ type: "raw";
112
+ input: string;
113
+ server?: string | undefined;
114
+ id?: string | undefined;
115
+ navigationId?: string | undefined;
116
+ categories?: {
117
+ tags: string[];
118
+ label: string;
119
+ }[] | undefined;
120
+ }>]>;
121
+ declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
122
+ /**
123
+ * Base url of your website
124
+ */
125
+ siteUrl: z.ZodString;
126
+ /**
127
+ * Change frequency.
128
+ * @default 'daily'
129
+ */
130
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
131
+ /**
132
+ * Priority
133
+ * @default 0.7
134
+ */
135
+ priority: z.ZodOptional<z.ZodNumber>;
136
+ outDir: z.ZodOptional<z.ZodString>;
137
+ /**
138
+ * Add <lastmod/> property.
139
+ * @default true
140
+ */
141
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
142
+ /**
143
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
144
+ * @example ['/page-0', '/page/example']
145
+ */
146
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ siteUrl: string;
149
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
150
+ priority?: number | undefined;
151
+ outDir?: string | undefined;
152
+ autoLastmod?: boolean | undefined;
153
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
154
+ }, {
155
+ siteUrl: string;
156
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
157
+ priority?: number | undefined;
158
+ outDir?: string | undefined;
159
+ autoLastmod?: boolean | undefined;
160
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
161
+ }>>;
162
+ declare const DocsConfigSchema: z.ZodObject<{
163
+ files: z.ZodString;
164
+ defaultOptions: z.ZodOptional<z.ZodObject<{
165
+ toc: z.ZodOptional<z.ZodBoolean>;
166
+ disablePager: z.ZodOptional<z.ZodBoolean>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ toc?: boolean | undefined;
169
+ disablePager?: boolean | undefined;
170
+ }, {
171
+ toc?: boolean | undefined;
172
+ disablePager?: boolean | undefined;
173
+ }>>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ files: string;
176
+ defaultOptions?: {
177
+ toc?: boolean | undefined;
178
+ disablePager?: boolean | undefined;
179
+ } | undefined;
180
+ }, {
181
+ files: string;
182
+ defaultOptions?: {
183
+ toc?: boolean | undefined;
184
+ disablePager?: boolean | undefined;
185
+ } | undefined;
186
+ }>;
187
+ declare const TopNavigationItemSchema: z.ZodObject<{
188
+ label: z.ZodString;
189
+ id: z.ZodString;
190
+ default: z.ZodOptional<z.ZodString>;
191
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ id: string;
194
+ label: string;
195
+ default?: string | undefined;
196
+ display?: "auth" | "anon" | "always" | undefined;
197
+ }, {
198
+ id: string;
199
+ label: string;
200
+ default?: string | undefined;
201
+ display?: "auth" | "anon" | "always" | undefined;
202
+ }>;
203
+ type BannerColorType = ZodOptional<ZodUnion<[
204
+ ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
205
+ ZodString
206
+ ]>>;
207
+ declare const Redirect: z.ZodObject<{
208
+ from: z.ZodString;
209
+ to: z.ZodString;
210
+ }, "strip", z.ZodTypeAny, {
211
+ from: string;
212
+ to: string;
213
+ }, {
214
+ from: string;
215
+ to: string;
216
+ }>;
217
+ /**
218
+ * These are the config settings that are available in all configuration
219
+ * formats.
220
+ */
221
+ export declare const CommonConfigSchema: z.ZodObject<{
222
+ basePath: z.ZodOptional<z.ZodString>;
223
+ page: z.ZodObject<{
224
+ pageTitle: z.ZodOptional<z.ZodString>;
225
+ logoUrl: z.ZodOptional<z.ZodString>;
226
+ logo: z.ZodOptional<z.ZodObject<{
227
+ src: z.ZodObject<{
228
+ light: z.ZodString;
229
+ dark: z.ZodString;
230
+ }, "strip", z.ZodTypeAny, {
231
+ dark: string;
232
+ light: string;
233
+ }, {
234
+ dark: string;
235
+ light: string;
236
+ }>;
237
+ alt: z.ZodOptional<z.ZodString>;
238
+ width: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ src: {
241
+ dark: string;
242
+ light: string;
243
+ };
244
+ width?: string | undefined;
245
+ alt?: string | undefined;
246
+ }, {
247
+ src: {
248
+ dark: string;
249
+ light: string;
250
+ };
251
+ width?: string | undefined;
252
+ alt?: string | undefined;
253
+ }>>;
254
+ banner: z.ZodOptional<z.ZodOptional<z.ZodObject<{
255
+ message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
256
+ color: BannerColorType;
257
+ dismissible: z.ZodOptional<z.ZodBoolean>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ message: NonNullable<ReactNode>;
260
+ color?: BannerColorType;
261
+ dismissible?: boolean | undefined;
262
+ }, {
263
+ message: NonNullable<ReactNode>;
264
+ color?: BannerColorType;
265
+ dismissible?: boolean | undefined;
266
+ }>>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ banner?: {
269
+ message: NonNullable<ReactNode>;
270
+ color?: BannerColorType;
271
+ dismissible?: boolean | undefined;
272
+ } | undefined;
273
+ pageTitle?: string | undefined;
274
+ logoUrl?: string | undefined;
275
+ logo?: {
276
+ src: {
277
+ dark: string;
278
+ light: string;
279
+ };
280
+ width?: string | undefined;
281
+ alt?: string | undefined;
282
+ } | undefined;
283
+ }, {
284
+ banner?: {
285
+ message: NonNullable<ReactNode>;
286
+ color?: BannerColorType;
287
+ dismissible?: boolean | undefined;
288
+ } | undefined;
289
+ pageTitle?: string | undefined;
290
+ logoUrl?: string | undefined;
291
+ logo?: {
292
+ src: {
293
+ dark: string;
294
+ light: string;
295
+ };
296
+ width?: string | undefined;
297
+ alt?: string | undefined;
298
+ } | undefined;
299
+ }>;
300
+ topNavigation: z.ZodArray<z.ZodObject<{
301
+ label: z.ZodString;
302
+ id: z.ZodString;
303
+ default: z.ZodOptional<z.ZodString>;
304
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ id: string;
307
+ label: string;
308
+ default?: string | undefined;
309
+ display?: "auth" | "anon" | "always" | undefined;
310
+ }, {
311
+ id: string;
312
+ label: string;
313
+ default?: string | undefined;
314
+ display?: "auth" | "anon" | "always" | undefined;
315
+ }>, "many">;
316
+ sidebar: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>;
317
+ theme: z.ZodObject<{
318
+ light: z.ZodOptional<z.ZodObject<{
319
+ background: z.ZodOptional<z.ZodString>;
320
+ foreground: z.ZodOptional<z.ZodString>;
321
+ card: z.ZodOptional<z.ZodString>;
322
+ cardForeground: z.ZodOptional<z.ZodString>;
323
+ popover: z.ZodOptional<z.ZodString>;
324
+ popoverForeground: z.ZodOptional<z.ZodString>;
325
+ primary: z.ZodOptional<z.ZodString>;
326
+ primaryForeground: z.ZodOptional<z.ZodString>;
327
+ secondary: z.ZodOptional<z.ZodString>;
328
+ secondaryForeground: z.ZodOptional<z.ZodString>;
329
+ muted: z.ZodOptional<z.ZodString>;
330
+ mutedForeground: z.ZodOptional<z.ZodString>;
331
+ accent: z.ZodOptional<z.ZodString>;
332
+ accentForeground: z.ZodOptional<z.ZodString>;
333
+ destructive: z.ZodOptional<z.ZodString>;
334
+ destructiveForeground: z.ZodOptional<z.ZodString>;
335
+ border: z.ZodOptional<z.ZodString>;
336
+ input: z.ZodOptional<z.ZodString>;
337
+ ring: z.ZodOptional<z.ZodString>;
338
+ radius: z.ZodOptional<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ input?: string | undefined;
341
+ radius?: string | undefined;
342
+ border?: string | undefined;
343
+ background?: string | undefined;
344
+ foreground?: string | undefined;
345
+ card?: string | undefined;
346
+ cardForeground?: string | undefined;
347
+ popover?: string | undefined;
348
+ popoverForeground?: string | undefined;
349
+ primary?: string | undefined;
350
+ primaryForeground?: string | undefined;
351
+ secondary?: string | undefined;
352
+ secondaryForeground?: string | undefined;
353
+ muted?: string | undefined;
354
+ mutedForeground?: string | undefined;
355
+ accent?: string | undefined;
356
+ accentForeground?: string | undefined;
357
+ destructive?: string | undefined;
358
+ destructiveForeground?: string | undefined;
359
+ ring?: string | undefined;
360
+ }, {
361
+ input?: string | undefined;
362
+ radius?: string | undefined;
363
+ border?: string | undefined;
364
+ background?: string | undefined;
365
+ foreground?: string | undefined;
366
+ card?: string | undefined;
367
+ cardForeground?: string | undefined;
368
+ popover?: string | undefined;
369
+ popoverForeground?: string | undefined;
370
+ primary?: string | undefined;
371
+ primaryForeground?: string | undefined;
372
+ secondary?: string | undefined;
373
+ secondaryForeground?: string | undefined;
374
+ muted?: string | undefined;
375
+ mutedForeground?: string | undefined;
376
+ accent?: string | undefined;
377
+ accentForeground?: string | undefined;
378
+ destructive?: string | undefined;
379
+ destructiveForeground?: string | undefined;
380
+ ring?: string | undefined;
381
+ }>>;
382
+ dark: z.ZodOptional<z.ZodObject<{
383
+ background: z.ZodOptional<z.ZodString>;
384
+ foreground: z.ZodOptional<z.ZodString>;
385
+ card: z.ZodOptional<z.ZodString>;
386
+ cardForeground: z.ZodOptional<z.ZodString>;
387
+ popover: z.ZodOptional<z.ZodString>;
388
+ popoverForeground: z.ZodOptional<z.ZodString>;
389
+ primary: z.ZodOptional<z.ZodString>;
390
+ primaryForeground: z.ZodOptional<z.ZodString>;
391
+ secondary: z.ZodOptional<z.ZodString>;
392
+ secondaryForeground: z.ZodOptional<z.ZodString>;
393
+ muted: z.ZodOptional<z.ZodString>;
394
+ mutedForeground: z.ZodOptional<z.ZodString>;
395
+ accent: z.ZodOptional<z.ZodString>;
396
+ accentForeground: z.ZodOptional<z.ZodString>;
397
+ destructive: z.ZodOptional<z.ZodString>;
398
+ destructiveForeground: z.ZodOptional<z.ZodString>;
399
+ border: z.ZodOptional<z.ZodString>;
400
+ input: z.ZodOptional<z.ZodString>;
401
+ ring: z.ZodOptional<z.ZodString>;
402
+ radius: z.ZodOptional<z.ZodString>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ input?: string | undefined;
405
+ radius?: string | undefined;
406
+ border?: string | undefined;
407
+ background?: string | undefined;
408
+ foreground?: string | undefined;
409
+ card?: string | undefined;
410
+ cardForeground?: string | undefined;
411
+ popover?: string | undefined;
412
+ popoverForeground?: string | undefined;
413
+ primary?: string | undefined;
414
+ primaryForeground?: string | undefined;
415
+ secondary?: string | undefined;
416
+ secondaryForeground?: string | undefined;
417
+ muted?: string | undefined;
418
+ mutedForeground?: string | undefined;
419
+ accent?: string | undefined;
420
+ accentForeground?: string | undefined;
421
+ destructive?: string | undefined;
422
+ destructiveForeground?: string | undefined;
423
+ ring?: string | undefined;
424
+ }, {
425
+ input?: string | undefined;
426
+ radius?: string | undefined;
427
+ border?: string | undefined;
428
+ background?: string | undefined;
429
+ foreground?: string | undefined;
430
+ card?: string | undefined;
431
+ cardForeground?: string | undefined;
432
+ popover?: string | undefined;
433
+ popoverForeground?: string | undefined;
434
+ primary?: string | undefined;
435
+ primaryForeground?: string | undefined;
436
+ secondary?: string | undefined;
437
+ secondaryForeground?: string | undefined;
438
+ muted?: string | undefined;
439
+ mutedForeground?: string | undefined;
440
+ accent?: string | undefined;
441
+ accentForeground?: string | undefined;
442
+ destructive?: string | undefined;
443
+ destructiveForeground?: string | undefined;
444
+ ring?: string | undefined;
445
+ }>>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ dark?: {
448
+ input?: string | undefined;
449
+ radius?: string | undefined;
450
+ border?: string | undefined;
451
+ background?: string | undefined;
452
+ foreground?: string | undefined;
453
+ card?: string | undefined;
454
+ cardForeground?: string | undefined;
455
+ popover?: string | undefined;
456
+ popoverForeground?: string | undefined;
457
+ primary?: string | undefined;
458
+ primaryForeground?: string | undefined;
459
+ secondary?: string | undefined;
460
+ secondaryForeground?: string | undefined;
461
+ muted?: string | undefined;
462
+ mutedForeground?: string | undefined;
463
+ accent?: string | undefined;
464
+ accentForeground?: string | undefined;
465
+ destructive?: string | undefined;
466
+ destructiveForeground?: string | undefined;
467
+ ring?: string | undefined;
468
+ } | undefined;
469
+ light?: {
470
+ input?: string | undefined;
471
+ radius?: string | undefined;
472
+ border?: string | undefined;
473
+ background?: string | undefined;
474
+ foreground?: string | undefined;
475
+ card?: string | undefined;
476
+ cardForeground?: string | undefined;
477
+ popover?: string | undefined;
478
+ popoverForeground?: string | undefined;
479
+ primary?: string | undefined;
480
+ primaryForeground?: string | undefined;
481
+ secondary?: string | undefined;
482
+ secondaryForeground?: string | undefined;
483
+ muted?: string | undefined;
484
+ mutedForeground?: string | undefined;
485
+ accent?: string | undefined;
486
+ accentForeground?: string | undefined;
487
+ destructive?: string | undefined;
488
+ destructiveForeground?: string | undefined;
489
+ ring?: string | undefined;
490
+ } | undefined;
491
+ }, {
492
+ dark?: {
493
+ input?: string | undefined;
494
+ radius?: string | undefined;
495
+ border?: string | undefined;
496
+ background?: string | undefined;
497
+ foreground?: string | undefined;
498
+ card?: string | undefined;
499
+ cardForeground?: string | undefined;
500
+ popover?: string | undefined;
501
+ popoverForeground?: string | undefined;
502
+ primary?: string | undefined;
503
+ primaryForeground?: string | undefined;
504
+ secondary?: string | undefined;
505
+ secondaryForeground?: string | undefined;
506
+ muted?: string | undefined;
507
+ mutedForeground?: string | undefined;
508
+ accent?: string | undefined;
509
+ accentForeground?: string | undefined;
510
+ destructive?: string | undefined;
511
+ destructiveForeground?: string | undefined;
512
+ ring?: string | undefined;
513
+ } | undefined;
514
+ light?: {
515
+ input?: string | undefined;
516
+ radius?: string | undefined;
517
+ border?: string | undefined;
518
+ background?: string | undefined;
519
+ foreground?: string | undefined;
520
+ card?: string | undefined;
521
+ cardForeground?: string | undefined;
522
+ popover?: string | undefined;
523
+ popoverForeground?: string | undefined;
524
+ primary?: string | undefined;
525
+ primaryForeground?: string | undefined;
526
+ secondary?: string | undefined;
527
+ secondaryForeground?: string | undefined;
528
+ muted?: string | undefined;
529
+ mutedForeground?: string | undefined;
530
+ accent?: string | undefined;
531
+ accentForeground?: string | undefined;
532
+ destructive?: string | undefined;
533
+ destructiveForeground?: string | undefined;
534
+ ring?: string | undefined;
535
+ } | undefined;
536
+ }>;
537
+ metadata: z.ZodObject<{
538
+ title: z.ZodOptional<z.ZodString>;
539
+ description: z.ZodOptional<z.ZodString>;
540
+ logo: z.ZodOptional<z.ZodString>;
541
+ favicon: z.ZodOptional<z.ZodString>;
542
+ generator: z.ZodOptional<z.ZodString>;
543
+ applicationName: z.ZodOptional<z.ZodString>;
544
+ referrer: z.ZodOptional<z.ZodString>;
545
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
546
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
547
+ creator: z.ZodOptional<z.ZodString>;
548
+ publisher: z.ZodOptional<z.ZodString>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ description?: string | undefined;
551
+ title?: string | undefined;
552
+ logo?: string | undefined;
553
+ favicon?: string | undefined;
554
+ generator?: string | undefined;
555
+ applicationName?: string | undefined;
556
+ referrer?: string | undefined;
557
+ keywords?: string[] | undefined;
558
+ authors?: string[] | undefined;
559
+ creator?: string | undefined;
560
+ publisher?: string | undefined;
561
+ }, {
562
+ description?: string | undefined;
563
+ title?: string | undefined;
564
+ logo?: string | undefined;
565
+ favicon?: string | undefined;
566
+ generator?: string | undefined;
567
+ applicationName?: string | undefined;
568
+ referrer?: string | undefined;
569
+ keywords?: string[] | undefined;
570
+ authors?: string[] | undefined;
571
+ creator?: string | undefined;
572
+ publisher?: string | undefined;
573
+ }>;
574
+ authentication: z.ZodUnion<[z.ZodObject<{
575
+ type: z.ZodLiteral<"clerk">;
576
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
577
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
578
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
579
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ type: "clerk";
582
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
583
+ redirectToAfterSignUp?: string | undefined;
584
+ redirectToAfterSignIn?: string | undefined;
585
+ redirectToAfterSignOut?: string | undefined;
586
+ }, {
587
+ type: "clerk";
588
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
589
+ redirectToAfterSignUp?: string | undefined;
590
+ redirectToAfterSignIn?: string | undefined;
591
+ redirectToAfterSignOut?: string | undefined;
592
+ }>, z.ZodObject<{
593
+ type: z.ZodLiteral<"openid">;
594
+ clientId: z.ZodString;
595
+ issuer: z.ZodString;
596
+ audience: z.ZodOptional<z.ZodString>;
597
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
599
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
600
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ type: "openid";
603
+ clientId: string;
604
+ issuer: string;
605
+ redirectToAfterSignUp?: string | undefined;
606
+ redirectToAfterSignIn?: string | undefined;
607
+ redirectToAfterSignOut?: string | undefined;
608
+ audience?: string | undefined;
609
+ scopes?: string[] | undefined;
610
+ }, {
611
+ type: "openid";
612
+ clientId: string;
613
+ issuer: string;
614
+ redirectToAfterSignUp?: string | undefined;
615
+ redirectToAfterSignIn?: string | undefined;
616
+ redirectToAfterSignOut?: string | undefined;
617
+ audience?: string | undefined;
618
+ scopes?: string[] | undefined;
619
+ }>, z.ZodObject<{
620
+ type: z.ZodLiteral<"auth0">;
621
+ clientId: z.ZodString;
622
+ domain: z.ZodString;
623
+ audience: z.ZodOptional<z.ZodString>;
624
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
625
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
626
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ type: "auth0";
629
+ clientId: string;
630
+ domain: string;
631
+ redirectToAfterSignUp?: string | undefined;
632
+ redirectToAfterSignIn?: string | undefined;
633
+ redirectToAfterSignOut?: string | undefined;
634
+ audience?: string | undefined;
635
+ }, {
636
+ type: "auth0";
637
+ clientId: string;
638
+ domain: string;
639
+ redirectToAfterSignUp?: string | undefined;
640
+ redirectToAfterSignIn?: string | undefined;
641
+ redirectToAfterSignOut?: string | undefined;
642
+ audience?: string | undefined;
643
+ }>]>;
644
+ search: z.ZodOptional<z.ZodObject<{
645
+ type: z.ZodLiteral<"inkeep">;
646
+ apiKey: z.ZodString;
647
+ integrationId: z.ZodString;
648
+ organizationId: z.ZodString;
649
+ primaryBrandColor: z.ZodString;
650
+ organizationDisplayName: z.ZodString;
651
+ }, "strip", z.ZodTypeAny, {
652
+ type: "inkeep";
653
+ apiKey: string;
654
+ integrationId: string;
655
+ organizationId: string;
656
+ primaryBrandColor: string;
657
+ organizationDisplayName: string;
658
+ }, {
659
+ type: "inkeep";
660
+ apiKey: string;
661
+ integrationId: string;
662
+ organizationId: string;
663
+ primaryBrandColor: string;
664
+ organizationDisplayName: string;
665
+ }>>;
666
+ docs: z.ZodUnion<[z.ZodObject<{
667
+ files: z.ZodString;
668
+ defaultOptions: z.ZodOptional<z.ZodObject<{
669
+ toc: z.ZodOptional<z.ZodBoolean>;
670
+ disablePager: z.ZodOptional<z.ZodBoolean>;
671
+ }, "strip", z.ZodTypeAny, {
672
+ toc?: boolean | undefined;
673
+ disablePager?: boolean | undefined;
674
+ }, {
675
+ toc?: boolean | undefined;
676
+ disablePager?: boolean | undefined;
677
+ }>>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ files: string;
680
+ defaultOptions?: {
681
+ toc?: boolean | undefined;
682
+ disablePager?: boolean | undefined;
683
+ } | undefined;
684
+ }, {
685
+ files: string;
686
+ defaultOptions?: {
687
+ toc?: boolean | undefined;
688
+ disablePager?: boolean | undefined;
689
+ } | undefined;
690
+ }>, z.ZodArray<z.ZodObject<{
691
+ files: z.ZodString;
692
+ defaultOptions: z.ZodOptional<z.ZodObject<{
693
+ toc: z.ZodOptional<z.ZodBoolean>;
694
+ disablePager: z.ZodOptional<z.ZodBoolean>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ toc?: boolean | undefined;
697
+ disablePager?: boolean | undefined;
698
+ }, {
699
+ toc?: boolean | undefined;
700
+ disablePager?: boolean | undefined;
701
+ }>>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ files: string;
704
+ defaultOptions?: {
705
+ toc?: boolean | undefined;
706
+ disablePager?: boolean | undefined;
707
+ } | undefined;
708
+ }, {
709
+ files: string;
710
+ defaultOptions?: {
711
+ toc?: boolean | undefined;
712
+ disablePager?: boolean | undefined;
713
+ } | undefined;
714
+ }>, "many">]>;
715
+ apis: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
716
+ type: z.ZodLiteral<"url">;
717
+ input: z.ZodString;
718
+ }, {
719
+ id: z.ZodOptional<z.ZodString>;
720
+ server: z.ZodOptional<z.ZodString>;
721
+ navigationId: z.ZodOptional<z.ZodString>;
722
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
723
+ label: z.ZodString;
724
+ tags: z.ZodArray<z.ZodString, "many">;
725
+ }, "strip", z.ZodTypeAny, {
726
+ tags: string[];
727
+ label: string;
728
+ }, {
729
+ tags: string[];
730
+ label: string;
731
+ }>, "many">>;
732
+ }>, "strip", z.ZodTypeAny, {
733
+ type: "url";
734
+ input: string;
735
+ server?: string | undefined;
736
+ id?: string | undefined;
737
+ navigationId?: string | undefined;
738
+ categories?: {
739
+ tags: string[];
740
+ label: string;
741
+ }[] | undefined;
742
+ }, {
743
+ type: "url";
744
+ input: string;
745
+ server?: string | undefined;
746
+ id?: string | undefined;
747
+ navigationId?: string | undefined;
748
+ categories?: {
749
+ tags: string[];
750
+ label: string;
751
+ }[] | undefined;
752
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
753
+ type: z.ZodLiteral<"file">;
754
+ input: z.ZodString;
755
+ }, {
756
+ id: z.ZodOptional<z.ZodString>;
757
+ server: z.ZodOptional<z.ZodString>;
758
+ navigationId: z.ZodOptional<z.ZodString>;
759
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
+ label: z.ZodString;
761
+ tags: z.ZodArray<z.ZodString, "many">;
762
+ }, "strip", z.ZodTypeAny, {
763
+ tags: string[];
764
+ label: string;
765
+ }, {
766
+ tags: string[];
767
+ label: string;
768
+ }>, "many">>;
769
+ }>, {
770
+ 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">>;
771
+ }>, "strip", z.ZodTypeAny, {
772
+ type: "file";
773
+ input: string;
774
+ server?: string | undefined;
775
+ id?: string | undefined;
776
+ navigationId?: string | undefined;
777
+ categories?: {
778
+ tags: string[];
779
+ label: string;
780
+ }[] | undefined;
781
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
782
+ }, {
783
+ type: "file";
784
+ input: string;
785
+ server?: string | undefined;
786
+ id?: string | undefined;
787
+ navigationId?: string | undefined;
788
+ categories?: {
789
+ tags: string[];
790
+ label: string;
791
+ }[] | undefined;
792
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
793
+ }>, z.ZodObject<z.objectUtil.extendShape<{
794
+ type: z.ZodLiteral<"raw">;
795
+ input: z.ZodString;
796
+ }, {
797
+ id: z.ZodOptional<z.ZodString>;
798
+ server: z.ZodOptional<z.ZodString>;
799
+ navigationId: z.ZodOptional<z.ZodString>;
800
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
801
+ label: z.ZodString;
802
+ tags: z.ZodArray<z.ZodString, "many">;
803
+ }, "strip", z.ZodTypeAny, {
804
+ tags: string[];
805
+ label: string;
806
+ }, {
807
+ tags: string[];
808
+ label: string;
809
+ }>, "many">>;
810
+ }>, "strip", z.ZodTypeAny, {
811
+ type: "raw";
812
+ input: string;
813
+ server?: string | undefined;
814
+ id?: string | undefined;
815
+ navigationId?: string | undefined;
816
+ categories?: {
817
+ tags: string[];
818
+ label: string;
819
+ }[] | undefined;
820
+ }, {
821
+ type: "raw";
822
+ input: string;
823
+ server?: string | undefined;
824
+ id?: string | undefined;
825
+ navigationId?: string | undefined;
826
+ categories?: {
827
+ tags: string[];
828
+ label: string;
829
+ }[] | undefined;
830
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
831
+ type: z.ZodLiteral<"url">;
832
+ input: z.ZodString;
833
+ }, {
834
+ id: z.ZodOptional<z.ZodString>;
835
+ server: z.ZodOptional<z.ZodString>;
836
+ navigationId: z.ZodOptional<z.ZodString>;
837
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
838
+ label: z.ZodString;
839
+ tags: z.ZodArray<z.ZodString, "many">;
840
+ }, "strip", z.ZodTypeAny, {
841
+ tags: string[];
842
+ label: string;
843
+ }, {
844
+ tags: string[];
845
+ label: string;
846
+ }>, "many">>;
847
+ }>, "strip", z.ZodTypeAny, {
848
+ type: "url";
849
+ input: string;
850
+ server?: string | undefined;
851
+ id?: string | undefined;
852
+ navigationId?: string | undefined;
853
+ categories?: {
854
+ tags: string[];
855
+ label: string;
856
+ }[] | undefined;
857
+ }, {
858
+ type: "url";
859
+ input: string;
860
+ server?: string | undefined;
861
+ id?: string | undefined;
862
+ navigationId?: string | undefined;
863
+ categories?: {
864
+ tags: string[];
865
+ label: string;
866
+ }[] | undefined;
867
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
868
+ type: z.ZodLiteral<"file">;
869
+ input: z.ZodString;
870
+ }, {
871
+ id: z.ZodOptional<z.ZodString>;
872
+ server: z.ZodOptional<z.ZodString>;
873
+ navigationId: z.ZodOptional<z.ZodString>;
874
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
875
+ label: z.ZodString;
876
+ tags: z.ZodArray<z.ZodString, "many">;
877
+ }, "strip", z.ZodTypeAny, {
878
+ tags: string[];
879
+ label: string;
880
+ }, {
881
+ tags: string[];
882
+ label: string;
883
+ }>, "many">>;
884
+ }>, {
885
+ 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">>;
886
+ }>, "strip", z.ZodTypeAny, {
887
+ type: "file";
888
+ input: string;
889
+ server?: string | undefined;
890
+ id?: string | undefined;
891
+ navigationId?: string | undefined;
892
+ categories?: {
893
+ tags: string[];
894
+ label: string;
895
+ }[] | undefined;
896
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
897
+ }, {
898
+ type: "file";
899
+ input: string;
900
+ server?: string | undefined;
901
+ id?: string | undefined;
902
+ navigationId?: string | undefined;
903
+ categories?: {
904
+ tags: string[];
905
+ label: string;
906
+ }[] | undefined;
907
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
908
+ }>, z.ZodObject<z.objectUtil.extendShape<{
909
+ type: z.ZodLiteral<"raw">;
910
+ input: z.ZodString;
911
+ }, {
912
+ id: z.ZodOptional<z.ZodString>;
913
+ server: z.ZodOptional<z.ZodString>;
914
+ navigationId: z.ZodOptional<z.ZodString>;
915
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
916
+ label: z.ZodString;
917
+ tags: z.ZodArray<z.ZodString, "many">;
918
+ }, "strip", z.ZodTypeAny, {
919
+ tags: string[];
920
+ label: string;
921
+ }, {
922
+ tags: string[];
923
+ label: string;
924
+ }>, "many">>;
925
+ }>, "strip", z.ZodTypeAny, {
926
+ type: "raw";
927
+ input: string;
928
+ server?: string | undefined;
929
+ id?: string | undefined;
930
+ navigationId?: string | undefined;
931
+ categories?: {
932
+ tags: string[];
933
+ label: string;
934
+ }[] | undefined;
935
+ }, {
936
+ type: "raw";
937
+ input: string;
938
+ server?: string | undefined;
939
+ id?: string | undefined;
940
+ navigationId?: string | undefined;
941
+ categories?: {
942
+ tags: string[];
943
+ label: string;
944
+ }[] | undefined;
945
+ }>]>, "many">]>;
946
+ catalog: z.ZodUnion<[z.ZodObject<{
947
+ navigationId: z.ZodString;
948
+ label: z.ZodString;
949
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
950
+ }, "strip", z.ZodTypeAny, {
951
+ label: string;
952
+ navigationId: string;
953
+ items?: string[] | undefined;
954
+ }, {
955
+ label: string;
956
+ navigationId: string;
957
+ items?: string[] | undefined;
958
+ }>, z.ZodArray<z.ZodObject<{
959
+ navigationId: z.ZodString;
960
+ label: z.ZodString;
961
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ label: string;
964
+ navigationId: string;
965
+ items?: string[] | undefined;
966
+ }, {
967
+ label: string;
968
+ navigationId: string;
969
+ items?: string[] | undefined;
970
+ }>, "many">]>;
971
+ apiKeys: z.ZodUnion<[z.ZodObject<{
972
+ enabled: z.ZodBoolean;
973
+ endpoint: z.ZodString;
974
+ }, "strip", z.ZodTypeAny, {
975
+ enabled: boolean;
976
+ endpoint: string;
977
+ }, {
978
+ enabled: boolean;
979
+ endpoint: string;
980
+ }>, z.ZodObject<{
981
+ enabled: z.ZodBoolean;
982
+ getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
983
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
984
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
985
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
986
+ id: string;
987
+ description: string;
988
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
989
+ id: string;
990
+ description: string;
991
+ }, context: ZudokuContext) => Promise<void>>>;
992
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
993
+ description: string;
994
+ expiresOn?: string;
995
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
996
+ description: string;
997
+ expiresOn?: string;
998
+ }, context: ZudokuContext) => Promise<void>>>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ enabled: boolean;
1001
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1002
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1003
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1004
+ updateKeyDescription?: ((apiKey: {
1005
+ id: string;
1006
+ description: string;
1007
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1008
+ createKey?: ((apiKey: {
1009
+ description: string;
1010
+ expiresOn?: string;
1011
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1012
+ }, {
1013
+ enabled: boolean;
1014
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1015
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1016
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1017
+ updateKeyDescription?: ((apiKey: {
1018
+ id: string;
1019
+ description: string;
1020
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1021
+ createKey?: ((apiKey: {
1022
+ description: string;
1023
+ expiresOn?: string;
1024
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1025
+ }>]>;
1026
+ redirects: z.ZodArray<z.ZodObject<{
1027
+ from: z.ZodString;
1028
+ to: z.ZodString;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ from: string;
1031
+ to: string;
1032
+ }, {
1033
+ from: string;
1034
+ to: string;
1035
+ }>, "many">;
1036
+ sitemap: z.ZodOptional<z.ZodObject<{
1037
+ /**
1038
+ * Base url of your website
1039
+ */
1040
+ siteUrl: z.ZodString;
1041
+ /**
1042
+ * Change frequency.
1043
+ * @default 'daily'
1044
+ */
1045
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
1046
+ /**
1047
+ * Priority
1048
+ * @default 0.7
1049
+ */
1050
+ priority: z.ZodOptional<z.ZodNumber>;
1051
+ outDir: z.ZodOptional<z.ZodString>;
1052
+ /**
1053
+ * Add <lastmod/> property.
1054
+ * @default true
1055
+ */
1056
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
1057
+ /**
1058
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
1059
+ * @example ['/page-0', '/page/example']
1060
+ */
1061
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
1062
+ }, "strip", z.ZodTypeAny, {
1063
+ siteUrl: string;
1064
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1065
+ priority?: number | undefined;
1066
+ outDir?: string | undefined;
1067
+ autoLastmod?: boolean | undefined;
1068
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1069
+ }, {
1070
+ siteUrl: string;
1071
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1072
+ priority?: number | undefined;
1073
+ outDir?: string | undefined;
1074
+ autoLastmod?: boolean | undefined;
1075
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1076
+ }>>;
1077
+ }, "strip", z.ZodTypeAny, {
1078
+ metadata: {
1079
+ description?: string | undefined;
1080
+ title?: string | undefined;
1081
+ logo?: string | undefined;
1082
+ favicon?: string | undefined;
1083
+ generator?: string | undefined;
1084
+ applicationName?: string | undefined;
1085
+ referrer?: string | undefined;
1086
+ keywords?: string[] | undefined;
1087
+ authors?: string[] | undefined;
1088
+ creator?: string | undefined;
1089
+ publisher?: string | undefined;
1090
+ };
1091
+ theme: {
1092
+ dark?: {
1093
+ input?: string | undefined;
1094
+ radius?: string | undefined;
1095
+ border?: string | undefined;
1096
+ background?: string | undefined;
1097
+ foreground?: string | undefined;
1098
+ card?: string | undefined;
1099
+ cardForeground?: string | undefined;
1100
+ popover?: string | undefined;
1101
+ popoverForeground?: string | undefined;
1102
+ primary?: string | undefined;
1103
+ primaryForeground?: string | undefined;
1104
+ secondary?: string | undefined;
1105
+ secondaryForeground?: string | undefined;
1106
+ muted?: string | undefined;
1107
+ mutedForeground?: string | undefined;
1108
+ accent?: string | undefined;
1109
+ accentForeground?: string | undefined;
1110
+ destructive?: string | undefined;
1111
+ destructiveForeground?: string | undefined;
1112
+ ring?: string | undefined;
1113
+ } | undefined;
1114
+ light?: {
1115
+ input?: string | undefined;
1116
+ radius?: string | undefined;
1117
+ border?: string | undefined;
1118
+ background?: string | undefined;
1119
+ foreground?: string | undefined;
1120
+ card?: string | undefined;
1121
+ cardForeground?: string | undefined;
1122
+ popover?: string | undefined;
1123
+ popoverForeground?: string | undefined;
1124
+ primary?: string | undefined;
1125
+ primaryForeground?: string | undefined;
1126
+ secondary?: string | undefined;
1127
+ secondaryForeground?: string | undefined;
1128
+ muted?: string | undefined;
1129
+ mutedForeground?: string | undefined;
1130
+ accent?: string | undefined;
1131
+ accentForeground?: string | undefined;
1132
+ destructive?: string | undefined;
1133
+ destructiveForeground?: string | undefined;
1134
+ ring?: string | undefined;
1135
+ } | undefined;
1136
+ };
1137
+ page: {
1138
+ banner?: {
1139
+ message: NonNullable<ReactNode>;
1140
+ color?: BannerColorType;
1141
+ dismissible?: boolean | undefined;
1142
+ } | undefined;
1143
+ pageTitle?: string | undefined;
1144
+ logoUrl?: string | undefined;
1145
+ logo?: {
1146
+ src: {
1147
+ dark: string;
1148
+ light: string;
1149
+ };
1150
+ width?: string | undefined;
1151
+ alt?: string | undefined;
1152
+ } | undefined;
1153
+ };
1154
+ topNavigation: {
1155
+ id: string;
1156
+ label: string;
1157
+ default?: string | undefined;
1158
+ display?: "auth" | "anon" | "always" | undefined;
1159
+ }[];
1160
+ sidebar: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]>;
1161
+ authentication: {
1162
+ type: "clerk";
1163
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1164
+ redirectToAfterSignUp?: string | undefined;
1165
+ redirectToAfterSignIn?: string | undefined;
1166
+ redirectToAfterSignOut?: string | undefined;
1167
+ } | {
1168
+ type: "openid";
1169
+ clientId: string;
1170
+ issuer: string;
1171
+ redirectToAfterSignUp?: string | undefined;
1172
+ redirectToAfterSignIn?: string | undefined;
1173
+ redirectToAfterSignOut?: string | undefined;
1174
+ audience?: string | undefined;
1175
+ scopes?: string[] | undefined;
1176
+ } | {
1177
+ type: "auth0";
1178
+ clientId: string;
1179
+ domain: string;
1180
+ redirectToAfterSignUp?: string | undefined;
1181
+ redirectToAfterSignIn?: string | undefined;
1182
+ redirectToAfterSignOut?: string | undefined;
1183
+ audience?: string | undefined;
1184
+ };
1185
+ docs: {
1186
+ files: string;
1187
+ defaultOptions?: {
1188
+ toc?: boolean | undefined;
1189
+ disablePager?: boolean | undefined;
1190
+ } | undefined;
1191
+ } | {
1192
+ files: string;
1193
+ defaultOptions?: {
1194
+ toc?: boolean | undefined;
1195
+ disablePager?: boolean | undefined;
1196
+ } | undefined;
1197
+ }[];
1198
+ apis: {
1199
+ type: "url";
1200
+ input: string;
1201
+ server?: string | undefined;
1202
+ id?: string | undefined;
1203
+ navigationId?: string | undefined;
1204
+ categories?: {
1205
+ tags: string[];
1206
+ label: string;
1207
+ }[] | undefined;
1208
+ } | {
1209
+ type: "file";
1210
+ input: string;
1211
+ server?: string | undefined;
1212
+ id?: string | undefined;
1213
+ navigationId?: string | undefined;
1214
+ categories?: {
1215
+ tags: string[];
1216
+ label: string;
1217
+ }[] | undefined;
1218
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1219
+ } | {
1220
+ type: "raw";
1221
+ input: string;
1222
+ server?: string | undefined;
1223
+ id?: string | undefined;
1224
+ navigationId?: string | undefined;
1225
+ categories?: {
1226
+ tags: string[];
1227
+ label: string;
1228
+ }[] | undefined;
1229
+ } | ({
1230
+ type: "url";
1231
+ input: string;
1232
+ server?: string | undefined;
1233
+ id?: string | undefined;
1234
+ navigationId?: string | undefined;
1235
+ categories?: {
1236
+ tags: string[];
1237
+ label: string;
1238
+ }[] | undefined;
1239
+ } | {
1240
+ type: "file";
1241
+ input: string;
1242
+ server?: string | undefined;
1243
+ id?: string | undefined;
1244
+ navigationId?: string | undefined;
1245
+ categories?: {
1246
+ tags: string[];
1247
+ label: string;
1248
+ }[] | undefined;
1249
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1250
+ } | {
1251
+ type: "raw";
1252
+ input: string;
1253
+ server?: string | undefined;
1254
+ id?: string | undefined;
1255
+ navigationId?: string | undefined;
1256
+ categories?: {
1257
+ tags: string[];
1258
+ label: string;
1259
+ }[] | undefined;
1260
+ })[];
1261
+ catalog: {
1262
+ label: string;
1263
+ navigationId: string;
1264
+ items?: string[] | undefined;
1265
+ } | {
1266
+ label: string;
1267
+ navigationId: string;
1268
+ items?: string[] | undefined;
1269
+ }[];
1270
+ apiKeys: {
1271
+ enabled: boolean;
1272
+ endpoint: string;
1273
+ } | {
1274
+ enabled: boolean;
1275
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1276
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1277
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1278
+ updateKeyDescription?: ((apiKey: {
1279
+ id: string;
1280
+ description: string;
1281
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1282
+ createKey?: ((apiKey: {
1283
+ description: string;
1284
+ expiresOn?: string;
1285
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1286
+ };
1287
+ redirects: {
1288
+ from: string;
1289
+ to: string;
1290
+ }[];
1291
+ search?: {
1292
+ type: "inkeep";
1293
+ apiKey: string;
1294
+ integrationId: string;
1295
+ organizationId: string;
1296
+ primaryBrandColor: string;
1297
+ organizationDisplayName: string;
1298
+ } | undefined;
1299
+ basePath?: string | undefined;
1300
+ sitemap?: {
1301
+ siteUrl: string;
1302
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1303
+ priority?: number | undefined;
1304
+ outDir?: string | undefined;
1305
+ autoLastmod?: boolean | undefined;
1306
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1307
+ } | undefined;
1308
+ }, {
1309
+ metadata: {
1310
+ description?: string | undefined;
1311
+ title?: string | undefined;
1312
+ logo?: string | undefined;
1313
+ favicon?: string | undefined;
1314
+ generator?: string | undefined;
1315
+ applicationName?: string | undefined;
1316
+ referrer?: string | undefined;
1317
+ keywords?: string[] | undefined;
1318
+ authors?: string[] | undefined;
1319
+ creator?: string | undefined;
1320
+ publisher?: string | undefined;
1321
+ };
1322
+ theme: {
1323
+ dark?: {
1324
+ input?: string | undefined;
1325
+ radius?: string | undefined;
1326
+ border?: string | undefined;
1327
+ background?: string | undefined;
1328
+ foreground?: string | undefined;
1329
+ card?: string | undefined;
1330
+ cardForeground?: string | undefined;
1331
+ popover?: string | undefined;
1332
+ popoverForeground?: string | undefined;
1333
+ primary?: string | undefined;
1334
+ primaryForeground?: string | undefined;
1335
+ secondary?: string | undefined;
1336
+ secondaryForeground?: string | undefined;
1337
+ muted?: string | undefined;
1338
+ mutedForeground?: string | undefined;
1339
+ accent?: string | undefined;
1340
+ accentForeground?: string | undefined;
1341
+ destructive?: string | undefined;
1342
+ destructiveForeground?: string | undefined;
1343
+ ring?: string | undefined;
1344
+ } | undefined;
1345
+ light?: {
1346
+ input?: string | undefined;
1347
+ radius?: string | undefined;
1348
+ border?: string | undefined;
1349
+ background?: string | undefined;
1350
+ foreground?: string | undefined;
1351
+ card?: string | undefined;
1352
+ cardForeground?: string | undefined;
1353
+ popover?: string | undefined;
1354
+ popoverForeground?: string | undefined;
1355
+ primary?: string | undefined;
1356
+ primaryForeground?: string | undefined;
1357
+ secondary?: string | undefined;
1358
+ secondaryForeground?: string | undefined;
1359
+ muted?: string | undefined;
1360
+ mutedForeground?: string | undefined;
1361
+ accent?: string | undefined;
1362
+ accentForeground?: string | undefined;
1363
+ destructive?: string | undefined;
1364
+ destructiveForeground?: string | undefined;
1365
+ ring?: string | undefined;
1366
+ } | undefined;
1367
+ };
1368
+ page: {
1369
+ banner?: {
1370
+ message: NonNullable<ReactNode>;
1371
+ color?: BannerColorType;
1372
+ dismissible?: boolean | undefined;
1373
+ } | undefined;
1374
+ pageTitle?: string | undefined;
1375
+ logoUrl?: string | undefined;
1376
+ logo?: {
1377
+ src: {
1378
+ dark: string;
1379
+ light: string;
1380
+ };
1381
+ width?: string | undefined;
1382
+ alt?: string | undefined;
1383
+ } | undefined;
1384
+ };
1385
+ topNavigation: {
1386
+ id: string;
1387
+ label: string;
1388
+ default?: string | undefined;
1389
+ display?: "auth" | "anon" | "always" | undefined;
1390
+ }[];
1391
+ sidebar: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]>;
1392
+ authentication: {
1393
+ type: "clerk";
1394
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1395
+ redirectToAfterSignUp?: string | undefined;
1396
+ redirectToAfterSignIn?: string | undefined;
1397
+ redirectToAfterSignOut?: string | undefined;
1398
+ } | {
1399
+ type: "openid";
1400
+ clientId: string;
1401
+ issuer: string;
1402
+ redirectToAfterSignUp?: string | undefined;
1403
+ redirectToAfterSignIn?: string | undefined;
1404
+ redirectToAfterSignOut?: string | undefined;
1405
+ audience?: string | undefined;
1406
+ scopes?: string[] | undefined;
1407
+ } | {
1408
+ type: "auth0";
1409
+ clientId: string;
1410
+ domain: string;
1411
+ redirectToAfterSignUp?: string | undefined;
1412
+ redirectToAfterSignIn?: string | undefined;
1413
+ redirectToAfterSignOut?: string | undefined;
1414
+ audience?: string | undefined;
1415
+ };
1416
+ docs: {
1417
+ files: string;
1418
+ defaultOptions?: {
1419
+ toc?: boolean | undefined;
1420
+ disablePager?: boolean | undefined;
1421
+ } | undefined;
1422
+ } | {
1423
+ files: string;
1424
+ defaultOptions?: {
1425
+ toc?: boolean | undefined;
1426
+ disablePager?: boolean | undefined;
1427
+ } | undefined;
1428
+ }[];
1429
+ apis: {
1430
+ type: "url";
1431
+ input: string;
1432
+ server?: string | undefined;
1433
+ id?: string | undefined;
1434
+ navigationId?: string | undefined;
1435
+ categories?: {
1436
+ tags: string[];
1437
+ label: string;
1438
+ }[] | undefined;
1439
+ } | {
1440
+ type: "file";
1441
+ input: string;
1442
+ server?: string | undefined;
1443
+ id?: string | undefined;
1444
+ navigationId?: string | undefined;
1445
+ categories?: {
1446
+ tags: string[];
1447
+ label: string;
1448
+ }[] | undefined;
1449
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1450
+ } | {
1451
+ type: "raw";
1452
+ input: string;
1453
+ server?: string | undefined;
1454
+ id?: string | undefined;
1455
+ navigationId?: string | undefined;
1456
+ categories?: {
1457
+ tags: string[];
1458
+ label: string;
1459
+ }[] | undefined;
1460
+ } | ({
1461
+ type: "url";
1462
+ input: string;
1463
+ server?: string | undefined;
1464
+ id?: string | undefined;
1465
+ navigationId?: string | undefined;
1466
+ categories?: {
1467
+ tags: string[];
1468
+ label: string;
1469
+ }[] | undefined;
1470
+ } | {
1471
+ type: "file";
1472
+ input: string;
1473
+ server?: string | undefined;
1474
+ id?: string | undefined;
1475
+ navigationId?: string | undefined;
1476
+ categories?: {
1477
+ tags: string[];
1478
+ label: string;
1479
+ }[] | undefined;
1480
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
1481
+ } | {
1482
+ type: "raw";
1483
+ input: string;
1484
+ server?: string | undefined;
1485
+ id?: string | undefined;
1486
+ navigationId?: string | undefined;
1487
+ categories?: {
1488
+ tags: string[];
1489
+ label: string;
1490
+ }[] | undefined;
1491
+ })[];
1492
+ catalog: {
1493
+ label: string;
1494
+ navigationId: string;
1495
+ items?: string[] | undefined;
1496
+ } | {
1497
+ label: string;
1498
+ navigationId: string;
1499
+ items?: string[] | undefined;
1500
+ }[];
1501
+ apiKeys: {
1502
+ enabled: boolean;
1503
+ endpoint: string;
1504
+ } | {
1505
+ enabled: boolean;
1506
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
1507
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1508
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
1509
+ updateKeyDescription?: ((apiKey: {
1510
+ id: string;
1511
+ description: string;
1512
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1513
+ createKey?: ((apiKey: {
1514
+ description: string;
1515
+ expiresOn?: string;
1516
+ }, context: ZudokuContext) => Promise<void>) | undefined;
1517
+ };
1518
+ redirects: {
1519
+ from: string;
1520
+ to: string;
1521
+ }[];
1522
+ search?: {
1523
+ type: "inkeep";
1524
+ apiKey: string;
1525
+ integrationId: string;
1526
+ organizationId: string;
1527
+ primaryBrandColor: string;
1528
+ organizationDisplayName: string;
1529
+ } | undefined;
1530
+ basePath?: string | undefined;
1531
+ sitemap?: {
1532
+ siteUrl: string;
1533
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
1534
+ priority?: number | undefined;
1535
+ outDir?: string | undefined;
1536
+ autoLastmod?: boolean | undefined;
1537
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
1538
+ } | undefined;
1539
+ }>;
1540
+ export declare const refine: (config: z.output<typeof CommonConfigSchemaPartial>, ctx: RefinementCtx) => void;
1541
+ declare const CommonConfigSchemaPartial: z.ZodObject<{
1542
+ basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1543
+ page: z.ZodOptional<z.ZodObject<{
1544
+ pageTitle: z.ZodOptional<z.ZodString>;
1545
+ logoUrl: z.ZodOptional<z.ZodString>;
1546
+ logo: z.ZodOptional<z.ZodObject<{
1547
+ src: z.ZodObject<{
1548
+ light: z.ZodString;
1549
+ dark: z.ZodString;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ dark: string;
1552
+ light: string;
1553
+ }, {
1554
+ dark: string;
1555
+ light: string;
1556
+ }>;
1557
+ alt: z.ZodOptional<z.ZodString>;
1558
+ width: z.ZodOptional<z.ZodString>;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ src: {
1561
+ dark: string;
1562
+ light: string;
1563
+ };
1564
+ width?: string | undefined;
1565
+ alt?: string | undefined;
1566
+ }, {
1567
+ src: {
1568
+ dark: string;
1569
+ light: string;
1570
+ };
1571
+ width?: string | undefined;
1572
+ alt?: string | undefined;
1573
+ }>>;
1574
+ banner: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1575
+ message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
1576
+ color: BannerColorType;
1577
+ dismissible: z.ZodOptional<z.ZodBoolean>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ message: NonNullable<ReactNode>;
1580
+ color?: BannerColorType;
1581
+ dismissible?: boolean | undefined;
1582
+ }, {
1583
+ message: NonNullable<ReactNode>;
1584
+ color?: BannerColorType;
1585
+ dismissible?: boolean | undefined;
1586
+ }>>>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ banner?: {
1589
+ message: NonNullable<ReactNode>;
1590
+ color?: BannerColorType;
1591
+ dismissible?: boolean | undefined;
1592
+ } | undefined;
1593
+ pageTitle?: string | undefined;
1594
+ logoUrl?: string | undefined;
1595
+ logo?: {
1596
+ src: {
1597
+ dark: string;
1598
+ light: string;
1599
+ };
1600
+ width?: string | undefined;
1601
+ alt?: string | undefined;
1602
+ } | undefined;
1603
+ }, {
1604
+ banner?: {
1605
+ message: NonNullable<ReactNode>;
1606
+ color?: BannerColorType;
1607
+ dismissible?: boolean | undefined;
1608
+ } | undefined;
1609
+ pageTitle?: string | undefined;
1610
+ logoUrl?: string | undefined;
1611
+ logo?: {
1612
+ src: {
1613
+ dark: string;
1614
+ light: string;
1615
+ };
1616
+ width?: string | undefined;
1617
+ alt?: string | undefined;
1618
+ } | undefined;
1619
+ }>>;
1620
+ topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
1621
+ label: z.ZodString;
1622
+ id: z.ZodString;
1623
+ default: z.ZodOptional<z.ZodString>;
1624
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ id: string;
1627
+ label: string;
1628
+ default?: string | undefined;
1629
+ display?: "auth" | "anon" | "always" | undefined;
1630
+ }, {
1631
+ id: string;
1632
+ label: string;
1633
+ default?: string | undefined;
1634
+ display?: "auth" | "anon" | "always" | undefined;
1635
+ }>, "many">>;
1636
+ sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
1637
+ theme: z.ZodOptional<z.ZodObject<{
1638
+ light: z.ZodOptional<z.ZodObject<{
1639
+ background: z.ZodOptional<z.ZodString>;
1640
+ foreground: z.ZodOptional<z.ZodString>;
1641
+ card: z.ZodOptional<z.ZodString>;
1642
+ cardForeground: z.ZodOptional<z.ZodString>;
1643
+ popover: z.ZodOptional<z.ZodString>;
1644
+ popoverForeground: z.ZodOptional<z.ZodString>;
1645
+ primary: z.ZodOptional<z.ZodString>;
1646
+ primaryForeground: z.ZodOptional<z.ZodString>;
1647
+ secondary: z.ZodOptional<z.ZodString>;
1648
+ secondaryForeground: z.ZodOptional<z.ZodString>;
1649
+ muted: z.ZodOptional<z.ZodString>;
1650
+ mutedForeground: z.ZodOptional<z.ZodString>;
1651
+ accent: z.ZodOptional<z.ZodString>;
1652
+ accentForeground: z.ZodOptional<z.ZodString>;
1653
+ destructive: z.ZodOptional<z.ZodString>;
1654
+ destructiveForeground: z.ZodOptional<z.ZodString>;
1655
+ border: z.ZodOptional<z.ZodString>;
1656
+ input: z.ZodOptional<z.ZodString>;
1657
+ ring: z.ZodOptional<z.ZodString>;
1658
+ radius: z.ZodOptional<z.ZodString>;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ input?: string | undefined;
1661
+ radius?: string | undefined;
1662
+ border?: string | undefined;
1663
+ background?: string | undefined;
1664
+ foreground?: string | undefined;
1665
+ card?: string | undefined;
1666
+ cardForeground?: string | undefined;
1667
+ popover?: string | undefined;
1668
+ popoverForeground?: string | undefined;
1669
+ primary?: string | undefined;
1670
+ primaryForeground?: string | undefined;
1671
+ secondary?: string | undefined;
1672
+ secondaryForeground?: string | undefined;
1673
+ muted?: string | undefined;
1674
+ mutedForeground?: string | undefined;
1675
+ accent?: string | undefined;
1676
+ accentForeground?: string | undefined;
1677
+ destructive?: string | undefined;
1678
+ destructiveForeground?: string | undefined;
1679
+ ring?: string | undefined;
1680
+ }, {
1681
+ input?: string | undefined;
1682
+ radius?: string | undefined;
1683
+ border?: string | undefined;
1684
+ background?: string | undefined;
1685
+ foreground?: string | undefined;
1686
+ card?: string | undefined;
1687
+ cardForeground?: string | undefined;
1688
+ popover?: string | undefined;
1689
+ popoverForeground?: string | undefined;
1690
+ primary?: string | undefined;
1691
+ primaryForeground?: string | undefined;
1692
+ secondary?: string | undefined;
1693
+ secondaryForeground?: string | undefined;
1694
+ muted?: string | undefined;
1695
+ mutedForeground?: string | undefined;
1696
+ accent?: string | undefined;
1697
+ accentForeground?: string | undefined;
1698
+ destructive?: string | undefined;
1699
+ destructiveForeground?: string | undefined;
1700
+ ring?: string | undefined;
1701
+ }>>;
1702
+ dark: z.ZodOptional<z.ZodObject<{
1703
+ background: z.ZodOptional<z.ZodString>;
1704
+ foreground: z.ZodOptional<z.ZodString>;
1705
+ card: z.ZodOptional<z.ZodString>;
1706
+ cardForeground: z.ZodOptional<z.ZodString>;
1707
+ popover: z.ZodOptional<z.ZodString>;
1708
+ popoverForeground: z.ZodOptional<z.ZodString>;
1709
+ primary: z.ZodOptional<z.ZodString>;
1710
+ primaryForeground: z.ZodOptional<z.ZodString>;
1711
+ secondary: z.ZodOptional<z.ZodString>;
1712
+ secondaryForeground: z.ZodOptional<z.ZodString>;
1713
+ muted: z.ZodOptional<z.ZodString>;
1714
+ mutedForeground: z.ZodOptional<z.ZodString>;
1715
+ accent: z.ZodOptional<z.ZodString>;
1716
+ accentForeground: z.ZodOptional<z.ZodString>;
1717
+ destructive: z.ZodOptional<z.ZodString>;
1718
+ destructiveForeground: z.ZodOptional<z.ZodString>;
1719
+ border: z.ZodOptional<z.ZodString>;
1720
+ input: z.ZodOptional<z.ZodString>;
1721
+ ring: z.ZodOptional<z.ZodString>;
1722
+ radius: z.ZodOptional<z.ZodString>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ input?: string | undefined;
1725
+ radius?: string | undefined;
1726
+ border?: string | undefined;
1727
+ background?: string | undefined;
1728
+ foreground?: string | undefined;
1729
+ card?: string | undefined;
1730
+ cardForeground?: string | undefined;
1731
+ popover?: string | undefined;
1732
+ popoverForeground?: string | undefined;
1733
+ primary?: string | undefined;
1734
+ primaryForeground?: string | undefined;
1735
+ secondary?: string | undefined;
1736
+ secondaryForeground?: string | undefined;
1737
+ muted?: string | undefined;
1738
+ mutedForeground?: string | undefined;
1739
+ accent?: string | undefined;
1740
+ accentForeground?: string | undefined;
1741
+ destructive?: string | undefined;
1742
+ destructiveForeground?: string | undefined;
1743
+ ring?: string | undefined;
1744
+ }, {
1745
+ input?: string | undefined;
1746
+ radius?: string | undefined;
1747
+ border?: string | undefined;
1748
+ background?: string | undefined;
1749
+ foreground?: string | undefined;
1750
+ card?: string | undefined;
1751
+ cardForeground?: string | undefined;
1752
+ popover?: string | undefined;
1753
+ popoverForeground?: string | undefined;
1754
+ primary?: string | undefined;
1755
+ primaryForeground?: string | undefined;
1756
+ secondary?: string | undefined;
1757
+ secondaryForeground?: string | undefined;
1758
+ muted?: string | undefined;
1759
+ mutedForeground?: string | undefined;
1760
+ accent?: string | undefined;
1761
+ accentForeground?: string | undefined;
1762
+ destructive?: string | undefined;
1763
+ destructiveForeground?: string | undefined;
1764
+ ring?: string | undefined;
1765
+ }>>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ dark?: {
1768
+ input?: string | undefined;
1769
+ radius?: string | undefined;
1770
+ border?: string | undefined;
1771
+ background?: string | undefined;
1772
+ foreground?: string | undefined;
1773
+ card?: string | undefined;
1774
+ cardForeground?: string | undefined;
1775
+ popover?: string | undefined;
1776
+ popoverForeground?: string | undefined;
1777
+ primary?: string | undefined;
1778
+ primaryForeground?: string | undefined;
1779
+ secondary?: string | undefined;
1780
+ secondaryForeground?: string | undefined;
1781
+ muted?: string | undefined;
1782
+ mutedForeground?: string | undefined;
1783
+ accent?: string | undefined;
1784
+ accentForeground?: string | undefined;
1785
+ destructive?: string | undefined;
1786
+ destructiveForeground?: string | undefined;
1787
+ ring?: string | undefined;
1788
+ } | undefined;
1789
+ light?: {
1790
+ input?: string | undefined;
1791
+ radius?: string | undefined;
1792
+ border?: string | undefined;
1793
+ background?: string | undefined;
1794
+ foreground?: string | undefined;
1795
+ card?: string | undefined;
1796
+ cardForeground?: string | undefined;
1797
+ popover?: string | undefined;
1798
+ popoverForeground?: string | undefined;
1799
+ primary?: string | undefined;
1800
+ primaryForeground?: string | undefined;
1801
+ secondary?: string | undefined;
1802
+ secondaryForeground?: string | undefined;
1803
+ muted?: string | undefined;
1804
+ mutedForeground?: string | undefined;
1805
+ accent?: string | undefined;
1806
+ accentForeground?: string | undefined;
1807
+ destructive?: string | undefined;
1808
+ destructiveForeground?: string | undefined;
1809
+ ring?: string | undefined;
1810
+ } | undefined;
1811
+ }, {
1812
+ dark?: {
1813
+ input?: string | undefined;
1814
+ radius?: string | undefined;
1815
+ border?: string | undefined;
1816
+ background?: string | undefined;
1817
+ foreground?: string | undefined;
1818
+ card?: string | undefined;
1819
+ cardForeground?: string | undefined;
1820
+ popover?: string | undefined;
1821
+ popoverForeground?: string | undefined;
1822
+ primary?: string | undefined;
1823
+ primaryForeground?: string | undefined;
1824
+ secondary?: string | undefined;
1825
+ secondaryForeground?: string | undefined;
1826
+ muted?: string | undefined;
1827
+ mutedForeground?: string | undefined;
1828
+ accent?: string | undefined;
1829
+ accentForeground?: string | undefined;
1830
+ destructive?: string | undefined;
1831
+ destructiveForeground?: string | undefined;
1832
+ ring?: string | undefined;
1833
+ } | undefined;
1834
+ light?: {
1835
+ input?: string | undefined;
1836
+ radius?: string | undefined;
1837
+ border?: string | undefined;
1838
+ background?: string | undefined;
1839
+ foreground?: string | undefined;
1840
+ card?: string | undefined;
1841
+ cardForeground?: string | undefined;
1842
+ popover?: string | undefined;
1843
+ popoverForeground?: string | undefined;
1844
+ primary?: string | undefined;
1845
+ primaryForeground?: string | undefined;
1846
+ secondary?: string | undefined;
1847
+ secondaryForeground?: string | undefined;
1848
+ muted?: string | undefined;
1849
+ mutedForeground?: string | undefined;
1850
+ accent?: string | undefined;
1851
+ accentForeground?: string | undefined;
1852
+ destructive?: string | undefined;
1853
+ destructiveForeground?: string | undefined;
1854
+ ring?: string | undefined;
1855
+ } | undefined;
1856
+ }>>;
1857
+ metadata: z.ZodOptional<z.ZodObject<{
1858
+ title: z.ZodOptional<z.ZodString>;
1859
+ description: z.ZodOptional<z.ZodString>;
1860
+ logo: z.ZodOptional<z.ZodString>;
1861
+ favicon: z.ZodOptional<z.ZodString>;
1862
+ generator: z.ZodOptional<z.ZodString>;
1863
+ applicationName: z.ZodOptional<z.ZodString>;
1864
+ referrer: z.ZodOptional<z.ZodString>;
1865
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1866
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1867
+ creator: z.ZodOptional<z.ZodString>;
1868
+ publisher: z.ZodOptional<z.ZodString>;
1869
+ }, "strip", z.ZodTypeAny, {
1870
+ description?: string | undefined;
1871
+ title?: string | undefined;
1872
+ logo?: string | undefined;
1873
+ favicon?: string | undefined;
1874
+ generator?: string | undefined;
1875
+ applicationName?: string | undefined;
1876
+ referrer?: string | undefined;
1877
+ keywords?: string[] | undefined;
1878
+ authors?: string[] | undefined;
1879
+ creator?: string | undefined;
1880
+ publisher?: string | undefined;
1881
+ }, {
1882
+ description?: string | undefined;
1883
+ title?: string | undefined;
1884
+ logo?: string | undefined;
1885
+ favicon?: string | undefined;
1886
+ generator?: string | undefined;
1887
+ applicationName?: string | undefined;
1888
+ referrer?: string | undefined;
1889
+ keywords?: string[] | undefined;
1890
+ authors?: string[] | undefined;
1891
+ creator?: string | undefined;
1892
+ publisher?: string | undefined;
1893
+ }>>;
1894
+ authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1895
+ type: z.ZodLiteral<"clerk">;
1896
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
1897
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
1898
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
1899
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ type: "clerk";
1902
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1903
+ redirectToAfterSignUp?: string | undefined;
1904
+ redirectToAfterSignIn?: string | undefined;
1905
+ redirectToAfterSignOut?: string | undefined;
1906
+ }, {
1907
+ type: "clerk";
1908
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
1909
+ redirectToAfterSignUp?: string | undefined;
1910
+ redirectToAfterSignIn?: string | undefined;
1911
+ redirectToAfterSignOut?: string | undefined;
1912
+ }>, z.ZodObject<{
1913
+ type: z.ZodLiteral<"openid">;
1914
+ clientId: z.ZodString;
1915
+ issuer: z.ZodString;
1916
+ audience: z.ZodOptional<z.ZodString>;
1917
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1918
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
1919
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
1920
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
1921
+ }, "strip", z.ZodTypeAny, {
1922
+ type: "openid";
1923
+ clientId: string;
1924
+ issuer: string;
1925
+ redirectToAfterSignUp?: string | undefined;
1926
+ redirectToAfterSignIn?: string | undefined;
1927
+ redirectToAfterSignOut?: string | undefined;
1928
+ audience?: string | undefined;
1929
+ scopes?: string[] | undefined;
1930
+ }, {
1931
+ type: "openid";
1932
+ clientId: string;
1933
+ issuer: string;
1934
+ redirectToAfterSignUp?: string | undefined;
1935
+ redirectToAfterSignIn?: string | undefined;
1936
+ redirectToAfterSignOut?: string | undefined;
1937
+ audience?: string | undefined;
1938
+ scopes?: string[] | undefined;
1939
+ }>, z.ZodObject<{
1940
+ type: z.ZodLiteral<"auth0">;
1941
+ clientId: z.ZodString;
1942
+ domain: z.ZodString;
1943
+ audience: z.ZodOptional<z.ZodString>;
1944
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
1945
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
1946
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
1947
+ }, "strip", z.ZodTypeAny, {
1948
+ type: "auth0";
1949
+ clientId: string;
1950
+ domain: string;
1951
+ redirectToAfterSignUp?: string | undefined;
1952
+ redirectToAfterSignIn?: string | undefined;
1953
+ redirectToAfterSignOut?: string | undefined;
1954
+ audience?: string | undefined;
1955
+ }, {
1956
+ type: "auth0";
1957
+ clientId: string;
1958
+ domain: string;
1959
+ redirectToAfterSignUp?: string | undefined;
1960
+ redirectToAfterSignIn?: string | undefined;
1961
+ redirectToAfterSignOut?: string | undefined;
1962
+ audience?: string | undefined;
1963
+ }>]>>;
1964
+ search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1965
+ type: z.ZodLiteral<"inkeep">;
1966
+ apiKey: z.ZodString;
1967
+ integrationId: z.ZodString;
1968
+ organizationId: z.ZodString;
1969
+ primaryBrandColor: z.ZodString;
1970
+ organizationDisplayName: z.ZodString;
1971
+ }, "strip", z.ZodTypeAny, {
1972
+ type: "inkeep";
1973
+ apiKey: string;
1974
+ integrationId: string;
1975
+ organizationId: string;
1976
+ primaryBrandColor: string;
1977
+ organizationDisplayName: string;
1978
+ }, {
1979
+ type: "inkeep";
1980
+ apiKey: string;
1981
+ integrationId: string;
1982
+ organizationId: string;
1983
+ primaryBrandColor: string;
1984
+ organizationDisplayName: string;
1985
+ }>>>;
1986
+ docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1987
+ files: z.ZodString;
1988
+ defaultOptions: z.ZodOptional<z.ZodObject<{
1989
+ toc: z.ZodOptional<z.ZodBoolean>;
1990
+ disablePager: z.ZodOptional<z.ZodBoolean>;
1991
+ }, "strip", z.ZodTypeAny, {
1992
+ toc?: boolean | undefined;
1993
+ disablePager?: boolean | undefined;
1994
+ }, {
1995
+ toc?: boolean | undefined;
1996
+ disablePager?: boolean | undefined;
1997
+ }>>;
1998
+ }, "strip", z.ZodTypeAny, {
1999
+ files: string;
2000
+ defaultOptions?: {
2001
+ toc?: boolean | undefined;
2002
+ disablePager?: boolean | undefined;
2003
+ } | undefined;
2004
+ }, {
2005
+ files: string;
2006
+ defaultOptions?: {
2007
+ toc?: boolean | undefined;
2008
+ disablePager?: boolean | undefined;
2009
+ } | undefined;
2010
+ }>, z.ZodArray<z.ZodObject<{
2011
+ files: z.ZodString;
2012
+ defaultOptions: z.ZodOptional<z.ZodObject<{
2013
+ toc: z.ZodOptional<z.ZodBoolean>;
2014
+ disablePager: z.ZodOptional<z.ZodBoolean>;
2015
+ }, "strip", z.ZodTypeAny, {
2016
+ toc?: boolean | undefined;
2017
+ disablePager?: boolean | undefined;
2018
+ }, {
2019
+ toc?: boolean | undefined;
2020
+ disablePager?: boolean | undefined;
2021
+ }>>;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ files: string;
2024
+ defaultOptions?: {
2025
+ toc?: boolean | undefined;
2026
+ disablePager?: boolean | undefined;
2027
+ } | undefined;
2028
+ }, {
2029
+ files: string;
2030
+ defaultOptions?: {
2031
+ toc?: boolean | undefined;
2032
+ disablePager?: boolean | undefined;
2033
+ } | undefined;
2034
+ }>, "many">]>>;
2035
+ apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2036
+ type: z.ZodLiteral<"url">;
2037
+ input: z.ZodString;
2038
+ }, {
2039
+ id: z.ZodOptional<z.ZodString>;
2040
+ server: z.ZodOptional<z.ZodString>;
2041
+ navigationId: z.ZodOptional<z.ZodString>;
2042
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2043
+ label: z.ZodString;
2044
+ tags: z.ZodArray<z.ZodString, "many">;
2045
+ }, "strip", z.ZodTypeAny, {
2046
+ tags: string[];
2047
+ label: string;
2048
+ }, {
2049
+ tags: string[];
2050
+ label: string;
2051
+ }>, "many">>;
2052
+ }>, "strip", z.ZodTypeAny, {
2053
+ type: "url";
2054
+ input: string;
2055
+ server?: string | undefined;
2056
+ id?: string | undefined;
2057
+ navigationId?: string | undefined;
2058
+ categories?: {
2059
+ tags: string[];
2060
+ label: string;
2061
+ }[] | undefined;
2062
+ }, {
2063
+ type: "url";
2064
+ input: string;
2065
+ server?: string | undefined;
2066
+ id?: string | undefined;
2067
+ navigationId?: string | undefined;
2068
+ categories?: {
2069
+ tags: string[];
2070
+ label: string;
2071
+ }[] | undefined;
2072
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2073
+ type: z.ZodLiteral<"file">;
2074
+ input: z.ZodString;
2075
+ }, {
2076
+ id: z.ZodOptional<z.ZodString>;
2077
+ server: z.ZodOptional<z.ZodString>;
2078
+ navigationId: z.ZodOptional<z.ZodString>;
2079
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2080
+ label: z.ZodString;
2081
+ tags: z.ZodArray<z.ZodString, "many">;
2082
+ }, "strip", z.ZodTypeAny, {
2083
+ tags: string[];
2084
+ label: string;
2085
+ }, {
2086
+ tags: string[];
2087
+ label: string;
2088
+ }>, "many">>;
2089
+ }>, {
2090
+ 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">>;
2091
+ }>, "strip", z.ZodTypeAny, {
2092
+ type: "file";
2093
+ input: string;
2094
+ server?: string | undefined;
2095
+ id?: string | undefined;
2096
+ navigationId?: string | undefined;
2097
+ categories?: {
2098
+ tags: string[];
2099
+ label: string;
2100
+ }[] | undefined;
2101
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2102
+ }, {
2103
+ type: "file";
2104
+ input: string;
2105
+ server?: string | undefined;
2106
+ id?: string | undefined;
2107
+ navigationId?: string | undefined;
2108
+ categories?: {
2109
+ tags: string[];
2110
+ label: string;
2111
+ }[] | undefined;
2112
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2113
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2114
+ type: z.ZodLiteral<"raw">;
2115
+ input: z.ZodString;
2116
+ }, {
2117
+ id: z.ZodOptional<z.ZodString>;
2118
+ server: z.ZodOptional<z.ZodString>;
2119
+ navigationId: z.ZodOptional<z.ZodString>;
2120
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2121
+ label: z.ZodString;
2122
+ tags: z.ZodArray<z.ZodString, "many">;
2123
+ }, "strip", z.ZodTypeAny, {
2124
+ tags: string[];
2125
+ label: string;
2126
+ }, {
2127
+ tags: string[];
2128
+ label: string;
2129
+ }>, "many">>;
2130
+ }>, "strip", z.ZodTypeAny, {
2131
+ type: "raw";
2132
+ input: string;
2133
+ server?: string | undefined;
2134
+ id?: string | undefined;
2135
+ navigationId?: string | undefined;
2136
+ categories?: {
2137
+ tags: string[];
2138
+ label: string;
2139
+ }[] | undefined;
2140
+ }, {
2141
+ type: "raw";
2142
+ input: string;
2143
+ server?: string | undefined;
2144
+ id?: string | undefined;
2145
+ navigationId?: string | undefined;
2146
+ categories?: {
2147
+ tags: string[];
2148
+ label: string;
2149
+ }[] | undefined;
2150
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2151
+ type: z.ZodLiteral<"url">;
2152
+ input: z.ZodString;
2153
+ }, {
2154
+ id: z.ZodOptional<z.ZodString>;
2155
+ server: z.ZodOptional<z.ZodString>;
2156
+ navigationId: z.ZodOptional<z.ZodString>;
2157
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2158
+ label: z.ZodString;
2159
+ tags: z.ZodArray<z.ZodString, "many">;
2160
+ }, "strip", z.ZodTypeAny, {
2161
+ tags: string[];
2162
+ label: string;
2163
+ }, {
2164
+ tags: string[];
2165
+ label: string;
2166
+ }>, "many">>;
2167
+ }>, "strip", z.ZodTypeAny, {
2168
+ type: "url";
2169
+ input: string;
2170
+ server?: string | undefined;
2171
+ id?: string | undefined;
2172
+ navigationId?: string | undefined;
2173
+ categories?: {
2174
+ tags: string[];
2175
+ label: string;
2176
+ }[] | undefined;
2177
+ }, {
2178
+ type: "url";
2179
+ input: string;
2180
+ server?: string | undefined;
2181
+ id?: string | undefined;
2182
+ navigationId?: string | undefined;
2183
+ categories?: {
2184
+ tags: string[];
2185
+ label: string;
2186
+ }[] | undefined;
2187
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2188
+ type: z.ZodLiteral<"file">;
2189
+ input: z.ZodString;
2190
+ }, {
2191
+ id: z.ZodOptional<z.ZodString>;
2192
+ server: z.ZodOptional<z.ZodString>;
2193
+ navigationId: z.ZodOptional<z.ZodString>;
2194
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2195
+ label: z.ZodString;
2196
+ tags: z.ZodArray<z.ZodString, "many">;
2197
+ }, "strip", z.ZodTypeAny, {
2198
+ tags: string[];
2199
+ label: string;
2200
+ }, {
2201
+ tags: string[];
2202
+ label: string;
2203
+ }>, "many">>;
2204
+ }>, {
2205
+ 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">>;
2206
+ }>, "strip", z.ZodTypeAny, {
2207
+ type: "file";
2208
+ input: string;
2209
+ server?: string | undefined;
2210
+ id?: string | undefined;
2211
+ navigationId?: string | undefined;
2212
+ categories?: {
2213
+ tags: string[];
2214
+ label: string;
2215
+ }[] | undefined;
2216
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2217
+ }, {
2218
+ type: "file";
2219
+ input: string;
2220
+ server?: string | undefined;
2221
+ id?: string | undefined;
2222
+ navigationId?: string | undefined;
2223
+ categories?: {
2224
+ tags: string[];
2225
+ label: string;
2226
+ }[] | undefined;
2227
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2228
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2229
+ type: z.ZodLiteral<"raw">;
2230
+ input: z.ZodString;
2231
+ }, {
2232
+ id: z.ZodOptional<z.ZodString>;
2233
+ server: z.ZodOptional<z.ZodString>;
2234
+ navigationId: z.ZodOptional<z.ZodString>;
2235
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2236
+ label: z.ZodString;
2237
+ tags: z.ZodArray<z.ZodString, "many">;
2238
+ }, "strip", z.ZodTypeAny, {
2239
+ tags: string[];
2240
+ label: string;
2241
+ }, {
2242
+ tags: string[];
2243
+ label: string;
2244
+ }>, "many">>;
2245
+ }>, "strip", z.ZodTypeAny, {
2246
+ type: "raw";
2247
+ input: string;
2248
+ server?: string | undefined;
2249
+ id?: string | undefined;
2250
+ navigationId?: string | undefined;
2251
+ categories?: {
2252
+ tags: string[];
2253
+ label: string;
2254
+ }[] | undefined;
2255
+ }, {
2256
+ type: "raw";
2257
+ input: string;
2258
+ server?: string | undefined;
2259
+ id?: string | undefined;
2260
+ navigationId?: string | undefined;
2261
+ categories?: {
2262
+ tags: string[];
2263
+ label: string;
2264
+ }[] | undefined;
2265
+ }>]>, "many">]>>;
2266
+ catalog: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2267
+ navigationId: z.ZodString;
2268
+ label: z.ZodString;
2269
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ label: string;
2272
+ navigationId: string;
2273
+ items?: string[] | undefined;
2274
+ }, {
2275
+ label: string;
2276
+ navigationId: string;
2277
+ items?: string[] | undefined;
2278
+ }>, z.ZodArray<z.ZodObject<{
2279
+ navigationId: z.ZodString;
2280
+ label: z.ZodString;
2281
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2282
+ }, "strip", z.ZodTypeAny, {
2283
+ label: string;
2284
+ navigationId: string;
2285
+ items?: string[] | undefined;
2286
+ }, {
2287
+ label: string;
2288
+ navigationId: string;
2289
+ items?: string[] | undefined;
2290
+ }>, "many">]>>;
2291
+ apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2292
+ enabled: z.ZodBoolean;
2293
+ endpoint: z.ZodString;
2294
+ }, "strip", z.ZodTypeAny, {
2295
+ enabled: boolean;
2296
+ endpoint: string;
2297
+ }, {
2298
+ enabled: boolean;
2299
+ endpoint: string;
2300
+ }>, z.ZodObject<{
2301
+ enabled: z.ZodBoolean;
2302
+ getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
2303
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
2304
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
2305
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
2306
+ id: string;
2307
+ description: string;
2308
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
2309
+ id: string;
2310
+ description: string;
2311
+ }, context: ZudokuContext) => Promise<void>>>;
2312
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
2313
+ description: string;
2314
+ expiresOn?: string;
2315
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
2316
+ description: string;
2317
+ expiresOn?: string;
2318
+ }, context: ZudokuContext) => Promise<void>>>;
2319
+ }, "strip", z.ZodTypeAny, {
2320
+ enabled: boolean;
2321
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2322
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2323
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2324
+ updateKeyDescription?: ((apiKey: {
2325
+ id: string;
2326
+ description: string;
2327
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2328
+ createKey?: ((apiKey: {
2329
+ description: string;
2330
+ expiresOn?: string;
2331
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2332
+ }, {
2333
+ enabled: boolean;
2334
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2335
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2336
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2337
+ updateKeyDescription?: ((apiKey: {
2338
+ id: string;
2339
+ description: string;
2340
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2341
+ createKey?: ((apiKey: {
2342
+ description: string;
2343
+ expiresOn?: string;
2344
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2345
+ }>]>>;
2346
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
2347
+ from: z.ZodString;
2348
+ to: z.ZodString;
2349
+ }, "strip", z.ZodTypeAny, {
2350
+ from: string;
2351
+ to: string;
2352
+ }, {
2353
+ from: string;
2354
+ to: string;
2355
+ }>, "many">>;
2356
+ sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2357
+ /**
2358
+ * Base url of your website
2359
+ */
2360
+ siteUrl: z.ZodString;
2361
+ /**
2362
+ * Change frequency.
2363
+ * @default 'daily'
2364
+ */
2365
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
2366
+ /**
2367
+ * Priority
2368
+ * @default 0.7
2369
+ */
2370
+ priority: z.ZodOptional<z.ZodNumber>;
2371
+ outDir: z.ZodOptional<z.ZodString>;
2372
+ /**
2373
+ * Add <lastmod/> property.
2374
+ * @default true
2375
+ */
2376
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
2377
+ /**
2378
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
2379
+ * @example ['/page-0', '/page/example']
2380
+ */
2381
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
2382
+ }, "strip", z.ZodTypeAny, {
2383
+ siteUrl: string;
2384
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2385
+ priority?: number | undefined;
2386
+ outDir?: string | undefined;
2387
+ autoLastmod?: boolean | undefined;
2388
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2389
+ }, {
2390
+ siteUrl: string;
2391
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2392
+ priority?: number | undefined;
2393
+ outDir?: string | undefined;
2394
+ autoLastmod?: boolean | undefined;
2395
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2396
+ }>>>;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ search?: {
2399
+ type: "inkeep";
2400
+ apiKey: string;
2401
+ integrationId: string;
2402
+ organizationId: string;
2403
+ primaryBrandColor: string;
2404
+ organizationDisplayName: string;
2405
+ } | undefined;
2406
+ metadata?: {
2407
+ description?: string | undefined;
2408
+ title?: string | undefined;
2409
+ logo?: string | undefined;
2410
+ favicon?: string | undefined;
2411
+ generator?: string | undefined;
2412
+ applicationName?: string | undefined;
2413
+ referrer?: string | undefined;
2414
+ keywords?: string[] | undefined;
2415
+ authors?: string[] | undefined;
2416
+ creator?: string | undefined;
2417
+ publisher?: string | undefined;
2418
+ } | undefined;
2419
+ theme?: {
2420
+ dark?: {
2421
+ input?: string | undefined;
2422
+ radius?: string | undefined;
2423
+ border?: string | undefined;
2424
+ background?: string | undefined;
2425
+ foreground?: string | undefined;
2426
+ card?: string | undefined;
2427
+ cardForeground?: string | undefined;
2428
+ popover?: string | undefined;
2429
+ popoverForeground?: string | undefined;
2430
+ primary?: string | undefined;
2431
+ primaryForeground?: string | undefined;
2432
+ secondary?: string | undefined;
2433
+ secondaryForeground?: string | undefined;
2434
+ muted?: string | undefined;
2435
+ mutedForeground?: string | undefined;
2436
+ accent?: string | undefined;
2437
+ accentForeground?: string | undefined;
2438
+ destructive?: string | undefined;
2439
+ destructiveForeground?: string | undefined;
2440
+ ring?: string | undefined;
2441
+ } | undefined;
2442
+ light?: {
2443
+ input?: string | undefined;
2444
+ radius?: string | undefined;
2445
+ border?: string | undefined;
2446
+ background?: string | undefined;
2447
+ foreground?: string | undefined;
2448
+ card?: string | undefined;
2449
+ cardForeground?: string | undefined;
2450
+ popover?: string | undefined;
2451
+ popoverForeground?: string | undefined;
2452
+ primary?: string | undefined;
2453
+ primaryForeground?: string | undefined;
2454
+ secondary?: string | undefined;
2455
+ secondaryForeground?: string | undefined;
2456
+ muted?: string | undefined;
2457
+ mutedForeground?: string | undefined;
2458
+ accent?: string | undefined;
2459
+ accentForeground?: string | undefined;
2460
+ destructive?: string | undefined;
2461
+ destructiveForeground?: string | undefined;
2462
+ ring?: string | undefined;
2463
+ } | undefined;
2464
+ } | undefined;
2465
+ page?: {
2466
+ banner?: {
2467
+ message: NonNullable<ReactNode>;
2468
+ color?: BannerColorType;
2469
+ dismissible?: boolean | undefined;
2470
+ } | undefined;
2471
+ pageTitle?: string | undefined;
2472
+ logoUrl?: string | undefined;
2473
+ logo?: {
2474
+ src: {
2475
+ dark: string;
2476
+ light: string;
2477
+ };
2478
+ width?: string | undefined;
2479
+ alt?: string | undefined;
2480
+ } | undefined;
2481
+ } | undefined;
2482
+ basePath?: string | undefined;
2483
+ topNavigation?: {
2484
+ id: string;
2485
+ label: string;
2486
+ default?: string | undefined;
2487
+ display?: "auth" | "anon" | "always" | undefined;
2488
+ }[] | undefined;
2489
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
2490
+ authentication?: {
2491
+ type: "clerk";
2492
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
2493
+ redirectToAfterSignUp?: string | undefined;
2494
+ redirectToAfterSignIn?: string | undefined;
2495
+ redirectToAfterSignOut?: string | undefined;
2496
+ } | {
2497
+ type: "openid";
2498
+ clientId: string;
2499
+ issuer: string;
2500
+ redirectToAfterSignUp?: string | undefined;
2501
+ redirectToAfterSignIn?: string | undefined;
2502
+ redirectToAfterSignOut?: string | undefined;
2503
+ audience?: string | undefined;
2504
+ scopes?: string[] | undefined;
2505
+ } | {
2506
+ type: "auth0";
2507
+ clientId: string;
2508
+ domain: string;
2509
+ redirectToAfterSignUp?: string | undefined;
2510
+ redirectToAfterSignIn?: string | undefined;
2511
+ redirectToAfterSignOut?: string | undefined;
2512
+ audience?: string | undefined;
2513
+ } | undefined;
2514
+ docs?: {
2515
+ files: string;
2516
+ defaultOptions?: {
2517
+ toc?: boolean | undefined;
2518
+ disablePager?: boolean | undefined;
2519
+ } | undefined;
2520
+ } | {
2521
+ files: string;
2522
+ defaultOptions?: {
2523
+ toc?: boolean | undefined;
2524
+ disablePager?: boolean | undefined;
2525
+ } | undefined;
2526
+ }[] | undefined;
2527
+ apis?: {
2528
+ type: "url";
2529
+ input: string;
2530
+ server?: string | undefined;
2531
+ id?: string | undefined;
2532
+ navigationId?: string | undefined;
2533
+ categories?: {
2534
+ tags: string[];
2535
+ label: string;
2536
+ }[] | undefined;
2537
+ } | {
2538
+ type: "file";
2539
+ input: string;
2540
+ server?: string | undefined;
2541
+ id?: string | undefined;
2542
+ navigationId?: string | undefined;
2543
+ categories?: {
2544
+ tags: string[];
2545
+ label: string;
2546
+ }[] | undefined;
2547
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2548
+ } | {
2549
+ type: "raw";
2550
+ input: string;
2551
+ server?: string | undefined;
2552
+ id?: string | undefined;
2553
+ navigationId?: string | undefined;
2554
+ categories?: {
2555
+ tags: string[];
2556
+ label: string;
2557
+ }[] | undefined;
2558
+ } | ({
2559
+ type: "url";
2560
+ input: string;
2561
+ server?: string | undefined;
2562
+ id?: string | undefined;
2563
+ navigationId?: string | undefined;
2564
+ categories?: {
2565
+ tags: string[];
2566
+ label: string;
2567
+ }[] | undefined;
2568
+ } | {
2569
+ type: "file";
2570
+ input: string;
2571
+ server?: string | undefined;
2572
+ id?: string | undefined;
2573
+ navigationId?: string | undefined;
2574
+ categories?: {
2575
+ tags: string[];
2576
+ label: string;
2577
+ }[] | undefined;
2578
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2579
+ } | {
2580
+ type: "raw";
2581
+ input: string;
2582
+ server?: string | undefined;
2583
+ id?: string | undefined;
2584
+ navigationId?: string | undefined;
2585
+ categories?: {
2586
+ tags: string[];
2587
+ label: string;
2588
+ }[] | undefined;
2589
+ })[] | undefined;
2590
+ catalog?: {
2591
+ label: string;
2592
+ navigationId: string;
2593
+ items?: string[] | undefined;
2594
+ } | {
2595
+ label: string;
2596
+ navigationId: string;
2597
+ items?: string[] | undefined;
2598
+ }[] | undefined;
2599
+ apiKeys?: {
2600
+ enabled: boolean;
2601
+ endpoint: string;
2602
+ } | {
2603
+ enabled: boolean;
2604
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2605
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2606
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2607
+ updateKeyDescription?: ((apiKey: {
2608
+ id: string;
2609
+ description: string;
2610
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2611
+ createKey?: ((apiKey: {
2612
+ description: string;
2613
+ expiresOn?: string;
2614
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2615
+ } | undefined;
2616
+ redirects?: {
2617
+ from: string;
2618
+ to: string;
2619
+ }[] | undefined;
2620
+ sitemap?: {
2621
+ siteUrl: string;
2622
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2623
+ priority?: number | undefined;
2624
+ outDir?: string | undefined;
2625
+ autoLastmod?: boolean | undefined;
2626
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2627
+ } | undefined;
2628
+ }, {
2629
+ search?: {
2630
+ type: "inkeep";
2631
+ apiKey: string;
2632
+ integrationId: string;
2633
+ organizationId: string;
2634
+ primaryBrandColor: string;
2635
+ organizationDisplayName: string;
2636
+ } | undefined;
2637
+ metadata?: {
2638
+ description?: string | undefined;
2639
+ title?: string | undefined;
2640
+ logo?: string | undefined;
2641
+ favicon?: string | undefined;
2642
+ generator?: string | undefined;
2643
+ applicationName?: string | undefined;
2644
+ referrer?: string | undefined;
2645
+ keywords?: string[] | undefined;
2646
+ authors?: string[] | undefined;
2647
+ creator?: string | undefined;
2648
+ publisher?: string | undefined;
2649
+ } | undefined;
2650
+ theme?: {
2651
+ dark?: {
2652
+ input?: string | undefined;
2653
+ radius?: string | undefined;
2654
+ border?: string | undefined;
2655
+ background?: string | undefined;
2656
+ foreground?: string | undefined;
2657
+ card?: string | undefined;
2658
+ cardForeground?: string | undefined;
2659
+ popover?: string | undefined;
2660
+ popoverForeground?: string | undefined;
2661
+ primary?: string | undefined;
2662
+ primaryForeground?: string | undefined;
2663
+ secondary?: string | undefined;
2664
+ secondaryForeground?: string | undefined;
2665
+ muted?: string | undefined;
2666
+ mutedForeground?: string | undefined;
2667
+ accent?: string | undefined;
2668
+ accentForeground?: string | undefined;
2669
+ destructive?: string | undefined;
2670
+ destructiveForeground?: string | undefined;
2671
+ ring?: string | undefined;
2672
+ } | undefined;
2673
+ light?: {
2674
+ input?: string | undefined;
2675
+ radius?: string | undefined;
2676
+ border?: string | undefined;
2677
+ background?: string | undefined;
2678
+ foreground?: string | undefined;
2679
+ card?: string | undefined;
2680
+ cardForeground?: string | undefined;
2681
+ popover?: string | undefined;
2682
+ popoverForeground?: string | undefined;
2683
+ primary?: string | undefined;
2684
+ primaryForeground?: string | undefined;
2685
+ secondary?: string | undefined;
2686
+ secondaryForeground?: string | undefined;
2687
+ muted?: string | undefined;
2688
+ mutedForeground?: string | undefined;
2689
+ accent?: string | undefined;
2690
+ accentForeground?: string | undefined;
2691
+ destructive?: string | undefined;
2692
+ destructiveForeground?: string | undefined;
2693
+ ring?: string | undefined;
2694
+ } | undefined;
2695
+ } | undefined;
2696
+ page?: {
2697
+ banner?: {
2698
+ message: NonNullable<ReactNode>;
2699
+ color?: BannerColorType;
2700
+ dismissible?: boolean | undefined;
2701
+ } | undefined;
2702
+ pageTitle?: string | undefined;
2703
+ logoUrl?: string | undefined;
2704
+ logo?: {
2705
+ src: {
2706
+ dark: string;
2707
+ light: string;
2708
+ };
2709
+ width?: string | undefined;
2710
+ alt?: string | undefined;
2711
+ } | undefined;
2712
+ } | undefined;
2713
+ basePath?: string | undefined;
2714
+ topNavigation?: {
2715
+ id: string;
2716
+ label: string;
2717
+ default?: string | undefined;
2718
+ display?: "auth" | "anon" | "always" | undefined;
2719
+ }[] | undefined;
2720
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
2721
+ authentication?: {
2722
+ type: "clerk";
2723
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
2724
+ redirectToAfterSignUp?: string | undefined;
2725
+ redirectToAfterSignIn?: string | undefined;
2726
+ redirectToAfterSignOut?: string | undefined;
2727
+ } | {
2728
+ type: "openid";
2729
+ clientId: string;
2730
+ issuer: string;
2731
+ redirectToAfterSignUp?: string | undefined;
2732
+ redirectToAfterSignIn?: string | undefined;
2733
+ redirectToAfterSignOut?: string | undefined;
2734
+ audience?: string | undefined;
2735
+ scopes?: string[] | undefined;
2736
+ } | {
2737
+ type: "auth0";
2738
+ clientId: string;
2739
+ domain: string;
2740
+ redirectToAfterSignUp?: string | undefined;
2741
+ redirectToAfterSignIn?: string | undefined;
2742
+ redirectToAfterSignOut?: string | undefined;
2743
+ audience?: string | undefined;
2744
+ } | undefined;
2745
+ docs?: {
2746
+ files: string;
2747
+ defaultOptions?: {
2748
+ toc?: boolean | undefined;
2749
+ disablePager?: boolean | undefined;
2750
+ } | undefined;
2751
+ } | {
2752
+ files: string;
2753
+ defaultOptions?: {
2754
+ toc?: boolean | undefined;
2755
+ disablePager?: boolean | undefined;
2756
+ } | undefined;
2757
+ }[] | undefined;
2758
+ apis?: {
2759
+ type: "url";
2760
+ input: string;
2761
+ server?: string | undefined;
2762
+ id?: string | undefined;
2763
+ navigationId?: string | undefined;
2764
+ categories?: {
2765
+ tags: string[];
2766
+ label: string;
2767
+ }[] | undefined;
2768
+ } | {
2769
+ type: "file";
2770
+ input: string;
2771
+ server?: string | undefined;
2772
+ id?: string | undefined;
2773
+ navigationId?: string | undefined;
2774
+ categories?: {
2775
+ tags: string[];
2776
+ label: string;
2777
+ }[] | undefined;
2778
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2779
+ } | {
2780
+ type: "raw";
2781
+ input: string;
2782
+ server?: string | undefined;
2783
+ id?: string | undefined;
2784
+ navigationId?: string | undefined;
2785
+ categories?: {
2786
+ tags: string[];
2787
+ label: string;
2788
+ }[] | undefined;
2789
+ } | ({
2790
+ type: "url";
2791
+ input: string;
2792
+ server?: string | undefined;
2793
+ id?: string | undefined;
2794
+ navigationId?: string | undefined;
2795
+ categories?: {
2796
+ tags: string[];
2797
+ label: string;
2798
+ }[] | undefined;
2799
+ } | {
2800
+ type: "file";
2801
+ input: string;
2802
+ server?: string | undefined;
2803
+ id?: string | undefined;
2804
+ navigationId?: string | undefined;
2805
+ categories?: {
2806
+ tags: string[];
2807
+ label: string;
2808
+ }[] | undefined;
2809
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
2810
+ } | {
2811
+ type: "raw";
2812
+ input: string;
2813
+ server?: string | undefined;
2814
+ id?: string | undefined;
2815
+ navigationId?: string | undefined;
2816
+ categories?: {
2817
+ tags: string[];
2818
+ label: string;
2819
+ }[] | undefined;
2820
+ })[] | undefined;
2821
+ catalog?: {
2822
+ label: string;
2823
+ navigationId: string;
2824
+ items?: string[] | undefined;
2825
+ } | {
2826
+ label: string;
2827
+ navigationId: string;
2828
+ items?: string[] | undefined;
2829
+ }[] | undefined;
2830
+ apiKeys?: {
2831
+ enabled: boolean;
2832
+ endpoint: string;
2833
+ } | {
2834
+ enabled: boolean;
2835
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
2836
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2837
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
2838
+ updateKeyDescription?: ((apiKey: {
2839
+ id: string;
2840
+ description: string;
2841
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2842
+ createKey?: ((apiKey: {
2843
+ description: string;
2844
+ expiresOn?: string;
2845
+ }, context: ZudokuContext) => Promise<void>) | undefined;
2846
+ } | undefined;
2847
+ redirects?: {
2848
+ from: string;
2849
+ to: string;
2850
+ }[] | undefined;
2851
+ sitemap?: {
2852
+ siteUrl: string;
2853
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2854
+ priority?: number | undefined;
2855
+ outDir?: string | undefined;
2856
+ autoLastmod?: boolean | undefined;
2857
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
2858
+ } | undefined;
2859
+ }>;
2860
+ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
2861
+ basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2862
+ page: z.ZodOptional<z.ZodObject<{
2863
+ pageTitle: z.ZodOptional<z.ZodString>;
2864
+ logoUrl: z.ZodOptional<z.ZodString>;
2865
+ logo: z.ZodOptional<z.ZodObject<{
2866
+ src: z.ZodObject<{
2867
+ light: z.ZodString;
2868
+ dark: z.ZodString;
2869
+ }, "strip", z.ZodTypeAny, {
2870
+ dark: string;
2871
+ light: string;
2872
+ }, {
2873
+ dark: string;
2874
+ light: string;
2875
+ }>;
2876
+ alt: z.ZodOptional<z.ZodString>;
2877
+ width: z.ZodOptional<z.ZodString>;
2878
+ }, "strip", z.ZodTypeAny, {
2879
+ src: {
2880
+ dark: string;
2881
+ light: string;
2882
+ };
2883
+ width?: string | undefined;
2884
+ alt?: string | undefined;
2885
+ }, {
2886
+ src: {
2887
+ dark: string;
2888
+ light: string;
2889
+ };
2890
+ width?: string | undefined;
2891
+ alt?: string | undefined;
2892
+ }>>;
2893
+ banner: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2894
+ message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
2895
+ color: BannerColorType;
2896
+ dismissible: z.ZodOptional<z.ZodBoolean>;
2897
+ }, "strip", z.ZodTypeAny, {
2898
+ message: NonNullable<ReactNode>;
2899
+ color?: BannerColorType;
2900
+ dismissible?: boolean | undefined;
2901
+ }, {
2902
+ message: NonNullable<ReactNode>;
2903
+ color?: BannerColorType;
2904
+ dismissible?: boolean | undefined;
2905
+ }>>>;
2906
+ }, "strip", z.ZodTypeAny, {
2907
+ banner?: {
2908
+ message: NonNullable<ReactNode>;
2909
+ color?: BannerColorType;
2910
+ dismissible?: boolean | undefined;
2911
+ } | undefined;
2912
+ pageTitle?: string | undefined;
2913
+ logoUrl?: string | undefined;
2914
+ logo?: {
2915
+ src: {
2916
+ dark: string;
2917
+ light: string;
2918
+ };
2919
+ width?: string | undefined;
2920
+ alt?: string | undefined;
2921
+ } | undefined;
2922
+ }, {
2923
+ banner?: {
2924
+ message: NonNullable<ReactNode>;
2925
+ color?: BannerColorType;
2926
+ dismissible?: boolean | undefined;
2927
+ } | undefined;
2928
+ pageTitle?: string | undefined;
2929
+ logoUrl?: string | undefined;
2930
+ logo?: {
2931
+ src: {
2932
+ dark: string;
2933
+ light: string;
2934
+ };
2935
+ width?: string | undefined;
2936
+ alt?: string | undefined;
2937
+ } | undefined;
2938
+ }>>;
2939
+ topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
2940
+ label: z.ZodString;
2941
+ id: z.ZodString;
2942
+ default: z.ZodOptional<z.ZodString>;
2943
+ display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
2944
+ }, "strip", z.ZodTypeAny, {
2945
+ id: string;
2946
+ label: string;
2947
+ default?: string | undefined;
2948
+ display?: "auth" | "anon" | "always" | undefined;
2949
+ }, {
2950
+ id: string;
2951
+ label: string;
2952
+ default?: string | undefined;
2953
+ display?: "auth" | "anon" | "always" | undefined;
2954
+ }>, "many">>;
2955
+ sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
2956
+ theme: z.ZodOptional<z.ZodObject<{
2957
+ light: z.ZodOptional<z.ZodObject<{
2958
+ background: z.ZodOptional<z.ZodString>;
2959
+ foreground: z.ZodOptional<z.ZodString>;
2960
+ card: z.ZodOptional<z.ZodString>;
2961
+ cardForeground: z.ZodOptional<z.ZodString>;
2962
+ popover: z.ZodOptional<z.ZodString>;
2963
+ popoverForeground: z.ZodOptional<z.ZodString>;
2964
+ primary: z.ZodOptional<z.ZodString>;
2965
+ primaryForeground: z.ZodOptional<z.ZodString>;
2966
+ secondary: z.ZodOptional<z.ZodString>;
2967
+ secondaryForeground: z.ZodOptional<z.ZodString>;
2968
+ muted: z.ZodOptional<z.ZodString>;
2969
+ mutedForeground: z.ZodOptional<z.ZodString>;
2970
+ accent: z.ZodOptional<z.ZodString>;
2971
+ accentForeground: z.ZodOptional<z.ZodString>;
2972
+ destructive: z.ZodOptional<z.ZodString>;
2973
+ destructiveForeground: z.ZodOptional<z.ZodString>;
2974
+ border: z.ZodOptional<z.ZodString>;
2975
+ input: z.ZodOptional<z.ZodString>;
2976
+ ring: z.ZodOptional<z.ZodString>;
2977
+ radius: z.ZodOptional<z.ZodString>;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ input?: string | undefined;
2980
+ radius?: string | undefined;
2981
+ border?: string | undefined;
2982
+ background?: string | undefined;
2983
+ foreground?: string | undefined;
2984
+ card?: string | undefined;
2985
+ cardForeground?: string | undefined;
2986
+ popover?: string | undefined;
2987
+ popoverForeground?: string | undefined;
2988
+ primary?: string | undefined;
2989
+ primaryForeground?: string | undefined;
2990
+ secondary?: string | undefined;
2991
+ secondaryForeground?: string | undefined;
2992
+ muted?: string | undefined;
2993
+ mutedForeground?: string | undefined;
2994
+ accent?: string | undefined;
2995
+ accentForeground?: string | undefined;
2996
+ destructive?: string | undefined;
2997
+ destructiveForeground?: string | undefined;
2998
+ ring?: string | undefined;
2999
+ }, {
3000
+ input?: string | undefined;
3001
+ radius?: string | undefined;
3002
+ border?: string | undefined;
3003
+ background?: string | undefined;
3004
+ foreground?: string | undefined;
3005
+ card?: string | undefined;
3006
+ cardForeground?: string | undefined;
3007
+ popover?: string | undefined;
3008
+ popoverForeground?: string | undefined;
3009
+ primary?: string | undefined;
3010
+ primaryForeground?: string | undefined;
3011
+ secondary?: string | undefined;
3012
+ secondaryForeground?: string | undefined;
3013
+ muted?: string | undefined;
3014
+ mutedForeground?: string | undefined;
3015
+ accent?: string | undefined;
3016
+ accentForeground?: string | undefined;
3017
+ destructive?: string | undefined;
3018
+ destructiveForeground?: string | undefined;
3019
+ ring?: string | undefined;
3020
+ }>>;
3021
+ dark: z.ZodOptional<z.ZodObject<{
3022
+ background: z.ZodOptional<z.ZodString>;
3023
+ foreground: z.ZodOptional<z.ZodString>;
3024
+ card: z.ZodOptional<z.ZodString>;
3025
+ cardForeground: z.ZodOptional<z.ZodString>;
3026
+ popover: z.ZodOptional<z.ZodString>;
3027
+ popoverForeground: z.ZodOptional<z.ZodString>;
3028
+ primary: z.ZodOptional<z.ZodString>;
3029
+ primaryForeground: z.ZodOptional<z.ZodString>;
3030
+ secondary: z.ZodOptional<z.ZodString>;
3031
+ secondaryForeground: z.ZodOptional<z.ZodString>;
3032
+ muted: z.ZodOptional<z.ZodString>;
3033
+ mutedForeground: z.ZodOptional<z.ZodString>;
3034
+ accent: z.ZodOptional<z.ZodString>;
3035
+ accentForeground: z.ZodOptional<z.ZodString>;
3036
+ destructive: z.ZodOptional<z.ZodString>;
3037
+ destructiveForeground: z.ZodOptional<z.ZodString>;
3038
+ border: z.ZodOptional<z.ZodString>;
3039
+ input: z.ZodOptional<z.ZodString>;
3040
+ ring: z.ZodOptional<z.ZodString>;
3041
+ radius: z.ZodOptional<z.ZodString>;
3042
+ }, "strip", z.ZodTypeAny, {
3043
+ input?: string | undefined;
3044
+ radius?: string | undefined;
3045
+ border?: string | undefined;
3046
+ background?: string | undefined;
3047
+ foreground?: string | undefined;
3048
+ card?: string | undefined;
3049
+ cardForeground?: string | undefined;
3050
+ popover?: string | undefined;
3051
+ popoverForeground?: string | undefined;
3052
+ primary?: string | undefined;
3053
+ primaryForeground?: string | undefined;
3054
+ secondary?: string | undefined;
3055
+ secondaryForeground?: string | undefined;
3056
+ muted?: string | undefined;
3057
+ mutedForeground?: string | undefined;
3058
+ accent?: string | undefined;
3059
+ accentForeground?: string | undefined;
3060
+ destructive?: string | undefined;
3061
+ destructiveForeground?: string | undefined;
3062
+ ring?: string | undefined;
3063
+ }, {
3064
+ input?: string | undefined;
3065
+ radius?: string | undefined;
3066
+ border?: string | undefined;
3067
+ background?: string | undefined;
3068
+ foreground?: string | undefined;
3069
+ card?: string | undefined;
3070
+ cardForeground?: string | undefined;
3071
+ popover?: string | undefined;
3072
+ popoverForeground?: string | undefined;
3073
+ primary?: string | undefined;
3074
+ primaryForeground?: string | undefined;
3075
+ secondary?: string | undefined;
3076
+ secondaryForeground?: string | undefined;
3077
+ muted?: string | undefined;
3078
+ mutedForeground?: string | undefined;
3079
+ accent?: string | undefined;
3080
+ accentForeground?: string | undefined;
3081
+ destructive?: string | undefined;
3082
+ destructiveForeground?: string | undefined;
3083
+ ring?: string | undefined;
3084
+ }>>;
3085
+ }, "strip", z.ZodTypeAny, {
3086
+ dark?: {
3087
+ input?: string | undefined;
3088
+ radius?: string | undefined;
3089
+ border?: string | undefined;
3090
+ background?: string | undefined;
3091
+ foreground?: string | undefined;
3092
+ card?: string | undefined;
3093
+ cardForeground?: string | undefined;
3094
+ popover?: string | undefined;
3095
+ popoverForeground?: string | undefined;
3096
+ primary?: string | undefined;
3097
+ primaryForeground?: string | undefined;
3098
+ secondary?: string | undefined;
3099
+ secondaryForeground?: string | undefined;
3100
+ muted?: string | undefined;
3101
+ mutedForeground?: string | undefined;
3102
+ accent?: string | undefined;
3103
+ accentForeground?: string | undefined;
3104
+ destructive?: string | undefined;
3105
+ destructiveForeground?: string | undefined;
3106
+ ring?: string | undefined;
3107
+ } | undefined;
3108
+ light?: {
3109
+ input?: string | undefined;
3110
+ radius?: string | undefined;
3111
+ border?: string | undefined;
3112
+ background?: string | undefined;
3113
+ foreground?: string | undefined;
3114
+ card?: string | undefined;
3115
+ cardForeground?: string | undefined;
3116
+ popover?: string | undefined;
3117
+ popoverForeground?: string | undefined;
3118
+ primary?: string | undefined;
3119
+ primaryForeground?: string | undefined;
3120
+ secondary?: string | undefined;
3121
+ secondaryForeground?: string | undefined;
3122
+ muted?: string | undefined;
3123
+ mutedForeground?: string | undefined;
3124
+ accent?: string | undefined;
3125
+ accentForeground?: string | undefined;
3126
+ destructive?: string | undefined;
3127
+ destructiveForeground?: string | undefined;
3128
+ ring?: string | undefined;
3129
+ } | undefined;
3130
+ }, {
3131
+ dark?: {
3132
+ input?: string | undefined;
3133
+ radius?: string | undefined;
3134
+ border?: string | undefined;
3135
+ background?: string | undefined;
3136
+ foreground?: string | undefined;
3137
+ card?: string | undefined;
3138
+ cardForeground?: string | undefined;
3139
+ popover?: string | undefined;
3140
+ popoverForeground?: string | undefined;
3141
+ primary?: string | undefined;
3142
+ primaryForeground?: string | undefined;
3143
+ secondary?: string | undefined;
3144
+ secondaryForeground?: string | undefined;
3145
+ muted?: string | undefined;
3146
+ mutedForeground?: string | undefined;
3147
+ accent?: string | undefined;
3148
+ accentForeground?: string | undefined;
3149
+ destructive?: string | undefined;
3150
+ destructiveForeground?: string | undefined;
3151
+ ring?: string | undefined;
3152
+ } | undefined;
3153
+ light?: {
3154
+ input?: string | undefined;
3155
+ radius?: string | undefined;
3156
+ border?: string | undefined;
3157
+ background?: string | undefined;
3158
+ foreground?: string | undefined;
3159
+ card?: string | undefined;
3160
+ cardForeground?: string | undefined;
3161
+ popover?: string | undefined;
3162
+ popoverForeground?: string | undefined;
3163
+ primary?: string | undefined;
3164
+ primaryForeground?: string | undefined;
3165
+ secondary?: string | undefined;
3166
+ secondaryForeground?: string | undefined;
3167
+ muted?: string | undefined;
3168
+ mutedForeground?: string | undefined;
3169
+ accent?: string | undefined;
3170
+ accentForeground?: string | undefined;
3171
+ destructive?: string | undefined;
3172
+ destructiveForeground?: string | undefined;
3173
+ ring?: string | undefined;
3174
+ } | undefined;
3175
+ }>>;
3176
+ metadata: z.ZodOptional<z.ZodObject<{
3177
+ title: z.ZodOptional<z.ZodString>;
3178
+ description: z.ZodOptional<z.ZodString>;
3179
+ logo: z.ZodOptional<z.ZodString>;
3180
+ favicon: z.ZodOptional<z.ZodString>;
3181
+ generator: z.ZodOptional<z.ZodString>;
3182
+ applicationName: z.ZodOptional<z.ZodString>;
3183
+ referrer: z.ZodOptional<z.ZodString>;
3184
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3185
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3186
+ creator: z.ZodOptional<z.ZodString>;
3187
+ publisher: z.ZodOptional<z.ZodString>;
3188
+ }, "strip", z.ZodTypeAny, {
3189
+ description?: string | undefined;
3190
+ title?: string | undefined;
3191
+ logo?: string | undefined;
3192
+ favicon?: string | undefined;
3193
+ generator?: string | undefined;
3194
+ applicationName?: string | undefined;
3195
+ referrer?: string | undefined;
3196
+ keywords?: string[] | undefined;
3197
+ authors?: string[] | undefined;
3198
+ creator?: string | undefined;
3199
+ publisher?: string | undefined;
3200
+ }, {
3201
+ description?: string | undefined;
3202
+ title?: string | undefined;
3203
+ logo?: string | undefined;
3204
+ favicon?: string | undefined;
3205
+ generator?: string | undefined;
3206
+ applicationName?: string | undefined;
3207
+ referrer?: string | undefined;
3208
+ keywords?: string[] | undefined;
3209
+ authors?: string[] | undefined;
3210
+ creator?: string | undefined;
3211
+ publisher?: string | undefined;
3212
+ }>>;
3213
+ authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3214
+ type: z.ZodLiteral<"clerk">;
3215
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
3216
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
3217
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
3218
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
3219
+ }, "strip", z.ZodTypeAny, {
3220
+ type: "clerk";
3221
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
3222
+ redirectToAfterSignUp?: string | undefined;
3223
+ redirectToAfterSignIn?: string | undefined;
3224
+ redirectToAfterSignOut?: string | undefined;
3225
+ }, {
3226
+ type: "clerk";
3227
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
3228
+ redirectToAfterSignUp?: string | undefined;
3229
+ redirectToAfterSignIn?: string | undefined;
3230
+ redirectToAfterSignOut?: string | undefined;
3231
+ }>, z.ZodObject<{
3232
+ type: z.ZodLiteral<"openid">;
3233
+ clientId: z.ZodString;
3234
+ issuer: z.ZodString;
3235
+ audience: z.ZodOptional<z.ZodString>;
3236
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3237
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
3238
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
3239
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
3240
+ }, "strip", z.ZodTypeAny, {
3241
+ type: "openid";
3242
+ clientId: string;
3243
+ issuer: string;
3244
+ redirectToAfterSignUp?: string | undefined;
3245
+ redirectToAfterSignIn?: string | undefined;
3246
+ redirectToAfterSignOut?: string | undefined;
3247
+ audience?: string | undefined;
3248
+ scopes?: string[] | undefined;
3249
+ }, {
3250
+ type: "openid";
3251
+ clientId: string;
3252
+ issuer: string;
3253
+ redirectToAfterSignUp?: string | undefined;
3254
+ redirectToAfterSignIn?: string | undefined;
3255
+ redirectToAfterSignOut?: string | undefined;
3256
+ audience?: string | undefined;
3257
+ scopes?: string[] | undefined;
3258
+ }>, z.ZodObject<{
3259
+ type: z.ZodLiteral<"auth0">;
3260
+ clientId: z.ZodString;
3261
+ domain: z.ZodString;
3262
+ audience: z.ZodOptional<z.ZodString>;
3263
+ redirectToAfterSignUp: z.ZodOptional<z.ZodString>;
3264
+ redirectToAfterSignIn: z.ZodOptional<z.ZodString>;
3265
+ redirectToAfterSignOut: z.ZodOptional<z.ZodString>;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ type: "auth0";
3268
+ clientId: string;
3269
+ domain: string;
3270
+ redirectToAfterSignUp?: string | undefined;
3271
+ redirectToAfterSignIn?: string | undefined;
3272
+ redirectToAfterSignOut?: string | undefined;
3273
+ audience?: string | undefined;
3274
+ }, {
3275
+ type: "auth0";
3276
+ clientId: string;
3277
+ domain: string;
3278
+ redirectToAfterSignUp?: string | undefined;
3279
+ redirectToAfterSignIn?: string | undefined;
3280
+ redirectToAfterSignOut?: string | undefined;
3281
+ audience?: string | undefined;
3282
+ }>]>>;
3283
+ search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3284
+ type: z.ZodLiteral<"inkeep">;
3285
+ apiKey: z.ZodString;
3286
+ integrationId: z.ZodString;
3287
+ organizationId: z.ZodString;
3288
+ primaryBrandColor: z.ZodString;
3289
+ organizationDisplayName: z.ZodString;
3290
+ }, "strip", z.ZodTypeAny, {
3291
+ type: "inkeep";
3292
+ apiKey: string;
3293
+ integrationId: string;
3294
+ organizationId: string;
3295
+ primaryBrandColor: string;
3296
+ organizationDisplayName: string;
3297
+ }, {
3298
+ type: "inkeep";
3299
+ apiKey: string;
3300
+ integrationId: string;
3301
+ organizationId: string;
3302
+ primaryBrandColor: string;
3303
+ organizationDisplayName: string;
3304
+ }>>>;
3305
+ docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3306
+ files: z.ZodString;
3307
+ defaultOptions: z.ZodOptional<z.ZodObject<{
3308
+ toc: z.ZodOptional<z.ZodBoolean>;
3309
+ disablePager: z.ZodOptional<z.ZodBoolean>;
3310
+ }, "strip", z.ZodTypeAny, {
3311
+ toc?: boolean | undefined;
3312
+ disablePager?: boolean | undefined;
3313
+ }, {
3314
+ toc?: boolean | undefined;
3315
+ disablePager?: boolean | undefined;
3316
+ }>>;
3317
+ }, "strip", z.ZodTypeAny, {
3318
+ files: string;
3319
+ defaultOptions?: {
3320
+ toc?: boolean | undefined;
3321
+ disablePager?: boolean | undefined;
3322
+ } | undefined;
3323
+ }, {
3324
+ files: string;
3325
+ defaultOptions?: {
3326
+ toc?: boolean | undefined;
3327
+ disablePager?: boolean | undefined;
3328
+ } | undefined;
3329
+ }>, z.ZodArray<z.ZodObject<{
3330
+ files: z.ZodString;
3331
+ defaultOptions: z.ZodOptional<z.ZodObject<{
3332
+ toc: z.ZodOptional<z.ZodBoolean>;
3333
+ disablePager: z.ZodOptional<z.ZodBoolean>;
3334
+ }, "strip", z.ZodTypeAny, {
3335
+ toc?: boolean | undefined;
3336
+ disablePager?: boolean | undefined;
3337
+ }, {
3338
+ toc?: boolean | undefined;
3339
+ disablePager?: boolean | undefined;
3340
+ }>>;
3341
+ }, "strip", z.ZodTypeAny, {
3342
+ files: string;
3343
+ defaultOptions?: {
3344
+ toc?: boolean | undefined;
3345
+ disablePager?: boolean | undefined;
3346
+ } | undefined;
3347
+ }, {
3348
+ files: string;
3349
+ defaultOptions?: {
3350
+ toc?: boolean | undefined;
3351
+ disablePager?: boolean | undefined;
3352
+ } | undefined;
3353
+ }>, "many">]>>;
3354
+ apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3355
+ type: z.ZodLiteral<"url">;
3356
+ input: z.ZodString;
3357
+ }, {
3358
+ id: z.ZodOptional<z.ZodString>;
3359
+ server: z.ZodOptional<z.ZodString>;
3360
+ navigationId: z.ZodOptional<z.ZodString>;
3361
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3362
+ label: z.ZodString;
3363
+ tags: z.ZodArray<z.ZodString, "many">;
3364
+ }, "strip", z.ZodTypeAny, {
3365
+ tags: string[];
3366
+ label: string;
3367
+ }, {
3368
+ tags: string[];
3369
+ label: string;
3370
+ }>, "many">>;
3371
+ }>, "strip", z.ZodTypeAny, {
3372
+ type: "url";
3373
+ input: string;
3374
+ server?: string | undefined;
3375
+ id?: string | undefined;
3376
+ navigationId?: string | undefined;
3377
+ categories?: {
3378
+ tags: string[];
3379
+ label: string;
3380
+ }[] | undefined;
3381
+ }, {
3382
+ type: "url";
3383
+ input: string;
3384
+ server?: string | undefined;
3385
+ id?: string | undefined;
3386
+ navigationId?: string | undefined;
3387
+ categories?: {
3388
+ tags: string[];
3389
+ label: string;
3390
+ }[] | undefined;
3391
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3392
+ type: z.ZodLiteral<"file">;
3393
+ input: z.ZodString;
3394
+ }, {
3395
+ id: z.ZodOptional<z.ZodString>;
3396
+ server: z.ZodOptional<z.ZodString>;
3397
+ navigationId: z.ZodOptional<z.ZodString>;
3398
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3399
+ label: z.ZodString;
3400
+ tags: z.ZodArray<z.ZodString, "many">;
3401
+ }, "strip", z.ZodTypeAny, {
3402
+ tags: string[];
3403
+ label: string;
3404
+ }, {
3405
+ tags: string[];
3406
+ label: string;
3407
+ }>, "many">>;
3408
+ }>, {
3409
+ 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">>;
3410
+ }>, "strip", z.ZodTypeAny, {
3411
+ type: "file";
3412
+ input: string;
3413
+ server?: string | undefined;
3414
+ id?: string | undefined;
3415
+ navigationId?: string | undefined;
3416
+ categories?: {
3417
+ tags: string[];
3418
+ label: string;
3419
+ }[] | undefined;
3420
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3421
+ }, {
3422
+ type: "file";
3423
+ input: string;
3424
+ server?: string | undefined;
3425
+ id?: string | undefined;
3426
+ navigationId?: string | undefined;
3427
+ categories?: {
3428
+ tags: string[];
3429
+ label: string;
3430
+ }[] | undefined;
3431
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3432
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3433
+ type: z.ZodLiteral<"raw">;
3434
+ input: z.ZodString;
3435
+ }, {
3436
+ id: z.ZodOptional<z.ZodString>;
3437
+ server: z.ZodOptional<z.ZodString>;
3438
+ navigationId: z.ZodOptional<z.ZodString>;
3439
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3440
+ label: z.ZodString;
3441
+ tags: z.ZodArray<z.ZodString, "many">;
3442
+ }, "strip", z.ZodTypeAny, {
3443
+ tags: string[];
3444
+ label: string;
3445
+ }, {
3446
+ tags: string[];
3447
+ label: string;
3448
+ }>, "many">>;
3449
+ }>, "strip", z.ZodTypeAny, {
3450
+ type: "raw";
3451
+ input: string;
3452
+ server?: string | undefined;
3453
+ id?: string | undefined;
3454
+ navigationId?: string | undefined;
3455
+ categories?: {
3456
+ tags: string[];
3457
+ label: string;
3458
+ }[] | undefined;
3459
+ }, {
3460
+ type: "raw";
3461
+ input: string;
3462
+ server?: string | undefined;
3463
+ id?: string | undefined;
3464
+ navigationId?: string | undefined;
3465
+ categories?: {
3466
+ tags: string[];
3467
+ label: string;
3468
+ }[] | undefined;
3469
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3470
+ type: z.ZodLiteral<"url">;
3471
+ input: z.ZodString;
3472
+ }, {
3473
+ id: z.ZodOptional<z.ZodString>;
3474
+ server: z.ZodOptional<z.ZodString>;
3475
+ navigationId: z.ZodOptional<z.ZodString>;
3476
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3477
+ label: z.ZodString;
3478
+ tags: z.ZodArray<z.ZodString, "many">;
3479
+ }, "strip", z.ZodTypeAny, {
3480
+ tags: string[];
3481
+ label: string;
3482
+ }, {
3483
+ tags: string[];
3484
+ label: string;
3485
+ }>, "many">>;
3486
+ }>, "strip", z.ZodTypeAny, {
3487
+ type: "url";
3488
+ input: string;
3489
+ server?: string | undefined;
3490
+ id?: string | undefined;
3491
+ navigationId?: string | undefined;
3492
+ categories?: {
3493
+ tags: string[];
3494
+ label: string;
3495
+ }[] | undefined;
3496
+ }, {
3497
+ type: "url";
3498
+ input: string;
3499
+ server?: string | undefined;
3500
+ id?: string | undefined;
3501
+ navigationId?: string | undefined;
3502
+ categories?: {
3503
+ tags: string[];
3504
+ label: string;
3505
+ }[] | undefined;
3506
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3507
+ type: z.ZodLiteral<"file">;
3508
+ input: z.ZodString;
3509
+ }, {
3510
+ id: z.ZodOptional<z.ZodString>;
3511
+ server: z.ZodOptional<z.ZodString>;
3512
+ navigationId: z.ZodOptional<z.ZodString>;
3513
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3514
+ label: z.ZodString;
3515
+ tags: z.ZodArray<z.ZodString, "many">;
3516
+ }, "strip", z.ZodTypeAny, {
3517
+ tags: string[];
3518
+ label: string;
3519
+ }, {
3520
+ tags: string[];
3521
+ label: string;
3522
+ }>, "many">>;
3523
+ }>, {
3524
+ 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">>;
3525
+ }>, "strip", z.ZodTypeAny, {
3526
+ type: "file";
3527
+ input: string;
3528
+ server?: string | undefined;
3529
+ id?: string | undefined;
3530
+ navigationId?: string | undefined;
3531
+ categories?: {
3532
+ tags: string[];
3533
+ label: string;
3534
+ }[] | undefined;
3535
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3536
+ }, {
3537
+ type: "file";
3538
+ input: string;
3539
+ server?: string | undefined;
3540
+ id?: string | undefined;
3541
+ navigationId?: string | undefined;
3542
+ categories?: {
3543
+ tags: string[];
3544
+ label: string;
3545
+ }[] | undefined;
3546
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3547
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3548
+ type: z.ZodLiteral<"raw">;
3549
+ input: z.ZodString;
3550
+ }, {
3551
+ id: z.ZodOptional<z.ZodString>;
3552
+ server: z.ZodOptional<z.ZodString>;
3553
+ navigationId: z.ZodOptional<z.ZodString>;
3554
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
3555
+ label: z.ZodString;
3556
+ tags: z.ZodArray<z.ZodString, "many">;
3557
+ }, "strip", z.ZodTypeAny, {
3558
+ tags: string[];
3559
+ label: string;
3560
+ }, {
3561
+ tags: string[];
3562
+ label: string;
3563
+ }>, "many">>;
3564
+ }>, "strip", z.ZodTypeAny, {
3565
+ type: "raw";
3566
+ input: string;
3567
+ server?: string | undefined;
3568
+ id?: string | undefined;
3569
+ navigationId?: string | undefined;
3570
+ categories?: {
3571
+ tags: string[];
3572
+ label: string;
3573
+ }[] | undefined;
3574
+ }, {
3575
+ type: "raw";
3576
+ input: string;
3577
+ server?: string | undefined;
3578
+ id?: string | undefined;
3579
+ navigationId?: string | undefined;
3580
+ categories?: {
3581
+ tags: string[];
3582
+ label: string;
3583
+ }[] | undefined;
3584
+ }>]>, "many">]>>;
3585
+ catalog: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3586
+ navigationId: z.ZodString;
3587
+ label: z.ZodString;
3588
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3589
+ }, "strip", z.ZodTypeAny, {
3590
+ label: string;
3591
+ navigationId: string;
3592
+ items?: string[] | undefined;
3593
+ }, {
3594
+ label: string;
3595
+ navigationId: string;
3596
+ items?: string[] | undefined;
3597
+ }>, z.ZodArray<z.ZodObject<{
3598
+ navigationId: z.ZodString;
3599
+ label: z.ZodString;
3600
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3601
+ }, "strip", z.ZodTypeAny, {
3602
+ label: string;
3603
+ navigationId: string;
3604
+ items?: string[] | undefined;
3605
+ }, {
3606
+ label: string;
3607
+ navigationId: string;
3608
+ items?: string[] | undefined;
3609
+ }>, "many">]>>;
3610
+ apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3611
+ enabled: z.ZodBoolean;
3612
+ endpoint: z.ZodString;
3613
+ }, "strip", z.ZodTypeAny, {
3614
+ enabled: boolean;
3615
+ endpoint: string;
3616
+ }, {
3617
+ enabled: boolean;
3618
+ endpoint: string;
3619
+ }>, z.ZodObject<{
3620
+ enabled: z.ZodBoolean;
3621
+ getKeys: z.ZodType<(context: ZudokuContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: ZudokuContext) => Promise<ApiKey[]>>;
3622
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
3623
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (id: string, context: ZudokuContext) => Promise<void>>>;
3624
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
3625
+ id: string;
3626
+ description: string;
3627
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
3628
+ id: string;
3629
+ description: string;
3630
+ }, context: ZudokuContext) => Promise<void>>>;
3631
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
3632
+ description: string;
3633
+ expiresOn?: string;
3634
+ }, context: ZudokuContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
3635
+ description: string;
3636
+ expiresOn?: string;
3637
+ }, context: ZudokuContext) => Promise<void>>>;
3638
+ }, "strip", z.ZodTypeAny, {
3639
+ enabled: boolean;
3640
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
3641
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3642
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3643
+ updateKeyDescription?: ((apiKey: {
3644
+ id: string;
3645
+ description: string;
3646
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3647
+ createKey?: ((apiKey: {
3648
+ description: string;
3649
+ expiresOn?: string;
3650
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3651
+ }, {
3652
+ enabled: boolean;
3653
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
3654
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3655
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3656
+ updateKeyDescription?: ((apiKey: {
3657
+ id: string;
3658
+ description: string;
3659
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3660
+ createKey?: ((apiKey: {
3661
+ description: string;
3662
+ expiresOn?: string;
3663
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3664
+ }>]>>;
3665
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
3666
+ from: z.ZodString;
3667
+ to: z.ZodString;
3668
+ }, "strip", z.ZodTypeAny, {
3669
+ from: string;
3670
+ to: string;
3671
+ }, {
3672
+ from: string;
3673
+ to: string;
3674
+ }>, "many">>;
3675
+ sitemap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3676
+ /**
3677
+ * Base url of your website
3678
+ */
3679
+ siteUrl: z.ZodString;
3680
+ /**
3681
+ * Change frequency.
3682
+ * @default 'daily'
3683
+ */
3684
+ changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
3685
+ /**
3686
+ * Priority
3687
+ * @default 0.7
3688
+ */
3689
+ priority: z.ZodOptional<z.ZodNumber>;
3690
+ outDir: z.ZodOptional<z.ZodString>;
3691
+ /**
3692
+ * Add <lastmod/> property.
3693
+ * @default true
3694
+ */
3695
+ autoLastmod: z.ZodOptional<z.ZodBoolean>;
3696
+ /**
3697
+ * Array of relative paths to exclude from listing on sitemap.xml or sitemap-*.xml.
3698
+ * @example ['/page-0', '/page/example']
3699
+ */
3700
+ exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
3701
+ }, "strip", z.ZodTypeAny, {
3702
+ siteUrl: string;
3703
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3704
+ priority?: number | undefined;
3705
+ outDir?: string | undefined;
3706
+ autoLastmod?: boolean | undefined;
3707
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
3708
+ }, {
3709
+ siteUrl: string;
3710
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3711
+ priority?: number | undefined;
3712
+ outDir?: string | undefined;
3713
+ autoLastmod?: boolean | undefined;
3714
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
3715
+ }>>>;
3716
+ }, "strip", z.ZodTypeAny, {
3717
+ search?: {
3718
+ type: "inkeep";
3719
+ apiKey: string;
3720
+ integrationId: string;
3721
+ organizationId: string;
3722
+ primaryBrandColor: string;
3723
+ organizationDisplayName: string;
3724
+ } | undefined;
3725
+ metadata?: {
3726
+ description?: string | undefined;
3727
+ title?: string | undefined;
3728
+ logo?: string | undefined;
3729
+ favicon?: string | undefined;
3730
+ generator?: string | undefined;
3731
+ applicationName?: string | undefined;
3732
+ referrer?: string | undefined;
3733
+ keywords?: string[] | undefined;
3734
+ authors?: string[] | undefined;
3735
+ creator?: string | undefined;
3736
+ publisher?: string | undefined;
3737
+ } | undefined;
3738
+ theme?: {
3739
+ dark?: {
3740
+ input?: string | undefined;
3741
+ radius?: string | undefined;
3742
+ border?: string | undefined;
3743
+ background?: string | undefined;
3744
+ foreground?: string | undefined;
3745
+ card?: string | undefined;
3746
+ cardForeground?: string | undefined;
3747
+ popover?: string | undefined;
3748
+ popoverForeground?: string | undefined;
3749
+ primary?: string | undefined;
3750
+ primaryForeground?: string | undefined;
3751
+ secondary?: string | undefined;
3752
+ secondaryForeground?: string | undefined;
3753
+ muted?: string | undefined;
3754
+ mutedForeground?: string | undefined;
3755
+ accent?: string | undefined;
3756
+ accentForeground?: string | undefined;
3757
+ destructive?: string | undefined;
3758
+ destructiveForeground?: string | undefined;
3759
+ ring?: string | undefined;
3760
+ } | undefined;
3761
+ light?: {
3762
+ input?: string | undefined;
3763
+ radius?: string | undefined;
3764
+ border?: string | undefined;
3765
+ background?: string | undefined;
3766
+ foreground?: string | undefined;
3767
+ card?: string | undefined;
3768
+ cardForeground?: string | undefined;
3769
+ popover?: string | undefined;
3770
+ popoverForeground?: string | undefined;
3771
+ primary?: string | undefined;
3772
+ primaryForeground?: string | undefined;
3773
+ secondary?: string | undefined;
3774
+ secondaryForeground?: string | undefined;
3775
+ muted?: string | undefined;
3776
+ mutedForeground?: string | undefined;
3777
+ accent?: string | undefined;
3778
+ accentForeground?: string | undefined;
3779
+ destructive?: string | undefined;
3780
+ destructiveForeground?: string | undefined;
3781
+ ring?: string | undefined;
3782
+ } | undefined;
3783
+ } | undefined;
3784
+ page?: {
3785
+ banner?: {
3786
+ message: NonNullable<ReactNode>;
3787
+ color?: BannerColorType;
3788
+ dismissible?: boolean | undefined;
3789
+ } | undefined;
3790
+ pageTitle?: string | undefined;
3791
+ logoUrl?: string | undefined;
3792
+ logo?: {
3793
+ src: {
3794
+ dark: string;
3795
+ light: string;
3796
+ };
3797
+ width?: string | undefined;
3798
+ alt?: string | undefined;
3799
+ } | undefined;
3800
+ } | undefined;
3801
+ basePath?: string | undefined;
3802
+ topNavigation?: {
3803
+ id: string;
3804
+ label: string;
3805
+ default?: string | undefined;
3806
+ display?: "auth" | "anon" | "always" | undefined;
3807
+ }[] | undefined;
3808
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
3809
+ authentication?: {
3810
+ type: "clerk";
3811
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
3812
+ redirectToAfterSignUp?: string | undefined;
3813
+ redirectToAfterSignIn?: string | undefined;
3814
+ redirectToAfterSignOut?: string | undefined;
3815
+ } | {
3816
+ type: "openid";
3817
+ clientId: string;
3818
+ issuer: string;
3819
+ redirectToAfterSignUp?: string | undefined;
3820
+ redirectToAfterSignIn?: string | undefined;
3821
+ redirectToAfterSignOut?: string | undefined;
3822
+ audience?: string | undefined;
3823
+ scopes?: string[] | undefined;
3824
+ } | {
3825
+ type: "auth0";
3826
+ clientId: string;
3827
+ domain: string;
3828
+ redirectToAfterSignUp?: string | undefined;
3829
+ redirectToAfterSignIn?: string | undefined;
3830
+ redirectToAfterSignOut?: string | undefined;
3831
+ audience?: string | undefined;
3832
+ } | undefined;
3833
+ docs?: {
3834
+ files: string;
3835
+ defaultOptions?: {
3836
+ toc?: boolean | undefined;
3837
+ disablePager?: boolean | undefined;
3838
+ } | undefined;
3839
+ } | {
3840
+ files: string;
3841
+ defaultOptions?: {
3842
+ toc?: boolean | undefined;
3843
+ disablePager?: boolean | undefined;
3844
+ } | undefined;
3845
+ }[] | undefined;
3846
+ apis?: {
3847
+ type: "url";
3848
+ input: string;
3849
+ server?: string | undefined;
3850
+ id?: string | undefined;
3851
+ navigationId?: string | undefined;
3852
+ categories?: {
3853
+ tags: string[];
3854
+ label: string;
3855
+ }[] | undefined;
3856
+ } | {
3857
+ type: "file";
3858
+ input: string;
3859
+ server?: string | undefined;
3860
+ id?: string | undefined;
3861
+ navigationId?: string | undefined;
3862
+ categories?: {
3863
+ tags: string[];
3864
+ label: string;
3865
+ }[] | undefined;
3866
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3867
+ } | {
3868
+ type: "raw";
3869
+ input: string;
3870
+ server?: string | undefined;
3871
+ id?: string | undefined;
3872
+ navigationId?: string | undefined;
3873
+ categories?: {
3874
+ tags: string[];
3875
+ label: string;
3876
+ }[] | undefined;
3877
+ } | ({
3878
+ type: "url";
3879
+ input: string;
3880
+ server?: string | undefined;
3881
+ id?: string | undefined;
3882
+ navigationId?: string | undefined;
3883
+ categories?: {
3884
+ tags: string[];
3885
+ label: string;
3886
+ }[] | undefined;
3887
+ } | {
3888
+ type: "file";
3889
+ input: string;
3890
+ server?: string | undefined;
3891
+ id?: string | undefined;
3892
+ navigationId?: string | undefined;
3893
+ categories?: {
3894
+ tags: string[];
3895
+ label: string;
3896
+ }[] | undefined;
3897
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
3898
+ } | {
3899
+ type: "raw";
3900
+ input: string;
3901
+ server?: string | undefined;
3902
+ id?: string | undefined;
3903
+ navigationId?: string | undefined;
3904
+ categories?: {
3905
+ tags: string[];
3906
+ label: string;
3907
+ }[] | undefined;
3908
+ })[] | undefined;
3909
+ catalog?: {
3910
+ label: string;
3911
+ navigationId: string;
3912
+ items?: string[] | undefined;
3913
+ } | {
3914
+ label: string;
3915
+ navigationId: string;
3916
+ items?: string[] | undefined;
3917
+ }[] | undefined;
3918
+ apiKeys?: {
3919
+ enabled: boolean;
3920
+ endpoint: string;
3921
+ } | {
3922
+ enabled: boolean;
3923
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
3924
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3925
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
3926
+ updateKeyDescription?: ((apiKey: {
3927
+ id: string;
3928
+ description: string;
3929
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3930
+ createKey?: ((apiKey: {
3931
+ description: string;
3932
+ expiresOn?: string;
3933
+ }, context: ZudokuContext) => Promise<void>) | undefined;
3934
+ } | undefined;
3935
+ redirects?: {
3936
+ from: string;
3937
+ to: string;
3938
+ }[] | undefined;
3939
+ sitemap?: {
3940
+ siteUrl: string;
3941
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3942
+ priority?: number | undefined;
3943
+ outDir?: string | undefined;
3944
+ autoLastmod?: boolean | undefined;
3945
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
3946
+ } | undefined;
3947
+ }, {
3948
+ search?: {
3949
+ type: "inkeep";
3950
+ apiKey: string;
3951
+ integrationId: string;
3952
+ organizationId: string;
3953
+ primaryBrandColor: string;
3954
+ organizationDisplayName: string;
3955
+ } | undefined;
3956
+ metadata?: {
3957
+ description?: string | undefined;
3958
+ title?: string | undefined;
3959
+ logo?: string | undefined;
3960
+ favicon?: string | undefined;
3961
+ generator?: string | undefined;
3962
+ applicationName?: string | undefined;
3963
+ referrer?: string | undefined;
3964
+ keywords?: string[] | undefined;
3965
+ authors?: string[] | undefined;
3966
+ creator?: string | undefined;
3967
+ publisher?: string | undefined;
3968
+ } | undefined;
3969
+ theme?: {
3970
+ dark?: {
3971
+ input?: string | undefined;
3972
+ radius?: string | undefined;
3973
+ border?: string | undefined;
3974
+ background?: string | undefined;
3975
+ foreground?: string | undefined;
3976
+ card?: string | undefined;
3977
+ cardForeground?: string | undefined;
3978
+ popover?: string | undefined;
3979
+ popoverForeground?: string | undefined;
3980
+ primary?: string | undefined;
3981
+ primaryForeground?: string | undefined;
3982
+ secondary?: string | undefined;
3983
+ secondaryForeground?: string | undefined;
3984
+ muted?: string | undefined;
3985
+ mutedForeground?: string | undefined;
3986
+ accent?: string | undefined;
3987
+ accentForeground?: string | undefined;
3988
+ destructive?: string | undefined;
3989
+ destructiveForeground?: string | undefined;
3990
+ ring?: string | undefined;
3991
+ } | undefined;
3992
+ light?: {
3993
+ input?: string | undefined;
3994
+ radius?: string | undefined;
3995
+ border?: string | undefined;
3996
+ background?: string | undefined;
3997
+ foreground?: string | undefined;
3998
+ card?: string | undefined;
3999
+ cardForeground?: string | undefined;
4000
+ popover?: string | undefined;
4001
+ popoverForeground?: string | undefined;
4002
+ primary?: string | undefined;
4003
+ primaryForeground?: string | undefined;
4004
+ secondary?: string | undefined;
4005
+ secondaryForeground?: string | undefined;
4006
+ muted?: string | undefined;
4007
+ mutedForeground?: string | undefined;
4008
+ accent?: string | undefined;
4009
+ accentForeground?: string | undefined;
4010
+ destructive?: string | undefined;
4011
+ destructiveForeground?: string | undefined;
4012
+ ring?: string | undefined;
4013
+ } | undefined;
4014
+ } | undefined;
4015
+ page?: {
4016
+ banner?: {
4017
+ message: NonNullable<ReactNode>;
4018
+ color?: BannerColorType;
4019
+ dismissible?: boolean | undefined;
4020
+ } | undefined;
4021
+ pageTitle?: string | undefined;
4022
+ logoUrl?: string | undefined;
4023
+ logo?: {
4024
+ src: {
4025
+ dark: string;
4026
+ light: string;
4027
+ };
4028
+ width?: string | undefined;
4029
+ alt?: string | undefined;
4030
+ } | undefined;
4031
+ } | undefined;
4032
+ basePath?: string | undefined;
4033
+ topNavigation?: {
4034
+ id: string;
4035
+ label: string;
4036
+ default?: string | undefined;
4037
+ display?: "auth" | "anon" | "always" | undefined;
4038
+ }[] | undefined;
4039
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4040
+ authentication?: {
4041
+ type: "clerk";
4042
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4043
+ redirectToAfterSignUp?: string | undefined;
4044
+ redirectToAfterSignIn?: string | undefined;
4045
+ redirectToAfterSignOut?: string | undefined;
4046
+ } | {
4047
+ type: "openid";
4048
+ clientId: string;
4049
+ issuer: string;
4050
+ redirectToAfterSignUp?: string | undefined;
4051
+ redirectToAfterSignIn?: string | undefined;
4052
+ redirectToAfterSignOut?: string | undefined;
4053
+ audience?: string | undefined;
4054
+ scopes?: string[] | undefined;
4055
+ } | {
4056
+ type: "auth0";
4057
+ clientId: string;
4058
+ domain: string;
4059
+ redirectToAfterSignUp?: string | undefined;
4060
+ redirectToAfterSignIn?: string | undefined;
4061
+ redirectToAfterSignOut?: string | undefined;
4062
+ audience?: string | undefined;
4063
+ } | undefined;
4064
+ docs?: {
4065
+ files: string;
4066
+ defaultOptions?: {
4067
+ toc?: boolean | undefined;
4068
+ disablePager?: boolean | undefined;
4069
+ } | undefined;
4070
+ } | {
4071
+ files: string;
4072
+ defaultOptions?: {
4073
+ toc?: boolean | undefined;
4074
+ disablePager?: boolean | undefined;
4075
+ } | undefined;
4076
+ }[] | undefined;
4077
+ apis?: {
4078
+ type: "url";
4079
+ input: string;
4080
+ server?: string | undefined;
4081
+ id?: string | undefined;
4082
+ navigationId?: string | undefined;
4083
+ categories?: {
4084
+ tags: string[];
4085
+ label: string;
4086
+ }[] | undefined;
4087
+ } | {
4088
+ type: "file";
4089
+ input: string;
4090
+ server?: string | undefined;
4091
+ id?: string | undefined;
4092
+ navigationId?: string | undefined;
4093
+ categories?: {
4094
+ tags: string[];
4095
+ label: string;
4096
+ }[] | undefined;
4097
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4098
+ } | {
4099
+ type: "raw";
4100
+ input: string;
4101
+ server?: string | undefined;
4102
+ id?: string | undefined;
4103
+ navigationId?: string | undefined;
4104
+ categories?: {
4105
+ tags: string[];
4106
+ label: string;
4107
+ }[] | undefined;
4108
+ } | ({
4109
+ type: "url";
4110
+ input: string;
4111
+ server?: string | undefined;
4112
+ id?: string | undefined;
4113
+ navigationId?: string | undefined;
4114
+ categories?: {
4115
+ tags: string[];
4116
+ label: string;
4117
+ }[] | undefined;
4118
+ } | {
4119
+ type: "file";
4120
+ input: string;
4121
+ server?: string | undefined;
4122
+ id?: string | undefined;
4123
+ navigationId?: string | undefined;
4124
+ categories?: {
4125
+ tags: string[];
4126
+ label: string;
4127
+ }[] | undefined;
4128
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4129
+ } | {
4130
+ type: "raw";
4131
+ input: string;
4132
+ server?: string | undefined;
4133
+ id?: string | undefined;
4134
+ navigationId?: string | undefined;
4135
+ categories?: {
4136
+ tags: string[];
4137
+ label: string;
4138
+ }[] | undefined;
4139
+ })[] | undefined;
4140
+ catalog?: {
4141
+ label: string;
4142
+ navigationId: string;
4143
+ items?: string[] | undefined;
4144
+ } | {
4145
+ label: string;
4146
+ navigationId: string;
4147
+ items?: string[] | undefined;
4148
+ }[] | undefined;
4149
+ apiKeys?: {
4150
+ enabled: boolean;
4151
+ endpoint: string;
4152
+ } | {
4153
+ enabled: boolean;
4154
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4155
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4156
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4157
+ updateKeyDescription?: ((apiKey: {
4158
+ id: string;
4159
+ description: string;
4160
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4161
+ createKey?: ((apiKey: {
4162
+ description: string;
4163
+ expiresOn?: string;
4164
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4165
+ } | undefined;
4166
+ redirects?: {
4167
+ from: string;
4168
+ to: string;
4169
+ }[] | undefined;
4170
+ sitemap?: {
4171
+ siteUrl: string;
4172
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4173
+ priority?: number | undefined;
4174
+ outDir?: string | undefined;
4175
+ autoLastmod?: boolean | undefined;
4176
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4177
+ } | undefined;
4178
+ }>, {
4179
+ search?: {
4180
+ type: "inkeep";
4181
+ apiKey: string;
4182
+ integrationId: string;
4183
+ organizationId: string;
4184
+ primaryBrandColor: string;
4185
+ organizationDisplayName: string;
4186
+ } | undefined;
4187
+ metadata?: {
4188
+ description?: string | undefined;
4189
+ title?: string | undefined;
4190
+ logo?: string | undefined;
4191
+ favicon?: string | undefined;
4192
+ generator?: string | undefined;
4193
+ applicationName?: string | undefined;
4194
+ referrer?: string | undefined;
4195
+ keywords?: string[] | undefined;
4196
+ authors?: string[] | undefined;
4197
+ creator?: string | undefined;
4198
+ publisher?: string | undefined;
4199
+ } | undefined;
4200
+ theme?: {
4201
+ dark?: {
4202
+ input?: string | undefined;
4203
+ radius?: string | undefined;
4204
+ border?: string | undefined;
4205
+ background?: string | undefined;
4206
+ foreground?: string | undefined;
4207
+ card?: string | undefined;
4208
+ cardForeground?: string | undefined;
4209
+ popover?: string | undefined;
4210
+ popoverForeground?: string | undefined;
4211
+ primary?: string | undefined;
4212
+ primaryForeground?: string | undefined;
4213
+ secondary?: string | undefined;
4214
+ secondaryForeground?: string | undefined;
4215
+ muted?: string | undefined;
4216
+ mutedForeground?: string | undefined;
4217
+ accent?: string | undefined;
4218
+ accentForeground?: string | undefined;
4219
+ destructive?: string | undefined;
4220
+ destructiveForeground?: string | undefined;
4221
+ ring?: string | undefined;
4222
+ } | undefined;
4223
+ light?: {
4224
+ input?: string | undefined;
4225
+ radius?: string | undefined;
4226
+ border?: string | undefined;
4227
+ background?: string | undefined;
4228
+ foreground?: string | undefined;
4229
+ card?: string | undefined;
4230
+ cardForeground?: string | undefined;
4231
+ popover?: string | undefined;
4232
+ popoverForeground?: string | undefined;
4233
+ primary?: string | undefined;
4234
+ primaryForeground?: string | undefined;
4235
+ secondary?: string | undefined;
4236
+ secondaryForeground?: string | undefined;
4237
+ muted?: string | undefined;
4238
+ mutedForeground?: string | undefined;
4239
+ accent?: string | undefined;
4240
+ accentForeground?: string | undefined;
4241
+ destructive?: string | undefined;
4242
+ destructiveForeground?: string | undefined;
4243
+ ring?: string | undefined;
4244
+ } | undefined;
4245
+ } | undefined;
4246
+ page?: {
4247
+ banner?: {
4248
+ message: NonNullable<ReactNode>;
4249
+ color?: BannerColorType;
4250
+ dismissible?: boolean | undefined;
4251
+ } | undefined;
4252
+ pageTitle?: string | undefined;
4253
+ logoUrl?: string | undefined;
4254
+ logo?: {
4255
+ src: {
4256
+ dark: string;
4257
+ light: string;
4258
+ };
4259
+ width?: string | undefined;
4260
+ alt?: string | undefined;
4261
+ } | undefined;
4262
+ } | undefined;
4263
+ basePath?: string | undefined;
4264
+ topNavigation?: {
4265
+ id: string;
4266
+ label: string;
4267
+ default?: string | undefined;
4268
+ display?: "auth" | "anon" | "always" | undefined;
4269
+ }[] | undefined;
4270
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4271
+ authentication?: {
4272
+ type: "clerk";
4273
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4274
+ redirectToAfterSignUp?: string | undefined;
4275
+ redirectToAfterSignIn?: string | undefined;
4276
+ redirectToAfterSignOut?: string | undefined;
4277
+ } | {
4278
+ type: "openid";
4279
+ clientId: string;
4280
+ issuer: string;
4281
+ redirectToAfterSignUp?: string | undefined;
4282
+ redirectToAfterSignIn?: string | undefined;
4283
+ redirectToAfterSignOut?: string | undefined;
4284
+ audience?: string | undefined;
4285
+ scopes?: string[] | undefined;
4286
+ } | {
4287
+ type: "auth0";
4288
+ clientId: string;
4289
+ domain: string;
4290
+ redirectToAfterSignUp?: string | undefined;
4291
+ redirectToAfterSignIn?: string | undefined;
4292
+ redirectToAfterSignOut?: string | undefined;
4293
+ audience?: string | undefined;
4294
+ } | undefined;
4295
+ docs?: {
4296
+ files: string;
4297
+ defaultOptions?: {
4298
+ toc?: boolean | undefined;
4299
+ disablePager?: boolean | undefined;
4300
+ } | undefined;
4301
+ } | {
4302
+ files: string;
4303
+ defaultOptions?: {
4304
+ toc?: boolean | undefined;
4305
+ disablePager?: boolean | undefined;
4306
+ } | undefined;
4307
+ }[] | undefined;
4308
+ apis?: {
4309
+ type: "url";
4310
+ input: string;
4311
+ server?: string | undefined;
4312
+ id?: string | undefined;
4313
+ navigationId?: string | undefined;
4314
+ categories?: {
4315
+ tags: string[];
4316
+ label: string;
4317
+ }[] | undefined;
4318
+ } | {
4319
+ type: "file";
4320
+ input: string;
4321
+ server?: string | undefined;
4322
+ id?: string | undefined;
4323
+ navigationId?: string | undefined;
4324
+ categories?: {
4325
+ tags: string[];
4326
+ label: string;
4327
+ }[] | undefined;
4328
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4329
+ } | {
4330
+ type: "raw";
4331
+ input: string;
4332
+ server?: string | undefined;
4333
+ id?: string | undefined;
4334
+ navigationId?: string | undefined;
4335
+ categories?: {
4336
+ tags: string[];
4337
+ label: string;
4338
+ }[] | undefined;
4339
+ } | ({
4340
+ type: "url";
4341
+ input: string;
4342
+ server?: string | undefined;
4343
+ id?: string | undefined;
4344
+ navigationId?: string | undefined;
4345
+ categories?: {
4346
+ tags: string[];
4347
+ label: string;
4348
+ }[] | undefined;
4349
+ } | {
4350
+ type: "file";
4351
+ input: string;
4352
+ server?: string | undefined;
4353
+ id?: string | undefined;
4354
+ navigationId?: string | undefined;
4355
+ categories?: {
4356
+ tags: string[];
4357
+ label: string;
4358
+ }[] | undefined;
4359
+ postProcessors?: ((args_0: z.objectInputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4360
+ } | {
4361
+ type: "raw";
4362
+ input: string;
4363
+ server?: string | undefined;
4364
+ id?: string | undefined;
4365
+ navigationId?: string | undefined;
4366
+ categories?: {
4367
+ tags: string[];
4368
+ label: string;
4369
+ }[] | undefined;
4370
+ })[] | undefined;
4371
+ catalog?: {
4372
+ label: string;
4373
+ navigationId: string;
4374
+ items?: string[] | undefined;
4375
+ } | {
4376
+ label: string;
4377
+ navigationId: string;
4378
+ items?: string[] | undefined;
4379
+ }[] | undefined;
4380
+ apiKeys?: {
4381
+ enabled: boolean;
4382
+ endpoint: string;
4383
+ } | {
4384
+ enabled: boolean;
4385
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4386
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4387
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4388
+ updateKeyDescription?: ((apiKey: {
4389
+ id: string;
4390
+ description: string;
4391
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4392
+ createKey?: ((apiKey: {
4393
+ description: string;
4394
+ expiresOn?: string;
4395
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4396
+ } | undefined;
4397
+ redirects?: {
4398
+ from: string;
4399
+ to: string;
4400
+ }[] | undefined;
4401
+ sitemap?: {
4402
+ siteUrl: string;
4403
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4404
+ priority?: number | undefined;
4405
+ outDir?: string | undefined;
4406
+ autoLastmod?: boolean | undefined;
4407
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4408
+ } | undefined;
4409
+ }, {
4410
+ search?: {
4411
+ type: "inkeep";
4412
+ apiKey: string;
4413
+ integrationId: string;
4414
+ organizationId: string;
4415
+ primaryBrandColor: string;
4416
+ organizationDisplayName: string;
4417
+ } | undefined;
4418
+ metadata?: {
4419
+ description?: string | undefined;
4420
+ title?: string | undefined;
4421
+ logo?: string | undefined;
4422
+ favicon?: string | undefined;
4423
+ generator?: string | undefined;
4424
+ applicationName?: string | undefined;
4425
+ referrer?: string | undefined;
4426
+ keywords?: string[] | undefined;
4427
+ authors?: string[] | undefined;
4428
+ creator?: string | undefined;
4429
+ publisher?: string | undefined;
4430
+ } | undefined;
4431
+ theme?: {
4432
+ dark?: {
4433
+ input?: string | undefined;
4434
+ radius?: string | undefined;
4435
+ border?: string | undefined;
4436
+ background?: string | undefined;
4437
+ foreground?: string | undefined;
4438
+ card?: string | undefined;
4439
+ cardForeground?: string | undefined;
4440
+ popover?: string | undefined;
4441
+ popoverForeground?: string | undefined;
4442
+ primary?: string | undefined;
4443
+ primaryForeground?: string | undefined;
4444
+ secondary?: string | undefined;
4445
+ secondaryForeground?: string | undefined;
4446
+ muted?: string | undefined;
4447
+ mutedForeground?: string | undefined;
4448
+ accent?: string | undefined;
4449
+ accentForeground?: string | undefined;
4450
+ destructive?: string | undefined;
4451
+ destructiveForeground?: string | undefined;
4452
+ ring?: string | undefined;
4453
+ } | undefined;
4454
+ light?: {
4455
+ input?: string | undefined;
4456
+ radius?: string | undefined;
4457
+ border?: string | undefined;
4458
+ background?: string | undefined;
4459
+ foreground?: string | undefined;
4460
+ card?: string | undefined;
4461
+ cardForeground?: string | undefined;
4462
+ popover?: string | undefined;
4463
+ popoverForeground?: string | undefined;
4464
+ primary?: string | undefined;
4465
+ primaryForeground?: string | undefined;
4466
+ secondary?: string | undefined;
4467
+ secondaryForeground?: string | undefined;
4468
+ muted?: string | undefined;
4469
+ mutedForeground?: string | undefined;
4470
+ accent?: string | undefined;
4471
+ accentForeground?: string | undefined;
4472
+ destructive?: string | undefined;
4473
+ destructiveForeground?: string | undefined;
4474
+ ring?: string | undefined;
4475
+ } | undefined;
4476
+ } | undefined;
4477
+ page?: {
4478
+ banner?: {
4479
+ message: NonNullable<ReactNode>;
4480
+ color?: BannerColorType;
4481
+ dismissible?: boolean | undefined;
4482
+ } | undefined;
4483
+ pageTitle?: string | undefined;
4484
+ logoUrl?: string | undefined;
4485
+ logo?: {
4486
+ src: {
4487
+ dark: string;
4488
+ light: string;
4489
+ };
4490
+ width?: string | undefined;
4491
+ alt?: string | undefined;
4492
+ } | undefined;
4493
+ } | undefined;
4494
+ basePath?: string | undefined;
4495
+ topNavigation?: {
4496
+ id: string;
4497
+ label: string;
4498
+ default?: string | undefined;
4499
+ display?: "auth" | "anon" | "always" | undefined;
4500
+ }[] | undefined;
4501
+ sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
4502
+ authentication?: {
4503
+ type: "clerk";
4504
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
4505
+ redirectToAfterSignUp?: string | undefined;
4506
+ redirectToAfterSignIn?: string | undefined;
4507
+ redirectToAfterSignOut?: string | undefined;
4508
+ } | {
4509
+ type: "openid";
4510
+ clientId: string;
4511
+ issuer: string;
4512
+ redirectToAfterSignUp?: string | undefined;
4513
+ redirectToAfterSignIn?: string | undefined;
4514
+ redirectToAfterSignOut?: string | undefined;
4515
+ audience?: string | undefined;
4516
+ scopes?: string[] | undefined;
4517
+ } | {
4518
+ type: "auth0";
4519
+ clientId: string;
4520
+ domain: string;
4521
+ redirectToAfterSignUp?: string | undefined;
4522
+ redirectToAfterSignIn?: string | undefined;
4523
+ redirectToAfterSignOut?: string | undefined;
4524
+ audience?: string | undefined;
4525
+ } | undefined;
4526
+ docs?: {
4527
+ files: string;
4528
+ defaultOptions?: {
4529
+ toc?: boolean | undefined;
4530
+ disablePager?: boolean | undefined;
4531
+ } | undefined;
4532
+ } | {
4533
+ files: string;
4534
+ defaultOptions?: {
4535
+ toc?: boolean | undefined;
4536
+ disablePager?: boolean | undefined;
4537
+ } | undefined;
4538
+ }[] | undefined;
4539
+ apis?: {
4540
+ type: "url";
4541
+ input: string;
4542
+ server?: string | undefined;
4543
+ id?: string | undefined;
4544
+ navigationId?: string | undefined;
4545
+ categories?: {
4546
+ tags: string[];
4547
+ label: string;
4548
+ }[] | undefined;
4549
+ } | {
4550
+ type: "file";
4551
+ input: string;
4552
+ server?: string | undefined;
4553
+ id?: string | undefined;
4554
+ navigationId?: string | undefined;
4555
+ categories?: {
4556
+ tags: string[];
4557
+ label: string;
4558
+ }[] | undefined;
4559
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4560
+ } | {
4561
+ type: "raw";
4562
+ input: string;
4563
+ server?: string | undefined;
4564
+ id?: string | undefined;
4565
+ navigationId?: string | undefined;
4566
+ categories?: {
4567
+ tags: string[];
4568
+ label: string;
4569
+ }[] | undefined;
4570
+ } | ({
4571
+ type: "url";
4572
+ input: string;
4573
+ server?: string | undefined;
4574
+ id?: string | undefined;
4575
+ navigationId?: string | undefined;
4576
+ categories?: {
4577
+ tags: string[];
4578
+ label: string;
4579
+ }[] | undefined;
4580
+ } | {
4581
+ type: "file";
4582
+ input: string;
4583
+ server?: string | undefined;
4584
+ id?: string | undefined;
4585
+ navigationId?: string | undefined;
4586
+ categories?: {
4587
+ tags: string[];
4588
+ label: string;
4589
+ }[] | undefined;
4590
+ postProcessors?: ((args_0: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, ...args: unknown[]) => z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | Promise<z.objectInputType<{}, z.ZodTypeAny, "passthrough">>)[] | undefined;
4591
+ } | {
4592
+ type: "raw";
4593
+ input: string;
4594
+ server?: string | undefined;
4595
+ id?: string | undefined;
4596
+ navigationId?: string | undefined;
4597
+ categories?: {
4598
+ tags: string[];
4599
+ label: string;
4600
+ }[] | undefined;
4601
+ })[] | undefined;
4602
+ catalog?: {
4603
+ label: string;
4604
+ navigationId: string;
4605
+ items?: string[] | undefined;
4606
+ } | {
4607
+ label: string;
4608
+ navigationId: string;
4609
+ items?: string[] | undefined;
4610
+ }[] | undefined;
4611
+ apiKeys?: {
4612
+ enabled: boolean;
4613
+ endpoint: string;
4614
+ } | {
4615
+ enabled: boolean;
4616
+ getKeys: (context: ZudokuContext) => Promise<ApiKey[]>;
4617
+ rollKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4618
+ deleteKey?: ((id: string, context: ZudokuContext) => Promise<void>) | undefined;
4619
+ updateKeyDescription?: ((apiKey: {
4620
+ id: string;
4621
+ description: string;
4622
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4623
+ createKey?: ((apiKey: {
4624
+ description: string;
4625
+ expiresOn?: string;
4626
+ }, context: ZudokuContext) => Promise<void>) | undefined;
4627
+ } | undefined;
4628
+ redirects?: {
4629
+ from: string;
4630
+ to: string;
4631
+ }[] | undefined;
4632
+ sitemap?: {
4633
+ siteUrl: string;
4634
+ changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
4635
+ priority?: number | undefined;
4636
+ outDir?: string | undefined;
4637
+ autoLastmod?: boolean | undefined;
4638
+ exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
4639
+ } | undefined;
4640
+ }>;
4641
+ export type ZudokuApiConfig = z.infer<typeof ApiSchema>;
4642
+ export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
4643
+ export type ZudokuDocsConfig = z.infer<typeof DocsConfigSchema>;
4644
+ export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
4645
+ export type ZudokuRedirect = z.infer<typeof Redirect>;
4646
+ /**
4647
+ * Type for the dev-portal.json file
4648
+ */
4649
+ export type CommonConfig = z.infer<typeof CommonConfig>;
4650
+ export declare function validateCommonConfig(config: unknown): void;
4651
+ export {};