@mintlify/validation 0.1.677 → 0.1.679

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.
@@ -1345,11 +1345,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1345
1345
  banner: z.ZodOptional<z.ZodObject<{
1346
1346
  content: z.ZodString;
1347
1347
  dismissible: z.ZodOptional<z.ZodBoolean>;
1348
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1349
+ color: z.ZodOptional<z.ZodObject<{
1350
+ light: z.ZodOptional<z.ZodString>;
1351
+ dark: z.ZodOptional<z.ZodString>;
1352
+ }, "strict", z.ZodTypeAny, {
1353
+ light?: string | undefined;
1354
+ dark?: string | undefined;
1355
+ }, {
1356
+ light?: string | undefined;
1357
+ dark?: string | undefined;
1358
+ }>>;
1348
1359
  }, "strip", z.ZodTypeAny, {
1349
1360
  content: string;
1361
+ type?: "info" | "warning" | "critical" | undefined;
1362
+ color?: {
1363
+ light?: string | undefined;
1364
+ dark?: string | undefined;
1365
+ } | undefined;
1350
1366
  dismissible?: boolean | undefined;
1351
1367
  }, {
1352
1368
  content: string;
1369
+ type?: "info" | "warning" | "critical" | undefined;
1370
+ color?: {
1371
+ light?: string | undefined;
1372
+ dark?: string | undefined;
1373
+ } | undefined;
1353
1374
  dismissible?: boolean | undefined;
1354
1375
  }>>;
