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