zudoku 0.3.0-dev.40 → 0.3.0-dev.42

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 (96) hide show
  1. package/dist/app/entry.server.d.ts +5 -5
  2. package/dist/app/entry.server.js +4 -4
  3. package/dist/app/entry.server.js.map +1 -1
  4. package/dist/config/config.d.ts +2 -35
  5. package/dist/config/validators/validate.d.ts +1011 -2
  6. package/dist/config/validators/validate.js +180 -1
  7. package/dist/config/validators/validate.js.map +1 -1
  8. package/dist/lib/core/DevPortalContext.d.ts +7 -7
  9. package/dist/lib/core/DevPortalContext.js +1 -1
  10. package/dist/lib/core/DevPortalContext.js.map +1 -1
  11. package/dist/lib/plugins/api-keys/index.d.ts +2 -3
  12. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  13. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -1
  14. package/dist/lib/plugins/openapi/index.js +1 -1
  15. package/dist/lib/plugins/openapi/index.js.map +1 -1
  16. package/dist/lib/plugins/redirect/index.d.ts +0 -1
  17. package/dist/lib/plugins/redirect/index.js +1 -1
  18. package/dist/lib/plugins/redirect/index.js.map +1 -1
  19. package/dist/lib/ui/button-variants.d.ts +2 -2
  20. package/dist/lib/util/MdxComponents.d.ts +2 -2
  21. package/dist/lib/util/MdxComponents.js +4 -2
  22. package/dist/lib/util/MdxComponents.js.map +1 -1
  23. package/dist/vite/build.js +3 -2
  24. package/dist/vite/build.js.map +1 -1
  25. package/dist/vite/config.js +5 -5
  26. package/dist/vite/config.js.map +1 -1
  27. package/dist/vite/dev-server.js +15 -8
  28. package/dist/vite/dev-server.js.map +1 -1
  29. package/dist/vite/plugin-component.js +1 -0
  30. package/dist/vite/plugin-component.js.map +1 -1
  31. package/dist/vite/plugin-html.js +1 -1
  32. package/dist/vite/plugin-html.js.map +1 -1
  33. package/dist/vite/prerender.d.ts +16 -0
  34. package/dist/vite/prerender.js +21 -25
  35. package/dist/vite/prerender.js.map +1 -1
  36. package/lib/{AnchorLink-DCdBbdqo.js → AnchorLink-CZUp-F0P.js} +6 -6
  37. package/lib/{AnchorLink-DCdBbdqo.js.map → AnchorLink-CZUp-F0P.js.map} +1 -1
  38. package/lib/{DevPortalProvider-C-O1s7mm.js → DevPortalProvider-Do9oJqme.js} +20 -20
  39. package/lib/{DevPortalProvider-C-O1s7mm.js.map → DevPortalProvider-Do9oJqme.js.map} +1 -1
  40. package/lib/{Markdown-CGZJUYcj.js → Markdown-Dbzrtopg.js} +18 -16
  41. package/lib/{Markdown-CGZJUYcj.js.map → Markdown-Dbzrtopg.js.map} +1 -1
  42. package/lib/{MdxPage-BZLuBOqR.js → MdxPage-JvboTsbK.js} +23 -23
  43. package/lib/{MdxPage-BZLuBOqR.js.map → MdxPage-JvboTsbK.js.map} +1 -1
  44. package/lib/{OperationList-BEpN70_E.js → OperationList-C22hqFQA.js} +192 -192
  45. package/lib/{OperationList-BEpN70_E.js.map → OperationList-C22hqFQA.js.map} +1 -1
  46. package/lib/{Route-WiMUalLG.js → Route-C1LyvITr.js} +3 -3
  47. package/lib/{Route-WiMUalLG.js.map → Route-C1LyvITr.js.map} +1 -1
  48. package/lib/{Select-BQ9-3iTJ.js → Select-DHm1jDdS.js} +5 -5
  49. package/lib/{Select-BQ9-3iTJ.js.map → Select-DHm1jDdS.js.map} +1 -1
  50. package/lib/{Spinner-C1L_TK5f.js → Spinner-BSk0ImmP.js} +10 -10
  51. package/lib/{Spinner-C1L_TK5f.js.map → Spinner-BSk0ImmP.js.map} +1 -1
  52. package/lib/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-BVfed4GL.js} +3 -3
  53. package/lib/_commonjsHelpers-BVfed4GL.js.map +1 -0
  54. package/lib/{hook-SM2dMVmI.js → hook-DCYGmylw.js} +12 -12
  55. package/lib/{hook-SM2dMVmI.js.map → hook-DCYGmylw.js.map} +1 -1
  56. package/lib/{index-CtLNbq0d.js → index-CXXn0D4E.js} +15 -15
  57. package/lib/{index-CtLNbq0d.js.map → index-CXXn0D4E.js.map} +1 -1
  58. package/lib/{index-PvQa9XLl.js → index-PzuYthhc.js} +16 -15
  59. package/lib/{index-PvQa9XLl.js.map → index-PzuYthhc.js.map} +1 -1
  60. package/lib/{jsx-runtime-DLtUZ5Ve.js → jsx-runtime-CJZJivg2.js} +5 -5
  61. package/lib/{jsx-runtime-DLtUZ5Ve.js.map → jsx-runtime-CJZJivg2.js.map} +1 -1
  62. package/lib/{router-BkOLuJlq.js → router-CBw2vqJE.js} +5 -5
  63. package/lib/{router-BkOLuJlq.js.map → router-CBw2vqJE.js.map} +1 -1
  64. package/lib/{slugify-DbLhpSPt.js → slugify-CiPVjteN.js} +2 -2
  65. package/lib/{slugify-DbLhpSPt.js.map → slugify-CiPVjteN.js.map} +1 -1
  66. package/lib/{state-Ds_OxRHP.js → state-D36MLDHk.js} +15 -15
  67. package/lib/{state-Ds_OxRHP.js.map → state-D36MLDHk.js.map} +1 -1
  68. package/lib/urql-DMlBWUKL.js +1592 -0
  69. package/lib/urql-DMlBWUKL.js.map +1 -0
  70. package/lib/{util-Cgie7wjb.js → util-_jwUlTBU.js} +2 -2
  71. package/lib/{util-Cgie7wjb.js.map → util-_jwUlTBU.js.map} +1 -1
  72. package/lib/zudoku.auth-auth0.js +1 -1
  73. package/lib/zudoku.auth-clerk.js +1 -1
  74. package/lib/zudoku.auth-openid.js +3 -3
  75. package/lib/zudoku.components.js +12 -12
  76. package/lib/zudoku.components.js.map +1 -1
  77. package/lib/zudoku.openapi-worker.js +15108 -2
  78. package/lib/zudoku.openapi-worker.js.map +1 -1
  79. package/lib/zudoku.plugin-api-keys.js +5 -5
  80. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  81. package/lib/zudoku.plugin-markdown.js +4 -4
  82. package/lib/zudoku.plugin-openapi.js +7 -6
  83. package/lib/zudoku.plugin-openapi.js.map +1 -1
  84. package/lib/zudoku.plugin-redirect.js +4 -4
  85. package/lib/zudoku.plugin-redirect.js.map +1 -1
  86. package/package.json +5 -1
  87. package/src/app/entry.server.tsx +9 -9
  88. package/src/lib/core/DevPortalContext.ts +9 -9
  89. package/src/lib/plugins/api-keys/index.tsx +2 -3
  90. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -1
  91. package/src/lib/plugins/openapi/index.tsx +1 -1
  92. package/src/lib/plugins/redirect/index.tsx +1 -2
  93. package/src/lib/util/MdxComponents.tsx +4 -2
  94. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  95. package/lib/createWorkerClient-TWecYOlx.js +0 -16698
  96. package/lib/createWorkerClient-TWecYOlx.js.map +0 -1
