zudoku 0.13.7 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +2 -2
- package/dist/app/entry.client.js +2 -2
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.js +3 -0
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.d.ts +1 -0
- package/dist/app/main.js +6 -21
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/cli/common/utils/box.js.map +1 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +2 -2
- package/dist/config/validators/SidebarSchema.d.ts +24 -1
- package/dist/config/validators/SidebarSchema.js +76 -39
- package/dist/config/validators/SidebarSchema.js.map +1 -1
- package/dist/config/validators/validate.d.ts +329 -264
- package/dist/config/validators/validate.js +11 -10
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/components/Header.js +5 -1
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/SyntaxHighlight.js +4 -1
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/components/TopNavigation.js +30 -5
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +6 -12
- package/dist/lib/components/context/ZudokuContext.js +26 -20
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/navigation/Sidebar.js +3 -3
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.js +2 -4
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.js +1 -3
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/utils.js +10 -14
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/DevPortalContext.d.ts +3 -7
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +5 -6
- package/dist/lib/plugins/markdown/index.js +31 -3
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/markdown/resolver.d.ts +38 -0
- package/dist/lib/plugins/markdown/resolver.js +75 -0
- package/dist/lib/plugins/markdown/resolver.js.map +1 -0
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/client/worker.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/ui/Badge.d.ts +1 -1
- package/dist/lib/ui/Button.d.ts +1 -1
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/build.js +7 -2
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +11 -6
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/debug.d.ts +1 -0
- package/dist/vite/debug.js +10 -0
- package/dist/vite/debug.js.map +1 -0
- package/dist/vite/plugin-config-reload.js +0 -2
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-docs.js +37 -26
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -1
- package/dist/vite/plugin-frontmatter.js +27 -24
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-sidebar.js +7 -6
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/plugin.js +1 -1
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender.d.ts +5 -1
- package/dist/vite/prerender.js +6 -5
- package/dist/vite/prerender.js.map +1 -1
- package/lib/{utils-B2yoT99j.js → AnchorLink-BbB2q-jx.js} +214 -258
- package/lib/AnchorLink-BbB2q-jx.js.map +1 -0
- package/lib/{AuthenticationPlugin-Bpdes0cJ.js → AuthenticationPlugin-C9BHGXlE.js} +2 -2
- package/lib/{AuthenticationPlugin-Bpdes0cJ.js.map → AuthenticationPlugin-C9BHGXlE.js.map} +1 -1
- package/lib/{Markdown-1BO9EA_X.js → Markdown-BDcCAWwm.js} +18 -16
- package/lib/{Markdown-1BO9EA_X.js.map → Markdown-BDcCAWwm.js.map} +1 -1
- package/lib/{MdxPage-BEOcOICU.js → MdxPage-DKMH_t0f.js} +14 -13
- package/lib/{MdxPage-BEOcOICU.js.map → MdxPage-DKMH_t0f.js.map} +1 -1
- package/lib/{OperationList-Cea2Yt8e.js → OperationList-DnaAtLxP.js} +3 -3
- package/lib/OperationList-DnaAtLxP.js.map +1 -0
- package/lib/{Route-BHT-onwf.js → Route-DSbLrlig.js} +2 -2
- package/lib/{Route-BHT-onwf.js.map → Route-DSbLrlig.js.map} +1 -1
- package/lib/{Select-m1aXZGAP.js → Select-Bagt3Bme.js} +3 -3
- package/lib/{Select-m1aXZGAP.js.map → Select-Bagt3Bme.js.map} +1 -1
- package/lib/{SlotletProvider-CPfsBw39.js → SlotletProvider-4Naek_5M.js} +2 -2
- package/lib/{SlotletProvider-CPfsBw39.js.map → SlotletProvider-4Naek_5M.js.map} +1 -1
- package/lib/{ZudokuContext-D1D8Anlj.js → ZudokuContext-BKXGJTmu.js} +459 -410
- package/lib/ZudokuContext-BKXGJTmu.js.map +1 -0
- package/lib/__vite-browser-external-BYRIRx8p.js +9 -0
- package/lib/__vite-browser-external-BYRIRx8p.js.map +1 -0
- package/lib/assets/worker-Bf8vjASY.js.map +1 -1
- package/lib/{hook-JSRuxV1P.js → hook-sn0zMTkE.js} +2 -2
- package/lib/{hook-JSRuxV1P.js.map → hook-sn0zMTkE.js.map} +1 -1
- package/lib/{index-Cj-F-4ME.js → index-B3F9d8oi.js} +430 -433
- package/lib/index-B3F9d8oi.js.map +1 -0
- package/lib/{urql-core-KJnLL26g.js → urql-core-CqTI9H6N.js} +289 -261
- package/lib/urql-core-CqTI9H6N.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-openid.js +2 -2
- package/lib/zudoku.components.js +454 -444
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.plugin-api-keys.js +6 -6
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +93 -27
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +6 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/package.json +3 -3
- package/src/app/entry.client.tsx +4 -2
- package/src/app/entry.server.tsx +4 -0
- package/src/app/main.css +4 -0
- package/src/app/main.tsx +9 -25
- package/src/app/standalone.tsx +1 -1
- package/src/lib/components/Header.tsx +10 -2
- package/src/lib/components/SyntaxHighlight.tsx +5 -1
- package/src/lib/components/TopNavigation.tsx +58 -24
- package/src/lib/components/context/ZudokuContext.ts +28 -20
- package/src/lib/components/navigation/Sidebar.tsx +5 -5
- package/src/lib/components/navigation/SidebarCategory.tsx +2 -4
- package/src/lib/components/navigation/SidebarItem.tsx +1 -3
- package/src/lib/components/navigation/utils.ts +11 -16
- package/src/lib/core/DevPortalContext.ts +3 -7
- package/src/lib/core/plugins.ts +2 -0
- package/src/lib/plugins/markdown/index.tsx +49 -12
- package/src/lib/plugins/markdown/resolver.ts +92 -0
- package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +1 -1
- package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
- package/src/lib/plugins/openapi/client/worker.ts +2 -2
- package/src/lib/plugins/openapi/index.tsx +1 -1
- package/src/lib/util/MdxComponents.tsx +0 -1
- package/src/lib/util/useScrollToAnchor.ts +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.d.ts +0 -3
- package/dist/lib/plugins/markdown/generateRoutes.js +0 -21
- package/dist/lib/plugins/markdown/generateRoutes.js.map +0 -1
- package/dist/lib/ui/Note.d.ts +0 -8
- package/dist/lib/ui/Note.js +0 -23
- package/dist/lib/ui/Note.js.map +0 -1
- package/lib/OperationList-Cea2Yt8e.js.map +0 -1
- package/lib/ZudokuContext-D1D8Anlj.js.map +0 -1
- package/lib/index-Cj-F-4ME.js.map +0 -1
- package/lib/joinPath-B7kNnUX4.js +0 -8
- package/lib/joinPath-B7kNnUX4.js.map +0 -1
- package/lib/ui/Note.js +0 -51
- package/lib/ui/Note.js.map +0 -1
- package/lib/urql-core-KJnLL26g.js.map +0 -1
- package/lib/utils-B2yoT99j.js.map +0 -1
- package/src/lib/plugins/markdown/generateRoutes.tsx +0 -38
- package/src/lib/ui/Note.tsx +0 -58
|
@@ -120,6 +120,22 @@ declare const DocsConfigSchema: z.ZodObject<{
|
|
|
120
120
|
disablePager?: boolean | undefined;
|
|
121
121
|
} | undefined;
|
|
122
122
|
}>;
|
|
123
|
+
declare const TopNavigationItemSchema: z.ZodObject<{
|
|
124
|
+
label: z.ZodString;
|
|
125
|
+
id: z.ZodString;
|
|
126
|
+
default: z.ZodOptional<z.ZodString>;
|
|
127
|
+
display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always"]>>>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
label: string;
|
|
130
|
+
id: string;
|
|
131
|
+
default?: string | undefined;
|
|
132
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
label: string;
|
|
135
|
+
id: string;
|
|
136
|
+
default?: string | undefined;
|
|
137
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
138
|
+
}>;
|
|
123
139
|
type BannerColorType = ZodOptional<ZodUnion<[
|
|
124
140
|
ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
|
|
125
141
|
ZodString
|
|
@@ -147,15 +163,15 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
147
163
|
light: string;
|
|
148
164
|
dark: string;
|
|
149
165
|
};
|
|
150
|
-
width?: string | undefined;
|
|
151
166
|
alt?: string | undefined;
|
|
167
|
+
width?: string | undefined;
|
|
152
168
|
}, {
|
|
153
169
|
src: {
|
|
154
170
|
light: string;
|
|
155
171
|
dark: string;
|
|
156
172
|
};
|
|
157
|
-
width?: string | undefined;
|
|
158
173
|
alt?: string | undefined;
|
|
174
|
+
width?: string | undefined;
|
|
159
175
|
}>>;
|
|
160
176
|
banner: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
161
177
|
message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
|
|
@@ -171,37 +187,37 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
171
187
|
dismissible?: boolean | undefined;
|
|
172
188
|
}>>>;
|
|
173
189
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
banner?: {
|
|
175
|
-
message: NonNullable<ReactNode>;
|
|
176
|
-
color?: string | (string & {}) | undefined;
|
|
177
|
-
dismissible?: boolean | undefined;
|
|
178
|
-
} | undefined;
|
|
179
190
|
pageTitle?: string | undefined;
|
|
191
|
+
logoUrl?: string | undefined;
|
|
180
192
|
logo?: {
|
|
181
193
|
src: {
|
|
182
194
|
light: string;
|
|
183
195
|
dark: string;
|
|
184
196
|
};
|
|
185
|
-
width?: string | undefined;
|
|
186
197
|
alt?: string | undefined;
|
|
198
|
+
width?: string | undefined;
|
|
187
199
|
} | undefined;
|
|
188
|
-
logoUrl?: string | undefined;
|
|
189
|
-
}, {
|
|
190
200
|
banner?: {
|
|
191
201
|
message: NonNullable<ReactNode>;
|
|
192
202
|
color?: string | (string & {}) | undefined;
|
|
193
203
|
dismissible?: boolean | undefined;
|
|
194
204
|
} | undefined;
|
|
205
|
+
}, {
|
|
195
206
|
pageTitle?: string | undefined;
|
|
207
|
+
logoUrl?: string | undefined;
|
|
196
208
|
logo?: {
|
|
197
209
|
src: {
|
|
198
210
|
light: string;
|
|
199
211
|
dark: string;
|
|
200
212
|
};
|
|
201
|
-
width?: string | undefined;
|
|
202
213
|
alt?: string | undefined;
|
|
214
|
+
width?: string | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
banner?: {
|
|
217
|
+
message: NonNullable<ReactNode>;
|
|
218
|
+
color?: string | (string & {}) | undefined;
|
|
219
|
+
dismissible?: boolean | undefined;
|
|
203
220
|
} | undefined;
|
|
204
|
-
logoUrl?: string | undefined;
|
|
205
221
|
}>>;
|
|
206
222
|
topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
207
223
|
label: z.ZodString;
|
|
@@ -244,12 +260,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
244
260
|
ring: z.ZodOptional<z.ZodString>;
|
|
245
261
|
radius: z.ZodOptional<z.ZodString>;
|
|
246
262
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
input?: string | undefined;
|
|
248
|
-
radius?: string | undefined;
|
|
249
|
-
border?: string | undefined;
|
|
250
|
-
destructive?: string | undefined;
|
|
251
|
-
secondary?: string | undefined;
|
|
252
|
-
muted?: string | undefined;
|
|
253
263
|
background?: string | undefined;
|
|
254
264
|
foreground?: string | undefined;
|
|
255
265
|
card?: string | undefined;
|
|
@@ -258,19 +268,19 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
258
268
|
popoverForeground?: string | undefined;
|
|
259
269
|
primary?: string | undefined;
|
|
260
270
|
primaryForeground?: string | undefined;
|
|
271
|
+
secondary?: string | undefined;
|
|
261
272
|
secondaryForeground?: string | undefined;
|
|
273
|
+
muted?: string | undefined;
|
|
262
274
|
mutedForeground?: string | undefined;
|
|
263
275
|
accent?: string | undefined;
|
|
264
276
|
accentForeground?: string | undefined;
|
|
277
|
+
destructive?: string | undefined;
|
|
265
278
|
destructiveForeground?: string | undefined;
|
|
266
|
-
|
|
267
|
-
}, {
|
|
279
|
+
border?: string | undefined;
|
|
268
280
|
input?: string | undefined;
|
|
281
|
+
ring?: string | undefined;
|
|
269
282
|
radius?: string | undefined;
|
|
270
|
-
|
|
271
|
-
destructive?: string | undefined;
|
|
272
|
-
secondary?: string | undefined;
|
|
273
|
-
muted?: string | undefined;
|
|
283
|
+
}, {
|
|
274
284
|
background?: string | undefined;
|
|
275
285
|
foreground?: string | undefined;
|
|
276
286
|
card?: string | undefined;
|
|
@@ -279,12 +289,18 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
279
289
|
popoverForeground?: string | undefined;
|
|
280
290
|
primary?: string | undefined;
|
|
281
291
|
primaryForeground?: string | undefined;
|
|
292
|
+
secondary?: string | undefined;
|
|
282
293
|
secondaryForeground?: string | undefined;
|
|
294
|
+
muted?: string | undefined;
|
|
283
295
|
mutedForeground?: string | undefined;
|
|
284
296
|
accent?: string | undefined;
|
|
285
297
|
accentForeground?: string | undefined;
|
|
298
|
+
destructive?: string | undefined;
|
|
286
299
|
destructiveForeground?: string | undefined;
|
|
300
|
+
border?: string | undefined;
|
|
301
|
+
input?: string | undefined;
|
|
287
302
|
ring?: string | undefined;
|
|
303
|
+
radius?: string | undefined;
|
|
288
304
|
}>>;
|
|
289
305
|
dark: z.ZodOptional<z.ZodObject<{
|
|
290
306
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -308,12 +324,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
324
|
ring: z.ZodOptional<z.ZodString>;
|
|
309
325
|
radius: z.ZodOptional<z.ZodString>;
|
|
310
326
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
input?: string | undefined;
|
|
312
|
-
radius?: string | undefined;
|
|
313
|
-
border?: string | undefined;
|
|
314
|
-
destructive?: string | undefined;
|
|
315
|
-
secondary?: string | undefined;
|
|
316
|
-
muted?: string | undefined;
|
|
317
327
|
background?: string | undefined;
|
|
318
328
|
foreground?: string | undefined;
|
|
319
329
|
card?: string | undefined;
|
|
@@ -322,19 +332,19 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
322
332
|
popoverForeground?: string | undefined;
|
|
323
333
|
primary?: string | undefined;
|
|
324
334
|
primaryForeground?: string | undefined;
|
|
335
|
+
secondary?: string | undefined;
|
|
325
336
|
secondaryForeground?: string | undefined;
|
|
337
|
+
muted?: string | undefined;
|
|
326
338
|
mutedForeground?: string | undefined;
|
|
327
339
|
accent?: string | undefined;
|
|
328
340
|
accentForeground?: string | undefined;
|
|
341
|
+
destructive?: string | undefined;
|
|
329
342
|
destructiveForeground?: string | undefined;
|
|
330
|
-
|
|
331
|
-
}, {
|
|
343
|
+
border?: string | undefined;
|
|
332
344
|
input?: string | undefined;
|
|
345
|
+
ring?: string | undefined;
|
|
333
346
|
radius?: string | undefined;
|
|
334
|
-
|
|
335
|
-
destructive?: string | undefined;
|
|
336
|
-
secondary?: string | undefined;
|
|
337
|
-
muted?: string | undefined;
|
|
347
|
+
}, {
|
|
338
348
|
background?: string | undefined;
|
|
339
349
|
foreground?: string | undefined;
|
|
340
350
|
card?: string | undefined;
|
|
@@ -343,21 +353,21 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
343
353
|
popoverForeground?: string | undefined;
|
|
344
354
|
primary?: string | undefined;
|
|
345
355
|
primaryForeground?: string | undefined;
|
|
356
|
+
secondary?: string | undefined;
|
|
346
357
|
secondaryForeground?: string | undefined;
|
|
358
|
+
muted?: string | undefined;
|
|
347
359
|
mutedForeground?: string | undefined;
|
|
348
360
|
accent?: string | undefined;
|
|
349
361
|
accentForeground?: string | undefined;
|
|
362
|
+
destructive?: string | undefined;
|
|
350
363
|
destructiveForeground?: string | undefined;
|
|
364
|
+
border?: string | undefined;
|
|
365
|
+
input?: string | undefined;
|
|
351
366
|
ring?: string | undefined;
|
|
367
|
+
radius?: string | undefined;
|
|
352
368
|
}>>;
|
|
353
369
|
}, "strip", z.ZodTypeAny, {
|
|
354
370
|
light?: {
|
|
355
|
-
input?: string | undefined;
|
|
356
|
-
radius?: string | undefined;
|
|
357
|
-
border?: string | undefined;
|
|
358
|
-
destructive?: string | undefined;
|
|
359
|
-
secondary?: string | undefined;
|
|
360
|
-
muted?: string | undefined;
|
|
361
371
|
background?: string | undefined;
|
|
362
372
|
foreground?: string | undefined;
|
|
363
373
|
card?: string | undefined;
|
|
@@ -366,20 +376,20 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
366
376
|
popoverForeground?: string | undefined;
|
|
367
377
|
primary?: string | undefined;
|
|
368
378
|
primaryForeground?: string | undefined;
|
|
379
|
+
secondary?: string | undefined;
|
|
369
380
|
secondaryForeground?: string | undefined;
|
|
381
|
+
muted?: string | undefined;
|
|
370
382
|
mutedForeground?: string | undefined;
|
|
371
383
|
accent?: string | undefined;
|
|
372
384
|
accentForeground?: string | undefined;
|
|
385
|
+
destructive?: string | undefined;
|
|
373
386
|
destructiveForeground?: string | undefined;
|
|
387
|
+
border?: string | undefined;
|
|
388
|
+
input?: string | undefined;
|
|
374
389
|
ring?: string | undefined;
|
|
390
|
+
radius?: string | undefined;
|
|
375
391
|
} | undefined;
|
|
376
392
|
dark?: {
|
|
377
|
-
input?: string | undefined;
|
|
378
|
-
radius?: string | undefined;
|
|
379
|
-
border?: string | undefined;
|
|
380
|
-
destructive?: string | undefined;
|
|
381
|
-
secondary?: string | undefined;
|
|
382
|
-
muted?: string | undefined;
|
|
383
393
|
background?: string | undefined;
|
|
384
394
|
foreground?: string | undefined;
|
|
385
395
|
card?: string | undefined;
|
|
@@ -388,21 +398,21 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
388
398
|
popoverForeground?: string | undefined;
|
|
389
399
|
primary?: string | undefined;
|
|
390
400
|
primaryForeground?: string | undefined;
|
|
401
|
+
secondary?: string | undefined;
|
|
391
402
|
secondaryForeground?: string | undefined;
|
|
403
|
+
muted?: string | undefined;
|
|
392
404
|
mutedForeground?: string | undefined;
|
|
393
405
|
accent?: string | undefined;
|
|
394
406
|
accentForeground?: string | undefined;
|
|
407
|
+
destructive?: string | undefined;
|
|
395
408
|
destructiveForeground?: string | undefined;
|
|
409
|
+
border?: string | undefined;
|
|
410
|
+
input?: string | undefined;
|
|
396
411
|
ring?: string | undefined;
|
|
412
|
+
radius?: string | undefined;
|
|
397
413
|
} | undefined;
|
|
398
414
|
}, {
|
|
399
415
|
light?: {
|
|
400
|
-
input?: string | undefined;
|
|
401
|
-
radius?: string | undefined;
|
|
402
|
-
border?: string | undefined;
|
|
403
|
-
destructive?: string | undefined;
|
|
404
|
-
secondary?: string | undefined;
|
|
405
|
-
muted?: string | undefined;
|
|
406
416
|
background?: string | undefined;
|
|
407
417
|
foreground?: string | undefined;
|
|
408
418
|
card?: string | undefined;
|
|
@@ -411,20 +421,20 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
411
421
|
popoverForeground?: string | undefined;
|
|
412
422
|
primary?: string | undefined;
|
|
413
423
|
primaryForeground?: string | undefined;
|
|
424
|
+
secondary?: string | undefined;
|
|
414
425
|
secondaryForeground?: string | undefined;
|
|
426
|
+
muted?: string | undefined;
|
|
415
427
|
mutedForeground?: string | undefined;
|
|
416
428
|
accent?: string | undefined;
|
|
417
429
|
accentForeground?: string | undefined;
|
|
430
|
+
destructive?: string | undefined;
|
|
418
431
|
destructiveForeground?: string | undefined;
|
|
432
|
+
border?: string | undefined;
|
|
433
|
+
input?: string | undefined;
|
|
419
434
|
ring?: string | undefined;
|
|
435
|
+
radius?: string | undefined;
|
|
420
436
|
} | undefined;
|
|
421
437
|
dark?: {
|
|
422
|
-
input?: string | undefined;
|
|
423
|
-
radius?: string | undefined;
|
|
424
|
-
border?: string | undefined;
|
|
425
|
-
destructive?: string | undefined;
|
|
426
|
-
secondary?: string | undefined;
|
|
427
|
-
muted?: string | undefined;
|
|
428
438
|
background?: string | undefined;
|
|
429
439
|
foreground?: string | undefined;
|
|
430
440
|
card?: string | undefined;
|
|
@@ -433,12 +443,18 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
433
443
|
popoverForeground?: string | undefined;
|
|
434
444
|
primary?: string | undefined;
|
|
435
445
|
primaryForeground?: string | undefined;
|
|
446
|
+
secondary?: string | undefined;
|
|
436
447
|
secondaryForeground?: string | undefined;
|
|
448
|
+
muted?: string | undefined;
|
|
437
449
|
mutedForeground?: string | undefined;
|
|
438
450
|
accent?: string | undefined;
|
|
439
451
|
accentForeground?: string | undefined;
|
|
452
|
+
destructive?: string | undefined;
|
|
440
453
|
destructiveForeground?: string | undefined;
|
|
454
|
+
border?: string | undefined;
|
|
455
|
+
input?: string | undefined;
|
|
441
456
|
ring?: string | undefined;
|
|
457
|
+
radius?: string | undefined;
|
|
442
458
|
} | undefined;
|
|
443
459
|
}>>;
|
|
444
460
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -455,8 +471,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
455
471
|
publisher: z.ZodOptional<z.ZodString>;
|
|
456
472
|
}, "strip", z.ZodTypeAny, {
|
|
457
473
|
description?: string | undefined;
|
|
458
|
-
title?: string | undefined;
|
|
459
474
|
logo?: string | undefined;
|
|
475
|
+
title?: string | undefined;
|
|
460
476
|
favicon?: string | undefined;
|
|
461
477
|
generator?: string | undefined;
|
|
462
478
|
applicationName?: string | undefined;
|
|
@@ -467,8 +483,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
467
483
|
publisher?: string | undefined;
|
|
468
484
|
}, {
|
|
469
485
|
description?: string | undefined;
|
|
470
|
-
title?: string | undefined;
|
|
471
486
|
logo?: string | undefined;
|
|
487
|
+
title?: string | undefined;
|
|
472
488
|
favicon?: string | undefined;
|
|
473
489
|
generator?: string | undefined;
|
|
474
490
|
applicationName?: string | undefined;
|
|
@@ -577,7 +593,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
577
593
|
primaryBrandColor: string;
|
|
578
594
|
organizationDisplayName: string;
|
|
579
595
|
}>>;
|
|
580
|
-
docs: z.ZodOptional<z.ZodObject<{
|
|
596
|
+
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
581
597
|
files: z.ZodString;
|
|
582
598
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
583
599
|
toc: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -601,7 +617,31 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
601
617
|
toc?: boolean | undefined;
|
|
602
618
|
disablePager?: boolean | undefined;
|
|
603
619
|
} | undefined;
|
|
604
|
-
}
|
|
620
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
621
|
+
files: z.ZodString;
|
|
622
|
+
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
623
|
+
toc: z.ZodOptional<z.ZodBoolean>;
|
|
624
|
+
disablePager: z.ZodOptional<z.ZodBoolean>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
toc?: boolean | undefined;
|
|
627
|
+
disablePager?: boolean | undefined;
|
|
628
|
+
}, {
|
|
629
|
+
toc?: boolean | undefined;
|
|
630
|
+
disablePager?: boolean | undefined;
|
|
631
|
+
}>>;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
files: string;
|
|
634
|
+
defaultOptions?: {
|
|
635
|
+
toc?: boolean | undefined;
|
|
636
|
+
disablePager?: boolean | undefined;
|
|
637
|
+
} | undefined;
|
|
638
|
+
}, {
|
|
639
|
+
files: string;
|
|
640
|
+
defaultOptions?: {
|
|
641
|
+
toc?: boolean | undefined;
|
|
642
|
+
disablePager?: boolean | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
}>, "many">]>>;
|
|
605
645
|
apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
606
646
|
type: z.ZodLiteral<"url">;
|
|
607
647
|
input: z.ZodString;
|
|
@@ -830,22 +870,34 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
830
870
|
rehypePlugins?: Options["rehypePlugins"];
|
|
831
871
|
}>>;
|
|
832
872
|
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
873
|
+
basePath?: string | undefined;
|
|
874
|
+
page?: {
|
|
875
|
+
pageTitle?: string | undefined;
|
|
876
|
+
logoUrl?: string | undefined;
|
|
877
|
+
logo?: {
|
|
878
|
+
src: {
|
|
879
|
+
light: string;
|
|
880
|
+
dark: string;
|
|
881
|
+
};
|
|
882
|
+
alt?: string | undefined;
|
|
883
|
+
width?: string | undefined;
|
|
884
|
+
} | undefined;
|
|
885
|
+
banner?: {
|
|
886
|
+
message: NonNullable<ReactNode>;
|
|
887
|
+
color?: string | (string & {}) | undefined;
|
|
888
|
+
dismissible?: boolean | undefined;
|
|
889
|
+
} | undefined;
|
|
840
890
|
} | undefined;
|
|
891
|
+
topNavigation?: {
|
|
892
|
+
label: string;
|
|
893
|
+
id: string;
|
|
894
|
+
default?: string | undefined;
|
|
895
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
896
|
+
}[] | undefined;
|
|
897
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
898
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
841
899
|
theme?: {
|
|
842
900
|
light?: {
|
|
843
|
-
input?: string | undefined;
|
|
844
|
-
radius?: string | undefined;
|
|
845
|
-
border?: string | undefined;
|
|
846
|
-
destructive?: string | undefined;
|
|
847
|
-
secondary?: string | undefined;
|
|
848
|
-
muted?: string | undefined;
|
|
849
901
|
background?: string | undefined;
|
|
850
902
|
foreground?: string | undefined;
|
|
851
903
|
card?: string | undefined;
|
|
@@ -854,20 +906,20 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
854
906
|
popoverForeground?: string | undefined;
|
|
855
907
|
primary?: string | undefined;
|
|
856
908
|
primaryForeground?: string | undefined;
|
|
909
|
+
secondary?: string | undefined;
|
|
857
910
|
secondaryForeground?: string | undefined;
|
|
911
|
+
muted?: string | undefined;
|
|
858
912
|
mutedForeground?: string | undefined;
|
|
859
913
|
accent?: string | undefined;
|
|
860
914
|
accentForeground?: string | undefined;
|
|
915
|
+
destructive?: string | undefined;
|
|
861
916
|
destructiveForeground?: string | undefined;
|
|
917
|
+
border?: string | undefined;
|
|
918
|
+
input?: string | undefined;
|
|
862
919
|
ring?: string | undefined;
|
|
920
|
+
radius?: string | undefined;
|
|
863
921
|
} | undefined;
|
|
864
922
|
dark?: {
|
|
865
|
-
input?: string | undefined;
|
|
866
|
-
radius?: string | undefined;
|
|
867
|
-
border?: string | undefined;
|
|
868
|
-
destructive?: string | undefined;
|
|
869
|
-
secondary?: string | undefined;
|
|
870
|
-
muted?: string | undefined;
|
|
871
923
|
background?: string | undefined;
|
|
872
924
|
foreground?: string | undefined;
|
|
873
925
|
card?: string | undefined;
|
|
@@ -876,18 +928,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
876
928
|
popoverForeground?: string | undefined;
|
|
877
929
|
primary?: string | undefined;
|
|
878
930
|
primaryForeground?: string | undefined;
|
|
931
|
+
secondary?: string | undefined;
|
|
879
932
|
secondaryForeground?: string | undefined;
|
|
933
|
+
muted?: string | undefined;
|
|
880
934
|
mutedForeground?: string | undefined;
|
|
881
935
|
accent?: string | undefined;
|
|
882
936
|
accentForeground?: string | undefined;
|
|
937
|
+
destructive?: string | undefined;
|
|
883
938
|
destructiveForeground?: string | undefined;
|
|
939
|
+
border?: string | undefined;
|
|
940
|
+
input?: string | undefined;
|
|
884
941
|
ring?: string | undefined;
|
|
942
|
+
radius?: string | undefined;
|
|
885
943
|
} | undefined;
|
|
886
944
|
} | undefined;
|
|
887
945
|
metadata?: {
|
|
888
946
|
description?: string | undefined;
|
|
889
|
-
title?: string | undefined;
|
|
890
947
|
logo?: string | undefined;
|
|
948
|
+
title?: string | undefined;
|
|
891
949
|
favicon?: string | undefined;
|
|
892
950
|
generator?: string | undefined;
|
|
893
951
|
applicationName?: string | undefined;
|
|
@@ -897,30 +955,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
897
955
|
creator?: string | undefined;
|
|
898
956
|
publisher?: string | undefined;
|
|
899
957
|
} | undefined;
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
dark: string;
|
|
911
|
-
};
|
|
912
|
-
width?: string | undefined;
|
|
913
|
-
alt?: string | undefined;
|
|
914
|
-
} | undefined;
|
|
915
|
-
logoUrl?: string | undefined;
|
|
958
|
+
search?: {
|
|
959
|
+
type: "inkeep";
|
|
960
|
+
apiKey: string;
|
|
961
|
+
integrationId: string;
|
|
962
|
+
organizationId: string;
|
|
963
|
+
primaryBrandColor: string;
|
|
964
|
+
organizationDisplayName: string;
|
|
965
|
+
} | undefined;
|
|
966
|
+
mdx?: {
|
|
967
|
+
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
916
968
|
} | undefined;
|
|
917
|
-
plugins?: DevPortalPlugin[] | undefined;
|
|
918
|
-
topNavigation?: {
|
|
919
|
-
label: string;
|
|
920
|
-
id: string;
|
|
921
|
-
default?: string | undefined;
|
|
922
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
923
|
-
}[] | undefined;
|
|
924
969
|
authentication?: {
|
|
925
970
|
type: "clerk";
|
|
926
971
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -945,19 +990,19 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
945
990
|
redirectToAfterSignOut?: string | undefined;
|
|
946
991
|
audience?: string | undefined;
|
|
947
992
|
} | undefined;
|
|
948
|
-
basePath?: string | undefined;
|
|
949
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
950
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
951
|
-
mdx?: {
|
|
952
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
953
|
-
} | undefined;
|
|
954
993
|
docs?: {
|
|
955
994
|
files: string;
|
|
956
995
|
defaultOptions?: {
|
|
957
996
|
toc?: boolean | undefined;
|
|
958
997
|
disablePager?: boolean | undefined;
|
|
959
998
|
} | undefined;
|
|
960
|
-
} |
|
|
999
|
+
} | {
|
|
1000
|
+
files: string;
|
|
1001
|
+
defaultOptions?: {
|
|
1002
|
+
toc?: boolean | undefined;
|
|
1003
|
+
disablePager?: boolean | undefined;
|
|
1004
|
+
} | undefined;
|
|
1005
|
+
}[] | undefined;
|
|
961
1006
|
apis?: {
|
|
962
1007
|
type: "url";
|
|
963
1008
|
input: string;
|
|
@@ -1016,6 +1061,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1016
1061
|
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1017
1062
|
prose?: boolean | undefined;
|
|
1018
1063
|
}[] | undefined;
|
|
1064
|
+
plugins?: DevPortalPlugin[] | undefined;
|
|
1019
1065
|
sitemap?: {
|
|
1020
1066
|
siteUrl: string;
|
|
1021
1067
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1029,22 +1075,34 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1029
1075
|
rehypePlugins?: Options["rehypePlugins"];
|
|
1030
1076
|
} | undefined;
|
|
1031
1077
|
}, {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1078
|
+
basePath?: string | undefined;
|
|
1079
|
+
page?: {
|
|
1080
|
+
pageTitle?: string | undefined;
|
|
1081
|
+
logoUrl?: string | undefined;
|
|
1082
|
+
logo?: {
|
|
1083
|
+
src: {
|
|
1084
|
+
light: string;
|
|
1085
|
+
dark: string;
|
|
1086
|
+
};
|
|
1087
|
+
alt?: string | undefined;
|
|
1088
|
+
width?: string | undefined;
|
|
1089
|
+
} | undefined;
|
|
1090
|
+
banner?: {
|
|
1091
|
+
message: NonNullable<ReactNode>;
|
|
1092
|
+
color?: string | (string & {}) | undefined;
|
|
1093
|
+
dismissible?: boolean | undefined;
|
|
1094
|
+
} | undefined;
|
|
1039
1095
|
} | undefined;
|
|
1096
|
+
topNavigation?: {
|
|
1097
|
+
label: string;
|
|
1098
|
+
id: string;
|
|
1099
|
+
default?: string | undefined;
|
|
1100
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1101
|
+
}[] | undefined;
|
|
1102
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1103
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1040
1104
|
theme?: {
|
|
1041
1105
|
light?: {
|
|
1042
|
-
input?: string | undefined;
|
|
1043
|
-
radius?: string | undefined;
|
|
1044
|
-
border?: string | undefined;
|
|
1045
|
-
destructive?: string | undefined;
|
|
1046
|
-
secondary?: string | undefined;
|
|
1047
|
-
muted?: string | undefined;
|
|
1048
1106
|
background?: string | undefined;
|
|
1049
1107
|
foreground?: string | undefined;
|
|
1050
1108
|
card?: string | undefined;
|
|
@@ -1053,20 +1111,20 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1053
1111
|
popoverForeground?: string | undefined;
|
|
1054
1112
|
primary?: string | undefined;
|
|
1055
1113
|
primaryForeground?: string | undefined;
|
|
1114
|
+
secondary?: string | undefined;
|
|
1056
1115
|
secondaryForeground?: string | undefined;
|
|
1116
|
+
muted?: string | undefined;
|
|
1057
1117
|
mutedForeground?: string | undefined;
|
|
1058
1118
|
accent?: string | undefined;
|
|
1059
1119
|
accentForeground?: string | undefined;
|
|
1120
|
+
destructive?: string | undefined;
|
|
1060
1121
|
destructiveForeground?: string | undefined;
|
|
1122
|
+
border?: string | undefined;
|
|
1123
|
+
input?: string | undefined;
|
|
1061
1124
|
ring?: string | undefined;
|
|
1125
|
+
radius?: string | undefined;
|
|
1062
1126
|
} | undefined;
|
|
1063
1127
|
dark?: {
|
|
1064
|
-
input?: string | undefined;
|
|
1065
|
-
radius?: string | undefined;
|
|
1066
|
-
border?: string | undefined;
|
|
1067
|
-
destructive?: string | undefined;
|
|
1068
|
-
secondary?: string | undefined;
|
|
1069
|
-
muted?: string | undefined;
|
|
1070
1128
|
background?: string | undefined;
|
|
1071
1129
|
foreground?: string | undefined;
|
|
1072
1130
|
card?: string | undefined;
|
|
@@ -1075,18 +1133,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1075
1133
|
popoverForeground?: string | undefined;
|
|
1076
1134
|
primary?: string | undefined;
|
|
1077
1135
|
primaryForeground?: string | undefined;
|
|
1136
|
+
secondary?: string | undefined;
|
|
1078
1137
|
secondaryForeground?: string | undefined;
|
|
1138
|
+
muted?: string | undefined;
|
|
1079
1139
|
mutedForeground?: string | undefined;
|
|
1080
1140
|
accent?: string | undefined;
|
|
1081
1141
|
accentForeground?: string | undefined;
|
|
1142
|
+
destructive?: string | undefined;
|
|
1082
1143
|
destructiveForeground?: string | undefined;
|
|
1144
|
+
border?: string | undefined;
|
|
1145
|
+
input?: string | undefined;
|
|
1083
1146
|
ring?: string | undefined;
|
|
1147
|
+
radius?: string | undefined;
|
|
1084
1148
|
} | undefined;
|
|
1085
1149
|
} | undefined;
|
|
1086
1150
|
metadata?: {
|
|
1087
1151
|
description?: string | undefined;
|
|
1088
|
-
title?: string | undefined;
|
|
1089
1152
|
logo?: string | undefined;
|
|
1153
|
+
title?: string | undefined;
|
|
1090
1154
|
favicon?: string | undefined;
|
|
1091
1155
|
generator?: string | undefined;
|
|
1092
1156
|
applicationName?: string | undefined;
|
|
@@ -1096,30 +1160,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1096
1160
|
creator?: string | undefined;
|
|
1097
1161
|
publisher?: string | undefined;
|
|
1098
1162
|
} | undefined;
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
dark: string;
|
|
1110
|
-
};
|
|
1111
|
-
width?: string | undefined;
|
|
1112
|
-
alt?: string | undefined;
|
|
1113
|
-
} | undefined;
|
|
1114
|
-
logoUrl?: string | undefined;
|
|
1163
|
+
search?: {
|
|
1164
|
+
type: "inkeep";
|
|
1165
|
+
apiKey: string;
|
|
1166
|
+
integrationId: string;
|
|
1167
|
+
organizationId: string;
|
|
1168
|
+
primaryBrandColor: string;
|
|
1169
|
+
organizationDisplayName: string;
|
|
1170
|
+
} | undefined;
|
|
1171
|
+
mdx?: {
|
|
1172
|
+
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1115
1173
|
} | undefined;
|
|
1116
|
-
plugins?: DevPortalPlugin[] | undefined;
|
|
1117
|
-
topNavigation?: {
|
|
1118
|
-
label: string;
|
|
1119
|
-
id: string;
|
|
1120
|
-
default?: string | undefined;
|
|
1121
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1122
|
-
}[] | undefined;
|
|
1123
1174
|
authentication?: {
|
|
1124
1175
|
type: "clerk";
|
|
1125
1176
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -1144,19 +1195,19 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1144
1195
|
redirectToAfterSignOut?: string | undefined;
|
|
1145
1196
|
audience?: string | undefined;
|
|
1146
1197
|
} | undefined;
|
|
1147
|
-
basePath?: string | undefined;
|
|
1148
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1149
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1150
|
-
mdx?: {
|
|
1151
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1152
|
-
} | undefined;
|
|
1153
1198
|
docs?: {
|
|
1154
1199
|
files: string;
|
|
1155
1200
|
defaultOptions?: {
|
|
1156
1201
|
toc?: boolean | undefined;
|
|
1157
1202
|
disablePager?: boolean | undefined;
|
|
1158
1203
|
} | undefined;
|
|
1159
|
-
} |
|
|
1204
|
+
} | {
|
|
1205
|
+
files: string;
|
|
1206
|
+
defaultOptions?: {
|
|
1207
|
+
toc?: boolean | undefined;
|
|
1208
|
+
disablePager?: boolean | undefined;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
}[] | undefined;
|
|
1160
1211
|
apis?: {
|
|
1161
1212
|
type: "url";
|
|
1162
1213
|
input: string;
|
|
@@ -1215,6 +1266,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1215
1266
|
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1216
1267
|
prose?: boolean | undefined;
|
|
1217
1268
|
}[] | undefined;
|
|
1269
|
+
plugins?: DevPortalPlugin[] | undefined;
|
|
1218
1270
|
sitemap?: {
|
|
1219
1271
|
siteUrl: string;
|
|
1220
1272
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1228,22 +1280,34 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1228
1280
|
rehypePlugins?: Options["rehypePlugins"];
|
|
1229
1281
|
} | undefined;
|
|
1230
1282
|
}>, {
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1283
|
+
basePath?: string | undefined;
|
|
1284
|
+
page?: {
|
|
1285
|
+
pageTitle?: string | undefined;
|
|
1286
|
+
logoUrl?: string | undefined;
|
|
1287
|
+
logo?: {
|
|
1288
|
+
src: {
|
|
1289
|
+
light: string;
|
|
1290
|
+
dark: string;
|
|
1291
|
+
};
|
|
1292
|
+
alt?: string | undefined;
|
|
1293
|
+
width?: string | undefined;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
banner?: {
|
|
1296
|
+
message: NonNullable<ReactNode>;
|
|
1297
|
+
color?: string | (string & {}) | undefined;
|
|
1298
|
+
dismissible?: boolean | undefined;
|
|
1299
|
+
} | undefined;
|
|
1238
1300
|
} | undefined;
|
|
1301
|
+
topNavigation?: {
|
|
1302
|
+
label: string;
|
|
1303
|
+
id: string;
|
|
1304
|
+
default?: string | undefined;
|
|
1305
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1306
|
+
}[] | undefined;
|
|
1307
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1308
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1239
1309
|
theme?: {
|
|
1240
1310
|
light?: {
|
|
1241
|
-
input?: string | undefined;
|
|
1242
|
-
radius?: string | undefined;
|
|
1243
|
-
border?: string | undefined;
|
|
1244
|
-
destructive?: string | undefined;
|
|
1245
|
-
secondary?: string | undefined;
|
|
1246
|
-
muted?: string | undefined;
|
|
1247
1311
|
background?: string | undefined;
|
|
1248
1312
|
foreground?: string | undefined;
|
|
1249
1313
|
card?: string | undefined;
|
|
@@ -1252,20 +1316,20 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1252
1316
|
popoverForeground?: string | undefined;
|
|
1253
1317
|
primary?: string | undefined;
|
|
1254
1318
|
primaryForeground?: string | undefined;
|
|
1319
|
+
secondary?: string | undefined;
|
|
1255
1320
|
secondaryForeground?: string | undefined;
|
|
1321
|
+
muted?: string | undefined;
|
|
1256
1322
|
mutedForeground?: string | undefined;
|
|
1257
1323
|
accent?: string | undefined;
|
|
1258
1324
|
accentForeground?: string | undefined;
|
|
1325
|
+
destructive?: string | undefined;
|
|
1259
1326
|
destructiveForeground?: string | undefined;
|
|
1327
|
+
border?: string | undefined;
|
|
1328
|
+
input?: string | undefined;
|
|
1260
1329
|
ring?: string | undefined;
|
|
1330
|
+
radius?: string | undefined;
|
|
1261
1331
|
} | undefined;
|
|
1262
1332
|
dark?: {
|
|
1263
|
-
input?: string | undefined;
|
|
1264
|
-
radius?: string | undefined;
|
|
1265
|
-
border?: string | undefined;
|
|
1266
|
-
destructive?: string | undefined;
|
|
1267
|
-
secondary?: string | undefined;
|
|
1268
|
-
muted?: string | undefined;
|
|
1269
1333
|
background?: string | undefined;
|
|
1270
1334
|
foreground?: string | undefined;
|
|
1271
1335
|
card?: string | undefined;
|
|
@@ -1274,18 +1338,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1274
1338
|
popoverForeground?: string | undefined;
|
|
1275
1339
|
primary?: string | undefined;
|
|
1276
1340
|
primaryForeground?: string | undefined;
|
|
1341
|
+
secondary?: string | undefined;
|
|
1277
1342
|
secondaryForeground?: string | undefined;
|
|
1343
|
+
muted?: string | undefined;
|
|
1278
1344
|
mutedForeground?: string | undefined;
|
|
1279
1345
|
accent?: string | undefined;
|
|
1280
1346
|
accentForeground?: string | undefined;
|
|
1347
|
+
destructive?: string | undefined;
|
|
1281
1348
|
destructiveForeground?: string | undefined;
|
|
1349
|
+
border?: string | undefined;
|
|
1350
|
+
input?: string | undefined;
|
|
1282
1351
|
ring?: string | undefined;
|
|
1352
|
+
radius?: string | undefined;
|
|
1283
1353
|
} | undefined;
|
|
1284
1354
|
} | undefined;
|
|
1285
1355
|
metadata?: {
|
|
1286
1356
|
description?: string | undefined;
|
|
1287
|
-
title?: string | undefined;
|
|
1288
1357
|
logo?: string | undefined;
|
|
1358
|
+
title?: string | undefined;
|
|
1289
1359
|
favicon?: string | undefined;
|
|
1290
1360
|
generator?: string | undefined;
|
|
1291
1361
|
applicationName?: string | undefined;
|
|
@@ -1295,30 +1365,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1295
1365
|
creator?: string | undefined;
|
|
1296
1366
|
publisher?: string | undefined;
|
|
1297
1367
|
} | undefined;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
dark: string;
|
|
1309
|
-
};
|
|
1310
|
-
width?: string | undefined;
|
|
1311
|
-
alt?: string | undefined;
|
|
1312
|
-
} | undefined;
|
|
1313
|
-
logoUrl?: string | undefined;
|
|
1368
|
+
search?: {
|
|
1369
|
+
type: "inkeep";
|
|
1370
|
+
apiKey: string;
|
|
1371
|
+
integrationId: string;
|
|
1372
|
+
organizationId: string;
|
|
1373
|
+
primaryBrandColor: string;
|
|
1374
|
+
organizationDisplayName: string;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
mdx?: {
|
|
1377
|
+
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1314
1378
|
} | undefined;
|
|
1315
|
-
plugins?: DevPortalPlugin[] | undefined;
|
|
1316
|
-
topNavigation?: {
|
|
1317
|
-
label: string;
|
|
1318
|
-
id: string;
|
|
1319
|
-
default?: string | undefined;
|
|
1320
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1321
|
-
}[] | undefined;
|
|
1322
1379
|
authentication?: {
|
|
1323
1380
|
type: "clerk";
|
|
1324
1381
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -1343,19 +1400,19 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1343
1400
|
redirectToAfterSignOut?: string | undefined;
|
|
1344
1401
|
audience?: string | undefined;
|
|
1345
1402
|
} | undefined;
|
|
1346
|
-
basePath?: string | undefined;
|
|
1347
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1348
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1349
|
-
mdx?: {
|
|
1350
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1351
|
-
} | undefined;
|
|
1352
1403
|
docs?: {
|
|
1353
1404
|
files: string;
|
|
1354
1405
|
defaultOptions?: {
|
|
1355
1406
|
toc?: boolean | undefined;
|
|
1356
1407
|
disablePager?: boolean | undefined;
|
|
1357
1408
|
} | undefined;
|
|
1358
|
-
} |
|
|
1409
|
+
} | {
|
|
1410
|
+
files: string;
|
|
1411
|
+
defaultOptions?: {
|
|
1412
|
+
toc?: boolean | undefined;
|
|
1413
|
+
disablePager?: boolean | undefined;
|
|
1414
|
+
} | undefined;
|
|
1415
|
+
}[] | undefined;
|
|
1359
1416
|
apis?: {
|
|
1360
1417
|
type: "url";
|
|
1361
1418
|
input: string;
|
|
@@ -1414,6 +1471,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1414
1471
|
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1415
1472
|
prose?: boolean | undefined;
|
|
1416
1473
|
}[] | undefined;
|
|
1474
|
+
plugins?: DevPortalPlugin[] | undefined;
|
|
1417
1475
|
sitemap?: {
|
|
1418
1476
|
siteUrl: string;
|
|
1419
1477
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1427,22 +1485,34 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1427
1485
|
rehypePlugins?: Options["rehypePlugins"];
|
|
1428
1486
|
} | undefined;
|
|
1429
1487
|
}, {
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1488
|
+
basePath?: string | undefined;
|
|
1489
|
+
page?: {
|
|
1490
|
+
pageTitle?: string | undefined;
|
|
1491
|
+
logoUrl?: string | undefined;
|
|
1492
|
+
logo?: {
|
|
1493
|
+
src: {
|
|
1494
|
+
light: string;
|
|
1495
|
+
dark: string;
|
|
1496
|
+
};
|
|
1497
|
+
alt?: string | undefined;
|
|
1498
|
+
width?: string | undefined;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
banner?: {
|
|
1501
|
+
message: NonNullable<ReactNode>;
|
|
1502
|
+
color?: string | (string & {}) | undefined;
|
|
1503
|
+
dismissible?: boolean | undefined;
|
|
1504
|
+
} | undefined;
|
|
1437
1505
|
} | undefined;
|
|
1506
|
+
topNavigation?: {
|
|
1507
|
+
label: string;
|
|
1508
|
+
id: string;
|
|
1509
|
+
default?: string | undefined;
|
|
1510
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1511
|
+
}[] | undefined;
|
|
1512
|
+
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1513
|
+
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1438
1514
|
theme?: {
|
|
1439
1515
|
light?: {
|
|
1440
|
-
input?: string | undefined;
|
|
1441
|
-
radius?: string | undefined;
|
|
1442
|
-
border?: string | undefined;
|
|
1443
|
-
destructive?: string | undefined;
|
|
1444
|
-
secondary?: string | undefined;
|
|
1445
|
-
muted?: string | undefined;
|
|
1446
1516
|
background?: string | undefined;
|
|
1447
1517
|
foreground?: string | undefined;
|
|
1448
1518
|
card?: string | undefined;
|
|
@@ -1451,20 +1521,20 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1451
1521
|
popoverForeground?: string | undefined;
|
|
1452
1522
|
primary?: string | undefined;
|
|
1453
1523
|
primaryForeground?: string | undefined;
|
|
1524
|
+
secondary?: string | undefined;
|
|
1454
1525
|
secondaryForeground?: string | undefined;
|
|
1526
|
+
muted?: string | undefined;
|
|
1455
1527
|
mutedForeground?: string | undefined;
|
|
1456
1528
|
accent?: string | undefined;
|
|
1457
1529
|
accentForeground?: string | undefined;
|
|
1530
|
+
destructive?: string | undefined;
|
|
1458
1531
|
destructiveForeground?: string | undefined;
|
|
1532
|
+
border?: string | undefined;
|
|
1533
|
+
input?: string | undefined;
|
|
1459
1534
|
ring?: string | undefined;
|
|
1535
|
+
radius?: string | undefined;
|
|
1460
1536
|
} | undefined;
|
|
1461
1537
|
dark?: {
|
|
1462
|
-
input?: string | undefined;
|
|
1463
|
-
radius?: string | undefined;
|
|
1464
|
-
border?: string | undefined;
|
|
1465
|
-
destructive?: string | undefined;
|
|
1466
|
-
secondary?: string | undefined;
|
|
1467
|
-
muted?: string | undefined;
|
|
1468
1538
|
background?: string | undefined;
|
|
1469
1539
|
foreground?: string | undefined;
|
|
1470
1540
|
card?: string | undefined;
|
|
@@ -1473,18 +1543,24 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1473
1543
|
popoverForeground?: string | undefined;
|
|
1474
1544
|
primary?: string | undefined;
|
|
1475
1545
|
primaryForeground?: string | undefined;
|
|
1546
|
+
secondary?: string | undefined;
|
|
1476
1547
|
secondaryForeground?: string | undefined;
|
|
1548
|
+
muted?: string | undefined;
|
|
1477
1549
|
mutedForeground?: string | undefined;
|
|
1478
1550
|
accent?: string | undefined;
|
|
1479
1551
|
accentForeground?: string | undefined;
|
|
1552
|
+
destructive?: string | undefined;
|
|
1480
1553
|
destructiveForeground?: string | undefined;
|
|
1554
|
+
border?: string | undefined;
|
|
1555
|
+
input?: string | undefined;
|
|
1481
1556
|
ring?: string | undefined;
|
|
1557
|
+
radius?: string | undefined;
|
|
1482
1558
|
} | undefined;
|
|
1483
1559
|
} | undefined;
|
|
1484
1560
|
metadata?: {
|
|
1485
1561
|
description?: string | undefined;
|
|
1486
|
-
title?: string | undefined;
|
|
1487
1562
|
logo?: string | undefined;
|
|
1563
|
+
title?: string | undefined;
|
|
1488
1564
|
favicon?: string | undefined;
|
|
1489
1565
|
generator?: string | undefined;
|
|
1490
1566
|
applicationName?: string | undefined;
|
|
@@ -1494,30 +1570,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1494
1570
|
creator?: string | undefined;
|
|
1495
1571
|
publisher?: string | undefined;
|
|
1496
1572
|
} | undefined;
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
dark: string;
|
|
1508
|
-
};
|
|
1509
|
-
width?: string | undefined;
|
|
1510
|
-
alt?: string | undefined;
|
|
1511
|
-
} | undefined;
|
|
1512
|
-
logoUrl?: string | undefined;
|
|
1573
|
+
search?: {
|
|
1574
|
+
type: "inkeep";
|
|
1575
|
+
apiKey: string;
|
|
1576
|
+
integrationId: string;
|
|
1577
|
+
organizationId: string;
|
|
1578
|
+
primaryBrandColor: string;
|
|
1579
|
+
organizationDisplayName: string;
|
|
1580
|
+
} | undefined;
|
|
1581
|
+
mdx?: {
|
|
1582
|
+
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1513
1583
|
} | undefined;
|
|
1514
|
-
plugins?: DevPortalPlugin[] | undefined;
|
|
1515
|
-
topNavigation?: {
|
|
1516
|
-
label: string;
|
|
1517
|
-
id: string;
|
|
1518
|
-
default?: string | undefined;
|
|
1519
|
-
display?: "auth" | "anon" | "always" | undefined;
|
|
1520
|
-
}[] | undefined;
|
|
1521
1584
|
authentication?: {
|
|
1522
1585
|
type: "clerk";
|
|
1523
1586
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -1542,19 +1605,19 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1542
1605
|
redirectToAfterSignOut?: string | undefined;
|
|
1543
1606
|
audience?: string | undefined;
|
|
1544
1607
|
} | undefined;
|
|
1545
|
-
basePath?: string | undefined;
|
|
1546
|
-
sidebar?: Record<string, import("./InputSidebarSchema.js").InputSidebarItem[]> | undefined;
|
|
1547
|
-
UNSAFE_slotlets?: Record<string, ReactNode | ComponentType<ExposedComponentProps>> | undefined;
|
|
1548
|
-
mdx?: {
|
|
1549
|
-
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1550
|
-
} | undefined;
|
|
1551
1608
|
docs?: {
|
|
1552
1609
|
files: string;
|
|
1553
1610
|
defaultOptions?: {
|
|
1554
1611
|
toc?: boolean | undefined;
|
|
1555
1612
|
disablePager?: boolean | undefined;
|
|
1556
1613
|
} | undefined;
|
|
1557
|
-
} |
|
|
1614
|
+
} | {
|
|
1615
|
+
files: string;
|
|
1616
|
+
defaultOptions?: {
|
|
1617
|
+
toc?: boolean | undefined;
|
|
1618
|
+
disablePager?: boolean | undefined;
|
|
1619
|
+
} | undefined;
|
|
1620
|
+
}[] | undefined;
|
|
1558
1621
|
apis?: {
|
|
1559
1622
|
type: "url";
|
|
1560
1623
|
input: string;
|
|
@@ -1613,6 +1676,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1613
1676
|
render?: ComponentType<ExposedComponentProps> | undefined;
|
|
1614
1677
|
prose?: boolean | undefined;
|
|
1615
1678
|
}[] | undefined;
|
|
1679
|
+
plugins?: DevPortalPlugin[] | undefined;
|
|
1616
1680
|
sitemap?: {
|
|
1617
1681
|
siteUrl: string;
|
|
1618
1682
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
@@ -1630,5 +1694,6 @@ export type ZudokuApiConfig = z.infer<typeof ApiSchema>;
|
|
|
1630
1694
|
export type ZudokuConfig = z.infer<typeof ConfigSchema>;
|
|
1631
1695
|
export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
|
|
1632
1696
|
export type ZudokuDocsConfig = z.infer<typeof DocsConfigSchema>;
|
|
1697
|
+
export type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
|
|
1633
1698
|
export declare function validateConfig(config: unknown): void;
|
|
1634
1699
|
export {};
|