@mintlify/validation 0.1.626 → 0.1.628

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