@mintlify/validation 0.1.376 → 0.1.378
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/mint-config/schemas/v2/index.d.ts +490 -0
- package/dist/mint-config/schemas/v2/properties/navbar.d.ts +33 -0
- package/dist/mint-config/schemas/v2/properties/navbar.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +27 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +20 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +70 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +70 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +70 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +70 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +70 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +70 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +48 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +70 -0
- package/dist/mint-config/validateConfig.d.ts +154 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -24,13 +24,36 @@ export declare const primarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
24
24
|
export declare const navbarSchema: z.ZodObject<{
|
|
25
25
|
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
26
|
label: z.ZodString;
|
|
27
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
28
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
29
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
30
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
name: string;
|
|
33
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
34
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
name: string;
|
|
37
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
38
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
39
|
+
}>]>>;
|
|
27
40
|
href: z.ZodString;
|
|
28
41
|
}, "strip", z.ZodTypeAny, {
|
|
29
42
|
href: string;
|
|
30
43
|
label: string;
|
|
44
|
+
icon?: string | {
|
|
45
|
+
name: string;
|
|
46
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
47
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
48
|
+
} | undefined;
|
|
31
49
|
}, {
|
|
32
50
|
href: string;
|
|
33
51
|
label: string;
|
|
52
|
+
icon?: string | {
|
|
53
|
+
name: string;
|
|
54
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
55
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
56
|
+
} | undefined;
|
|
34
57
|
}>, "many">>;
|
|
35
58
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
36
59
|
type: z.ZodLiteral<"button">;
|
|
@@ -58,6 +81,11 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
58
81
|
links?: {
|
|
59
82
|
href: string;
|
|
60
83
|
label: string;
|
|
84
|
+
icon?: string | {
|
|
85
|
+
name: string;
|
|
86
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
87
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
88
|
+
} | undefined;
|
|
61
89
|
}[] | undefined;
|
|
62
90
|
primary?: {
|
|
63
91
|
type: "button";
|
|
@@ -71,6 +99,11 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
71
99
|
links?: {
|
|
72
100
|
href: string;
|
|
73
101
|
label: string;
|
|
102
|
+
icon?: string | {
|
|
103
|
+
name: string;
|
|
104
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
105
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
106
|
+
} | undefined;
|
|
74
107
|
}[] | undefined;
|
|
75
108
|
primary?: {
|
|
76
109
|
type: "button";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { hrefSchema } from './reusable/href.js';
|
|
3
|
+
import { iconSchema } from './reusable/icon.js';
|
|
3
4
|
const linkSchema = z.object({
|
|
4
5
|
label: z.string(),
|
|
6
|
+
icon: iconSchema.optional(),
|
|
5
7
|
href: hrefSchema,
|
|
6
8
|
});
|
|
7
9
|
const buttonSchema = z.object({
|
|
@@ -16,6 +16,7 @@ export declare const baseGroupSchema: z.ZodObject<{
|
|
|
16
16
|
}>]>>;
|
|
17
17
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
19
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
group: string;
|
|
21
22
|
icon?: string | {
|
|
@@ -25,6 +26,7 @@ export declare const baseGroupSchema: z.ZodObject<{
|
|
|
25
26
|
} | undefined;
|
|
26
27
|
hidden?: boolean | undefined;
|
|
27
28
|
root?: string | undefined;
|
|
29
|
+
tag?: string | undefined;
|
|
28
30
|
}, {
|
|
29
31
|
group: string;
|
|
30
32
|
icon?: string | {
|
|
@@ -34,6 +36,7 @@ export declare const baseGroupSchema: z.ZodObject<{
|
|
|
34
36
|
} | undefined;
|
|
35
37
|
hidden?: boolean | undefined;
|
|
36
38
|
root?: string | undefined;
|
|
39
|
+
tag?: string | undefined;
|
|
37
40
|
}>;
|
|
38
41
|
export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
39
42
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -50,6 +53,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
50
53
|
library?: "fontawesome" | "lucide" | undefined;
|
|
51
54
|
}>]>>;
|
|
52
55
|
group: z.ZodString;
|
|
56
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
53
57
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
54
58
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
55
59
|
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
@@ -76,6 +80,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
76
80
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
77
81
|
library?: "fontawesome" | "lucide" | undefined;
|
|
78
82
|
} | undefined;
|
|
83
|
+
tag?: string | undefined;
|
|
79
84
|
hidden?: boolean | undefined;
|
|
80
85
|
root?: string | undefined;
|
|
81
86
|
}, {
|
|
@@ -92,6 +97,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
92
97
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
93
98
|
library?: "fontawesome" | "lucide" | undefined;
|
|
94
99
|
} | undefined;
|
|
100
|
+
tag?: string | undefined;
|
|
95
101
|
hidden?: boolean | undefined;
|
|
96
102
|
root?: string | undefined;
|
|
97
103
|
}>, z.ZodObject<{
|
|
@@ -109,6 +115,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
109
115
|
library?: "fontawesome" | "lucide" | undefined;
|
|
110
116
|
}>]>>;
|
|
111
117
|
group: z.ZodString;
|
|
118
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
112
119
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
113
120
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
114
121
|
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
@@ -135,6 +142,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
135
142
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
136
143
|
library?: "fontawesome" | "lucide" | undefined;
|
|
137
144
|
} | undefined;
|
|
145
|
+
tag?: string | undefined;
|
|
138
146
|
hidden?: boolean | undefined;
|
|
139
147
|
root?: string | undefined;
|
|
140
148
|
}, {
|
|
@@ -151,6 +159,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
151
159
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
152
160
|
library?: "fontawesome" | "lucide" | undefined;
|
|
153
161
|
} | undefined;
|
|
162
|
+
tag?: string | undefined;
|
|
154
163
|
hidden?: boolean | undefined;
|
|
155
164
|
root?: string | undefined;
|
|
156
165
|
}>, z.ZodObject<{
|
|
@@ -168,6 +177,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
168
177
|
library?: "fontawesome" | "lucide" | undefined;
|
|
169
178
|
}>]>>;
|
|
170
179
|
group: z.ZodString;
|
|
180
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
171
181
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
172
182
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
173
183
|
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
@@ -179,6 +189,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
179
189
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
180
190
|
library?: "fontawesome" | "lucide" | undefined;
|
|
181
191
|
} | undefined;
|
|
192
|
+
tag?: string | undefined;
|
|
182
193
|
hidden?: boolean | undefined;
|
|
183
194
|
root?: string | undefined;
|
|
184
195
|
}, {
|
|
@@ -189,6 +200,7 @@ export declare const groupSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
189
200
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
190
201
|
library?: "fontawesome" | "lucide" | undefined;
|
|
191
202
|
} | undefined;
|
|
203
|
+
tag?: string | undefined;
|
|
192
204
|
hidden?: boolean | undefined;
|
|
193
205
|
root?: string | undefined;
|
|
194
206
|
}>]>;
|
|
@@ -210,6 +222,7 @@ export declare const decoratedGroupSchema: z.ZodObject<{
|
|
|
210
222
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
211
223
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
212
224
|
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
225
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
213
226
|
}, "strip", z.ZodTypeAny, {
|
|
214
227
|
group: string;
|
|
215
228
|
pages: any[];
|
|
@@ -220,6 +233,7 @@ export declare const decoratedGroupSchema: z.ZodObject<{
|
|
|
220
233
|
} | undefined;
|
|
221
234
|
hidden?: boolean | undefined;
|
|
222
235
|
root?: string | undefined;
|
|
236
|
+
tag?: string | undefined;
|
|
223
237
|
}, {
|
|
224
238
|
group: string;
|
|
225
239
|
pages: any[];
|
|
@@ -230,6 +244,7 @@ export declare const decoratedGroupSchema: z.ZodObject<{
|
|
|
230
244
|
} | undefined;
|
|
231
245
|
hidden?: boolean | undefined;
|
|
232
246
|
root?: string | undefined;
|
|
247
|
+
tag?: string | undefined;
|
|
233
248
|
}>;
|
|
234
249
|
export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
235
250
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -246,6 +261,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
246
261
|
library?: "fontawesome" | "lucide" | undefined;
|
|
247
262
|
}>]>>;
|
|
248
263
|
group: z.ZodString;
|
|
264
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
249
265
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
250
266
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
251
267
|
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
@@ -272,6 +288,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
272
288
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
273
289
|
library?: "fontawesome" | "lucide" | undefined;
|
|
274
290
|
} | undefined;
|
|
291
|
+
tag?: string | undefined;
|
|
275
292
|
hidden?: boolean | undefined;
|
|
276
293
|
root?: string | undefined;
|
|
277
294
|
}, {
|
|
@@ -288,6 +305,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
288
305
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
289
306
|
library?: "fontawesome" | "lucide" | undefined;
|
|
290
307
|
} | undefined;
|
|
308
|
+
tag?: string | undefined;
|
|
291
309
|
hidden?: boolean | undefined;
|
|
292
310
|
root?: string | undefined;
|
|
293
311
|
}>, z.ZodObject<{
|
|
@@ -305,6 +323,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
305
323
|
library?: "fontawesome" | "lucide" | undefined;
|
|
306
324
|
}>]>>;
|
|
307
325
|
group: z.ZodString;
|
|
326
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
308
327
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
309
328
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
310
329
|
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
@@ -331,6 +350,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
331
350
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
332
351
|
library?: "fontawesome" | "lucide" | undefined;
|
|
333
352
|
} | undefined;
|
|
353
|
+
tag?: string | undefined;
|
|
334
354
|
hidden?: boolean | undefined;
|
|
335
355
|
root?: string | undefined;
|
|
336
356
|
}, {
|
|
@@ -347,6 +367,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
347
367
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
348
368
|
library?: "fontawesome" | "lucide" | undefined;
|
|
349
369
|
} | undefined;
|
|
370
|
+
tag?: string | undefined;
|
|
350
371
|
hidden?: boolean | undefined;
|
|
351
372
|
root?: string | undefined;
|
|
352
373
|
}>, z.ZodObject<{
|
|
@@ -364,6 +385,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
364
385
|
library?: "fontawesome" | "lucide" | undefined;
|
|
365
386
|
}>]>>;
|
|
366
387
|
group: z.ZodString;
|
|
388
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
367
389
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
368
390
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
369
391
|
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
@@ -375,6 +397,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
375
397
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
376
398
|
library?: "fontawesome" | "lucide" | undefined;
|
|
377
399
|
} | undefined;
|
|
400
|
+
tag?: string | undefined;
|
|
378
401
|
hidden?: boolean | undefined;
|
|
379
402
|
root?: string | undefined;
|
|
380
403
|
}, {
|
|
@@ -385,6 +408,7 @@ export declare const groupsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
385
408
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
386
409
|
library?: "fontawesome" | "lucide" | undefined;
|
|
387
410
|
} | undefined;
|
|
411
|
+
tag?: string | undefined;
|
|
388
412
|
hidden?: boolean | undefined;
|
|
389
413
|
root?: string | undefined;
|
|
390
414
|
}>]>, "many">;
|
|
@@ -406,6 +430,7 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodObject<{
|
|
|
406
430
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
407
431
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
408
432
|
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
433
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
409
434
|
}, "strip", z.ZodTypeAny, {
|
|
410
435
|
group: string;
|
|
411
436
|
pages: any[];
|
|
@@ -416,6 +441,7 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodObject<{
|
|
|
416
441
|
} | undefined;
|
|
417
442
|
hidden?: boolean | undefined;
|
|
418
443
|
root?: string | undefined;
|
|
444
|
+
tag?: string | undefined;
|
|
419
445
|
}, {
|
|
420
446
|
group: string;
|
|
421
447
|
pages: any[];
|
|
@@ -426,6 +452,7 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodObject<{
|
|
|
426
452
|
} | undefined;
|
|
427
453
|
hidden?: boolean | undefined;
|
|
428
454
|
root?: string | undefined;
|
|
455
|
+
tag?: string | undefined;
|
|
429
456
|
}>, "many">;
|
|
430
457
|
export type GroupConfig = z.infer<typeof groupSchema>;
|
|
431
458
|
export type GroupsConfig = z.infer<typeof groupsSchema>;
|
|
@@ -10,6 +10,7 @@ export const baseGroupSchema = z.object({
|
|
|
10
10
|
icon: iconSchema.optional(),
|
|
11
11
|
hidden: hiddenSchema.optional(),
|
|
12
12
|
root: pageSchema.optional(),
|
|
13
|
+
tag: z.string().optional().describe('Tag for the group'),
|
|
13
14
|
});
|
|
14
15
|
export const groupSchema = z
|
|
15
16
|
.union([
|
|
@@ -25,6 +26,7 @@ export const decoratedGroupSchema = z
|
|
|
25
26
|
hidden: hiddenSchema.optional(),
|
|
26
27
|
root: pageSchema.optional(),
|
|
27
28
|
pages: z.lazy(() => decoratedPagesSchema),
|
|
29
|
+
tag: z.string().optional().describe('Tag for the group'),
|
|
28
30
|
})
|
|
29
31
|
.describe('Organizing by groups');
|
|
30
32
|
export const groupsSchema = z
|
|
@@ -67,6 +67,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
67
67
|
library?: "fontawesome" | "lucide" | undefined;
|
|
68
68
|
}>]>>;
|
|
69
69
|
group: z.ZodString;
|
|
70
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
70
71
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
71
72
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
72
73
|
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
@@ -93,6 +94,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
93
94
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
94
95
|
library?: "fontawesome" | "lucide" | undefined;
|
|
95
96
|
} | undefined;
|
|
97
|
+
tag?: string | undefined;
|
|
96
98
|
hidden?: boolean | undefined;
|
|
97
99
|
root?: string | undefined;
|
|
98
100
|
}, {
|
|
@@ -109,6 +111,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
109
111
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
110
112
|
library?: "fontawesome" | "lucide" | undefined;
|
|
111
113
|
} | undefined;
|
|
114
|
+
tag?: string | undefined;
|
|
112
115
|
hidden?: boolean | undefined;
|
|
113
116
|
root?: string | undefined;
|
|
114
117
|
}>, z.ZodObject<{
|
|
@@ -126,6 +129,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
126
129
|
library?: "fontawesome" | "lucide" | undefined;
|
|
127
130
|
}>]>>;
|
|
128
131
|
group: z.ZodString;
|
|
132
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
129
133
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
130
134
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
131
135
|
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
@@ -152,6 +156,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
152
156
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
153
157
|
library?: "fontawesome" | "lucide" | undefined;
|
|
154
158
|
} | undefined;
|
|
159
|
+
tag?: string | undefined;
|
|
155
160
|
hidden?: boolean | undefined;
|
|
156
161
|
root?: string | undefined;
|
|
157
162
|
}, {
|
|
@@ -168,6 +173,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
168
173
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
169
174
|
library?: "fontawesome" | "lucide" | undefined;
|
|
170
175
|
} | undefined;
|
|
176
|
+
tag?: string | undefined;
|
|
171
177
|
hidden?: boolean | undefined;
|
|
172
178
|
root?: string | undefined;
|
|
173
179
|
}>, z.ZodObject<{
|
|
@@ -185,6 +191,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
185
191
|
library?: "fontawesome" | "lucide" | undefined;
|
|
186
192
|
}>]>>;
|
|
187
193
|
group: z.ZodString;
|
|
194
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
188
195
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
189
196
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
190
197
|
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
@@ -196,6 +203,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
196
203
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
197
204
|
library?: "fontawesome" | "lucide" | undefined;
|
|
198
205
|
} | undefined;
|
|
206
|
+
tag?: string | undefined;
|
|
199
207
|
hidden?: boolean | undefined;
|
|
200
208
|
root?: string | undefined;
|
|
201
209
|
}, {
|
|
@@ -206,6 +214,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
206
214
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
207
215
|
library?: "fontawesome" | "lucide" | undefined;
|
|
208
216
|
} | undefined;
|
|
217
|
+
tag?: string | undefined;
|
|
209
218
|
hidden?: boolean | undefined;
|
|
210
219
|
root?: string | undefined;
|
|
211
220
|
}>]>, "many">;
|
|
@@ -224,6 +233,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
224
233
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
225
234
|
library?: "fontawesome" | "lucide" | undefined;
|
|
226
235
|
} | undefined;
|
|
236
|
+
tag?: string | undefined;
|
|
227
237
|
hidden?: boolean | undefined;
|
|
228
238
|
root?: string | undefined;
|
|
229
239
|
} | {
|
|
@@ -240,6 +250,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
240
250
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
241
251
|
library?: "fontawesome" | "lucide" | undefined;
|
|
242
252
|
} | undefined;
|
|
253
|
+
tag?: string | undefined;
|
|
243
254
|
hidden?: boolean | undefined;
|
|
244
255
|
root?: string | undefined;
|
|
245
256
|
} | {
|
|
@@ -250,6 +261,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
250
261
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
251
262
|
library?: "fontawesome" | "lucide" | undefined;
|
|
252
263
|
} | undefined;
|
|
264
|
+
tag?: string | undefined;
|
|
253
265
|
hidden?: boolean | undefined;
|
|
254
266
|
root?: string | undefined;
|
|
255
267
|
})[];
|
|
@@ -269,6 +281,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
269
281
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
270
282
|
library?: "fontawesome" | "lucide" | undefined;
|
|
271
283
|
} | undefined;
|
|
284
|
+
tag?: string | undefined;
|
|
272
285
|
hidden?: boolean | undefined;
|
|
273
286
|
root?: string | undefined;
|
|
274
287
|
} | {
|
|
@@ -285,6 +298,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
285
298
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
286
299
|
library?: "fontawesome" | "lucide" | undefined;
|
|
287
300
|
} | undefined;
|
|
301
|
+
tag?: string | undefined;
|
|
288
302
|
hidden?: boolean | undefined;
|
|
289
303
|
root?: string | undefined;
|
|
290
304
|
} | {
|
|
@@ -295,6 +309,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
295
309
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
296
310
|
library?: "fontawesome" | "lucide" | undefined;
|
|
297
311
|
} | undefined;
|
|
312
|
+
tag?: string | undefined;
|
|
298
313
|
hidden?: boolean | undefined;
|
|
299
314
|
root?: string | undefined;
|
|
300
315
|
})[];
|
|
@@ -358,6 +373,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
358
373
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
359
374
|
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
360
375
|
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
376
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
361
377
|
}, "strip", z.ZodTypeAny, {
|
|
362
378
|
group: string;
|
|
363
379
|
pages: any[];
|
|
@@ -368,6 +384,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
368
384
|
} | undefined;
|
|
369
385
|
hidden?: boolean | undefined;
|
|
370
386
|
root?: string | undefined;
|
|
387
|
+
tag?: string | undefined;
|
|
371
388
|
}, {
|
|
372
389
|
group: string;
|
|
373
390
|
pages: any[];
|
|
@@ -378,6 +395,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
378
395
|
} | undefined;
|
|
379
396
|
hidden?: boolean | undefined;
|
|
380
397
|
root?: string | undefined;
|
|
398
|
+
tag?: string | undefined;
|
|
381
399
|
}>, "many">;
|
|
382
400
|
}, "strip", z.ZodTypeAny, {
|
|
383
401
|
groups: {
|
|
@@ -390,6 +408,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
390
408
|
} | undefined;
|
|
391
409
|
hidden?: boolean | undefined;
|
|
392
410
|
root?: string | undefined;
|
|
411
|
+
tag?: string | undefined;
|
|
393
412
|
}[];
|
|
394
413
|
}, {
|
|
395
414
|
groups: {
|
|
@@ -402,6 +421,7 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
|
|
|
402
421
|
} | undefined;
|
|
403
422
|
hidden?: boolean | undefined;
|
|
404
423
|
root?: string | undefined;
|
|
424
|
+
tag?: string | undefined;
|
|
405
425
|
}[];
|
|
406
426
|
}>, z.ZodObject<{
|
|
407
427
|
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|