@mintlify/validation 0.1.676 → 0.1.678

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.
@@ -73,6 +73,7 @@ export declare function validateMintConfig(value: unknown): z.SafeParseError<{
73
73
  maintainOrder?: boolean | undefined;
74
74
  paramFields?: {
75
75
  expanded?: "all" | "topLevel" | "topLevelOneOfs" | "none" | undefined;
76
+ post?: string[] | undefined;
76
77
  } | undefined;
77
78
  } | undefined;
78
79
  modeToggle?: {
@@ -322,6 +323,7 @@ export declare function validateMintConfig(value: unknown): z.SafeParseError<{
322
323
  maintainOrder?: boolean | undefined;
323
324
  paramFields?: {
324
325
  expanded?: "all" | "topLevel" | "topLevelOneOfs" | "none" | undefined;
326
+ post?: string[] | undefined;
325
327
  } | undefined;
326
328
  } | undefined;
327
329
  modeToggle?: {
@@ -611,6 +613,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
611
613
  api?: {
612
614
  params?: {
613
615
  expanded?: "all" | "closed" | undefined;
616
+ post?: string[] | undefined;
614
617
  } | undefined;
615
618
  url?: "full" | undefined;
616
619
  openapi?: string | string[] | {
@@ -739,6 +742,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
739
742
  description?: string | undefined;
740
743
  banner?: {
741
744
  content: string;
745
+ type?: "info" | "warning" | "critical" | undefined;
746
+ color?: {
747
+ light?: string | undefined;
748
+ dark?: string | undefined;
749
+ } | undefined;
742
750
  dismissible?: boolean | undefined;
743
751
  } | undefined;
744
752
  navbar?: {
@@ -974,6 +982,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
974
982
  api?: {
975
983
  params?: {
976
984
  expanded?: "all" | "closed" | undefined;
985
+ post?: string[] | undefined;
977
986
  } | undefined;
978
987
  url?: "full" | undefined;
979
988
  openapi?: string | string[] | {
@@ -1102,6 +1111,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1102
1111
  description?: string | undefined;
1103
1112
  banner?: {
1104
1113
  content: string;
1114
+ type?: "info" | "warning" | "critical" | undefined;
1115
+ color?: {
1116
+ light?: string | undefined;
1117
+ dark?: string | undefined;
1118
+ } | undefined;
1105
1119
  dismissible?: boolean | undefined;
1106
1120
  } | undefined;
1107
1121
  navbar?: {
@@ -1337,6 +1351,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1337
1351
  api?: {
1338
1352
  params?: {
1339
1353
  expanded?: "all" | "closed" | undefined;
1354
+ post?: string[] | undefined;
1340
1355
  } | undefined;
1341
1356
  url?: "full" | undefined;
1342
1357
  openapi?: string | string[] | {
@@ -1465,6 +1480,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1465
1480
  description?: string | undefined;
1466
1481
  banner?: {
1467
1482
  content: string;
1483
+ type?: "info" | "warning" | "critical" | undefined;
1484
+ color?: {
1485
+ light?: string | undefined;
1486
+ dark?: string | undefined;
1487
+ } | undefined;
1468
1488
  dismissible?: boolean | undefined;
1469
1489
  } | undefined;
1470
1490
  navbar?: {
@@ -1700,6 +1720,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1700
1720
  api?: {
1701
1721
  params?: {
1702
1722
  expanded?: "all" | "closed" | undefined;
1723
+ post?: string[] | undefined;
1703
1724
  } | undefined;
1704
1725
  url?: "full" | undefined;
1705
1726
  openapi?: string | string[] | {
@@ -1828,6 +1849,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1828
1849
  description?: string | undefined;
1829
1850
  banner?: {
1830
1851
  content: string;
1852
+ type?: "info" | "warning" | "critical" | undefined;
1853
+ color?: {
1854
+ light?: string | undefined;
1855
+ dark?: string | undefined;
1856
+ } | undefined;
1831
1857
  dismissible?: boolean | undefined;
1832
1858
  } | undefined;
1833
1859
  navbar?: {
@@ -2063,6 +2089,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2063
2089
  api?: {
2064
2090
  params?: {
2065
2091
  expanded?: "all" | "closed" | undefined;
2092
+ post?: string[] | undefined;
2066
2093
  } | undefined;
2067
2094
  url?: "full" | undefined;
2068
2095
  openapi?: string | string[] | {
@@ -2191,6 +2218,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2191
2218
  description?: string | undefined;
2192
2219
  banner?: {
2193
2220
  content: string;
2221
+ type?: "info" | "warning" | "critical" | undefined;
2222
+ color?: {
2223
+ light?: string | undefined;
2224
+ dark?: string | undefined;
2225
+ } | undefined;
2194
2226
  dismissible?: boolean | undefined;
2195
2227
  } | undefined;
2196
2228
  navbar?: {
@@ -2426,6 +2458,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2426
2458
  api?: {
2427
2459
  params?: {
2428
2460
  expanded?: "all" | "closed" | undefined;
2461
+ post?: string[] | undefined;
2429
2462
  } | undefined;
2430
2463
  url?: "full" | undefined;
2431
2464
  openapi?: string | string[] | {
@@ -2554,6 +2587,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2554
2587
  description?: string | undefined;
2555
2588
  banner?: {
2556
2589
  content: string;
2590
+ type?: "info" | "warning" | "critical" | undefined;
2591
+ color?: {
2592
+ light?: string | undefined;
2593
+ dark?: string | undefined;
2594
+ } | undefined;
2557
2595
  dismissible?: boolean | undefined;
2558
2596
  } | undefined;
2559
2597
  navbar?: {
@@ -2789,6 +2827,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2789
2827
  api?: {
2790
2828
  params?: {
2791
2829
  expanded?: "all" | "closed" | undefined;
2830
+ post?: string[] | undefined;
2792
2831
  } | undefined;
2793
2832
  url?: "full" | undefined;
2794
2833
  openapi?: string | string[] | {
@@ -2917,6 +2956,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2917
2956
  description?: string | undefined;
2918
2957
  banner?: {
2919
2958
  content: string;
2959
+ type?: "info" | "warning" | "critical" | undefined;
2960
+ color?: {
2961
+ light?: string | undefined;
2962
+ dark?: string | undefined;
2963
+ } | undefined;
2920
2964
  dismissible?: boolean | undefined;
2921
2965
  } | undefined;
2922
2966
  navbar?: {
@@ -3152,6 +3196,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3152
3196
  api?: {
3153
3197
  params?: {
3154
3198
  expanded?: "all" | "closed" | undefined;
3199
+ post?: string[] | undefined;
3155
3200
  } | undefined;
3156
3201
  url?: "full" | undefined;
3157
3202
  openapi?: string | string[] | {
@@ -3280,6 +3325,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3280
3325
  description?: string | undefined;
3281
3326
  banner?: {
3282
3327
  content: string;
3328
+ type?: "info" | "warning" | "critical" | undefined;
3329
+ color?: {
3330
+ light?: string | undefined;
3331
+ dark?: string | undefined;
3332
+ } | undefined;
3283
3333
  dismissible?: boolean | undefined;
3284
3334
  } | undefined;
3285
3335
  navbar?: {
@@ -3515,6 +3565,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3515
3565
  api?: {
3516
3566
  params?: {
3517
3567
  expanded?: "all" | "closed" | undefined;
3568
+ post?: string[] | undefined;
3518
3569
  } | undefined;
3519
3570
  url?: "full" | undefined;
3520
3571
  openapi?: string | string[] | {
@@ -3643,6 +3694,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3643
3694
  description?: string | undefined;
3644
3695
  banner?: {
3645
3696
  content: string;
3697
+ type?: "info" | "warning" | "critical" | undefined;
3698
+ color?: {
3699
+ light?: string | undefined;
3700
+ dark?: string | undefined;
3701
+ } | undefined;
3646
3702
  dismissible?: boolean | undefined;
3647
3703
  } | undefined;
3648
3704
  navbar?: {
@@ -3881,6 +3937,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3881
3937
  api?: {
3882
3938
  params?: {
3883
3939
  expanded?: "all" | "closed" | undefined;
3940
+ post?: string[] | undefined;
3884
3941
  } | undefined;
3885
3942
  url?: "full" | undefined;
3886
3943
  openapi?: string | string[] | {
@@ -4009,6 +4066,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4009
4066
  description?: string | undefined;
4010
4067
  banner?: {
4011
4068
  content: string;
4069
+ type?: "info" | "warning" | "critical" | undefined;
4070
+ color?: {
4071
+ light?: string | undefined;
4072
+ dark?: string | undefined;
4073
+ } | undefined;
4012
4074
  dismissible?: boolean | undefined;
4013
4075
  } | undefined;
4014
4076
  navbar?: {
@@ -4244,6 +4306,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4244
4306
  api?: {
4245
4307
  params?: {
4246
4308
  expanded?: "all" | "closed" | undefined;
4309
+ post?: string[] | undefined;
4247
4310
  } | undefined;
4248
4311
  url?: "full" | undefined;
4249
4312
  openapi?: string | string[] | {
@@ -4372,6 +4435,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4372
4435
  description?: string | undefined;
4373
4436
  banner?: {
4374
4437
  content: string;
4438
+ type?: "info" | "warning" | "critical" | undefined;
4439
+ color?: {
4440
+ light?: string | undefined;
4441
+ dark?: string | undefined;
4442
+ } | undefined;
4375
4443
  dismissible?: boolean | undefined;
4376
4444
  } | undefined;
4377
4445
  navbar?: {
@@ -4607,6 +4675,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4607
4675
  api?: {
4608
4676
  params?: {
4609
4677
  expanded?: "all" | "closed" | undefined;
4678
+ post?: string[] | undefined;
4610
4679
  } | undefined;
4611
4680
  url?: "full" | undefined;
4612
4681
  openapi?: string | string[] | {
@@ -4735,6 +4804,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4735
4804
  description?: string | undefined;
4736
4805
  banner?: {
4737
4806
  content: string;
4807
+ type?: "info" | "warning" | "critical" | undefined;
4808
+ color?: {
4809
+ light?: string | undefined;
4810
+ dark?: string | undefined;
4811
+ } | undefined;
4738
4812
  dismissible?: boolean | undefined;
4739
4813
  } | undefined;
4740
4814
  navbar?: {
@@ -4970,6 +5044,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4970
5044
  api?: {
4971
5045
  params?: {
4972
5046
  expanded?: "all" | "closed" | undefined;
5047
+ post?: string[] | undefined;
4973
5048
  } | undefined;
4974
5049
  url?: "full" | undefined;
4975
5050
  openapi?: string | string[] | {
@@ -5098,6 +5173,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5098
5173
  description?: string | undefined;
5099
5174
  banner?: {
5100
5175
  content: string;
5176
+ type?: "info" | "warning" | "critical" | undefined;
5177
+ color?: {
5178
+ light?: string | undefined;
5179
+ dark?: string | undefined;
5180
+ } | undefined;
5101
5181
  dismissible?: boolean | undefined;
5102
5182
  } | undefined;
5103
5183
  navbar?: {
@@ -5333,6 +5413,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5333
5413
  api?: {
5334
5414
  params?: {
5335
5415
  expanded?: "all" | "closed" | undefined;
5416
+ post?: string[] | undefined;
5336
5417
  } | undefined;
5337
5418
  url?: "full" | undefined;
5338
5419
  openapi?: string | string[] | {
@@ -5461,6 +5542,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5461
5542
  description?: string | undefined;
5462
5543
  banner?: {
5463
5544
  content: string;
5545
+ type?: "info" | "warning" | "critical" | undefined;
5546
+ color?: {
5547
+ light?: string | undefined;
5548
+ dark?: string | undefined;
5549
+ } | undefined;
5464
5550
  dismissible?: boolean | undefined;
5465
5551
  } | undefined;
5466
5552
  navbar?: {
@@ -5696,6 +5782,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5696
5782
  api?: {
5697
5783
  params?: {
5698
5784
  expanded?: "all" | "closed" | undefined;
5785
+ post?: string[] | undefined;
5699
5786
  } | undefined;
5700
5787
  url?: "full" | undefined;
5701
5788
  openapi?: string | string[] | {
@@ -5824,6 +5911,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5824
5911
  description?: string | undefined;
5825
5912
  banner?: {
5826
5913
  content: string;
5914
+ type?: "info" | "warning" | "critical" | undefined;
5915
+ color?: {
5916
+ light?: string | undefined;
5917
+ dark?: string | undefined;
5918
+ } | undefined;
5827
5919
  dismissible?: boolean | undefined;
5828
5920
  } | undefined;
5829
5921
  navbar?: {
@@ -6059,6 +6151,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6059
6151
  api?: {
6060
6152
  params?: {
6061
6153
  expanded?: "all" | "closed" | undefined;
6154
+ post?: string[] | undefined;
6062
6155
  } | undefined;
6063
6156
  url?: "full" | undefined;
6064
6157
  openapi?: string | string[] | {
@@ -6187,6 +6280,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6187
6280
  description?: string | undefined;
6188
6281
  banner?: {
6189
6282
  content: string;
6283
+ type?: "info" | "warning" | "critical" | undefined;
6284
+ color?: {
6285
+ light?: string | undefined;
6286
+ dark?: string | undefined;
6287
+ } | undefined;
6190
6288
  dismissible?: boolean | undefined;
6191
6289
  } | undefined;
6192
6290
  navbar?: {
@@ -6422,6 +6520,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6422
6520
  api?: {
6423
6521
  params?: {
6424
6522
  expanded?: "all" | "closed" | undefined;
6523
+ post?: string[] | undefined;
6425
6524
  } | undefined;
6426
6525
  url?: "full" | undefined;
6427
6526
  openapi?: string | string[] | {
@@ -6550,6 +6649,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6550
6649
  description?: string | undefined;
6551
6650
  banner?: {
6552
6651
  content: string;
6652
+ type?: "info" | "warning" | "critical" | undefined;
6653
+ color?: {
6654
+ light?: string | undefined;
6655
+ dark?: string | undefined;
6656
+ } | undefined;
6553
6657
  dismissible?: boolean | undefined;
6554
6658
  } | undefined;
6555
6659
  navbar?: {
@@ -6785,6 +6889,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6785
6889
  api?: {
6786
6890
  params?: {
6787
6891
  expanded?: "all" | "closed" | undefined;
6892
+ post?: string[] | undefined;
6788
6893
  } | undefined;
6789
6894
  url?: "full" | undefined;
6790
6895
  openapi?: string | string[] | {
@@ -6913,6 +7018,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6913
7018
  description?: string | undefined;
6914
7019
  banner?: {
6915
7020
  content: string;
7021
+ type?: "info" | "warning" | "critical" | undefined;
7022
+ color?: {
7023
+ light?: string | undefined;
7024
+ dark?: string | undefined;
7025
+ } | undefined;
6916
7026
  dismissible?: boolean | undefined;
6917
7027
  } | undefined;
6918
7028
  navbar?: {
@@ -205,6 +205,8 @@ export type XMint = {
205
205
  href?: string;
206
206
  mcp?: XMcp;
207
207
  groups?: string[];
208
+ pre?: string[];
209
+ post?: string[];
208
210
  };
209
211
  export declare const XMcpType: import("arktype/internal/variants/object.ts").ObjectType<{
210
212
  enabled?: boolean | undefined;
@@ -250,6 +252,8 @@ export declare const XMintType: import("arktype/internal/variants/object.ts").Ob
250
252
  description?: string | undefined;
251
253
  } | undefined;
252
254
  groups?: string[] | undefined;
255
+ pre?: string[] | undefined;
256
+ post?: string[] | undefined;
253
257
  }, {}>;
254
258
  export type SchemaWithXFlags = OpenAPIV3_1.SchemaObject & {
255
259
  'x-mint'?: XMint;
@@ -88,4 +88,6 @@ export const XMintType = type({
88
88
  'href?': 'string',
89
89
  'mcp?': XMcpType,
90
90
  'groups?': 'string[]',
91
+ 'pre?': 'string[]',
92
+ 'post?': 'string[]',
91
93
  });