@mintlify/validation 0.1.825 → 0.1.826
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor-navigation/conversion/common.d.ts +4 -3
- package/dist/editor-navigation/conversion/common.js +9 -1
- package/dist/editor-navigation/conversion/docsjson-to-tree.js +3 -1
- package/dist/editor-navigation/types.d.ts +7 -3
- package/dist/mint-config/schemas/v2/index.d.ts +480 -360
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +4 -2
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +15 -12
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +100 -40
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +38 -10
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +2 -2
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +39 -0
- package/dist/mint-config/schemas/v2/properties/reusable/page.js +7 -0
- package/dist/mint-config/schemas/v2/properties/reusable/sdk.d.ts +2 -1
- package/dist/mint-config/schemas/v2/properties/reusable/sdk.js +2 -1
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +32 -24
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +48 -36
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +48 -36
- package/dist/mint-config/validateConfig.d.ts +144 -108
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -127,7 +127,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
127
127
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
128
128
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
129
129
|
} & {
|
|
130
|
-
groups: z.ZodArray<z.ZodType<{
|
|
130
|
+
groups: z.ZodArray<z.ZodType<Omit<{
|
|
131
131
|
group: string;
|
|
132
132
|
icon?: string | {
|
|
133
133
|
name: string;
|
|
@@ -137,14 +137,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
137
137
|
expanded?: boolean | undefined;
|
|
138
138
|
public?: boolean | undefined;
|
|
139
139
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
140
|
+
graphql?: undefined;
|
|
140
141
|
tag?: string | undefined;
|
|
141
142
|
searchable?: boolean | undefined;
|
|
142
143
|
boost?: number | undefined;
|
|
143
144
|
hidden?: boolean | undefined;
|
|
144
|
-
graphql?: undefined;
|
|
145
145
|
sdk?: undefined;
|
|
146
146
|
root?: string | undefined;
|
|
147
|
-
} & {
|
|
147
|
+
}, "sdk"> & {
|
|
148
148
|
openapi?: string | string[] | {
|
|
149
149
|
source: string;
|
|
150
150
|
directory?: string | undefined;
|
|
@@ -154,8 +154,9 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
154
154
|
directory?: string | undefined;
|
|
155
155
|
} | undefined;
|
|
156
156
|
} & {
|
|
157
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
157
158
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
158
|
-
}, z.ZodTypeDef, {
|
|
159
|
+
}, z.ZodTypeDef, Omit<{
|
|
159
160
|
group: string;
|
|
160
161
|
icon?: string | {
|
|
161
162
|
name: string;
|
|
@@ -165,14 +166,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
165
166
|
expanded?: boolean | undefined;
|
|
166
167
|
public?: boolean | undefined;
|
|
167
168
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
169
|
+
graphql?: undefined;
|
|
168
170
|
tag?: string | undefined;
|
|
169
171
|
searchable?: boolean | undefined;
|
|
170
172
|
boost?: number | undefined;
|
|
171
173
|
hidden?: boolean | undefined;
|
|
172
|
-
graphql?: undefined;
|
|
173
174
|
sdk?: undefined;
|
|
174
175
|
root?: string | undefined;
|
|
175
|
-
} & {
|
|
176
|
+
}, "sdk"> & {
|
|
176
177
|
openapi?: string | string[] | {
|
|
177
178
|
source: string;
|
|
178
179
|
directory?: string | undefined;
|
|
@@ -182,10 +183,11 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
182
183
|
directory?: string | undefined;
|
|
183
184
|
} | undefined;
|
|
184
185
|
} & {
|
|
186
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
185
187
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
186
188
|
}>, "many">;
|
|
187
189
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
groups: ({
|
|
190
|
+
groups: (Omit<{
|
|
189
191
|
group: string;
|
|
190
192
|
icon?: string | {
|
|
191
193
|
name: string;
|
|
@@ -195,14 +197,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
195
197
|
expanded?: boolean | undefined;
|
|
196
198
|
public?: boolean | undefined;
|
|
197
199
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
200
|
+
graphql?: undefined;
|
|
198
201
|
tag?: string | undefined;
|
|
199
202
|
searchable?: boolean | undefined;
|
|
200
203
|
boost?: number | undefined;
|
|
201
204
|
hidden?: boolean | undefined;
|
|
202
|
-
graphql?: undefined;
|
|
203
205
|
sdk?: undefined;
|
|
204
206
|
root?: string | undefined;
|
|
205
|
-
} & {
|
|
207
|
+
}, "sdk"> & {
|
|
206
208
|
openapi?: string | string[] | {
|
|
207
209
|
source: string;
|
|
208
210
|
directory?: string | undefined;
|
|
@@ -212,6 +214,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
212
214
|
directory?: string | undefined;
|
|
213
215
|
} | undefined;
|
|
214
216
|
} & {
|
|
217
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
215
218
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
216
219
|
})[];
|
|
217
220
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
@@ -219,7 +222,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
219
222
|
sdk?: undefined;
|
|
220
223
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
221
224
|
}, {
|
|
222
|
-
groups: ({
|
|
225
|
+
groups: (Omit<{
|
|
223
226
|
group: string;
|
|
224
227
|
icon?: string | {
|
|
225
228
|
name: string;
|
|
@@ -229,14 +232,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
229
232
|
expanded?: boolean | undefined;
|
|
230
233
|
public?: boolean | undefined;
|
|
231
234
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
235
|
+
graphql?: undefined;
|
|
232
236
|
tag?: string | undefined;
|
|
233
237
|
searchable?: boolean | undefined;
|
|
234
238
|
boost?: number | undefined;
|
|
235
239
|
hidden?: boolean | undefined;
|
|
236
|
-
graphql?: undefined;
|
|
237
240
|
sdk?: undefined;
|
|
238
241
|
root?: string | undefined;
|
|
239
|
-
} & {
|
|
242
|
+
}, "sdk"> & {
|
|
240
243
|
openapi?: string | string[] | {
|
|
241
244
|
source: string;
|
|
242
245
|
directory?: string | undefined;
|
|
@@ -246,6 +249,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
246
249
|
directory?: string | undefined;
|
|
247
250
|
} | undefined;
|
|
248
251
|
} & {
|
|
252
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
249
253
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
250
254
|
})[];
|
|
251
255
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
@@ -258,7 +262,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
258
262
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
259
263
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
260
264
|
} & {
|
|
261
|
-
pages: z.ZodArray<z.ZodType<string | ({
|
|
265
|
+
pages: z.ZodArray<z.ZodType<string | (Omit<{
|
|
262
266
|
group: string;
|
|
263
267
|
icon?: string | {
|
|
264
268
|
name: string;
|
|
@@ -268,14 +272,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
268
272
|
expanded?: boolean | undefined;
|
|
269
273
|
public?: boolean | undefined;
|
|
270
274
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
275
|
+
graphql?: undefined;
|
|
271
276
|
tag?: string | undefined;
|
|
272
277
|
searchable?: boolean | undefined;
|
|
273
278
|
boost?: number | undefined;
|
|
274
279
|
hidden?: boolean | undefined;
|
|
275
|
-
graphql?: undefined;
|
|
276
280
|
sdk?: undefined;
|
|
277
281
|
root?: string | undefined;
|
|
278
|
-
} & {
|
|
282
|
+
}, "sdk"> & {
|
|
279
283
|
openapi?: string | string[] | {
|
|
280
284
|
source: string;
|
|
281
285
|
directory?: string | undefined;
|
|
@@ -285,8 +289,9 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
285
289
|
directory?: string | undefined;
|
|
286
290
|
} | undefined;
|
|
287
291
|
} & {
|
|
292
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
288
293
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
289
|
-
}), z.ZodTypeDef, string | ({
|
|
294
|
+
}), z.ZodTypeDef, string | (Omit<{
|
|
290
295
|
group: string;
|
|
291
296
|
icon?: string | {
|
|
292
297
|
name: string;
|
|
@@ -296,14 +301,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
296
301
|
expanded?: boolean | undefined;
|
|
297
302
|
public?: boolean | undefined;
|
|
298
303
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
304
|
+
graphql?: undefined;
|
|
299
305
|
tag?: string | undefined;
|
|
300
306
|
searchable?: boolean | undefined;
|
|
301
307
|
boost?: number | undefined;
|
|
302
308
|
hidden?: boolean | undefined;
|
|
303
|
-
graphql?: undefined;
|
|
304
309
|
sdk?: undefined;
|
|
305
310
|
root?: string | undefined;
|
|
306
|
-
} & {
|
|
311
|
+
}, "sdk"> & {
|
|
307
312
|
openapi?: string | string[] | {
|
|
308
313
|
source: string;
|
|
309
314
|
directory?: string | undefined;
|
|
@@ -313,10 +318,11 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
313
318
|
directory?: string | undefined;
|
|
314
319
|
} | undefined;
|
|
315
320
|
} & {
|
|
321
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
316
322
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
317
323
|
})>, "many">;
|
|
318
324
|
}, "strip", z.ZodTypeAny, {
|
|
319
|
-
pages: (string | ({
|
|
325
|
+
pages: (string | (Omit<{
|
|
320
326
|
group: string;
|
|
321
327
|
icon?: string | {
|
|
322
328
|
name: string;
|
|
@@ -326,14 +332,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
326
332
|
expanded?: boolean | undefined;
|
|
327
333
|
public?: boolean | undefined;
|
|
328
334
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
335
|
+
graphql?: undefined;
|
|
329
336
|
tag?: string | undefined;
|
|
330
337
|
searchable?: boolean | undefined;
|
|
331
338
|
boost?: number | undefined;
|
|
332
339
|
hidden?: boolean | undefined;
|
|
333
|
-
graphql?: undefined;
|
|
334
340
|
sdk?: undefined;
|
|
335
341
|
root?: string | undefined;
|
|
336
|
-
} & {
|
|
342
|
+
}, "sdk"> & {
|
|
337
343
|
openapi?: string | string[] | {
|
|
338
344
|
source: string;
|
|
339
345
|
directory?: string | undefined;
|
|
@@ -343,6 +349,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
343
349
|
directory?: string | undefined;
|
|
344
350
|
} | undefined;
|
|
345
351
|
} & {
|
|
352
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
346
353
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
347
354
|
}))[];
|
|
348
355
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
@@ -350,7 +357,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
350
357
|
sdk?: undefined;
|
|
351
358
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
352
359
|
}, {
|
|
353
|
-
pages: (string | ({
|
|
360
|
+
pages: (string | (Omit<{
|
|
354
361
|
group: string;
|
|
355
362
|
icon?: string | {
|
|
356
363
|
name: string;
|
|
@@ -360,14 +367,14 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
360
367
|
expanded?: boolean | undefined;
|
|
361
368
|
public?: boolean | undefined;
|
|
362
369
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
370
|
+
graphql?: undefined;
|
|
363
371
|
tag?: string | undefined;
|
|
364
372
|
searchable?: boolean | undefined;
|
|
365
373
|
boost?: number | undefined;
|
|
366
374
|
hidden?: boolean | undefined;
|
|
367
|
-
graphql?: undefined;
|
|
368
375
|
sdk?: undefined;
|
|
369
376
|
root?: string | undefined;
|
|
370
|
-
} & {
|
|
377
|
+
}, "sdk"> & {
|
|
371
378
|
openapi?: string | string[] | {
|
|
372
379
|
source: string;
|
|
373
380
|
directory?: string | undefined;
|
|
@@ -377,6 +384,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
377
384
|
directory?: string | undefined;
|
|
378
385
|
} | undefined;
|
|
379
386
|
} & {
|
|
387
|
+
sdk?: z.infer<typeof import("../reusable/sdk.js").sdkSchema>;
|
|
380
388
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
381
389
|
}))[];
|
|
382
390
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
@@ -431,14 +439,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
431
439
|
expanded?: boolean | undefined;
|
|
432
440
|
public?: boolean | undefined;
|
|
433
441
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
442
|
+
graphql?: undefined;
|
|
434
443
|
tag?: string | undefined;
|
|
435
444
|
searchable?: boolean | undefined;
|
|
436
445
|
boost?: number | undefined;
|
|
437
446
|
hidden?: boolean | undefined;
|
|
438
|
-
graphql?: undefined;
|
|
439
447
|
sdk?: undefined;
|
|
440
448
|
root?: string | undefined;
|
|
441
|
-
}, "root"> & {
|
|
449
|
+
}, "sdk" | "root"> & {
|
|
442
450
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
443
451
|
root?: import("../index.js").DecoratedPageConfig;
|
|
444
452
|
}, z.ZodTypeDef, Omit<{
|
|
@@ -451,14 +459,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
451
459
|
expanded?: boolean | undefined;
|
|
452
460
|
public?: boolean | undefined;
|
|
453
461
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
462
|
+
graphql?: undefined;
|
|
454
463
|
tag?: string | undefined;
|
|
455
464
|
searchable?: boolean | undefined;
|
|
456
465
|
boost?: number | undefined;
|
|
457
466
|
hidden?: boolean | undefined;
|
|
458
|
-
graphql?: undefined;
|
|
459
467
|
sdk?: undefined;
|
|
460
468
|
root?: string | undefined;
|
|
461
|
-
}, "root"> & {
|
|
469
|
+
}, "sdk" | "root"> & {
|
|
462
470
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
463
471
|
root?: import("../index.js").DecoratedPageConfig;
|
|
464
472
|
}>, "many">;
|
|
@@ -473,14 +481,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
473
481
|
expanded?: boolean | undefined;
|
|
474
482
|
public?: boolean | undefined;
|
|
475
483
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
484
|
+
graphql?: undefined;
|
|
476
485
|
tag?: string | undefined;
|
|
477
486
|
searchable?: boolean | undefined;
|
|
478
487
|
boost?: number | undefined;
|
|
479
488
|
hidden?: boolean | undefined;
|
|
480
|
-
graphql?: undefined;
|
|
481
489
|
sdk?: undefined;
|
|
482
490
|
root?: string | undefined;
|
|
483
|
-
}, "root"> & {
|
|
491
|
+
}, "sdk" | "root"> & {
|
|
484
492
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
485
493
|
root?: import("../index.js").DecoratedPageConfig;
|
|
486
494
|
})[];
|
|
@@ -495,14 +503,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
495
503
|
expanded?: boolean | undefined;
|
|
496
504
|
public?: boolean | undefined;
|
|
497
505
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
506
|
+
graphql?: undefined;
|
|
498
507
|
tag?: string | undefined;
|
|
499
508
|
searchable?: boolean | undefined;
|
|
500
509
|
boost?: number | undefined;
|
|
501
510
|
hidden?: boolean | undefined;
|
|
502
|
-
graphql?: undefined;
|
|
503
511
|
sdk?: undefined;
|
|
504
512
|
root?: string | undefined;
|
|
505
|
-
}, "root"> & {
|
|
513
|
+
}, "sdk" | "root"> & {
|
|
506
514
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
507
515
|
root?: import("../index.js").DecoratedPageConfig;
|
|
508
516
|
})[];
|
|
@@ -518,6 +526,19 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
518
526
|
api: z.ZodOptional<z.ZodString>;
|
|
519
527
|
openapi: z.ZodOptional<z.ZodString>;
|
|
520
528
|
asyncapi: z.ZodOptional<z.ZodString>;
|
|
529
|
+
graphql: z.ZodOptional<z.ZodObject<{
|
|
530
|
+
source: z.ZodString;
|
|
531
|
+
kind: z.ZodEnum<["query", "mutation", "type"]>;
|
|
532
|
+
name: z.ZodString;
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
name: string;
|
|
535
|
+
source: string;
|
|
536
|
+
kind: "type" | "query" | "mutation";
|
|
537
|
+
}, {
|
|
538
|
+
name: string;
|
|
539
|
+
source: string;
|
|
540
|
+
kind: "type" | "query" | "mutation";
|
|
541
|
+
}>>;
|
|
521
542
|
contentType: z.ZodOptional<z.ZodString>;
|
|
522
543
|
authMethod: z.ZodOptional<z.ZodString>;
|
|
523
544
|
auth: z.ZodOptional<z.ZodString>;
|
|
@@ -709,14 +730,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
709
730
|
expanded?: boolean | undefined;
|
|
710
731
|
public?: boolean | undefined;
|
|
711
732
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
733
|
+
graphql?: undefined;
|
|
712
734
|
tag?: string | undefined;
|
|
713
735
|
searchable?: boolean | undefined;
|
|
714
736
|
boost?: number | undefined;
|
|
715
737
|
hidden?: boolean | undefined;
|
|
716
|
-
graphql?: undefined;
|
|
717
738
|
sdk?: undefined;
|
|
718
739
|
root?: string | undefined;
|
|
719
|
-
}, "root"> & {
|
|
740
|
+
}, "sdk" | "root"> & {
|
|
720
741
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
721
742
|
root?: import("../index.js").DecoratedPageConfig;
|
|
722
743
|
}), z.ZodTypeDef, z.objectInputType<{
|
|
@@ -730,6 +751,19 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
730
751
|
api: z.ZodOptional<z.ZodString>;
|
|
731
752
|
openapi: z.ZodOptional<z.ZodString>;
|
|
732
753
|
asyncapi: z.ZodOptional<z.ZodString>;
|
|
754
|
+
graphql: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
source: z.ZodString;
|
|
756
|
+
kind: z.ZodEnum<["query", "mutation", "type"]>;
|
|
757
|
+
name: z.ZodString;
|
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
|
759
|
+
name: string;
|
|
760
|
+
source: string;
|
|
761
|
+
kind: "type" | "query" | "mutation";
|
|
762
|
+
}, {
|
|
763
|
+
name: string;
|
|
764
|
+
source: string;
|
|
765
|
+
kind: "type" | "query" | "mutation";
|
|
766
|
+
}>>;
|
|
733
767
|
contentType: z.ZodOptional<z.ZodString>;
|
|
734
768
|
authMethod: z.ZodOptional<z.ZodString>;
|
|
735
769
|
auth: z.ZodOptional<z.ZodString>;
|
|
@@ -921,14 +955,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
921
955
|
expanded?: boolean | undefined;
|
|
922
956
|
public?: boolean | undefined;
|
|
923
957
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
958
|
+
graphql?: undefined;
|
|
924
959
|
tag?: string | undefined;
|
|
925
960
|
searchable?: boolean | undefined;
|
|
926
961
|
boost?: number | undefined;
|
|
927
962
|
hidden?: boolean | undefined;
|
|
928
|
-
graphql?: undefined;
|
|
929
963
|
sdk?: undefined;
|
|
930
964
|
root?: string | undefined;
|
|
931
|
-
}, "root"> & {
|
|
965
|
+
}, "sdk" | "root"> & {
|
|
932
966
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
933
967
|
root?: import("../index.js").DecoratedPageConfig;
|
|
934
968
|
})>, "many">;
|
|
@@ -944,6 +978,19 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
944
978
|
api: z.ZodOptional<z.ZodString>;
|
|
945
979
|
openapi: z.ZodOptional<z.ZodString>;
|
|
946
980
|
asyncapi: z.ZodOptional<z.ZodString>;
|
|
981
|
+
graphql: z.ZodOptional<z.ZodObject<{
|
|
982
|
+
source: z.ZodString;
|
|
983
|
+
kind: z.ZodEnum<["query", "mutation", "type"]>;
|
|
984
|
+
name: z.ZodString;
|
|
985
|
+
}, "strip", z.ZodTypeAny, {
|
|
986
|
+
name: string;
|
|
987
|
+
source: string;
|
|
988
|
+
kind: "type" | "query" | "mutation";
|
|
989
|
+
}, {
|
|
990
|
+
name: string;
|
|
991
|
+
source: string;
|
|
992
|
+
kind: "type" | "query" | "mutation";
|
|
993
|
+
}>>;
|
|
947
994
|
contentType: z.ZodOptional<z.ZodString>;
|
|
948
995
|
authMethod: z.ZodOptional<z.ZodString>;
|
|
949
996
|
auth: z.ZodOptional<z.ZodString>;
|
|
@@ -1135,14 +1182,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
1135
1182
|
expanded?: boolean | undefined;
|
|
1136
1183
|
public?: boolean | undefined;
|
|
1137
1184
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
1185
|
+
graphql?: undefined;
|
|
1138
1186
|
tag?: string | undefined;
|
|
1139
1187
|
searchable?: boolean | undefined;
|
|
1140
1188
|
boost?: number | undefined;
|
|
1141
1189
|
hidden?: boolean | undefined;
|
|
1142
|
-
graphql?: undefined;
|
|
1143
1190
|
sdk?: undefined;
|
|
1144
1191
|
root?: string | undefined;
|
|
1145
|
-
}, "root"> & {
|
|
1192
|
+
}, "sdk" | "root"> & {
|
|
1146
1193
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
1147
1194
|
root?: import("../index.js").DecoratedPageConfig;
|
|
1148
1195
|
}))[];
|
|
@@ -1158,6 +1205,19 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
1158
1205
|
api: z.ZodOptional<z.ZodString>;
|
|
1159
1206
|
openapi: z.ZodOptional<z.ZodString>;
|
|
1160
1207
|
asyncapi: z.ZodOptional<z.ZodString>;
|
|
1208
|
+
graphql: z.ZodOptional<z.ZodObject<{
|
|
1209
|
+
source: z.ZodString;
|
|
1210
|
+
kind: z.ZodEnum<["query", "mutation", "type"]>;
|
|
1211
|
+
name: z.ZodString;
|
|
1212
|
+
}, "strip", z.ZodTypeAny, {
|
|
1213
|
+
name: string;
|
|
1214
|
+
source: string;
|
|
1215
|
+
kind: "type" | "query" | "mutation";
|
|
1216
|
+
}, {
|
|
1217
|
+
name: string;
|
|
1218
|
+
source: string;
|
|
1219
|
+
kind: "type" | "query" | "mutation";
|
|
1220
|
+
}>>;
|
|
1161
1221
|
contentType: z.ZodOptional<z.ZodString>;
|
|
1162
1222
|
authMethod: z.ZodOptional<z.ZodString>;
|
|
1163
1223
|
auth: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,14 +1409,14 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
1349
1409
|
expanded?: boolean | undefined;
|
|
1350
1410
|
public?: boolean | undefined;
|
|
1351
1411
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
1412
|
+
graphql?: undefined;
|
|
1352
1413
|
tag?: string | undefined;
|
|
1353
1414
|
searchable?: boolean | undefined;
|
|
1354
1415
|
boost?: number | undefined;
|
|
1355
1416
|
hidden?: boolean | undefined;
|
|
1356
|
-
graphql?: undefined;
|
|
1357
1417
|
sdk?: undefined;
|
|
1358
1418
|
root?: string | undefined;
|
|
1359
|
-
}, "root"> & {
|
|
1419
|
+
}, "sdk" | "root"> & {
|
|
1360
1420
|
pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
|
|
1361
1421
|
root?: import("../index.js").DecoratedPageConfig;
|
|
1362
1422
|
}))[];
|
|
@@ -330,8 +330,8 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
330
330
|
socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
|
|
331
331
|
} | undefined;
|
|
332
332
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
333
|
-
hidden?: boolean | undefined;
|
|
334
333
|
graphql?: undefined;
|
|
334
|
+
hidden?: boolean | undefined;
|
|
335
335
|
sdk?: undefined;
|
|
336
336
|
banner?: {
|
|
337
337
|
content: string;
|
|
@@ -399,8 +399,8 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
399
399
|
socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
|
|
400
400
|
} | undefined;
|
|
401
401
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
402
|
-
hidden?: boolean | undefined;
|
|
403
402
|
graphql?: undefined;
|
|
403
|
+
hidden?: boolean | undefined;
|
|
404
404
|
sdk?: undefined;
|
|
405
405
|
banner?: {
|
|
406
406
|
content: string;
|
|
@@ -789,8 +789,8 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<{
|
|
|
789
789
|
socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
|
|
790
790
|
} | undefined;
|
|
791
791
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
792
|
-
hidden?: boolean | undefined;
|
|
793
792
|
graphql?: undefined;
|
|
793
|
+
hidden?: boolean | undefined;
|
|
794
794
|
sdk?: undefined;
|
|
795
795
|
banner?: {
|
|
796
796
|
content: string;
|
|
@@ -859,8 +859,8 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<{
|
|
|
859
859
|
socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
|
|
860
860
|
} | undefined;
|
|
861
861
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
862
|
-
hidden?: boolean | undefined;
|
|
863
862
|
graphql?: undefined;
|
|
863
|
+
hidden?: boolean | undefined;
|
|
864
864
|
sdk?: undefined;
|
|
865
865
|
banner?: {
|
|
866
866
|
content: string;
|
|
@@ -29,8 +29,8 @@ export declare const baseMenuItemSchema: z.ZodObject<{
|
|
|
29
29
|
} | undefined;
|
|
30
30
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
31
31
|
description?: string | undefined;
|
|
32
|
-
hidden?: boolean | undefined;
|
|
33
32
|
graphql?: undefined;
|
|
33
|
+
hidden?: boolean | undefined;
|
|
34
34
|
sdk?: undefined;
|
|
35
35
|
}, {
|
|
36
36
|
item: string;
|
|
@@ -41,8 +41,8 @@ export declare const baseMenuItemSchema: z.ZodObject<{
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
43
43
|
description?: string | undefined;
|
|
44
|
-
hidden?: boolean | undefined;
|
|
45
44
|
graphql?: undefined;
|
|
45
|
+
hidden?: boolean | undefined;
|
|
46
46
|
sdk?: undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type BaseMenuItemSchema = z.infer<typeof baseMenuItemSchema>;
|
|
@@ -78,8 +78,8 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
|
|
|
78
78
|
} | undefined;
|
|
79
79
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
80
80
|
description?: string | undefined;
|
|
81
|
-
hidden?: boolean | undefined;
|
|
82
81
|
graphql?: undefined;
|
|
82
|
+
hidden?: boolean | undefined;
|
|
83
83
|
sdk?: undefined;
|
|
84
84
|
}, {
|
|
85
85
|
href: string;
|
|
@@ -91,8 +91,8 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
|
|
|
91
91
|
} | undefined;
|
|
92
92
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
93
93
|
description?: string | undefined;
|
|
94
|
-
hidden?: boolean | undefined;
|
|
95
94
|
graphql?: undefined;
|
|
95
|
+
hidden?: boolean | undefined;
|
|
96
96
|
sdk?: undefined;
|
|
97
97
|
}>;
|
|
98
98
|
export declare const menuItemSchema: z.ZodType<MenuItemNavigation<'default'>>;
|
|
@@ -3,7 +3,7 @@ import { pageSchema } from '../reusable/page.js';
|
|
|
3
3
|
import { PageOrGroupNavigation } from './divisionNav.js';
|
|
4
4
|
export declare const pageOrGroupSchema: z.ZodType<PageOrGroupNavigation<'default'>>;
|
|
5
5
|
export declare const decoratedPageOrGroupSchema: z.ZodType<PageOrGroupNavigation<'decorated'>>;
|
|
6
|
-
export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
6
|
+
export declare const pagesSchema: z.ZodArray<z.ZodType<string | (Omit<{
|
|
7
7
|
group: string;
|
|
8
8
|
icon?: string | {
|
|
9
9
|
name: string;
|
|
@@ -13,14 +13,14 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
|
13
13
|
expanded?: boolean | undefined;
|
|
14
14
|
public?: boolean | undefined;
|
|
15
15
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
16
|
+
graphql?: undefined;
|
|
16
17
|
tag?: string | undefined;
|
|
17
18
|
searchable?: boolean | undefined;
|
|
18
19
|
boost?: number | undefined;
|
|
19
20
|
hidden?: boolean | undefined;
|
|
20
|
-
graphql?: undefined;
|
|
21
21
|
sdk?: undefined;
|
|
22
22
|
root?: string | undefined;
|
|
23
|
-
} & {
|
|
23
|
+
}, "sdk"> & {
|
|
24
24
|
openapi?: string | string[] | {
|
|
25
25
|
source: string;
|
|
26
26
|
directory?: string | undefined;
|
|
@@ -30,8 +30,9 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
|
30
30
|
directory?: string | undefined;
|
|
31
31
|
} | undefined;
|
|
32
32
|
} & {
|
|
33
|
+
sdk?: z.infer<typeof import("../index.js").sdkSchema>;
|
|
33
34
|
pages?: PageOrGroupNavigation<"default">[];
|
|
34
|
-
}), z.ZodTypeDef, string | ({
|
|
35
|
+
}), z.ZodTypeDef, string | (Omit<{
|
|
35
36
|
group: string;
|
|
36
37
|
icon?: string | {
|
|
37
38
|
name: string;
|
|
@@ -41,14 +42,14 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
|
41
42
|
expanded?: boolean | undefined;
|
|
42
43
|
public?: boolean | undefined;
|
|
43
44
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
45
|
+
graphql?: undefined;
|
|
44
46
|
tag?: string | undefined;
|
|
45
47
|
searchable?: boolean | undefined;
|
|
46
48
|
boost?: number | undefined;
|
|
47
49
|
hidden?: boolean | undefined;
|
|
48
|
-
graphql?: undefined;
|
|
49
50
|
sdk?: undefined;
|
|
50
51
|
root?: string | undefined;
|
|
51
|
-
} & {
|
|
52
|
+
}, "sdk"> & {
|
|
52
53
|
openapi?: string | string[] | {
|
|
53
54
|
source: string;
|
|
54
55
|
directory?: string | undefined;
|
|
@@ -58,6 +59,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
|
|
|
58
59
|
directory?: string | undefined;
|
|
59
60
|
} | undefined;
|
|
60
61
|
} & {
|
|
62
|
+
sdk?: z.infer<typeof import("../index.js").sdkSchema>;
|
|
61
63
|
pages?: PageOrGroupNavigation<"default">[];
|
|
62
64
|
})>, "many">;
|
|
63
65
|
export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputType<{
|
|
@@ -71,6 +73,19 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
|
|
|
71
73
|
api: z.ZodOptional<z.ZodString>;
|
|
72
74
|
openapi: z.ZodOptional<z.ZodString>;
|
|
73
75
|
asyncapi: z.ZodOptional<z.ZodString>;
|
|
76
|
+
graphql: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
source: z.ZodString;
|
|
78
|
+
kind: z.ZodEnum<["query", "mutation", "type"]>;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
name: string;
|
|
82
|
+
source: string;
|
|
83
|
+
kind: "type" | "query" | "mutation";
|
|
84
|
+
}, {
|
|
85
|
+
name: string;
|
|
86
|
+
source: string;
|
|
87
|
+
kind: "type" | "query" | "mutation";
|
|
88
|
+
}>>;
|
|
74
89
|
contentType: z.ZodOptional<z.ZodString>;
|
|
75
90
|
authMethod: z.ZodOptional<z.ZodString>;
|
|
76
91
|
auth: z.ZodOptional<z.ZodString>;
|
|
@@ -262,14 +277,14 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
|
|
|
262
277
|
expanded?: boolean | undefined;
|
|
263
278
|
public?: boolean | undefined;
|
|
264
279
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
280
|
+
graphql?: undefined;
|
|
265
281
|
tag?: string | undefined;
|
|
266
282
|
searchable?: boolean | undefined;
|
|
267
283
|
boost?: number | undefined;
|
|
268
284
|
hidden?: boolean | undefined;
|
|
269
|
-
graphql?: undefined;
|
|
270
285
|
sdk?: undefined;
|
|
271
286
|
root?: string | undefined;
|
|
272
|
-
}, "root"> & {
|
|
287
|
+
}, "sdk" | "root"> & {
|
|
273
288
|
pages: PageOrGroupNavigation<"decorated">[];
|
|
274
289
|
root?: import("../reusable/page.js").DecoratedPageConfig;
|
|
275
290
|
}), z.ZodTypeDef, z.objectInputType<{
|
|
@@ -283,6 +298,19 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
|
|
|
283
298
|
api: z.ZodOptional<z.ZodString>;
|
|
284
299
|
openapi: z.ZodOptional<z.ZodString>;
|
|
285
300
|
asyncapi: z.ZodOptional<z.ZodString>;
|
|
301
|
+
graphql: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
source: z.ZodString;
|
|
303
|
+
kind: z.ZodEnum<["query", "mutation", "type"]>;
|
|
304
|
+
name: z.ZodString;
|
|
305
|
+
}, "strip", z.ZodTypeAny, {
|
|
306
|
+
name: string;
|
|
307
|
+
source: string;
|
|
308
|
+
kind: "type" | "query" | "mutation";
|
|
309
|
+
}, {
|
|
310
|
+
name: string;
|
|
311
|
+
source: string;
|
|
312
|
+
kind: "type" | "query" | "mutation";
|
|
313
|
+
}>>;
|
|
286
314
|
contentType: z.ZodOptional<z.ZodString>;
|
|
287
315
|
authMethod: z.ZodOptional<z.ZodString>;
|
|
288
316
|
auth: z.ZodOptional<z.ZodString>;
|
|
@@ -474,14 +502,14 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
|
|
|
474
502
|
expanded?: boolean | undefined;
|
|
475
503
|
public?: boolean | undefined;
|
|
476
504
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
505
|
+
graphql?: undefined;
|
|
477
506
|
tag?: string | undefined;
|
|
478
507
|
searchable?: boolean | undefined;
|
|
479
508
|
boost?: number | undefined;
|
|
480
509
|
hidden?: boolean | undefined;
|
|
481
|
-
graphql?: undefined;
|
|
482
510
|
sdk?: undefined;
|
|
483
511
|
root?: string | undefined;
|
|
484
|
-
}, "root"> & {
|
|
512
|
+
}, "sdk" | "root"> & {
|
|
485
513
|
pages: PageOrGroupNavigation<"decorated">[];
|
|
486
514
|
root?: import("../reusable/page.js").DecoratedPageConfig;
|
|
487
515
|
})>, "many">;
|