@@ -1,2 +1,1011 @@
1
- import { ZudokuConfig } from "../config.js";
2
- export declare function validateConfig(config: ZudokuConfig): void;
1
+ import type { Options } from "@mdx-js/rollup";
2
+ import { type ReactNode } from "react";
3
+ import type { RollupOptions } from "rollup";
4
+ import z from "zod";
5
+ import { DevPortalContext } from "../../lib/core/DevPortalContext.js";
6
+ import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
7
+ declare const BaseNavigationCategoryItem: z.ZodObject<{
8
+ label: z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>;
9
+ title: z.ZodOptional<z.ZodString>;
10
+ muted: z.ZodOptional<z.ZodBoolean>;
11
+ icon: z.ZodOptional<z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ title?: string | undefined;
14
+ label?: ReactNode;
15
+ icon?: ReactNode;
16
+ muted?: boolean | undefined;
17
+ }, {
18
+ title?: string | undefined;
19
+ label?: ReactNode;
20
+ icon?: ReactNode;
21
+ muted?: boolean | undefined;
22
+ }>;
23
+ type PathNavigationCategoryItemType = z.infer<typeof BaseNavigationCategoryItem> & {
24
+ path: string;
25
+ children?: NavigationCategoryItemType[];
26
+ };
27
+ type HrefNavigationCategoryItemType = z.infer<typeof BaseNavigationCategoryItem> & {
28
+ href: string;
29
+ };
30
+ type NavigationCategoryItemType = PathNavigationCategoryItemType | HrefNavigationCategoryItemType;
31
+ declare const ConfigSchema: z.ZodObject<{
32
+ page: z.ZodOptional<z.ZodObject<{
33
+ pageTitle: z.ZodOptional<z.ZodString>;
34
+ logo: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ pageTitle?: string | undefined;
37
+ logo?: string | undefined;
38
+ }, {
39
+ pageTitle?: string | undefined;
40
+ logo?: string | undefined;
41
+ }>>;
42
+ navigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ label: z.ZodString;
44
+ path: z.ZodString;
45
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
+ label: z.ZodString;
47
+ path: z.ZodOptional<z.ZodString>;
48
+ expanded: z.ZodOptional<z.ZodBoolean>;
49
+ collapsible: z.ZodOptional<z.ZodBoolean>;
50
+ icon: z.ZodOptional<z.ZodString>;
51
+ children: z.ZodArray<z.ZodObject<{
52
+ label: z.ZodString;
53
+ path: z.ZodString;
54
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
55
+ label: z.ZodString;
56
+ path: z.ZodOptional<z.ZodString>;
57
+ expanded: z.ZodOptional<z.ZodBoolean>;
58
+ collapsible: z.ZodOptional<z.ZodBoolean>;
59
+ icon: z.ZodOptional<z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>>;
60
+ children: z.ZodArray<z.ZodType<NavigationCategoryItemType, z.ZodTypeDef, NavigationCategoryItemType>, "many">;
61
+ }, "strip", z.ZodTypeAny, {
62
+ children: NavigationCategoryItemType[];
63
+ label: string;
64
+ path?: string | undefined;
65
+ expanded?: boolean | undefined;
66
+ icon?: ReactNode;
67
+ collapsible?: boolean | undefined;
68
+ }, {
69
+ children: NavigationCategoryItemType[];
70
+ label: string;
71
+ path?: string | undefined;
72
+ expanded?: boolean | undefined;
73
+ icon?: ReactNode;
74
+ collapsible?: boolean | undefined;
75
+ }>, "many">>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ path: string;
78
+ label: string;
79
+ categories?: {
80
+ children: NavigationCategoryItemType[];
81
+ label: string;
82
+ path?: string | undefined;
83
+ expanded?: boolean | undefined;
84
+ icon?: ReactNode;
85
+ collapsible?: boolean | undefined;
86
+ }[] | undefined;
87
+ }, {
88
+ path: string;
89
+ label: string;
90
+ categories?: {
91
+ children: NavigationCategoryItemType[];
92
+ label: string;
93
+ path?: string | undefined;
94
+ expanded?: boolean | undefined;
95
+ icon?: ReactNode;
96
+ collapsible?: boolean | undefined;
97
+ }[] | undefined;
98
+ }>, "many">;
99
+ }, "strip", z.ZodTypeAny, {
100
+ children: {
101
+ path: string;
102
+ label: string;
103
+ categories?: {
104
+ children: NavigationCategoryItemType[];
105
+ label: string;
106
+ path?: string | undefined;
107
+ expanded?: boolean | undefined;
108
+ icon?: ReactNode;
109
+ collapsible?: boolean | undefined;
110
+ }[] | undefined;
111
+ }[];
112
+ label: string;
113
+ path?: string | undefined;
114
+ expanded?: boolean | undefined;
115
+ icon?: string | undefined;
116
+ collapsible?: boolean | undefined;
117
+ }, {
118
+ children: {
119
+ path: string;
120
+ label: string;
121
+ categories?: {
122
+ children: NavigationCategoryItemType[];
123
+ label: string;
124
+ path?: string | undefined;
125
+ expanded?: boolean | undefined;
126
+ icon?: ReactNode;
127
+ collapsible?: boolean | undefined;
128
+ }[] | undefined;
129
+ }[];
130
+ label: string;
131
+ path?: string | undefined;
132
+ expanded?: boolean | undefined;
133
+ icon?: string | undefined;
134
+ collapsible?: boolean | undefined;
135
+ }>, "many">>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ path: string;
138
+ label: string;
139
+ categories?: {
140
+ children: {
141
+ path: string;
142
+ label: string;
143
+ categories?: {
144
+ children: NavigationCategoryItemType[];
145
+ label: string;
146
+ path?: string | undefined;
147
+ expanded?: boolean | undefined;
148
+ icon?: ReactNode;
149
+ collapsible?: boolean | undefined;
150
+ }[] | undefined;
151
+ }[];
152
+ label: string;
153
+ path?: string | undefined;
154
+ expanded?: boolean | undefined;
155
+ icon?: string | undefined;
156
+ collapsible?: boolean | undefined;
157
+ }[] | undefined;
158
+ }, {
159
+ path: string;
160
+ label: string;
161
+ categories?: {
162
+ children: {
163
+ path: string;
164
+ label: string;
165
+ categories?: {
166
+ children: NavigationCategoryItemType[];
167
+ label: string;
168
+ path?: string | undefined;
169
+ expanded?: boolean | undefined;
170
+ icon?: ReactNode;
171
+ collapsible?: boolean | undefined;
172
+ }[] | undefined;
173
+ }[];
174
+ label: string;
175
+ path?: string | undefined;
176
+ expanded?: boolean | undefined;
177
+ icon?: string | undefined;
178
+ collapsible?: boolean | undefined;
179
+ }[] | undefined;
180
+ }>, "many">>;
181
+ theme: z.ZodOptional<z.ZodObject<{
182
+ light: z.ZodOptional<z.ZodObject<{
183
+ background: z.ZodOptional<z.ZodString>;
184
+ foreground: z.ZodOptional<z.ZodString>;
185
+ card: z.ZodOptional<z.ZodString>;
186
+ cardForeground: z.ZodOptional<z.ZodString>;
187
+ popover: z.ZodOptional<z.ZodString>;
188
+ popoverForeground: z.ZodOptional<z.ZodString>;
189
+ primary: z.ZodOptional<z.ZodString>;
190
+ primaryForeground: z.ZodOptional<z.ZodString>;
191
+ secondary: z.ZodOptional<z.ZodString>;
192
+ secondaryForeground: z.ZodOptional<z.ZodString>;
193
+ muted: z.ZodOptional<z.ZodString>;
194
+ mutedForeground: z.ZodOptional<z.ZodString>;
195
+ accent: z.ZodOptional<z.ZodString>;
196
+ accentForeground: z.ZodOptional<z.ZodString>;
197
+ destructive: z.ZodOptional<z.ZodString>;
198
+ destructiveForeground: z.ZodOptional<z.ZodString>;
199
+ border: z.ZodOptional<z.ZodString>;
200
+ input: z.ZodOptional<z.ZodString>;
201
+ ring: z.ZodOptional<z.ZodString>;
202
+ radius: z.ZodOptional<z.ZodString>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ radius?: string | undefined;
205
+ input?: string | undefined;
206
+ border?: string | undefined;
207
+ background?: string | undefined;
208
+ destructive?: string | undefined;
209
+ secondary?: string | undefined;
210
+ muted?: string | undefined;
211
+ foreground?: string | undefined;
212
+ card?: string | undefined;
213
+ cardForeground?: string | undefined;
214
+ popover?: string | undefined;
215
+ popoverForeground?: string | undefined;
216
+ primary?: string | undefined;
217
+ primaryForeground?: string | undefined;
218
+ secondaryForeground?: string | undefined;
219
+ mutedForeground?: string | undefined;
220
+ accent?: string | undefined;
221
+ accentForeground?: string | undefined;
222
+ destructiveForeground?: string | undefined;
223
+ ring?: string | undefined;
224
+ }, {
225
+ radius?: string | undefined;
226
+ input?: string | undefined;
227
+ border?: string | undefined;
228
+ background?: string | undefined;
229
+ destructive?: string | undefined;
230
+ secondary?: string | undefined;
231
+ muted?: string | undefined;
232
+ foreground?: string | undefined;
233
+ card?: string | undefined;
234
+ cardForeground?: string | undefined;
235
+ popover?: string | undefined;
236
+ popoverForeground?: string | undefined;
237
+ primary?: string | undefined;
238
+ primaryForeground?: string | undefined;
239
+ secondaryForeground?: string | undefined;
240
+ mutedForeground?: string | undefined;
241
+ accent?: string | undefined;
242
+ accentForeground?: string | undefined;
243
+ destructiveForeground?: string | undefined;
244
+ ring?: string | undefined;
245
+ }>>;
246
+ dark: z.ZodOptional<z.ZodObject<{
247
+ background: z.ZodOptional<z.ZodString>;
248
+ foreground: z.ZodOptional<z.ZodString>;
249
+ card: z.ZodOptional<z.ZodString>;
250
+ cardForeground: z.ZodOptional<z.ZodString>;
251
+ popover: z.ZodOptional<z.ZodString>;
252
+ popoverForeground: z.ZodOptional<z.ZodString>;
253
+ primary: z.ZodOptional<z.ZodString>;
254
+ primaryForeground: z.ZodOptional<z.ZodString>;
255
+ secondary: z.ZodOptional<z.ZodString>;
256
+ secondaryForeground: z.ZodOptional<z.ZodString>;
257
+ muted: z.ZodOptional<z.ZodString>;
258
+ mutedForeground: z.ZodOptional<z.ZodString>;
259
+ accent: z.ZodOptional<z.ZodString>;
260
+ accentForeground: z.ZodOptional<z.ZodString>;
261
+ destructive: z.ZodOptional<z.ZodString>;
262
+ destructiveForeground: z.ZodOptional<z.ZodString>;
263
+ border: z.ZodOptional<z.ZodString>;
264
+ input: z.ZodOptional<z.ZodString>;
265
+ ring: z.ZodOptional<z.ZodString>;
266
+ radius: z.ZodOptional<z.ZodString>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ radius?: string | undefined;
269
+ input?: string | undefined;
270
+ border?: string | undefined;
271
+ background?: string | undefined;
272
+ destructive?: string | undefined;
273
+ secondary?: string | undefined;
274
+ muted?: string | undefined;
275
+ foreground?: string | undefined;
276
+ card?: string | undefined;
277
+ cardForeground?: string | undefined;
278
+ popover?: string | undefined;
279
+ popoverForeground?: string | undefined;
280
+ primary?: string | undefined;
281
+ primaryForeground?: string | undefined;
282
+ secondaryForeground?: string | undefined;
283
+ mutedForeground?: string | undefined;
284
+ accent?: string | undefined;
285
+ accentForeground?: string | undefined;
286
+ destructiveForeground?: string | undefined;
287
+ ring?: string | undefined;
288
+ }, {
289
+ radius?: string | undefined;
290
+ input?: string | undefined;
291
+ border?: string | undefined;
292
+ background?: string | undefined;
293
+ destructive?: string | undefined;
294
+ secondary?: string | undefined;
295
+ muted?: string | undefined;
296
+ foreground?: string | undefined;
297
+ card?: string | undefined;
298
+ cardForeground?: string | undefined;
299
+ popover?: string | undefined;
300
+ popoverForeground?: string | undefined;
301
+ primary?: string | undefined;
302
+ primaryForeground?: string | undefined;
303
+ secondaryForeground?: string | undefined;
304
+ mutedForeground?: string | undefined;
305
+ accent?: string | undefined;
306
+ accentForeground?: string | undefined;
307
+ destructiveForeground?: string | undefined;
308
+ ring?: string | undefined;
309
+ }>>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ dark?: {
312
+ radius?: string | undefined;
313
+ input?: string | undefined;
314
+ border?: string | undefined;
315
+ background?: string | undefined;
316
+ destructive?: string | undefined;
317
+ secondary?: string | undefined;
318
+ muted?: string | undefined;
319
+ foreground?: string | undefined;
320
+ card?: string | undefined;
321
+ cardForeground?: string | undefined;
322
+ popover?: string | undefined;
323
+ popoverForeground?: string | undefined;
324
+ primary?: string | undefined;
325
+ primaryForeground?: string | undefined;
326
+ secondaryForeground?: string | undefined;
327
+ mutedForeground?: string | undefined;
328
+ accent?: string | undefined;
329
+ accentForeground?: string | undefined;
330
+ destructiveForeground?: string | undefined;
331
+ ring?: string | undefined;
332
+ } | undefined;
333
+ light?: {
334
+ radius?: string | undefined;
335
+ input?: string | undefined;
336
+ border?: string | undefined;
337
+ background?: string | undefined;
338
+ destructive?: string | undefined;
339
+ secondary?: string | undefined;
340
+ muted?: string | undefined;
341
+ foreground?: string | undefined;
342
+ card?: string | undefined;
343
+ cardForeground?: string | undefined;
344
+ popover?: string | undefined;
345
+ popoverForeground?: string | undefined;
346
+ primary?: string | undefined;
347
+ primaryForeground?: string | undefined;
348
+ secondaryForeground?: string | undefined;
349
+ mutedForeground?: string | undefined;
350
+ accent?: string | undefined;
351
+ accentForeground?: string | undefined;
352
+ destructiveForeground?: string | undefined;
353
+ ring?: string | undefined;
354
+ } | undefined;
355
+ }, {
356
+ dark?: {
357
+ radius?: string | undefined;
358
+ input?: string | undefined;
359
+ border?: string | undefined;
360
+ background?: string | undefined;
361
+ destructive?: string | undefined;
362
+ secondary?: string | undefined;
363
+ muted?: string | undefined;
364
+ foreground?: string | undefined;
365
+ card?: string | undefined;
366
+ cardForeground?: string | undefined;
367
+ popover?: string | undefined;
368
+ popoverForeground?: string | undefined;
369
+ primary?: string | undefined;
370
+ primaryForeground?: string | undefined;
371
+ secondaryForeground?: string | undefined;
372
+ mutedForeground?: string | undefined;
373
+ accent?: string | undefined;
374
+ accentForeground?: string | undefined;
375
+ destructiveForeground?: string | undefined;
376
+ ring?: string | undefined;
377
+ } | undefined;
378
+ light?: {
379
+ radius?: string | undefined;
380
+ input?: string | undefined;
381
+ border?: string | undefined;
382
+ background?: string | undefined;
383
+ destructive?: string | undefined;
384
+ secondary?: string | undefined;
385
+ muted?: string | undefined;
386
+ foreground?: string | undefined;
387
+ card?: string | undefined;
388
+ cardForeground?: string | undefined;
389
+ popover?: string | undefined;
390
+ popoverForeground?: string | undefined;
391
+ primary?: string | undefined;
392
+ primaryForeground?: string | undefined;
393
+ secondaryForeground?: string | undefined;
394
+ mutedForeground?: string | undefined;
395
+ accent?: string | undefined;
396
+ accentForeground?: string | undefined;
397
+ destructiveForeground?: string | undefined;
398
+ ring?: string | undefined;
399
+ } | undefined;
400
+ }>>;
401
+ metadata: z.ZodOptional<z.ZodObject<{
402
+ title: z.ZodOptional<z.ZodString>;
403
+ description: z.ZodOptional<z.ZodString>;
404
+ logo: z.ZodOptional<z.ZodString>;
405
+ favicon: z.ZodOptional<z.ZodString>;
406
+ generator: z.ZodOptional<z.ZodString>;
407
+ applicationName: z.ZodOptional<z.ZodString>;
408
+ referrer: z.ZodOptional<z.ZodString>;
409
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
410
+ authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
411
+ creator: z.ZodOptional<z.ZodString>;
412
+ publisher: z.ZodOptional<z.ZodString>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ title?: string | undefined;
415
+ logo?: string | undefined;
416
+ description?: string | undefined;
417
+ favicon?: string | undefined;
418
+ generator?: string | undefined;
419
+ applicationName?: string | undefined;
420
+ referrer?: string | undefined;
421
+ keywords?: string[] | undefined;
422
+ authors?: string[] | undefined;
423
+ creator?: string | undefined;
424
+ publisher?: string | undefined;
425
+ }, {
426
+ title?: string | undefined;
427
+ logo?: string | undefined;
428
+ description?: string | undefined;
429
+ favicon?: string | undefined;
430
+ generator?: string | undefined;
431
+ applicationName?: string | undefined;
432
+ referrer?: string | undefined;
433
+ keywords?: string[] | undefined;
434
+ authors?: string[] | undefined;
435
+ creator?: string | undefined;
436
+ publisher?: string | undefined;
437
+ }>>;
438
+ mdx: z.ZodOptional<z.ZodObject<{
439
+ components: z.ZodOptional<z.ZodType<Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined, z.ZodTypeDef, Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined>>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
442
+ }, {
443
+ components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
444
+ }>>;
445
+ authentication: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
446
+ type: z.ZodLiteral<"clerk">;
447
+ clerkPubKey: z.ZodType<`pk_test_${string}` | `pk_live_${string}`, z.ZodTypeDef, `pk_test_${string}` | `pk_live_${string}`>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ type: "clerk";
450
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
451
+ }, {
452
+ type: "clerk";
453
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
454
+ }>, z.ZodObject<{
455
+ type: z.ZodLiteral<"auth0">;
456
+ clientId: z.ZodString;
457
+ domain: z.ZodString;
458
+ audience: z.ZodOptional<z.ZodString>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ type: "auth0";
461
+ clientId: string;
462
+ domain: string;
463
+ audience?: string | undefined;
464
+ }, {
465
+ type: "auth0";
466
+ clientId: string;
467
+ domain: string;
468
+ audience?: string | undefined;
469
+ }>]>>;
470
+ docs: z.ZodOptional<z.ZodObject<{
471
+ files: z.ZodOptional<z.ZodString>;
472
+ defaultOptions: z.ZodOptional<z.ZodObject<{
473
+ toc: z.ZodOptional<z.ZodBoolean>;
474
+ disablePager: z.ZodOptional<z.ZodBoolean>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ toc?: boolean | undefined;
477
+ disablePager?: boolean | undefined;
478
+ }, {
479
+ toc?: boolean | undefined;
480
+ disablePager?: boolean | undefined;
481
+ }>>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ defaultOptions?: {
484
+ toc?: boolean | undefined;
485
+ disablePager?: boolean | undefined;
486
+ } | undefined;
487
+ files?: string | undefined;
488
+ }, {
489
+ defaultOptions?: {
490
+ toc?: boolean | undefined;
491
+ disablePager?: boolean | undefined;
492
+ } | undefined;
493
+ files?: string | undefined;
494
+ }>>;
495
+ apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
496
+ type: z.ZodLiteral<"url">;
497
+ input: z.ZodString;
498
+ }, {
499
+ server: z.ZodOptional<z.ZodString>;
500
+ path: z.ZodOptional<z.ZodString>;
501
+ }>, "strip", z.ZodTypeAny, {
502
+ type: "url";
503
+ input: string;
504
+ path?: string | undefined;
505
+ server?: string | undefined;
506
+ }, {
507
+ type: "url";
508
+ input: string;
509
+ path?: string | undefined;
510
+ server?: string | undefined;
511
+ }>, z.ZodObject<z.objectUtil.extendShape<{
512
+ type: z.ZodLiteral<"yaml">;
513
+ input: z.ZodString;
514
+ }, {
515
+ server: z.ZodOptional<z.ZodString>;
516
+ path: z.ZodOptional<z.ZodString>;
517
+ }>, "strip", z.ZodTypeAny, {
518
+ type: "yaml";
519
+ input: string;
520
+ path?: string | undefined;
521
+ server?: string | undefined;
522
+ }, {
523
+ type: "yaml";
524
+ input: string;
525
+ path?: string | undefined;
526
+ server?: string | undefined;
527
+ }>, z.ZodObject<z.objectUtil.extendShape<{
528
+ type: z.ZodLiteral<"json">;
529
+ input: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
530
+ }, {
531
+ server: z.ZodOptional<z.ZodString>;
532
+ path: z.ZodOptional<z.ZodString>;
533
+ }>, "strip", z.ZodTypeAny, {
534
+ type: "json";
535
+ input: {} & {
536
+ [k: string]: unknown;
537
+ };
538
+ path?: string | undefined;
539
+ server?: string | undefined;
540
+ }, {
541
+ type: "json";
542
+ input: {} & {
543
+ [k: string]: unknown;
544
+ };
545
+ path?: string | undefined;
546
+ server?: string | undefined;
547
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
548
+ type: z.ZodLiteral<"url">;
549
+ input: z.ZodString;
550
+ }, {
551
+ server: z.ZodOptional<z.ZodString>;
552
+ path: z.ZodOptional<z.ZodString>;
553
+ }>, "strip", z.ZodTypeAny, {
554
+ type: "url";
555
+ input: string;
556
+ path?: string | undefined;
557
+ server?: string | undefined;
558
+ }, {
559
+ type: "url";
560
+ input: string;
561
+ path?: string | undefined;
562
+ server?: string | undefined;
563
+ }>, z.ZodObject<z.objectUtil.extendShape<{
564
+ type: z.ZodLiteral<"yaml">;
565
+ input: z.ZodString;
566
+ }, {
567
+ server: z.ZodOptional<z.ZodString>;
568
+ path: z.ZodOptional<z.ZodString>;
569
+ }>, "strip", z.ZodTypeAny, {
570
+ type: "yaml";
571
+ input: string;
572
+ path?: string | undefined;
573
+ server?: string | undefined;
574
+ }, {
575
+ type: "yaml";
576
+ input: string;
577
+ path?: string | undefined;
578
+ server?: string | undefined;
579
+ }>, z.ZodObject<z.objectUtil.extendShape<{
580
+ type: z.ZodLiteral<"json">;
581
+ input: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
582
+ }, {
583
+ server: z.ZodOptional<z.ZodString>;
584
+ path: z.ZodOptional<z.ZodString>;
585
+ }>, "strip", z.ZodTypeAny, {
586
+ type: "json";
587
+ input: {} & {
588
+ [k: string]: unknown;
589
+ };
590
+ path?: string | undefined;
591
+ server?: string | undefined;
592
+ }, {
593
+ type: "json";
594
+ input: {} & {
595
+ [k: string]: unknown;
596
+ };
597
+ path?: string | undefined;
598
+ server?: string | undefined;
599
+ }>]>, "many">]>>;
600
+ apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
601
+ enabled: z.ZodBoolean;
602
+ endpoint: z.ZodString;
603
+ }, "strip", z.ZodTypeAny, {
604
+ enabled: boolean;
605
+ endpoint: string;
606
+ }, {
607
+ enabled: boolean;
608
+ endpoint: string;
609
+ }>, z.ZodObject<{
610
+ enabled: z.ZodBoolean;
611
+ getKeys: z.ZodType<(context: DevPortalContext) => Promise<ApiKey[]>, z.ZodTypeDef, (context: DevPortalContext) => Promise<ApiKey[]>>;
612
+ rollKey: z.ZodOptional<z.ZodType<(id: string, context: DevPortalContext) => Promise<void>, z.ZodTypeDef, (id: string, context: DevPortalContext) => Promise<void>>>;
613
+ deleteKey: z.ZodOptional<z.ZodType<(id: string, context: DevPortalContext) => Promise<void>, z.ZodTypeDef, (id: string, context: DevPortalContext) => Promise<void>>>;
614
+ updateKeyDescription: z.ZodOptional<z.ZodType<(apiKey: {
615
+ id: string;
616
+ description: string;
617
+ }, context: DevPortalContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
618
+ id: string;
619
+ description: string;
620
+ }, context: DevPortalContext) => Promise<void>>>;
621
+ createKey: z.ZodOptional<z.ZodType<(apiKey: {
622
+ description: string;
623
+ expiresOn?: string;
624
+ }, context: DevPortalContext) => Promise<void>, z.ZodTypeDef, (apiKey: {
625
+ description: string;
626
+ expiresOn?: string;
627
+ }, context: DevPortalContext) => Promise<void>>>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ enabled: boolean;
630
+ getKeys: (context: DevPortalContext) => Promise<ApiKey[]>;
631
+ rollKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
632
+ deleteKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
633
+ updateKeyDescription?: ((apiKey: {
634
+ id: string;
635
+ description: string;
636
+ }, context: DevPortalContext) => Promise<void>) | undefined;
637
+ createKey?: ((apiKey: {
638
+ description: string;
639
+ expiresOn?: string;
640
+ }, context: DevPortalContext) => Promise<void>) | undefined;
641
+ }, {
642
+ enabled: boolean;
643
+ getKeys: (context: DevPortalContext) => Promise<ApiKey[]>;
644
+ rollKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
645
+ deleteKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
646
+ updateKeyDescription?: ((apiKey: {
647
+ id: string;
648
+ description: string;
649
+ }, context: DevPortalContext) => Promise<void>) | undefined;
650
+ createKey?: ((apiKey: {
651
+ description: string;
652
+ expiresOn?: string;
653
+ }, context: DevPortalContext) => Promise<void>) | undefined;
654
+ }>]>>;
655
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
656
+ from: z.ZodString;
657
+ to: z.ZodString;
658
+ }, "strip", z.ZodTypeAny, {
659
+ to: string;
660
+ from: string;
661
+ }, {
662
+ to: string;
663
+ from: string;
664
+ }>, "many">>;
665
+ build: z.ZodOptional<z.ZodType<{
666
+ remarkPlugins?: Options["remarkPlugins"];
667
+ rehypePlugins?: Options["rehypePlugins"];
668
+ rollupOptions?: RollupOptions | undefined;
669
+ }, z.ZodTypeDef, {
670
+ remarkPlugins?: Options["remarkPlugins"];
671
+ rehypePlugins?: Options["rehypePlugins"];
672
+ rollupOptions?: RollupOptions | undefined;
673
+ }>>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ navigation?: {
676
+ path: string;
677
+ label: string;
678
+ categories?: {
679
+ children: {
680
+ path: string;
681
+ label: string;
682
+ categories?: {
683
+ children: NavigationCategoryItemType[];
684
+ label: string;
685
+ path?: string | undefined;
686
+ expanded?: boolean | undefined;
687
+ icon?: ReactNode;
688
+ collapsible?: boolean | undefined;
689
+ }[] | undefined;
690
+ }[];
691
+ label: string;
692
+ path?: string | undefined;
693
+ expanded?: boolean | undefined;
694
+ icon?: string | undefined;
695
+ collapsible?: boolean | undefined;
696
+ }[] | undefined;
697
+ }[] | undefined;
698
+ authentication?: {
699
+ type: "clerk";
700
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
701
+ } | {
702
+ type: "auth0";
703
+ clientId: string;
704
+ domain: string;
705
+ audience?: string | undefined;
706
+ } | undefined;
707
+ theme?: {
708
+ dark?: {
709
+ radius?: string | undefined;
710
+ input?: string | undefined;
711
+ border?: string | undefined;
712
+ background?: string | undefined;
713
+ destructive?: string | undefined;
714
+ secondary?: string | undefined;
715
+ muted?: string | undefined;
716
+ foreground?: string | undefined;
717
+ card?: string | undefined;
718
+ cardForeground?: string | undefined;
719
+ popover?: string | undefined;
720
+ popoverForeground?: string | undefined;
721
+ primary?: string | undefined;
722
+ primaryForeground?: string | undefined;
723
+ secondaryForeground?: string | undefined;
724
+ mutedForeground?: string | undefined;
725
+ accent?: string | undefined;
726
+ accentForeground?: string | undefined;
727
+ destructiveForeground?: string | undefined;
728
+ ring?: string | undefined;
729
+ } | undefined;
730
+ light?: {
731
+ radius?: string | undefined;
732
+ input?: string | undefined;
733
+ border?: string | undefined;
734
+ background?: string | undefined;
735
+ destructive?: string | undefined;
736
+ secondary?: string | undefined;
737
+ muted?: string | undefined;
738
+ foreground?: string | undefined;
739
+ card?: string | undefined;
740
+ cardForeground?: string | undefined;
741
+ popover?: string | undefined;
742
+ popoverForeground?: string | undefined;
743
+ primary?: string | undefined;
744
+ primaryForeground?: string | undefined;
745
+ secondaryForeground?: string | undefined;
746
+ mutedForeground?: string | undefined;
747
+ accent?: string | undefined;
748
+ accentForeground?: string | undefined;
749
+ destructiveForeground?: string | undefined;
750
+ ring?: string | undefined;
751
+ } | undefined;
752
+ } | undefined;
753
+ page?: {
754
+ pageTitle?: string | undefined;
755
+ logo?: string | undefined;
756
+ } | undefined;
757
+ metadata?: {
758
+ title?: string | undefined;
759
+ logo?: string | undefined;
760
+ description?: string | undefined;
761
+ favicon?: string | undefined;
762
+ generator?: string | undefined;
763
+ applicationName?: string | undefined;
764
+ referrer?: string | undefined;
765
+ keywords?: string[] | undefined;
766
+ authors?: string[] | undefined;
767
+ creator?: string | undefined;
768
+ publisher?: string | undefined;
769
+ } | undefined;
770
+ mdx?: {
771
+ components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
772
+ } | undefined;
773
+ docs?: {
774
+ defaultOptions?: {
775
+ toc?: boolean | undefined;
776
+ disablePager?: boolean | undefined;
777
+ } | undefined;
778
+ files?: string | undefined;
779
+ } | undefined;
780
+ apis?: {
781
+ type: "url";
782
+ input: string;
783
+ path?: string | undefined;
784
+ server?: string | undefined;
785
+ } | {
786
+ type: "yaml";
787
+ input: string;
788
+ path?: string | undefined;
789
+ server?: string | undefined;
790
+ } | {
791
+ type: "json";
792
+ input: {} & {
793
+ [k: string]: unknown;
794
+ };
795
+ path?: string | undefined;
796
+ server?: string | undefined;
797
+ } | ({
798
+ type: "url";
799
+ input: string;
800
+ path?: string | undefined;
801
+ server?: string | undefined;
802
+ } | {
803
+ type: "yaml";
804
+ input: string;
805
+ path?: string | undefined;
806
+ server?: string | undefined;
807
+ } | {
808
+ type: "json";
809
+ input: {} & {
810
+ [k: string]: unknown;
811
+ };
812
+ path?: string | undefined;
813
+ server?: string | undefined;
814
+ })[] | undefined;
815
+ apiKeys?: {
816
+ enabled: boolean;
817
+ endpoint: string;
818
+ } | {
819
+ enabled: boolean;
820
+ getKeys: (context: DevPortalContext) => Promise<ApiKey[]>;
821
+ rollKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
822
+ deleteKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
823
+ updateKeyDescription?: ((apiKey: {
824
+ id: string;
825
+ description: string;
826
+ }, context: DevPortalContext) => Promise<void>) | undefined;
827
+ createKey?: ((apiKey: {
828
+ description: string;
829
+ expiresOn?: string;
830
+ }, context: DevPortalContext) => Promise<void>) | undefined;
831
+ } | undefined;
832
+ redirects?: {
833
+ to: string;
834
+ from: string;
835
+ }[] | undefined;
836
+ build?: {
837
+ remarkPlugins?: Options["remarkPlugins"];
838
+ rehypePlugins?: Options["rehypePlugins"];
839
+ rollupOptions?: RollupOptions | undefined;
840
+ } | undefined;
841
+ }, {
842
+ navigation?: {
843
+ path: string;
844
+ label: string;
845
+ categories?: {
846
+ children: {
847
+ path: string;
848
+ label: string;
849
+ categories?: {
850
+ children: NavigationCategoryItemType[];
851
+ label: string;
852
+ path?: string | undefined;
853
+ expanded?: boolean | undefined;
854
+ icon?: ReactNode;
855
+ collapsible?: boolean | undefined;
856
+ }[] | undefined;
857
+ }[];
858
+ label: string;
859
+ path?: string | undefined;
860
+ expanded?: boolean | undefined;
861
+ icon?: string | undefined;
862
+ collapsible?: boolean | undefined;
863
+ }[] | undefined;
864
+ }[] | undefined;
865
+ authentication?: {
866
+ type: "clerk";
867
+ clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
868
+ } | {
869
+ type: "auth0";
870
+ clientId: string;
871
+ domain: string;
872
+ audience?: string | undefined;
873
+ } | undefined;
874
+ theme?: {
875
+ dark?: {
876
+ radius?: string | undefined;
877
+ input?: string | undefined;
878
+ border?: string | undefined;
879
+ background?: string | undefined;
880
+ destructive?: string | undefined;
881
+ secondary?: string | undefined;
882
+ muted?: string | undefined;
883
+ foreground?: string | undefined;
884
+ card?: string | undefined;
885
+ cardForeground?: string | undefined;
886
+ popover?: string | undefined;
887
+ popoverForeground?: string | undefined;
888
+ primary?: string | undefined;
889
+ primaryForeground?: string | undefined;
890
+ secondaryForeground?: string | undefined;
891
+ mutedForeground?: string | undefined;
892
+ accent?: string | undefined;
893
+ accentForeground?: string | undefined;
894
+ destructiveForeground?: string | undefined;
895
+ ring?: string | undefined;
896
+ } | undefined;
897
+ light?: {
898
+ radius?: string | undefined;
899
+ input?: string | undefined;
900
+ border?: string | undefined;
901
+ background?: string | undefined;
902
+ destructive?: string | undefined;
903
+ secondary?: string | undefined;
904
+ muted?: string | undefined;
905
+ foreground?: string | undefined;
906
+ card?: string | undefined;
907
+ cardForeground?: string | undefined;
908
+ popover?: string | undefined;
909
+ popoverForeground?: string | undefined;
910
+ primary?: string | undefined;
911
+ primaryForeground?: string | undefined;
912
+ secondaryForeground?: string | undefined;
913
+ mutedForeground?: string | undefined;
914
+ accent?: string | undefined;
915
+ accentForeground?: string | undefined;
916
+ destructiveForeground?: string | undefined;
917
+ ring?: string | undefined;
918
+ } | undefined;
919
+ } | undefined;
920
+ page?: {
921
+ pageTitle?: string | undefined;
922
+ logo?: string | undefined;
923
+ } | undefined;
924
+ metadata?: {
925
+ title?: string | undefined;
926
+ logo?: string | undefined;
927
+ description?: string | undefined;
928
+ favicon?: string | undefined;
929
+ generator?: string | undefined;
930
+ applicationName?: string | undefined;
931
+ referrer?: string | undefined;
932
+ keywords?: string[] | undefined;
933
+ authors?: string[] | undefined;
934
+ creator?: string | undefined;
935
+ publisher?: string | undefined;
936
+ } | undefined;
937
+ mdx?: {
938
+ components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
939
+ } | undefined;
940
+ docs?: {
941
+ defaultOptions?: {
942
+ toc?: boolean | undefined;
943
+ disablePager?: boolean | undefined;
944
+ } | undefined;
945
+ files?: string | undefined;
946
+ } | undefined;
947
+ apis?: {
948
+ type: "url";
949
+ input: string;
950
+ path?: string | undefined;
951
+ server?: string | undefined;
952
+ } | {
953
+ type: "yaml";
954
+ input: string;
955
+ path?: string | undefined;
956
+ server?: string | undefined;
957
+ } | {
958
+ type: "json";
959
+ input: {} & {
960
+ [k: string]: unknown;
961
+ };
962
+ path?: string | undefined;
963
+ server?: string | undefined;
964
+ } | ({
965
+ type: "url";
966
+ input: string;
967
+ path?: string | undefined;
968
+ server?: string | undefined;
969
+ } | {
970
+ type: "yaml";
971
+ input: string;
972
+ path?: string | undefined;
973
+ server?: string | undefined;
974
+ } | {
975
+ type: "json";
976
+ input: {} & {
977
+ [k: string]: unknown;
978
+ };
979
+ path?: string | undefined;
980
+ server?: string | undefined;
981
+ })[] | undefined;
982
+ apiKeys?: {
983
+ enabled: boolean;
984
+ endpoint: string;
985
+ } | {
986
+ enabled: boolean;
987
+ getKeys: (context: DevPortalContext) => Promise<ApiKey[]>;
988
+ rollKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
989
+ deleteKey?: ((id: string, context: DevPortalContext) => Promise<void>) | undefined;
990
+ updateKeyDescription?: ((apiKey: {
991
+ id: string;
992
+ description: string;
993
+ }, context: DevPortalContext) => Promise<void>) | undefined;
994
+ createKey?: ((apiKey: {
995
+ description: string;
996
+ expiresOn?: string;
997
+ }, context: DevPortalContext) => Promise<void>) | undefined;
998
+ } | undefined;
999
+ redirects?: {
1000
+ to: string;
1001
+ from: string;
1002
+ }[] | undefined;
1003
+ build?: {
1004
+ remarkPlugins?: Options["remarkPlugins"];
1005
+ rehypePlugins?: Options["rehypePlugins"];
1006
+ rollupOptions?: RollupOptions | undefined;
1007
+ } | undefined;
1008
+ }>;
1009
+ export type ZudokuConfig = z.infer<typeof ConfigSchema>;
1010
+ export declare function validateConfig(config: unknown): void;
1011
+ export {};