1355
1376
  errors: z.ZodOptional<z.ZodObject<{
@@ -1802,6 +1823,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1802
1823
  description?: string | undefined;
1803
1824
  banner?: {
1804
1825
  content: string;
1826
+ type?: "info" | "warning" | "critical" | undefined;
1827
+ color?: {
1828
+ light?: string | undefined;
1829
+ dark?: string | undefined;
1830
+ } | undefined;
1805
1831
  dismissible?: boolean | undefined;
1806
1832
  } | undefined;
1807
1833
  navbar?: {
@@ -2166,6 +2192,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2166
2192
  description?: string | undefined;
2167
2193
  banner?: {
2168
2194
  content: string;
2195
+ type?: "info" | "warning" | "critical" | undefined;
2196
+ color?: {
2197
+ light?: string | undefined;
2198
+ dark?: string | undefined;
2199
+ } | undefined;
2169
2200
  dismissible?: boolean | undefined;
2170
2201
  } | undefined;
2171
2202
  navbar?: {
@@ -3630,11 +3661,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3630
3661
  banner: z.ZodOptional<z.ZodObject<{
3631
3662
  content: z.ZodString;
3632
3663
  dismissible: z.ZodOptional<z.ZodBoolean>;
3664
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
3665
+ color: z.ZodOptional<z.ZodObject<{
3666
+ light: z.ZodOptional<z.ZodString>;
3667
+ dark: z.ZodOptional<z.ZodString>;
3668
+ }, "strict", z.ZodTypeAny, {
3669
+ light?: string | undefined;
3670
+ dark?: string | undefined;
3671
+ }, {
3672
+ light?: string | undefined;
3673
+ dark?: string | undefined;
3674
+ }>>;
3633
3675
  }, "strip", z.ZodTypeAny, {
3634
3676
  content: string;
3677
+ type?: "info" | "warning" | "critical" | undefined;
3678
+ color?: {
3679
+ light?: string | undefined;
3680
+ dark?: string | undefined;
3681
+ } | undefined;
3635
3682
  dismissible?: boolean | undefined;
3636
3683
  }, {
3637
3684
  content: string;
3685
+ type?: "info" | "warning" | "critical" | undefined;
3686
+ color?: {
3687
+ light?: string | undefined;
3688
+ dark?: string | undefined;
3689
+ } | undefined;
3638
3690
  dismissible?: boolean | undefined;
3639
3691
  }>>;
3640
3692
  errors: z.ZodOptional<z.ZodObject<{
@@ -4087,6 +4139,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4087
4139
  description?: string | undefined;
4088
4140
  banner?: {
4089
4141
  content: string;
4142
+ type?: "info" | "warning" | "critical" | undefined;
4143
+ color?: {
4144
+ light?: string | undefined;
4145
+ dark?: string | undefined;
4146
+ } | undefined;
4090
4147
  dismissible?: boolean | undefined;
4091
4148
  } | undefined;
4092
4149
  navbar?: {
@@ -4451,6 +4508,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4451
4508
  description?: string | undefined;
4452
4509
  banner?: {
4453
4510
  content: string;
4511
+ type?: "info" | "warning" | "critical" | undefined;
4512
+ color?: {
4513
+ light?: string | undefined;
4514
+ dark?: string | undefined;
4515
+ } | undefined;
4454
4516
  dismissible?: boolean | undefined;
4455
4517
  } | undefined;
4456
4518
  navbar?: {
@@ -5915,11 +5977,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
5915
5977
  banner: z.ZodOptional<z.ZodObject<{
5916
5978
  content: z.ZodString;
5917
5979
  dismissible: z.ZodOptional<z.ZodBoolean>;
5980
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
5981
+ color: z.ZodOptional<z.ZodObject<{
5982
+ light: z.ZodOptional<z.ZodString>;
5983
+ dark: z.ZodOptional<z.ZodString>;
5984
+ }, "strict", z.ZodTypeAny, {
5985
+ light?: string | undefined;
5986
+ dark?: string | undefined;
5987
+ }, {
5988
+ light?: string | undefined;
5989
+ dark?: string | undefined;
5990
+ }>>;
5918
5991
  }, "strip", z.ZodTypeAny, {
5919
5992
  content: string;
5993
+ type?: "info" | "warning" | "critical" | undefined;
5994
+ color?: {
5995
+ light?: string | undefined;
5996
+ dark?: string | undefined;
5997
+ } | undefined;
5920
5998
  dismissible?: boolean | undefined;
5921
5999
  }, {
5922
6000
  content: string;
6001
+ type?: "info" | "warning" | "critical" | undefined;
6002
+ color?: {
6003
+ light?: string | undefined;
6004
+ dark?: string | undefined;
6005
+ } | undefined;
5923
6006
  dismissible?: boolean | undefined;
5924
6007
  }>>;
5925
6008
  errors: z.ZodOptional<z.ZodObject<{
@@ -6372,6 +6455,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6372
6455
  description?: string | undefined;
6373
6456
  banner?: {
6374
6457
  content: string;
6458
+ type?: "info" | "warning" | "critical" | undefined;
6459
+ color?: {
6460
+ light?: string | undefined;
6461
+ dark?: string | undefined;
6462
+ } | undefined;
6375
6463
  dismissible?: boolean | undefined;
6376
6464
  } | undefined;
6377
6465
  navbar?: {
@@ -6736,6 +6824,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6736
6824
  description?: string | undefined;
6737
6825
  banner?: {
6738
6826
  content: string;
6827
+ type?: "info" | "warning" | "critical" | undefined;
6828
+ color?: {
6829
+ light?: string | undefined;
6830
+ dark?: string | undefined;
6831
+ } | undefined;
6739
6832
  dismissible?: boolean | undefined;
6740
6833
  } | undefined;
6741
6834
  navbar?: {
@@ -8200,11 +8293,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8200
8293
  banner: z.ZodOptional<z.ZodObject<{
8201
8294
  content: z.ZodString;
8202
8295
  dismissible: z.ZodOptional<z.ZodBoolean>;
8296
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
8297
+ color: z.ZodOptional<z.ZodObject<{
8298
+ light: z.ZodOptional<z.ZodString>;
8299
+ dark: z.ZodOptional<z.ZodString>;
8300
+ }, "strict", z.ZodTypeAny, {
8301
+ light?: string | undefined;
8302
+ dark?: string | undefined;
8303
+ }, {
8304
+ light?: string | undefined;
8305
+ dark?: string | undefined;
8306
+ }>>;
8203
8307
  }, "strip", z.ZodTypeAny, {
8204
8308
  content: string;
8309
+ type?: "info" | "warning" | "critical" | undefined;
8310
+ color?: {
8311
+ light?: string | undefined;
8312
+ dark?: string | undefined;
8313
+ } | undefined;
8205
8314
  dismissible?: boolean | undefined;
8206
8315
  }, {
8207
8316
  content: string;
8317
+ type?: "info" | "warning" | "critical" | undefined;
8318
+ color?: {
8319
+ light?: string | undefined;
8320
+ dark?: string | undefined;
8321
+ } | undefined;
8208
8322
  dismissible?: boolean | undefined;
8209
8323
  }>>;
8210
8324
  errors: z.ZodOptional<z.ZodObject<{
@@ -8657,6 +8771,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8657
8771
  description?: string | undefined;
8658
8772
  banner?: {
8659
8773
  content: string;
8774
+ type?: "info" | "warning" | "critical" | undefined;
8775
+ color?: {
8776
+ light?: string | undefined;
8777
+ dark?: string | undefined;
8778
+ } | undefined;
8660
8779
  dismissible?: boolean | undefined;
8661
8780
  } | undefined;
8662
8781
  navbar?: {
@@ -9021,6 +9140,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
9021
9140
  description?: string | undefined;
9022
9141
  banner?: {
9023
9142
  content: string;
9143
+ type?: "info" | "warning" | "critical" | undefined;
9144
+ color?: {
9145
+ light?: string | undefined;
9146
+ dark?: string | undefined;
9147
+ } | undefined;
9024
9148
  dismissible?: boolean | undefined;
9025
9149
  } | undefined;
9026
9150
  navbar?: {
@@ -10485,11 +10609,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
10485
10609
  banner: z.ZodOptional<z.ZodObject<{
10486
10610
  content: z.ZodString;
10487
10611
  dismissible: z.ZodOptional<z.ZodBoolean>;
10612
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
10613
+ color: z.ZodOptional<z.ZodObject<{
10614
+ light: z.ZodOptional<z.ZodString>;
10615
+ dark: z.ZodOptional<z.ZodString>;
10616
+ }, "strict", z.ZodTypeAny, {
10617
+ light?: string | undefined;
10618
+ dark?: string | undefined;
10619
+ }, {
10620
+ light?: string | undefined;
10621
+ dark?: string | undefined;
10622
+ }>>;
10488
10623
  }, "strip", z.ZodTypeAny, {
10489
10624
  content: string;
10625
+ type?: "info" | "warning" | "critical" | undefined;
10626
+ color?: {
10627
+ light?: string | undefined;
10628
+ dark?: string | undefined;
10629
+ } | undefined;
10490
10630
  dismissible?: boolean | undefined;
10491
10631
  }, {
10492
10632
  content: string;
10633
+ type?: "info" | "warning" | "critical" | undefined;
10634
+ color?: {
10635
+ light?: string | undefined;
10636
+ dark?: string | undefined;
10637
+ } | undefined;
10493
10638
  dismissible?: boolean | undefined;
10494
10639
  }>>;
10495
10640
  errors: z.ZodOptional<z.ZodObject<{
@@ -10942,6 +11087,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
10942
11087
  description?: string | undefined;
10943
11088
  banner?: {
10944
11089
  content: string;
11090
+ type?: "info" | "warning" | "critical" | undefined;
11091
+ color?: {
11092
+ light?: string | undefined;
11093
+ dark?: string | undefined;
11094
+ } | undefined;
10945
11095
  dismissible?: boolean | undefined;
10946
11096
  } | undefined;
10947
11097
  navbar?: {
@@ -11306,6 +11456,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11306
11456
  description?: string | undefined;
11307
11457
  banner?: {
11308
11458
  content: string;
11459
+ type?: "info" | "warning" | "critical" | undefined;
11460
+ color?: {
11461
+ light?: string | undefined;
11462
+ dark?: string | undefined;
11463
+ } | undefined;
11309
11464
  dismissible?: boolean | undefined;
11310
11465
  } | undefined;
11311
11466
  navbar?: {
@@ -12770,11 +12925,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
12770
12925
  banner: z.ZodOptional<z.ZodObject<{
12771
12926
  content: z.ZodString;
12772
12927
  dismissible: z.ZodOptional<z.ZodBoolean>;
12928
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
12929
+ color: z.ZodOptional<z.ZodObject<{
12930
+ light: z.ZodOptional<z.ZodString>;
12931
+ dark: z.ZodOptional<z.ZodString>;
12932
+ }, "strict", z.ZodTypeAny, {
12933
+ light?: string | undefined;
12934
+ dark?: string | undefined;
12935
+ }, {
12936
+ light?: string | undefined;
12937
+ dark?: string | undefined;
12938
+ }>>;
12773
12939
  }, "strip", z.ZodTypeAny, {
12774
12940
  content: string;
12941
+ type?: "info" | "warning" | "critical" | undefined;
12942
+ color?: {
12943
+ light?: string | undefined;
12944
+ dark?: string | undefined;
12945
+ } | undefined;
12775
12946
  dismissible?: boolean | undefined;
12776
12947
  }, {
12777
12948
  content: string;
12949
+ type?: "info" | "warning" | "critical" | undefined;
12950
+ color?: {
12951
+ light?: string | undefined;
12952
+ dark?: string | undefined;
12953
+ } | undefined;
12778
12954
  dismissible?: boolean | undefined;
12779
12955
  }>>;
12780
12956
  errors: z.ZodOptional<z.ZodObject<{
@@ -13227,6 +13403,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
13227
13403
  description?: string | undefined;
13228
13404
  banner?: {
13229
13405
  content: string;
13406
+ type?: "info" | "warning" | "critical" | undefined;
13407
+ color?: {
13408
+ light?: string | undefined;
13409
+ dark?: string | undefined;
13410
+ } | undefined;
13230
13411
  dismissible?: boolean | undefined;
13231
13412
  } | undefined;
13232
13413
  navbar?: {
@@ -13591,6 +13772,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
13591
13772
  description?: string | undefined;
13592
13773
  banner?: {
13593
13774
  content: string;
13775
+ type?: "info" | "warning" | "critical" | undefined;
13776
+ color?: {
13777
+ light?: string | undefined;
13778
+ dark?: string | undefined;
13779
+ } | undefined;
13594
13780
  dismissible?: boolean | undefined;
13595
13781
  } | undefined;
13596
13782
  navbar?: {
@@ -15055,11 +15241,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15055
15241
  banner: z.ZodOptional<z.ZodObject<{
15056
15242
  content: z.ZodString;
15057
15243
  dismissible: z.ZodOptional<z.ZodBoolean>;
15244
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
15245
+ color: z.ZodOptional<z.ZodObject<{
15246
+ light: z.ZodOptional<z.ZodString>;
15247
+ dark: z.ZodOptional<z.ZodString>;
15248
+ }, "strict", z.ZodTypeAny, {
15249
+ light?: string | undefined;
15250
+ dark?: string | undefined;
15251
+ }, {
15252
+ light?: string | undefined;
15253
+ dark?: string | undefined;
15254
+ }>>;
15058
15255
  }, "strip", z.ZodTypeAny, {
15059
15256
  content: string;
15257
+ type?: "info" | "warning" | "critical" | undefined;
15258
+ color?: {
15259
+ light?: string | undefined;
15260
+ dark?: string | undefined;
15261
+ } | undefined;
15060
15262
  dismissible?: boolean | undefined;
15061
15263
  }, {
15062
15264
  content: string;
15265
+ type?: "info" | "warning" | "critical" | undefined;
15266
+ color?: {
15267
+ light?: string | undefined;
15268
+ dark?: string | undefined;
15269
+ } | undefined;
15063
15270
  dismissible?: boolean | undefined;
15064
15271
  }>>;
15065
15272
  errors: z.ZodOptional<z.ZodObject<{
@@ -15512,6 +15719,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15512
15719
  description?: string | undefined;
15513
15720
  banner?: {
15514
15721
  content: string;
15722
+ type?: "info" | "warning" | "critical" | undefined;
15723
+ color?: {
15724
+ light?: string | undefined;
15725
+ dark?: string | undefined;
15726
+ } | undefined;
15515
15727
  dismissible?: boolean | undefined;
15516
15728
  } | undefined;
15517
15729
  navbar?: {
@@ -15876,6 +16088,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15876
16088
  description?: string | undefined;
15877
16089
  banner?: {
15878
16090
  content: string;
16091
+ type?: "info" | "warning" | "critical" | undefined;
16092
+ color?: {
16093
+ light?: string | undefined;
16094
+ dark?: string | undefined;
16095
+ } | undefined;
15879
16096
  dismissible?: boolean | undefined;
15880
16097
  } | undefined;
15881
16098
  navbar?: {
@@ -17340,11 +17557,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17340
17557
  banner: z.ZodOptional<z.ZodObject<{
17341
17558
  content: z.ZodString;
17342
17559
  dismissible: z.ZodOptional<z.ZodBoolean>;
17560
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
17561
+ color: z.ZodOptional<z.ZodObject<{
17562
+ light: z.ZodOptional<z.ZodString>;
17563
+ dark: z.ZodOptional<z.ZodString>;
17564
+ }, "strict", z.ZodTypeAny, {
17565
+ light?: string | undefined;
17566
+ dark?: string | undefined;
17567
+ }, {
17568
+ light?: string | undefined;
17569
+ dark?: string | undefined;
17570
+ }>>;
17343
17571
  }, "strip", z.ZodTypeAny, {
17344
17572
  content: string;
17573
+ type?: "info" | "warning" | "critical" | undefined;
17574
+ color?: {
17575
+ light?: string | undefined;
17576
+ dark?: string | undefined;
17577
+ } | undefined;
17345
17578
  dismissible?: boolean | undefined;
17346
17579
  }, {
17347
17580
  content: string;
17581
+ type?: "info" | "warning" | "critical" | undefined;
17582
+ color?: {
17583
+ light?: string | undefined;
17584
+ dark?: string | undefined;
17585
+ } | undefined;
17348
17586
  dismissible?: boolean | undefined;
17349
17587
  }>>;
17350
17588
  errors: z.ZodOptional<z.ZodObject<{
@@ -17797,6 +18035,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17797
18035
  description?: string | undefined;
17798
18036
  banner?: {
17799
18037
  content: string;
18038
+ type?: "info" | "warning" | "critical" | undefined;
18039
+ color?: {
18040
+ light?: string | undefined;
18041
+ dark?: string | undefined;
18042
+ } | undefined;
17800
18043
  dismissible?: boolean | undefined;
17801
18044
  } | undefined;
17802
18045
  navbar?: {
@@ -18161,6 +18404,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
18161
18404
  description?: string | undefined;
18162
18405
  banner?: {
18163
18406
  content: string;
18407
+ type?: "info" | "warning" | "critical" | undefined;
18408
+ color?: {
18409
+ light?: string | undefined;
18410
+ dark?: string | undefined;
18411
+ } | undefined;
18164
18412
  dismissible?: boolean | undefined;
18165
18413
  } | undefined;
18166
18414
  navbar?: {
@@ -19625,11 +19873,32 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
19625
19873
  banner: z.ZodOptional<z.ZodObject<{
19626
19874
  content: z.ZodString;
19627
19875
  dismissible: z.ZodOptional<z.ZodBoolean>;
19876
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
19877
+ color: z.ZodOptional<z.ZodObject<{
19878
+ light: z.ZodOptional<z.ZodString>;
19879
+ dark: z.ZodOptional<z.ZodString>;
19880
+ }, "strict", z.ZodTypeAny, {
19881
+ light?: string | undefined;
19882
+ dark?: string | undefined;
19883
+ }, {
19884
+ light?: string | undefined;
19885
+ dark?: string | undefined;
19886
+ }>>;
19628
19887
  }, "strip", z.ZodTypeAny, {
19629
19888
  content: string;
19889
+ type?: "info" | "warning" | "critical" | undefined;
19890
+ color?: {
19891
+ light?: string | undefined;
19892
+ dark?: string | undefined;
19893
+ } | undefined;
19630
19894
  dismissible?: boolean | undefined;
19631
19895
  }, {
19632
19896
  content: string;
19897
+ type?: "info" | "warning" | "critical" | undefined;
19898
+ color?: {
19899
+ light?: string | undefined;
19900
+ dark?: string | undefined;
19901
+ } | undefined;
19633
19902
  dismissible?: boolean | undefined;
19634
19903
  }>>;
19635
19904
  errors: z.ZodOptional<z.ZodObject<{
@@ -20082,6 +20351,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
20082
20351
  description?: string | undefined;
20083
20352
  banner?: {
20084
20353
  content: string;
20354
+ type?: "info" | "warning" | "critical" | undefined;
20355
+ color?: {
20356
+ light?: string | undefined;
20357
+ dark?: string | undefined;
20358
+ } | undefined;
20085
20359
  dismissible?: boolean | undefined;
20086
20360
  } | undefined;
20087
20361
  navbar?: {
@@ -20446,6 +20720,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
20446
20720
  description?: string | undefined;
20447
20721
  banner?: {
20448
20722
  content: string;
20723
+ type?: "info" | "warning" | "critical" | undefined;
20724
+ color?: {
20725
+ light?: string | undefined;
20726
+ dark?: string | undefined;
20727
+ } | undefined;
20449
20728
  dismissible?: boolean | undefined;
20450
20729
  } | undefined;
20451
20730
  navbar?: {
@@ -21911,11 +22190,32 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
21911
22190
  banner: z.ZodOptional<z.ZodObject<{
21912
22191
  content: z.ZodString;
21913
22192
  dismissible: z.ZodOptional<z.ZodBoolean>;
22193
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
22194
+ color: z.ZodOptional<z.ZodObject<{
22195
+ light: z.ZodOptional<z.ZodString>;
22196
+ dark: z.ZodOptional<z.ZodString>;
22197
+ }, "strict", z.ZodTypeAny, {
22198
+ light?: string | undefined;
22199
+ dark?: string | undefined;
22200
+ }, {
22201
+ light?: string | undefined;
22202
+ dark?: string | undefined;
22203
+ }>>;
21914
22204
  }, "strip", z.ZodTypeAny, {
21915
22205
  content: string;
22206
+ type?: "info" | "warning" | "critical" | undefined;
22207
+ color?: {
22208
+ light?: string | undefined;
22209
+ dark?: string | undefined;
22210
+ } | undefined;
21916
22211
  dismissible?: boolean | undefined;
21917
22212
  }, {
21918
22213
  content: string;
22214
+ type?: "info" | "warning" | "critical" | undefined;
22215
+ color?: {
22216
+ light?: string | undefined;
22217
+ dark?: string | undefined;
22218
+ } | undefined;
21919
22219
  dismissible?: boolean | undefined;
21920
22220
  }>>;
21921
22221
  errors: z.ZodOptional<z.ZodObject<{
@@ -22368,6 +22668,11 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
22368
22668
  description?: string | undefined;
22369
22669
  banner?: {
22370
22670
  content: string;
22671
+ type?: "info" | "warning" | "critical" | undefined;
22672
+ color?: {
22673
+ light?: string | undefined;
22674
+ dark?: string | undefined;
22675
+ } | undefined;
22371
22676
  dismissible?: boolean | undefined;
22372
22677
  } | undefined;
22373
22678
  navbar?: {
@@ -22732,6 +23037,11 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
22732
23037
  description?: string | undefined;
22733
23038
  banner?: {
22734
23039
  content: string;
23040
+ type?: "info" | "warning" | "critical" | undefined;
23041
+ color?: {
23042
+ light?: string | undefined;
23043
+ dark?: string | undefined;
23044
+ } | undefined;
22735
23045
  dismissible?: boolean | undefined;
22736
23046
  } | undefined;
22737
23047
  navbar?: {
@@ -2,10 +2,31 @@ import { z } from 'zod';
2
2
  export declare const bannerSchema: z.ZodObject<{
3
3
  content: z.ZodString;
4
4
  dismissible: z.ZodOptional<z.ZodBoolean>;
5
+ type: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
6
+ color: z.ZodOptional<z.ZodObject<{
7
+ light: z.ZodOptional<z.ZodString>;
8
+ dark: z.ZodOptional<z.ZodString>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ light?: string | undefined;
11
+ dark?: string | undefined;
12
+ }, {
13
+ light?: string | undefined;
14
+ dark?: string | undefined;
15
+ }>>;
5
16
  }, "strip", z.ZodTypeAny, {
6
17
  content: string;
18
+ type?: "info" | "warning" | "critical" | undefined;
19
+ color?: {
20
+ light?: string | undefined;
21
+ dark?: string | undefined;
22
+ } | undefined;
7
23
  dismissible?: boolean | undefined;
8
24
  }, {
9
25
  content: string;
26
+ type?: "info" | "warning" | "critical" | undefined;
27
+ color?: {
28
+ light?: string | undefined;
29
+ dark?: string | undefined;
30
+ } | undefined;
10
31
  dismissible?: boolean | undefined;
11
32
  }>;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { colorSchemaWithOptionalLightAndDark } from './reusable/color.js';
2
3
  export const bannerSchema = z.object({
3
4
  content: z
4
5
  .string()
@@ -8,4 +9,11 @@ export const bannerSchema = z.object({
8
9
  .boolean()
9
10
  .optional()
10
11
  .describe('Whether to show the dismiss button on the right side of the banner'),
12
+ type: z
13
+ .enum(['info', 'warning', 'critical'])
14
+ .optional()
15
+ .describe('The visual style of the banner. `info` uses the primary brand color for general announcements. `warning` uses an amber background for cautionary notices (maintenance, deprecations). `critical` uses a red background for urgent notices. Defaults to `info`.'),
16
+ color: colorSchemaWithOptionalLightAndDark
17
+ .optional()
18
+ .describe('Override the banner background color with a custom hex color. Accepts `{ light, dark }` for theme-aware colors. When set, takes precedence over the color implied by `type`. Banner text is white, so choose a dark enough background for legibility.'),
11
19
  });