@mintlify/validation 0.1.547 → 0.1.548
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 +64 -64
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +0 -36
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +0 -2
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +8 -8
- package/dist/mint-config/validateConfig.d.ts +56 -56
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1676,10 +1676,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1676
1676
|
indexing?: "all" | "navigable" | undefined;
|
|
1677
1677
|
} | undefined;
|
|
1678
1678
|
description?: string | undefined;
|
|
1679
|
-
banner?: {
|
|
1680
|
-
content: string;
|
|
1681
|
-
dismissible?: boolean | undefined;
|
|
1682
|
-
} | undefined;
|
|
1683
1679
|
appearance?: {
|
|
1684
1680
|
strict?: boolean | undefined;
|
|
1685
1681
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1738,6 +1734,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1738
1734
|
} | undefined;
|
|
1739
1735
|
latex?: boolean | undefined;
|
|
1740
1736
|
} | undefined;
|
|
1737
|
+
banner?: {
|
|
1738
|
+
content: string;
|
|
1739
|
+
dismissible?: boolean | undefined;
|
|
1740
|
+
} | undefined;
|
|
1741
1741
|
errors?: {
|
|
1742
1742
|
'404': {
|
|
1743
1743
|
redirect: boolean;
|
|
@@ -1999,10 +1999,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1999
1999
|
indexing?: "all" | "navigable" | undefined;
|
|
2000
2000
|
} | undefined;
|
|
2001
2001
|
description?: string | undefined;
|
|
2002
|
-
banner?: {
|
|
2003
|
-
content: string;
|
|
2004
|
-
dismissible?: boolean | undefined;
|
|
2005
|
-
} | undefined;
|
|
2006
2002
|
appearance?: {
|
|
2007
2003
|
strict?: boolean | undefined;
|
|
2008
2004
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2061,6 +2057,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2061
2057
|
} | undefined;
|
|
2062
2058
|
latex?: boolean | undefined;
|
|
2063
2059
|
} | undefined;
|
|
2060
|
+
banner?: {
|
|
2061
|
+
content: string;
|
|
2062
|
+
dismissible?: boolean | undefined;
|
|
2063
|
+
} | undefined;
|
|
2064
2064
|
errors?: {
|
|
2065
2065
|
'404': {
|
|
2066
2066
|
title?: string | undefined;
|
|
@@ -3770,10 +3770,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3770
3770
|
indexing?: "all" | "navigable" | undefined;
|
|
3771
3771
|
} | undefined;
|
|
3772
3772
|
description?: string | undefined;
|
|
3773
|
-
banner?: {
|
|
3774
|
-
content: string;
|
|
3775
|
-
dismissible?: boolean | undefined;
|
|
3776
|
-
} | undefined;
|
|
3777
3773
|
appearance?: {
|
|
3778
3774
|
strict?: boolean | undefined;
|
|
3779
3775
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -3832,6 +3828,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3832
3828
|
} | undefined;
|
|
3833
3829
|
latex?: boolean | undefined;
|
|
3834
3830
|
} | undefined;
|
|
3831
|
+
banner?: {
|
|
3832
|
+
content: string;
|
|
3833
|
+
dismissible?: boolean | undefined;
|
|
3834
|
+
} | undefined;
|
|
3835
3835
|
errors?: {
|
|
3836
3836
|
'404': {
|
|
3837
3837
|
redirect: boolean;
|
|
@@ -4093,10 +4093,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4093
4093
|
indexing?: "all" | "navigable" | undefined;
|
|
4094
4094
|
} | undefined;
|
|
4095
4095
|
description?: string | undefined;
|
|
4096
|
-
banner?: {
|
|
4097
|
-
content: string;
|
|
4098
|
-
dismissible?: boolean | undefined;
|
|
4099
|
-
} | undefined;
|
|
4100
4096
|
appearance?: {
|
|
4101
4097
|
strict?: boolean | undefined;
|
|
4102
4098
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -4155,6 +4151,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4155
4151
|
} | undefined;
|
|
4156
4152
|
latex?: boolean | undefined;
|
|
4157
4153
|
} | undefined;
|
|
4154
|
+
banner?: {
|
|
4155
|
+
content: string;
|
|
4156
|
+
dismissible?: boolean | undefined;
|
|
4157
|
+
} | undefined;
|
|
4158
4158
|
errors?: {
|
|
4159
4159
|
'404': {
|
|
4160
4160
|
title?: string | undefined;
|
|
@@ -5864,10 +5864,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5864
5864
|
indexing?: "all" | "navigable" | undefined;
|
|
5865
5865
|
} | undefined;
|
|
5866
5866
|
description?: string | undefined;
|
|
5867
|
-
banner?: {
|
|
5868
|
-
content: string;
|
|
5869
|
-
dismissible?: boolean | undefined;
|
|
5870
|
-
} | undefined;
|
|
5871
5867
|
appearance?: {
|
|
5872
5868
|
strict?: boolean | undefined;
|
|
5873
5869
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -5926,6 +5922,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5926
5922
|
} | undefined;
|
|
5927
5923
|
latex?: boolean | undefined;
|
|
5928
5924
|
} | undefined;
|
|
5925
|
+
banner?: {
|
|
5926
|
+
content: string;
|
|
5927
|
+
dismissible?: boolean | undefined;
|
|
5928
|
+
} | undefined;
|
|
5929
5929
|
errors?: {
|
|
5930
5930
|
'404': {
|
|
5931
5931
|
redirect: boolean;
|
|
@@ -6187,10 +6187,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6187
6187
|
indexing?: "all" | "navigable" | undefined;
|
|
6188
6188
|
} | undefined;
|
|
6189
6189
|
description?: string | undefined;
|
|
6190
|
-
banner?: {
|
|
6191
|
-
content: string;
|
|
6192
|
-
dismissible?: boolean | undefined;
|
|
6193
|
-
} | undefined;
|
|
6194
6190
|
appearance?: {
|
|
6195
6191
|
strict?: boolean | undefined;
|
|
6196
6192
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -6249,6 +6245,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6249
6245
|
} | undefined;
|
|
6250
6246
|
latex?: boolean | undefined;
|
|
6251
6247
|
} | undefined;
|
|
6248
|
+
banner?: {
|
|
6249
|
+
content: string;
|
|
6250
|
+
dismissible?: boolean | undefined;
|
|
6251
|
+
} | undefined;
|
|
6252
6252
|
errors?: {
|
|
6253
6253
|
'404': {
|
|
6254
6254
|
title?: string | undefined;
|
|
@@ -7958,10 +7958,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
7958
7958
|
indexing?: "all" | "navigable" | undefined;
|
|
7959
7959
|
} | undefined;
|
|
7960
7960
|
description?: string | undefined;
|
|
7961
|
-
banner?: {
|
|
7962
|
-
content: string;
|
|
7963
|
-
dismissible?: boolean | undefined;
|
|
7964
|
-
} | undefined;
|
|
7965
7961
|
appearance?: {
|
|
7966
7962
|
strict?: boolean | undefined;
|
|
7967
7963
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -8020,6 +8016,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8020
8016
|
} | undefined;
|
|
8021
8017
|
latex?: boolean | undefined;
|
|
8022
8018
|
} | undefined;
|
|
8019
|
+
banner?: {
|
|
8020
|
+
content: string;
|
|
8021
|
+
dismissible?: boolean | undefined;
|
|
8022
|
+
} | undefined;
|
|
8023
8023
|
errors?: {
|
|
8024
8024
|
'404': {
|
|
8025
8025
|
redirect: boolean;
|
|
@@ -8281,10 +8281,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8281
8281
|
indexing?: "all" | "navigable" | undefined;
|
|
8282
8282
|
} | undefined;
|
|
8283
8283
|
description?: string | undefined;
|
|
8284
|
-
banner?: {
|
|
8285
|
-
content: string;
|
|
8286
|
-
dismissible?: boolean | undefined;
|
|
8287
|
-
} | undefined;
|
|
8288
8284
|
appearance?: {
|
|
8289
8285
|
strict?: boolean | undefined;
|
|
8290
8286
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -8343,6 +8339,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8343
8339
|
} | undefined;
|
|
8344
8340
|
latex?: boolean | undefined;
|
|
8345
8341
|
} | undefined;
|
|
8342
|
+
banner?: {
|
|
8343
|
+
content: string;
|
|
8344
|
+
dismissible?: boolean | undefined;
|
|
8345
|
+
} | undefined;
|
|
8346
8346
|
errors?: {
|
|
8347
8347
|
'404': {
|
|
8348
8348
|
title?: string | undefined;
|
|
@@ -10052,10 +10052,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10052
10052
|
indexing?: "all" | "navigable" | undefined;
|
|
10053
10053
|
} | undefined;
|
|
10054
10054
|
description?: string | undefined;
|
|
10055
|
-
banner?: {
|
|
10056
|
-
content: string;
|
|
10057
|
-
dismissible?: boolean | undefined;
|
|
10058
|
-
} | undefined;
|
|
10059
10055
|
appearance?: {
|
|
10060
10056
|
strict?: boolean | undefined;
|
|
10061
10057
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -10114,6 +10110,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10114
10110
|
} | undefined;
|
|
10115
10111
|
latex?: boolean | undefined;
|
|
10116
10112
|
} | undefined;
|
|
10113
|
+
banner?: {
|
|
10114
|
+
content: string;
|
|
10115
|
+
dismissible?: boolean | undefined;
|
|
10116
|
+
} | undefined;
|
|
10117
10117
|
errors?: {
|
|
10118
10118
|
'404': {
|
|
10119
10119
|
redirect: boolean;
|
|
@@ -10375,10 +10375,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10375
10375
|
indexing?: "all" | "navigable" | undefined;
|
|
10376
10376
|
} | undefined;
|
|
10377
10377
|
description?: string | undefined;
|
|
10378
|
-
banner?: {
|
|
10379
|
-
content: string;
|
|
10380
|
-
dismissible?: boolean | undefined;
|
|
10381
|
-
} | undefined;
|
|
10382
10378
|
appearance?: {
|
|
10383
10379
|
strict?: boolean | undefined;
|
|
10384
10380
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -10437,6 +10433,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10437
10433
|
} | undefined;
|
|
10438
10434
|
latex?: boolean | undefined;
|
|
10439
10435
|
} | undefined;
|
|
10436
|
+
banner?: {
|
|
10437
|
+
content: string;
|
|
10438
|
+
dismissible?: boolean | undefined;
|
|
10439
|
+
} | undefined;
|
|
10440
10440
|
errors?: {
|
|
10441
10441
|
'404': {
|
|
10442
10442
|
title?: string | undefined;
|
|
@@ -12146,10 +12146,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12146
12146
|
indexing?: "all" | "navigable" | undefined;
|
|
12147
12147
|
} | undefined;
|
|
12148
12148
|
description?: string | undefined;
|
|
12149
|
-
banner?: {
|
|
12150
|
-
content: string;
|
|
12151
|
-
dismissible?: boolean | undefined;
|
|
12152
|
-
} | undefined;
|
|
12153
12149
|
appearance?: {
|
|
12154
12150
|
strict?: boolean | undefined;
|
|
12155
12151
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -12208,6 +12204,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12208
12204
|
} | undefined;
|
|
12209
12205
|
latex?: boolean | undefined;
|
|
12210
12206
|
} | undefined;
|
|
12207
|
+
banner?: {
|
|
12208
|
+
content: string;
|
|
12209
|
+
dismissible?: boolean | undefined;
|
|
12210
|
+
} | undefined;
|
|
12211
12211
|
errors?: {
|
|
12212
12212
|
'404': {
|
|
12213
12213
|
redirect: boolean;
|
|
@@ -12469,10 +12469,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12469
12469
|
indexing?: "all" | "navigable" | undefined;
|
|
12470
12470
|
} | undefined;
|
|
12471
12471
|
description?: string | undefined;
|
|
12472
|
-
banner?: {
|
|
12473
|
-
content: string;
|
|
12474
|
-
dismissible?: boolean | undefined;
|
|
12475
|
-
} | undefined;
|
|
12476
12472
|
appearance?: {
|
|
12477
12473
|
strict?: boolean | undefined;
|
|
12478
12474
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -12531,6 +12527,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12531
12527
|
} | undefined;
|
|
12532
12528
|
latex?: boolean | undefined;
|
|
12533
12529
|
} | undefined;
|
|
12530
|
+
banner?: {
|
|
12531
|
+
content: string;
|
|
12532
|
+
dismissible?: boolean | undefined;
|
|
12533
|
+
} | undefined;
|
|
12534
12534
|
errors?: {
|
|
12535
12535
|
'404': {
|
|
12536
12536
|
title?: string | undefined;
|
|
@@ -14240,10 +14240,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14240
14240
|
indexing?: "all" | "navigable" | undefined;
|
|
14241
14241
|
} | undefined;
|
|
14242
14242
|
description?: string | undefined;
|
|
14243
|
-
banner?: {
|
|
14244
|
-
content: string;
|
|
14245
|
-
dismissible?: boolean | undefined;
|
|
14246
|
-
} | undefined;
|
|
14247
14243
|
appearance?: {
|
|
14248
14244
|
strict?: boolean | undefined;
|
|
14249
14245
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -14302,6 +14298,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14302
14298
|
} | undefined;
|
|
14303
14299
|
latex?: boolean | undefined;
|
|
14304
14300
|
} | undefined;
|
|
14301
|
+
banner?: {
|
|
14302
|
+
content: string;
|
|
14303
|
+
dismissible?: boolean | undefined;
|
|
14304
|
+
} | undefined;
|
|
14305
14305
|
errors?: {
|
|
14306
14306
|
'404': {
|
|
14307
14307
|
redirect: boolean;
|
|
@@ -14563,10 +14563,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14563
14563
|
indexing?: "all" | "navigable" | undefined;
|
|
14564
14564
|
} | undefined;
|
|
14565
14565
|
description?: string | undefined;
|
|
14566
|
-
banner?: {
|
|
14567
|
-
content: string;
|
|
14568
|
-
dismissible?: boolean | undefined;
|
|
14569
|
-
} | undefined;
|
|
14570
14566
|
appearance?: {
|
|
14571
14567
|
strict?: boolean | undefined;
|
|
14572
14568
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -14625,6 +14621,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14625
14621
|
} | undefined;
|
|
14626
14622
|
latex?: boolean | undefined;
|
|
14627
14623
|
} | undefined;
|
|
14624
|
+
banner?: {
|
|
14625
|
+
content: string;
|
|
14626
|
+
dismissible?: boolean | undefined;
|
|
14627
|
+
} | undefined;
|
|
14628
14628
|
errors?: {
|
|
14629
14629
|
'404': {
|
|
14630
14630
|
title?: string | undefined;
|
|
@@ -16335,10 +16335,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
16335
16335
|
indexing?: "all" | "navigable" | undefined;
|
|
16336
16336
|
} | undefined;
|
|
16337
16337
|
description?: string | undefined;
|
|
16338
|
-
banner?: {
|
|
16339
|
-
content: string;
|
|
16340
|
-
dismissible?: boolean | undefined;
|
|
16341
|
-
} | undefined;
|
|
16342
16338
|
appearance?: {
|
|
16343
16339
|
strict?: boolean | undefined;
|
|
16344
16340
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -16397,6 +16393,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
16397
16393
|
} | undefined;
|
|
16398
16394
|
latex?: boolean | undefined;
|
|
16399
16395
|
} | undefined;
|
|
16396
|
+
banner?: {
|
|
16397
|
+
content: string;
|
|
16398
|
+
dismissible?: boolean | undefined;
|
|
16399
|
+
} | undefined;
|
|
16400
16400
|
errors?: {
|
|
16401
16401
|
'404': {
|
|
16402
16402
|
redirect: boolean;
|
|
@@ -16658,10 +16658,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
16658
16658
|
indexing?: "all" | "navigable" | undefined;
|
|
16659
16659
|
} | undefined;
|
|
16660
16660
|
description?: string | undefined;
|
|
16661
|
-
banner?: {
|
|
16662
|
-
content: string;
|
|
16663
|
-
dismissible?: boolean | undefined;
|
|
16664
|
-
} | undefined;
|
|
16665
16661
|
appearance?: {
|
|
16666
16662
|
strict?: boolean | undefined;
|
|
16667
16663
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -16720,6 +16716,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
16720
16716
|
} | undefined;
|
|
16721
16717
|
latex?: boolean | undefined;
|
|
16722
16718
|
} | undefined;
|
|
16719
|
+
banner?: {
|
|
16720
|
+
content: string;
|
|
16721
|
+
dismissible?: boolean | undefined;
|
|
16722
|
+
} | undefined;
|
|
16723
16723
|
errors?: {
|
|
16724
16724
|
'404': {
|
|
16725
16725
|
title?: string | undefined;
|
|
@@ -4,48 +4,20 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
4
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"]>;
|
|
5
5
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
banner: z.ZodOptional<z.ZodObject<{
|
|
8
|
-
content: z.ZodString;
|
|
9
|
-
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
content: string;
|
|
12
|
-
dismissible?: boolean | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
content: string;
|
|
15
|
-
dismissible?: boolean | undefined;
|
|
16
|
-
}>>;
|
|
17
7
|
}, "strip", z.ZodTypeAny, {
|
|
18
8
|
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";
|
|
19
9
|
default?: boolean | undefined;
|
|
20
10
|
hidden?: boolean | undefined;
|
|
21
|
-
banner?: {
|
|
22
|
-
content: string;
|
|
23
|
-
dismissible?: boolean | undefined;
|
|
24
|
-
} | undefined;
|
|
25
11
|
}, {
|
|
26
12
|
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";
|
|
27
13
|
default?: boolean | undefined;
|
|
28
14
|
hidden?: boolean | undefined;
|
|
29
|
-
banner?: {
|
|
30
|
-
content: string;
|
|
31
|
-
dismissible?: boolean | undefined;
|
|
32
|
-
} | undefined;
|
|
33
15
|
}>;
|
|
34
16
|
export type BaseLanguageSchema = z.infer<typeof baseLanguageSchema>;
|
|
35
17
|
export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
36
18
|
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"]>;
|
|
37
19
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
38
20
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
-
banner: z.ZodOptional<z.ZodObject<{
|
|
40
|
-
content: z.ZodString;
|
|
41
|
-
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
content: string;
|
|
44
|
-
dismissible?: boolean | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
content: string;
|
|
47
|
-
dismissible?: boolean | undefined;
|
|
48
|
-
}>>;
|
|
49
21
|
}, {
|
|
50
22
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
51
23
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -53,19 +25,11 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
53
25
|
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";
|
|
54
26
|
default?: boolean | undefined;
|
|
55
27
|
hidden?: boolean | undefined;
|
|
56
|
-
banner?: {
|
|
57
|
-
content: string;
|
|
58
|
-
dismissible?: boolean | undefined;
|
|
59
|
-
} | undefined;
|
|
60
28
|
}, {
|
|
61
29
|
href: string;
|
|
62
30
|
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";
|
|
63
31
|
default?: boolean | undefined;
|
|
64
32
|
hidden?: boolean | undefined;
|
|
65
|
-
banner?: {
|
|
66
|
-
content: string;
|
|
67
|
-
dismissible?: boolean | undefined;
|
|
68
|
-
} | undefined;
|
|
69
33
|
}>;
|
|
70
34
|
export declare const languageSchema: z.ZodType<LanguageNavigation<'default'>>;
|
|
71
35
|
export declare const decoratedLanguageSchema: z.ZodType<LanguageNavigation<'decorated'>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { bannerSchema } from '../banner.js';
|
|
3
2
|
import { locales } from '../localization.js';
|
|
4
3
|
import { asyncApiSchema } from '../reusable/asyncapi.js';
|
|
5
4
|
import { hiddenSchema } from '../reusable/hidden.js';
|
|
@@ -17,7 +16,6 @@ export const baseLanguageSchema = z.object({
|
|
|
17
16
|
language: z.enum(locales).describe('The name of the language in the ISO 639-1 format'),
|
|
18
17
|
default: z.boolean().optional().describe('Whether this language is the default language'),
|
|
19
18
|
hidden: hiddenSchema.optional(),
|
|
20
|
-
banner: bannerSchema.optional().describe('Banner configuration specific to this language'),
|
|
21
19
|
});
|
|
22
20
|
export const nonRecursiveLanguageSchema = baseLanguageSchema.extend({ href: hrefSchema });
|
|
23
21
|
export const languageSchema = z
|
|
@@ -1673,10 +1673,6 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1673
1673
|
indexing?: "all" | "navigable" | undefined;
|
|
1674
1674
|
} | undefined;
|
|
1675
1675
|
description?: string | undefined;
|
|
1676
|
-
banner?: {
|
|
1677
|
-
content: string;
|
|
1678
|
-
dismissible?: boolean | undefined;
|
|
1679
|
-
} | undefined;
|
|
1680
1676
|
appearance?: {
|
|
1681
1677
|
strict?: boolean | undefined;
|
|
1682
1678
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1735,6 +1731,10 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1735
1731
|
} | undefined;
|
|
1736
1732
|
latex?: boolean | undefined;
|
|
1737
1733
|
} | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
content: string;
|
|
1736
|
+
dismissible?: boolean | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
errors?: {
|
|
1739
1739
|
'404': {
|
|
1740
1740
|
redirect: boolean;
|
|
@@ -1996,10 +1996,6 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
indexing?: "all" | "navigable" | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
1998
|
description?: string | undefined;
|
|
1999
|
-
banner?: {
|
|
2000
|
-
content: string;
|
|
2001
|
-
dismissible?: boolean | undefined;
|
|
2002
|
-
} | undefined;
|
|
2003
1999
|
appearance?: {
|
|
2004
2000
|
strict?: boolean | undefined;
|
|
2005
2001
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2058,6 +2054,10 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2058
2054
|
} | undefined;
|
|
2059
2055
|
latex?: boolean | undefined;
|
|
2060
2056
|
} | undefined;
|
|
2057
|
+
banner?: {
|
|
2058
|
+
content: string;
|
|
2059
|
+
dismissible?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
2061
|
errors?: {
|
|
2062
2062
|
'404': {
|
|
2063
2063
|
title?: string | undefined;
|
|
@@ -1673,10 +1673,6 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1673
1673
|
indexing?: "all" | "navigable" | undefined;
|
|
1674
1674
|
} | undefined;
|
|
1675
1675
|
description?: string | undefined;
|
|
1676
|
-
banner?: {
|
|
1677
|
-
content: string;
|
|
1678
|
-
dismissible?: boolean | undefined;
|
|
1679
|
-
} | undefined;
|
|
1680
1676
|
appearance?: {
|
|
1681
1677
|
strict?: boolean | undefined;
|
|
1682
1678
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1735,6 +1731,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1735
1731
|
} | undefined;
|
|
1736
1732
|
latex?: boolean | undefined;
|
|
1737
1733
|
} | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
content: string;
|
|
1736
|
+
dismissible?: boolean | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
errors?: {
|
|
1739
1739
|
'404': {
|
|
1740
1740
|
redirect: boolean;
|
|
@@ -1996,10 +1996,6 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
indexing?: "all" | "navigable" | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
1998
|
description?: string | undefined;
|
|
1999
|
-
banner?: {
|
|
2000
|
-
content: string;
|
|
2001
|
-
dismissible?: boolean | undefined;
|
|
2002
|
-
} | undefined;
|
|
2003
1999
|
appearance?: {
|
|
2004
2000
|
strict?: boolean | undefined;
|
|
2005
2001
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2058,6 +2054,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2058
2054
|
} | undefined;
|
|
2059
2055
|
latex?: boolean | undefined;
|
|
2060
2056
|
} | undefined;
|
|
2057
|
+
banner?: {
|
|
2058
|
+
content: string;
|
|
2059
|
+
dismissible?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
2061
|
errors?: {
|
|
2062
2062
|
'404': {
|
|
2063
2063
|
title?: string | undefined;
|
|
@@ -1673,10 +1673,6 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1673
1673
|
indexing?: "all" | "navigable" | undefined;
|
|
1674
1674
|
} | undefined;
|
|
1675
1675
|
description?: string | undefined;
|
|
1676
|
-
banner?: {
|
|
1677
|
-
content: string;
|
|
1678
|
-
dismissible?: boolean | undefined;
|
|
1679
|
-
} | undefined;
|
|
1680
1676
|
appearance?: {
|
|
1681
1677
|
strict?: boolean | undefined;
|
|
1682
1678
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1735,6 +1731,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1735
1731
|
} | undefined;
|
|
1736
1732
|
latex?: boolean | undefined;
|
|
1737
1733
|
} | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
content: string;
|
|
1736
|
+
dismissible?: boolean | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
errors?: {
|
|
1739
1739
|
'404': {
|
|
1740
1740
|
redirect: boolean;
|
|
@@ -1996,10 +1996,6 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
indexing?: "all" | "navigable" | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
1998
|
description?: string | undefined;
|
|
1999
|
-
banner?: {
|
|
2000
|
-
content: string;
|
|
2001
|
-
dismissible?: boolean | undefined;
|
|
2002
|
-
} | undefined;
|
|
2003
1999
|
appearance?: {
|
|
2004
2000
|
strict?: boolean | undefined;
|
|
2005
2001
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2058,6 +2054,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2058
2054
|
} | undefined;
|
|
2059
2055
|
latex?: boolean | undefined;
|
|
2060
2056
|
} | undefined;
|
|
2057
|
+
banner?: {
|
|
2058
|
+
content: string;
|
|
2059
|
+
dismissible?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
2061
|
errors?: {
|
|
2062
2062
|
'404': {
|
|
2063
2063
|
title?: string | undefined;
|
|
@@ -1673,10 +1673,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1673
1673
|
indexing?: "all" | "navigable" | undefined;
|
|
1674
1674
|
} | undefined;
|
|
1675
1675
|
description?: string | undefined;
|
|
1676
|
-
banner?: {
|
|
1677
|
-
content: string;
|
|
1678
|
-
dismissible?: boolean | undefined;
|
|
1679
|
-
} | undefined;
|
|
1680
1676
|
appearance?: {
|
|
1681
1677
|
strict?: boolean | undefined;
|
|
1682
1678
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1735,6 +1731,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1735
1731
|
} | undefined;
|
|
1736
1732
|
latex?: boolean | undefined;
|
|
1737
1733
|
} | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
content: string;
|
|
1736
|
+
dismissible?: boolean | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
errors?: {
|
|
1739
1739
|
'404': {
|
|
1740
1740
|
redirect: boolean;
|
|
@@ -1996,10 +1996,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
indexing?: "all" | "navigable" | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
1998
|
description?: string | undefined;
|
|
1999
|
-
banner?: {
|
|
2000
|
-
content: string;
|
|
2001
|
-
dismissible?: boolean | undefined;
|
|
2002
|
-
} | undefined;
|
|
2003
1999
|
appearance?: {
|
|
2004
2000
|
strict?: boolean | undefined;
|
|
2005
2001
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2058,6 +2054,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
2058
2054
|
} | undefined;
|
|
2059
2055
|
latex?: boolean | undefined;
|
|
2060
2056
|
} | undefined;
|
|
2057
|
+
banner?: {
|
|
2058
|
+
content: string;
|
|
2059
|
+
dismissible?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
2061
|
errors?: {
|
|
2062
2062
|
'404': {
|
|
2063
2063
|
title?: string | undefined;
|
|
@@ -1673,10 +1673,6 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1673
1673
|
indexing?: "all" | "navigable" | undefined;
|
|
1674
1674
|
} | undefined;
|
|
1675
1675
|
description?: string | undefined;
|
|
1676
|
-
banner?: {
|
|
1677
|
-
content: string;
|
|
1678
|
-
dismissible?: boolean | undefined;
|
|
1679
|
-
} | undefined;
|
|
1680
1676
|
appearance?: {
|
|
1681
1677
|
strict?: boolean | undefined;
|
|
1682
1678
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1735,6 +1731,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1735
1731
|
} | undefined;
|
|
1736
1732
|
latex?: boolean | undefined;
|
|
1737
1733
|
} | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
content: string;
|
|
1736
|
+
dismissible?: boolean | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
errors?: {
|
|
1739
1739
|
'404': {
|
|
1740
1740
|
redirect: boolean;
|
|
@@ -1996,10 +1996,6 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
indexing?: "all" | "navigable" | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
1998
|
description?: string | undefined;
|
|
1999
|
-
banner?: {
|
|
2000
|
-
content: string;
|
|
2001
|
-
dismissible?: boolean | undefined;
|
|
2002
|
-
} | undefined;
|
|
2003
1999
|
appearance?: {
|
|
2004
2000
|
strict?: boolean | undefined;
|
|
2005
2001
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2058,6 +2054,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2058
2054
|
} | undefined;
|
|
2059
2055
|
latex?: boolean | undefined;
|
|
2060
2056
|
} | undefined;
|
|
2057
|
+
banner?: {
|
|
2058
|
+
content: string;
|
|
2059
|
+
dismissible?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
2061
|
errors?: {
|
|
2062
2062
|
'404': {
|
|
2063
2063
|
title?: string | undefined;
|
|
@@ -1673,10 +1673,6 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1673
1673
|
indexing?: "all" | "navigable" | undefined;
|
|
1674
1674
|
} | undefined;
|
|
1675
1675
|
description?: string | undefined;
|
|
1676
|
-
banner?: {
|
|
1677
|
-
content: string;
|
|
1678
|
-
dismissible?: boolean | undefined;
|
|
1679
|
-
} | undefined;
|
|
1680
1676
|
appearance?: {
|
|
1681
1677
|
strict?: boolean | undefined;
|
|
1682
1678
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -1735,6 +1731,10 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1735
1731
|
} | undefined;
|
|
1736
1732
|
latex?: boolean | undefined;
|
|
1737
1733
|
} | undefined;
|
|
1734
|
+
banner?: {
|
|
1735
|
+
content: string;
|
|
1736
|
+
dismissible?: boolean | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
errors?: {
|
|
1739
1739
|
'404': {
|
|
1740
1740
|
redirect: boolean;
|
|
@@ -1996,10 +1996,6 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1996
1996
|
indexing?: "all" | "navigable" | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
1998
|
description?: string | undefined;
|
|
1999
|
-
banner?: {
|
|
2000
|
-
content: string;
|
|
2001
|
-
dismissible?: boolean | undefined;
|
|
2002
|
-
} | undefined;
|
|
2003
1999
|
appearance?: {
|
|
2004
2000
|
strict?: boolean | undefined;
|
|
2005
2001
|
default?: "light" | "dark" | "system" | undefined;
|
|
@@ -2058,6 +2054,10 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
2058
2054
|
} | undefined;
|
|
2059
2055
|
latex?: boolean | undefined;
|
|
2060
2056
|
} | undefined;
|
|
2057
|
+
banner?: {
|
|
2058
|
+
content: string;
|
|
2059
|
+
dismissible?: boolean | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
2061
|
errors?: {
|
|
2062
2062
|
'404': {
|
|
2063
2063
|
title?: string | undefined;
|