@mintlify/validation 0.1.585 → 0.1.586

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.
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { GroupNavigation } from './divisionNav.js';
2
3
  export declare const baseGroupSchema: z.ZodObject<{
3
4
  group: z.ZodString;
4
5
  public: z.ZodOptional<z.ZodBoolean>;
@@ -45,60 +46,9 @@ export declare const baseGroupSchema: z.ZodObject<{
45
46
  root?: string | undefined;
46
47
  }>;
47
48
  export type BaseGroupSchema = z.infer<typeof baseGroupSchema>;
48
- export declare const groupSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
49
- group: z.ZodString;
50
- public: z.ZodOptional<z.ZodBoolean>;
51
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
52
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
53
- name: z.ZodEffects<z.ZodString, string, string>;
54
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
55
- }, "strip", z.ZodTypeAny, {
56
- name: string;
57
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
58
- library?: "fontawesome" | "lucide" | undefined;
59
- }, {
60
- name: string;
61
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
62
- library?: "fontawesome" | "lucide" | undefined;
63
- }>]>>;
64
- hidden: z.ZodOptional<z.ZodBoolean>;
65
- root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
66
- tag: z.ZodOptional<z.ZodString>;
67
- expanded: z.ZodOptional<z.ZodBoolean>;
68
- }, {
69
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
70
- source: z.ZodEffects<z.ZodString, string, string>;
71
- directory: z.ZodOptional<z.ZodString>;
72
- }, "strict", z.ZodTypeAny, {
73
- source: string;
74
- directory?: string | undefined;
75
- }, {
76
- source: string;
77
- directory?: string | undefined;
78
- }>]>;
79
- pages: z.ZodDefault<z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>>;
80
- }>, "strip", z.ZodTypeAny, {
81
- openapi: string | string[] | {
82
- source: string;
83
- directory?: string | undefined;
84
- };
85
- group: string;
86
- pages: any[];
87
- icon?: string | {
88
- name: string;
89
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
90
- library?: "fontawesome" | "lucide" | undefined;
91
- } | undefined;
92
- expanded?: boolean | undefined;
93
- public?: boolean | undefined;
94
- tag?: string | undefined;
95
- hidden?: boolean | undefined;
96
- root?: string | undefined;
97
- }, {
98
- openapi: string | string[] | {
99
- source: string;
100
- directory?: string | undefined;
101
- };
49
+ export declare const groupSchema: z.ZodType<GroupNavigation<'default'>>;
50
+ export declare const decoratedGroupSchema: z.ZodType<GroupNavigation<'decorated'>>;
51
+ export declare const groupsSchema: z.ZodArray<z.ZodType<{
102
52
  group: string;
103
53
  icon?: string | {
104
54
  name: string;
@@ -107,385 +57,21 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSha
107
57
  } | undefined;
108
58
  expanded?: boolean | undefined;
109
59
  public?: boolean | undefined;
110
- pages?: any[] | undefined;
111
60
  tag?: string | undefined;
112
61
  hidden?: boolean | undefined;
113
62
  root?: string | undefined;
114
- }>, z.ZodObject<z.objectUtil.extendShape<{
115
- group: z.ZodString;
116
- public: z.ZodOptional<z.ZodBoolean>;
117
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
118
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
119
- name: z.ZodEffects<z.ZodString, string, string>;
120
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
121
- }, "strip", z.ZodTypeAny, {
122
- name: string;
123
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
124
- library?: "fontawesome" | "lucide" | undefined;
125
- }, {
126
- name: string;
127
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
128
- library?: "fontawesome" | "lucide" | undefined;
129
- }>]>>;
130
- hidden: z.ZodOptional<z.ZodBoolean>;
131
- root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
132
- tag: z.ZodOptional<z.ZodString>;
133
- expanded: z.ZodOptional<z.ZodBoolean>;
134
- }, {
135
- asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
136
- source: z.ZodEffects<z.ZodString, string, string>;
137
- directory: z.ZodOptional<z.ZodString>;
138
- }, "strict", z.ZodTypeAny, {
63
+ } & {
64
+ openapi?: string | string[] | {
139
65
  source: string;
140
66
  directory?: string | undefined;
141
- }, {
142
- source: string;
143
- directory?: string | undefined;
144
- }>]>;
145
- pages: z.ZodDefault<z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>>;
146
- }>, "strip", z.ZodTypeAny, {
147
- group: string;
148
- pages: any[];
149
- asyncapi: string | string[] | {
150
- source: string;
151
- directory?: string | undefined;
152
- };
153
- icon?: string | {
154
- name: string;
155
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
156
- library?: "fontawesome" | "lucide" | undefined;
157
- } | undefined;
158
- expanded?: boolean | undefined;
159
- public?: boolean | undefined;
160
- tag?: string | undefined;
161
- hidden?: boolean | undefined;
162
- root?: string | undefined;
163
- }, {
164
- group: string;
165
- asyncapi: string | string[] | {
166
- source: string;
167
- directory?: string | undefined;
168
- };
169
- icon?: string | {
170
- name: string;
171
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
172
- library?: "fontawesome" | "lucide" | undefined;
173
- } | undefined;
174
- expanded?: boolean | undefined;
175
- public?: boolean | undefined;
176
- pages?: any[] | undefined;
177
- tag?: string | undefined;
178
- hidden?: boolean | undefined;
179
- root?: string | undefined;
180
- }>, z.ZodObject<z.objectUtil.extendShape<{
181
- group: z.ZodString;
182
- public: z.ZodOptional<z.ZodBoolean>;
183
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
184
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
185
- name: z.ZodEffects<z.ZodString, string, string>;
186
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
187
- }, "strip", z.ZodTypeAny, {
188
- name: string;
189
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
190
- library?: "fontawesome" | "lucide" | undefined;
191
- }, {
192
- name: string;
193
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
194
- library?: "fontawesome" | "lucide" | undefined;
195
- }>]>>;
196
- hidden: z.ZodOptional<z.ZodBoolean>;
197
- root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
198
- tag: z.ZodOptional<z.ZodString>;
199
- expanded: z.ZodOptional<z.ZodBoolean>;
200
- }, {
201
- pages: z.ZodDefault<z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>>;
202
- }>, "strip", z.ZodTypeAny, {
203
- group: string;
204
- pages: any[];
205
- icon?: string | {
206
- name: string;
207
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
208
- library?: "fontawesome" | "lucide" | undefined;
209
- } | undefined;
210
- expanded?: boolean | undefined;
211
- public?: boolean | undefined;
212
- tag?: string | undefined;
213
- hidden?: boolean | undefined;
214
- root?: string | undefined;
215
- }, {
216
- group: string;
217
- icon?: string | {
218
- name: string;
219
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
220
- library?: "fontawesome" | "lucide" | undefined;
221
- } | undefined;
222
- expanded?: boolean | undefined;
223
- public?: boolean | undefined;
224
- pages?: any[] | undefined;
225
- tag?: string | undefined;
226
- hidden?: boolean | undefined;
227
- root?: string | undefined;
228
- }>]>;
229
- export declare const decoratedGroupSchema: z.ZodObject<{
230
- group: z.ZodString;
231
- public: z.ZodOptional<z.ZodBoolean>;
232
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
233
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
234
- name: z.ZodEffects<z.ZodString, string, string>;
235
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
236
- }, "strip", z.ZodTypeAny, {
237
- name: string;
238
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
239
- library?: "fontawesome" | "lucide" | undefined;
240
- }, {
241
- name: string;
242
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
243
- library?: "fontawesome" | "lucide" | undefined;
244
- }>]>>;
245
- hidden: z.ZodOptional<z.ZodBoolean>;
246
- root: z.ZodOptional<z.ZodObject<{
247
- href: z.ZodString;
248
- title: z.ZodString;
249
- sidebarTitle: z.ZodOptional<z.ZodString>;
250
- description: z.ZodOptional<z.ZodString>;
251
- api: z.ZodOptional<z.ZodString>;
252
- openapi: z.ZodOptional<z.ZodString>;
253
- asyncapi: z.ZodOptional<z.ZodString>;
254
- contentType: z.ZodOptional<z.ZodString>;
255
- authMethod: z.ZodOptional<z.ZodString>;
256
- auth: z.ZodOptional<z.ZodString>;
257
- version: z.ZodOptional<z.ZodString>;
258
- mode: z.ZodOptional<z.ZodString>;
259
- hideFooterPagination: z.ZodOptional<z.ZodBoolean>;
260
- authors: z.ZodOptional<z.ZodUnknown>;
261
- lastUpdatedDate: z.ZodOptional<z.ZodString>;
262
- createdDate: z.ZodOptional<z.ZodString>;
263
- 'openapi-schema': z.ZodOptional<z.ZodString>;
264
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
265
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
266
- name: z.ZodEffects<z.ZodString, string, string>;
267
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
268
- }, "strip", z.ZodTypeAny, {
269
- name: string;
270
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
271
- library?: "fontawesome" | "lucide" | undefined;
272
- }, {
273
- name: string;
274
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
275
- library?: "fontawesome" | "lucide" | undefined;
276
- }>]>>;
277
- tag: z.ZodOptional<z.ZodString>;
278
- url: z.ZodOptional<z.ZodString>;
279
- hideApiMarker: z.ZodOptional<z.ZodBoolean>;
280
- noindex: z.ZodOptional<z.ZodBoolean>;
281
- isPublic: z.ZodOptional<z.ZodBoolean>;
282
- public: z.ZodOptional<z.ZodBoolean>;
283
- deprecated: z.ZodOptional<z.ZodBoolean>;
284
- }, "strip", z.ZodTypeAny, {
285
- href: string;
286
- title: string;
287
- url?: string | undefined;
288
- icon?: string | {
289
- name: string;
290
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
291
- library?: "fontawesome" | "lucide" | undefined;
292
- } | undefined;
293
- version?: string | undefined;
294
- openapi?: string | undefined;
295
- auth?: string | undefined;
296
- mode?: string | undefined;
297
- public?: boolean | undefined;
298
- api?: string | undefined;
299
- asyncapi?: string | undefined;
300
- description?: string | undefined;
301
- sidebarTitle?: string | undefined;
302
- contentType?: string | undefined;
303
- authMethod?: string | undefined;
304
- hideFooterPagination?: boolean | undefined;
305
- authors?: unknown;
306
- lastUpdatedDate?: string | undefined;
307
- createdDate?: string | undefined;
308
- 'openapi-schema'?: string | undefined;
309
- tag?: string | undefined;
310
- hideApiMarker?: boolean | undefined;
311
- noindex?: boolean | undefined;
312
- isPublic?: boolean | undefined;
313
- deprecated?: boolean | undefined;
314
- }, {
315
- href: string;
316
- title: string;
317
- url?: string | undefined;
318
- icon?: string | {
319
- name: string;
320
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
321
- library?: "fontawesome" | "lucide" | undefined;
322
- } | undefined;
323
- version?: string | undefined;
324
- openapi?: string | undefined;
325
- auth?: string | undefined;
326
- mode?: string | undefined;
327
- public?: boolean | undefined;
328
- api?: string | undefined;
329
- asyncapi?: string | undefined;
330
- description?: string | undefined;
331
- sidebarTitle?: string | undefined;
332
- contentType?: string | undefined;
333
- authMethod?: string | undefined;
334
- hideFooterPagination?: boolean | undefined;
335
- authors?: unknown;
336
- lastUpdatedDate?: string | undefined;
337
- createdDate?: string | undefined;
338
- 'openapi-schema'?: string | undefined;
339
- tag?: string | undefined;
340
- hideApiMarker?: boolean | undefined;
341
- noindex?: boolean | undefined;
342
- isPublic?: boolean | undefined;
343
- deprecated?: boolean | undefined;
344
- }>>;
345
- pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
346
- tag: z.ZodOptional<z.ZodString>;
347
- expanded: z.ZodOptional<z.ZodBoolean>;
348
- }, "strip", z.ZodTypeAny, {
349
- group: string;
350
- pages: any[];
351
- icon?: string | {
352
- name: string;
353
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
354
- library?: "fontawesome" | "lucide" | undefined;
355
- } | undefined;
356
- expanded?: boolean | undefined;
357
- public?: boolean | undefined;
358
- tag?: string | undefined;
359
- hidden?: boolean | undefined;
360
- root?: {
361
- href: string;
362
- title: string;
363
- url?: string | undefined;
364
- icon?: string | {
365
- name: string;
366
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
367
- library?: "fontawesome" | "lucide" | undefined;
368
- } | undefined;
369
- version?: string | undefined;
370
- openapi?: string | undefined;
371
- auth?: string | undefined;
372
- mode?: string | undefined;
373
- public?: boolean | undefined;
374
- api?: string | undefined;
375
- asyncapi?: string | undefined;
376
- description?: string | undefined;
377
- sidebarTitle?: string | undefined;
378
- contentType?: string | undefined;
379
- authMethod?: string | undefined;
380
- hideFooterPagination?: boolean | undefined;
381
- authors?: unknown;
382
- lastUpdatedDate?: string | undefined;
383
- createdDate?: string | undefined;
384
- 'openapi-schema'?: string | undefined;
385
- tag?: string | undefined;
386
- hideApiMarker?: boolean | undefined;
387
- noindex?: boolean | undefined;
388
- isPublic?: boolean | undefined;
389
- deprecated?: boolean | undefined;
390
67
  } | undefined;
391
- }, {
392
- group: string;
393
- pages: any[];
394
- icon?: string | {
395
- name: string;
396
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
397
- library?: "fontawesome" | "lucide" | undefined;
398
- } | undefined;
399
- expanded?: boolean | undefined;
400
- public?: boolean | undefined;
401
- tag?: string | undefined;
402
- hidden?: boolean | undefined;
403
- root?: {
404
- href: string;
405
- title: string;
406
- url?: string | undefined;
407
- icon?: string | {
408
- name: string;
409
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
410
- library?: "fontawesome" | "lucide" | undefined;
411
- } | undefined;
412
- version?: string | undefined;
413
- openapi?: string | undefined;
414
- auth?: string | undefined;
415
- mode?: string | undefined;
416
- public?: boolean | undefined;
417
- api?: string | undefined;
418
- asyncapi?: string | undefined;
419
- description?: string | undefined;
420
- sidebarTitle?: string | undefined;
421
- contentType?: string | undefined;
422
- authMethod?: string | undefined;
423
- hideFooterPagination?: boolean | undefined;
424
- authors?: unknown;
425
- lastUpdatedDate?: string | undefined;
426
- createdDate?: string | undefined;
427
- 'openapi-schema'?: string | undefined;
428
- tag?: string | undefined;
429
- hideApiMarker?: boolean | undefined;
430
- noindex?: boolean | undefined;
431
- isPublic?: boolean | undefined;
432
- deprecated?: boolean | undefined;
433
- } | undefined;
434
- }>;
435
- export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
436
- group: z.ZodString;
437
- public: z.ZodOptional<z.ZodBoolean>;
438
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
439
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
440
- name: z.ZodEffects<z.ZodString, string, string>;
441
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
442
- }, "strip", z.ZodTypeAny, {
443
- name: string;
444
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
445
- library?: "fontawesome" | "lucide" | undefined;
446
- }, {
447
- name: string;
448
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
449
- library?: "fontawesome" | "lucide" | undefined;
450
- }>]>>;
451
- hidden: z.ZodOptional<z.ZodBoolean>;
452
- root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
453
- tag: z.ZodOptional<z.ZodString>;
454
- expanded: z.ZodOptional<z.ZodBoolean>;
455
- }, {
456
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
457
- source: z.ZodEffects<z.ZodString, string, string>;
458
- directory: z.ZodOptional<z.ZodString>;
459
- }, "strict", z.ZodTypeAny, {
460
- source: string;
461
- directory?: string | undefined;
462
- }, {
463
- source: string;
464
- directory?: string | undefined;
465
- }>]>;
466
- pages: z.ZodDefault<z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>>;
467
- }>, "strip", z.ZodTypeAny, {
468
- openapi: string | string[] | {
68
+ asyncapi?: string | string[] | {
469
69
  source: string;
470
70
  directory?: string | undefined;
471
- };
472
- group: string;
473
- pages: any[];
474
- icon?: string | {
475
- name: string;
476
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
477
- library?: "fontawesome" | "lucide" | undefined;
478
71
  } | undefined;
479
- expanded?: boolean | undefined;
480
- public?: boolean | undefined;
481
- tag?: string | undefined;
482
- hidden?: boolean | undefined;
483
- root?: string | undefined;
484
- }, {
485
- openapi: string | string[] | {
486
- source: string;
487
- directory?: string | undefined;
488
- };
72
+ } & {
73
+ pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
74
+ }, z.ZodTypeDef, {
489
75
  group: string;
490
76
  icon?: string | {
491
77
  name: string;
@@ -494,101 +80,23 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUt
494
80
  } | undefined;
495
81
  expanded?: boolean | undefined;
496
82
  public?: boolean | undefined;
497
- pages?: any[] | undefined;
498
83
  tag?: string | undefined;
499
84
  hidden?: boolean | undefined;
500
85
  root?: string | undefined;
501
- }>, z.ZodObject<z.objectUtil.extendShape<{
502
- group: z.ZodString;
503
- public: z.ZodOptional<z.ZodBoolean>;
504
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
505
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
506
- name: z.ZodEffects<z.ZodString, string, string>;
507
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
508
- }, "strip", z.ZodTypeAny, {
509
- name: string;
510
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
511
- library?: "fontawesome" | "lucide" | undefined;
512
- }, {
513
- name: string;
514
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
515
- library?: "fontawesome" | "lucide" | undefined;
516
- }>]>>;
517
- hidden: z.ZodOptional<z.ZodBoolean>;
518
- root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
519
- tag: z.ZodOptional<z.ZodString>;
520
- expanded: z.ZodOptional<z.ZodBoolean>;
521
- }, {
522
- asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
523
- source: z.ZodEffects<z.ZodString, string, string>;
524
- directory: z.ZodOptional<z.ZodString>;
525
- }, "strict", z.ZodTypeAny, {
86
+ } & {
87
+ openapi?: string | string[] | {
526
88
  source: string;
527
89
  directory?: string | undefined;
528
- }, {
529
- source: string;
530
- directory?: string | undefined;
531
- }>]>;
532
- pages: z.ZodDefault<z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>>;
533
- }>, "strip", z.ZodTypeAny, {
534
- group: string;
535
- pages: any[];
536
- asyncapi: string | string[] | {
537
- source: string;
538
- directory?: string | undefined;
539
- };
540
- icon?: string | {
541
- name: string;
542
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
543
- library?: "fontawesome" | "lucide" | undefined;
544
90
  } | undefined;
545
- expanded?: boolean | undefined;
546
- public?: boolean | undefined;
547
- tag?: string | undefined;
548
- hidden?: boolean | undefined;
549
- root?: string | undefined;
550
- }, {
551
- group: string;
552
- asyncapi: string | string[] | {
91
+ asyncapi?: string | string[] | {
553
92
  source: string;
554
93
  directory?: string | undefined;
555
- };
556
- icon?: string | {
557
- name: string;
558
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
559
- library?: "fontawesome" | "lucide" | undefined;
560
94
  } | undefined;
561
- expanded?: boolean | undefined;
562
- public?: boolean | undefined;
563
- pages?: any[] | undefined;
564
- tag?: string | undefined;
565
- hidden?: boolean | undefined;
566
- root?: string | undefined;
567
- }>, z.ZodObject<z.objectUtil.extendShape<{
568
- group: z.ZodString;
569
- public: z.ZodOptional<z.ZodBoolean>;
570
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
571
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
572
- name: z.ZodEffects<z.ZodString, string, string>;
573
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
574
- }, "strip", z.ZodTypeAny, {
575
- name: string;
576
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
577
- library?: "fontawesome" | "lucide" | undefined;
578
- }, {
579
- name: string;
580
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
581
- library?: "fontawesome" | "lucide" | undefined;
582
- }>]>>;
583
- hidden: z.ZodOptional<z.ZodBoolean>;
584
- root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
585
- tag: z.ZodOptional<z.ZodString>;
586
- expanded: z.ZodOptional<z.ZodBoolean>;
587
- }, {
588
- pages: z.ZodDefault<z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>>;
589
- }>, "strip", z.ZodTypeAny, {
95
+ } & {
96
+ pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
97
+ }>, "many">;
98
+ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodType<Omit<{
590
99
  group: string;
591
- pages: any[];
592
100
  icon?: string | {
593
101
  name: string;
594
102
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -599,7 +107,10 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUt
599
107
  tag?: string | undefined;
600
108
  hidden?: boolean | undefined;
601
109
  root?: string | undefined;
602
- }, {
110
+ }, "root"> & {
111
+ pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
112
+ root?: import("../reusable/page.js").DecoratedPageConfig;
113
+ }, z.ZodTypeDef, Omit<{
603
114
  group: string;
604
115
  icon?: string | {
605
116
  name: string;
@@ -608,216 +119,12 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUt
608
119
  } | undefined;
609
120
  expanded?: boolean | undefined;
610
121
  public?: boolean | undefined;
611
- pages?: any[] | undefined;
612
122
  tag?: string | undefined;
613
123
  hidden?: boolean | undefined;
614
124
  root?: string | undefined;
615
- }>]>, "many">;
616
- export declare const decoratedGroupsSchema: z.ZodArray<z.ZodObject<{
617
- group: z.ZodString;
618
- public: z.ZodOptional<z.ZodBoolean>;
619
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
620
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
621
- name: z.ZodEffects<z.ZodString, string, string>;
622
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
623
- }, "strip", z.ZodTypeAny, {
624
- name: string;
625
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
626
- library?: "fontawesome" | "lucide" | undefined;
627
- }, {
628
- name: string;
629
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
630
- library?: "fontawesome" | "lucide" | undefined;
631
- }>]>>;
632
- hidden: z.ZodOptional<z.ZodBoolean>;
633
- root: z.ZodOptional<z.ZodObject<{
634
- href: z.ZodString;
635
- title: z.ZodString;
636
- sidebarTitle: z.ZodOptional<z.ZodString>;
637
- description: z.ZodOptional<z.ZodString>;
638
- api: z.ZodOptional<z.ZodString>;
639
- openapi: z.ZodOptional<z.ZodString>;
640
- asyncapi: z.ZodOptional<z.ZodString>;
641
- contentType: z.ZodOptional<z.ZodString>;
642
- authMethod: z.ZodOptional<z.ZodString>;
643
- auth: z.ZodOptional<z.ZodString>;
644
- version: z.ZodOptional<z.ZodString>;
645
- mode: z.ZodOptional<z.ZodString>;
646
- hideFooterPagination: z.ZodOptional<z.ZodBoolean>;
647
- authors: z.ZodOptional<z.ZodUnknown>;
648
- lastUpdatedDate: z.ZodOptional<z.ZodString>;
649
- createdDate: z.ZodOptional<z.ZodString>;
650
- 'openapi-schema': z.ZodOptional<z.ZodString>;
651
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
652
- style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
653
- name: z.ZodEffects<z.ZodString, string, string>;
654
- library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
655
- }, "strip", z.ZodTypeAny, {
656
- name: string;
657
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
658
- library?: "fontawesome" | "lucide" | undefined;
659
- }, {
660
- name: string;
661
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
662
- library?: "fontawesome" | "lucide" | undefined;
663
- }>]>>;
664
- tag: z.ZodOptional<z.ZodString>;
665
- url: z.ZodOptional<z.ZodString>;
666
- hideApiMarker: z.ZodOptional<z.ZodBoolean>;
667
- noindex: z.ZodOptional<z.ZodBoolean>;
668
- isPublic: z.ZodOptional<z.ZodBoolean>;
669
- public: z.ZodOptional<z.ZodBoolean>;
670
- deprecated: z.ZodOptional<z.ZodBoolean>;
671
- }, "strip", z.ZodTypeAny, {
672
- href: string;
673
- title: string;
674
- url?: string | undefined;
675
- icon?: string | {
676
- name: string;
677
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
678
- library?: "fontawesome" | "lucide" | undefined;
679
- } | undefined;
680
- version?: string | undefined;
681
- openapi?: string | undefined;
682
- auth?: string | undefined;
683
- mode?: string | undefined;
684
- public?: boolean | undefined;
685
- api?: string | undefined;
686
- asyncapi?: string | undefined;
687
- description?: string | undefined;
688
- sidebarTitle?: string | undefined;
689
- contentType?: string | undefined;
690
- authMethod?: string | undefined;
691
- hideFooterPagination?: boolean | undefined;
692
- authors?: unknown;
693
- lastUpdatedDate?: string | undefined;
694
- createdDate?: string | undefined;
695
- 'openapi-schema'?: string | undefined;
696
- tag?: string | undefined;
697
- hideApiMarker?: boolean | undefined;
698
- noindex?: boolean | undefined;
699
- isPublic?: boolean | undefined;
700
- deprecated?: boolean | undefined;
701
- }, {
702
- href: string;
703
- title: string;
704
- url?: string | undefined;
705
- icon?: string | {
706
- name: string;
707
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
708
- library?: "fontawesome" | "lucide" | undefined;
709
- } | undefined;
710
- version?: string | undefined;
711
- openapi?: string | undefined;
712
- auth?: string | undefined;
713
- mode?: string | undefined;
714
- public?: boolean | undefined;
715
- api?: string | undefined;
716
- asyncapi?: string | undefined;
717
- description?: string | undefined;
718
- sidebarTitle?: string | undefined;
719
- contentType?: string | undefined;
720
- authMethod?: string | undefined;
721
- hideFooterPagination?: boolean | undefined;
722
- authors?: unknown;
723
- lastUpdatedDate?: string | undefined;
724
- createdDate?: string | undefined;
725
- 'openapi-schema'?: string | undefined;
726
- tag?: string | undefined;
727
- hideApiMarker?: boolean | undefined;
728
- noindex?: boolean | undefined;
729
- isPublic?: boolean | undefined;
730
- deprecated?: boolean | undefined;
731
- }>>;
732
- pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
733
- tag: z.ZodOptional<z.ZodString>;
734
- expanded: z.ZodOptional<z.ZodBoolean>;
735
- }, "strip", z.ZodTypeAny, {
736
- group: string;
737
- pages: any[];
738
- icon?: string | {
739
- name: string;
740
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
741
- library?: "fontawesome" | "lucide" | undefined;
742
- } | undefined;
743
- expanded?: boolean | undefined;
744
- public?: boolean | undefined;
745
- tag?: string | undefined;
746
- hidden?: boolean | undefined;
747
- root?: {
748
- href: string;
749
- title: string;
750
- url?: string | undefined;
751
- icon?: string | {
752
- name: string;
753
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
754
- library?: "fontawesome" | "lucide" | undefined;
755
- } | undefined;
756
- version?: string | undefined;
757
- openapi?: string | undefined;
758
- auth?: string | undefined;
759
- mode?: string | undefined;
760
- public?: boolean | undefined;
761
- api?: string | undefined;
762
- asyncapi?: string | undefined;
763
- description?: string | undefined;
764
- sidebarTitle?: string | undefined;
765
- contentType?: string | undefined;
766
- authMethod?: string | undefined;
767
- hideFooterPagination?: boolean | undefined;
768
- authors?: unknown;
769
- lastUpdatedDate?: string | undefined;
770
- createdDate?: string | undefined;
771
- 'openapi-schema'?: string | undefined;
772
- tag?: string | undefined;
773
- hideApiMarker?: boolean | undefined;
774
- noindex?: boolean | undefined;
775
- isPublic?: boolean | undefined;
776
- deprecated?: boolean | undefined;
777
- } | undefined;
778
- }, {
779
- group: string;
780
- pages: any[];
781
- icon?: string | {
782
- name: string;
783
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
784
- library?: "fontawesome" | "lucide" | undefined;
785
- } | undefined;
786
- expanded?: boolean | undefined;
787
- public?: boolean | undefined;
788
- tag?: string | undefined;
789
- hidden?: boolean | undefined;
790
- root?: {
791
- href: string;
792
- title: string;
793
- url?: string | undefined;
794
- icon?: string | {
795
- name: string;
796
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
797
- library?: "fontawesome" | "lucide" | undefined;
798
- } | undefined;
799
- version?: string | undefined;
800
- openapi?: string | undefined;
801
- auth?: string | undefined;
802
- mode?: string | undefined;
803
- public?: boolean | undefined;
804
- api?: string | undefined;
805
- asyncapi?: string | undefined;
806
- description?: string | undefined;
807
- sidebarTitle?: string | undefined;
808
- contentType?: string | undefined;
809
- authMethod?: string | undefined;
810
- hideFooterPagination?: boolean | undefined;
811
- authors?: unknown;
812
- lastUpdatedDate?: string | undefined;
813
- createdDate?: string | undefined;
814
- 'openapi-schema'?: string | undefined;
815
- tag?: string | undefined;
816
- hideApiMarker?: boolean | undefined;
817
- noindex?: boolean | undefined;
818
- isPublic?: boolean | undefined;
819
- deprecated?: boolean | undefined;
820
- } | undefined;
125
+ }, "root"> & {
126
+ pages: import("./divisionNav.js").PageOrGroupNavigation<"decorated">[];
127
+ root?: import("../reusable/page.js").DecoratedPageConfig;
821
128
  }>, "many">;
822
129
  export type GroupConfig = z.infer<typeof groupSchema>;
823
130
  export type GroupsConfig = z.infer<typeof groupsSchema>;