@mintlify/validation 0.1.243 → 0.1.245

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.
@@ -59,6 +59,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
59
59
  }, {
60
60
  languages?: string[] | undefined;
61
61
  }>>;
62
+ mdx: z.ZodOptional<z.ZodObject<{
63
+ auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
64
+ base: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
67
+ base?: string | string[] | undefined;
68
+ }, {
69
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
70
+ base?: string | string[] | undefined;
71
+ }>>;
62
72
  }, "strip", z.ZodTypeAny, {
63
73
  playground?: {
64
74
  display: "simple" | "none" | "interactive";
@@ -67,6 +77,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
67
77
  examples?: {
68
78
  languages?: string[] | undefined;
69
79
  } | undefined;
80
+ mdx?: {
81
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
82
+ base?: string | string[] | undefined;
83
+ } | undefined;
70
84
  }, {
71
85
  playground?: {
72
86
  display?: "simple" | "none" | "interactive" | undefined;
@@ -75,6 +89,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
75
89
  examples?: {
76
90
  languages?: string[] | undefined;
77
91
  } | undefined;
92
+ mdx?: {
93
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
94
+ base?: string | string[] | undefined;
95
+ } | undefined;
78
96
  }>>;
79
97
  appearance: z.ZodOptional<z.ZodObject<{
80
98
  default: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
@@ -97,7 +115,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
97
115
  light: string;
98
116
  dark: string;
99
117
  }>]>>;
100
- decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
118
+ decoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
101
119
  color: z.ZodOptional<z.ZodObject<{
102
120
  light: z.ZodOptional<z.ZodString>;
103
121
  dark: z.ZodOptional<z.ZodString>;
@@ -109,11 +127,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
109
127
  dark?: string | undefined;
110
128
  }>>;
111
129
  }, "strip", z.ZodTypeAny, {
112
- decoration: "none" | "gradient" | "grid" | "windows";
113
130
  image?: string | {
114
131
  light: string;
115
132
  dark: string;
116
133
  } | undefined;
134
+ decoration?: "gradient" | "grid" | "windows" | undefined;
117
135
  color?: {
118
136
  light?: string | undefined;
119
137
  dark?: string | undefined;
@@ -123,7 +141,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
123
141
  light: string;
124
142
  dark: string;
125
143
  } | undefined;
126
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
144
+ decoration?: "gradient" | "grid" | "windows" | undefined;
127
145
  color?: {
128
146
  light?: string | undefined;
129
147
  dark?: string | undefined;
@@ -1521,17 +1539,21 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1521
1539
  examples?: {
1522
1540
  languages?: string[] | undefined;
1523
1541
  } | undefined;
1542
+ mdx?: {
1543
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1544
+ base?: string | string[] | undefined;
1545
+ } | undefined;
1524
1546
  } | undefined;
1525
1547
  appearance?: {
1526
1548
  strict: boolean;
1527
1549
  default: "light" | "dark" | "system";
1528
1550
  } | undefined;
1529
1551
  background?: {
1530
- decoration: "none" | "gradient" | "grid" | "windows";
1531
1552
  image?: string | {
1532
1553
  light: string;
1533
1554
  dark: string;
1534
1555
  } | undefined;
1556
+ decoration?: "gradient" | "grid" | "windows" | undefined;
1535
1557
  color?: {
1536
1558
  light?: string | undefined;
1537
1559
  dark?: string | undefined;
@@ -1897,6 +1919,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1897
1919
  examples?: {
1898
1920
  languages?: string[] | undefined;
1899
1921
  } | undefined;
1922
+ mdx?: {
1923
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1924
+ base?: string | string[] | undefined;
1925
+ } | undefined;
1900
1926
  } | undefined;
1901
1927
  appearance?: {
1902
1928
  default?: "light" | "dark" | "system" | undefined;
@@ -1907,7 +1933,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1907
1933
  light: string;
1908
1934
  dark: string;
1909
1935
  } | undefined;
1910
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
1936
+ decoration?: "gradient" | "grid" | "windows" | undefined;
1911
1937
  color?: {
1912
1938
  light?: string | undefined;
1913
1939
  dark?: string | undefined;
@@ -2091,6 +2117,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2091
2117
  }, {
2092
2118
  languages?: string[] | undefined;
2093
2119
  }>>;
2120
+ mdx: z.ZodOptional<z.ZodObject<{
2121
+ auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
2122
+ base: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2123
+ }, "strip", z.ZodTypeAny, {
2124
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2125
+ base?: string | string[] | undefined;
2126
+ }, {
2127
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2128
+ base?: string | string[] | undefined;
2129
+ }>>;
2094
2130
  }, "strip", z.ZodTypeAny, {
2095
2131
  playground?: {
2096
2132
  display: "simple" | "none" | "interactive";
@@ -2099,6 +2135,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2099
2135
  examples?: {
2100
2136
  languages?: string[] | undefined;
2101
2137
  } | undefined;
2138
+ mdx?: {
2139
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2140
+ base?: string | string[] | undefined;
2141
+ } | undefined;
2102
2142
  }, {
2103
2143
  playground?: {
2104
2144
  display?: "simple" | "none" | "interactive" | undefined;
@@ -2107,6 +2147,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2107
2147
  examples?: {
2108
2148
  languages?: string[] | undefined;
2109
2149
  } | undefined;
2150
+ mdx?: {
2151
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2152
+ base?: string | string[] | undefined;
2153
+ } | undefined;
2110
2154
  }>>;
2111
2155
  appearance: z.ZodOptional<z.ZodObject<{
2112
2156
  default: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
@@ -2129,7 +2173,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2129
2173
  light: string;
2130
2174
  dark: string;
2131
2175
  }>]>>;
2132
- decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
2176
+ decoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
2133
2177
  color: z.ZodOptional<z.ZodObject<{
2134
2178
  light: z.ZodOptional<z.ZodString>;
2135
2179
  dark: z.ZodOptional<z.ZodString>;
@@ -2141,11 +2185,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2141
2185
  dark?: string | undefined;
2142
2186
  }>>;
2143
2187
  }, "strip", z.ZodTypeAny, {
2144
- decoration: "none" | "gradient" | "grid" | "windows";
2145
2188
  image?: string | {
2146
2189
  light: string;
2147
2190
  dark: string;
2148
2191
  } | undefined;
2192
+ decoration?: "gradient" | "grid" | "windows" | undefined;
2149
2193
  color?: {
2150
2194
  light?: string | undefined;
2151
2195
  dark?: string | undefined;
@@ -2155,7 +2199,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2155
2199
  light: string;
2156
2200
  dark: string;
2157
2201
  } | undefined;
2158
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
2202
+ decoration?: "gradient" | "grid" | "windows" | undefined;
2159
2203
  color?: {
2160
2204
  light?: string | undefined;
2161
2205
  dark?: string | undefined;
@@ -3553,17 +3597,21 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3553
3597
  examples?: {
3554
3598
  languages?: string[] | undefined;
3555
3599
  } | undefined;
3600
+ mdx?: {
3601
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3602
+ base?: string | string[] | undefined;
3603
+ } | undefined;
3556
3604
  } | undefined;
3557
3605
  appearance?: {
3558
3606
  strict: boolean;
3559
3607
  default: "light" | "dark" | "system";
3560
3608
  } | undefined;
3561
3609
  background?: {
3562
- decoration: "none" | "gradient" | "grid" | "windows";
3563
3610
  image?: string | {
3564
3611
  light: string;
3565
3612
  dark: string;
3566
3613
  } | undefined;
3614
+ decoration?: "gradient" | "grid" | "windows" | undefined;
3567
3615
  color?: {
3568
3616
  light?: string | undefined;
3569
3617
  dark?: string | undefined;
@@ -3929,6 +3977,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3929
3977
  examples?: {
3930
3978
  languages?: string[] | undefined;
3931
3979
  } | undefined;
3980
+ mdx?: {
3981
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3982
+ base?: string | string[] | undefined;
3983
+ } | undefined;
3932
3984
  } | undefined;
3933
3985
  appearance?: {
3934
3986
  default?: "light" | "dark" | "system" | undefined;
@@ -3939,7 +3991,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3939
3991
  light: string;
3940
3992
  dark: string;
3941
3993
  } | undefined;
3942
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
3994
+ decoration?: "gradient" | "grid" | "windows" | undefined;
3943
3995
  color?: {
3944
3996
  light?: string | undefined;
3945
3997
  dark?: string | undefined;
@@ -4123,6 +4175,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4123
4175
  }, {
4124
4176
  languages?: string[] | undefined;
4125
4177
  }>>;
4178
+ mdx: z.ZodOptional<z.ZodObject<{
4179
+ auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
4180
+ base: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
4181
+ }, "strip", z.ZodTypeAny, {
4182
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4183
+ base?: string | string[] | undefined;
4184
+ }, {
4185
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4186
+ base?: string | string[] | undefined;
4187
+ }>>;
4126
4188
  }, "strip", z.ZodTypeAny, {
4127
4189
  playground?: {
4128
4190
  display: "simple" | "none" | "interactive";
@@ -4131,6 +4193,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4131
4193
  examples?: {
4132
4194
  languages?: string[] | undefined;
4133
4195
  } | undefined;
4196
+ mdx?: {
4197
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4198
+ base?: string | string[] | undefined;
4199
+ } | undefined;
4134
4200
  }, {
4135
4201
  playground?: {
4136
4202
  display?: "simple" | "none" | "interactive" | undefined;
@@ -4139,6 +4205,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4139
4205
  examples?: {
4140
4206
  languages?: string[] | undefined;
4141
4207
  } | undefined;
4208
+ mdx?: {
4209
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4210
+ base?: string | string[] | undefined;
4211
+ } | undefined;
4142
4212
  }>>;
4143
4213
  appearance: z.ZodOptional<z.ZodObject<{
4144
4214
  default: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
@@ -4161,7 +4231,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4161
4231
  light: string;
4162
4232
  dark: string;
4163
4233
  }>]>>;
4164
- decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
4234
+ decoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
4165
4235
  color: z.ZodOptional<z.ZodObject<{
4166
4236
  light: z.ZodOptional<z.ZodString>;
4167
4237
  dark: z.ZodOptional<z.ZodString>;
@@ -4173,11 +4243,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4173
4243
  dark?: string | undefined;
4174
4244
  }>>;
4175
4245
  }, "strip", z.ZodTypeAny, {
4176
- decoration: "none" | "gradient" | "grid" | "windows";
4177
4246
  image?: string | {
4178
4247
  light: string;
4179
4248
  dark: string;
4180
4249
  } | undefined;
4250
+ decoration?: "gradient" | "grid" | "windows" | undefined;
4181
4251
  color?: {
4182
4252
  light?: string | undefined;
4183
4253
  dark?: string | undefined;
@@ -4187,7 +4257,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4187
4257
  light: string;
4188
4258
  dark: string;
4189
4259
  } | undefined;
4190
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
4260
+ decoration?: "gradient" | "grid" | "windows" | undefined;
4191
4261
  color?: {
4192
4262
  light?: string | undefined;
4193
4263
  dark?: string | undefined;
@@ -5585,17 +5655,21 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
5585
5655
  examples?: {
5586
5656
  languages?: string[] | undefined;
5587
5657
  } | undefined;
5658
+ mdx?: {
5659
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
5660
+ base?: string | string[] | undefined;
5661
+ } | undefined;
5588
5662
  } | undefined;
5589
5663
  appearance?: {
5590
5664
  strict: boolean;
5591
5665
  default: "light" | "dark" | "system";
5592
5666
  } | undefined;
5593
5667
  background?: {
5594
- decoration: "none" | "gradient" | "grid" | "windows";
5595
5668
  image?: string | {
5596
5669
  light: string;
5597
5670
  dark: string;
5598
5671
  } | undefined;
5672
+ decoration?: "gradient" | "grid" | "windows" | undefined;
5599
5673
  color?: {
5600
5674
  light?: string | undefined;
5601
5675
  dark?: string | undefined;
@@ -5961,6 +6035,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
5961
6035
  examples?: {
5962
6036
  languages?: string[] | undefined;
5963
6037
  } | undefined;
6038
+ mdx?: {
6039
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6040
+ base?: string | string[] | undefined;
6041
+ } | undefined;
5964
6042
  } | undefined;
5965
6043
  appearance?: {
5966
6044
  default?: "light" | "dark" | "system" | undefined;
@@ -5971,7 +6049,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
5971
6049
  light: string;
5972
6050
  dark: string;
5973
6051
  } | undefined;
5974
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
6052
+ decoration?: "gradient" | "grid" | "windows" | undefined;
5975
6053
  color?: {
5976
6054
  light?: string | undefined;
5977
6055
  dark?: string | undefined;
@@ -6155,6 +6233,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6155
6233
  }, {
6156
6234
  languages?: string[] | undefined;
6157
6235
  }>>;
6236
+ mdx: z.ZodOptional<z.ZodObject<{
6237
+ auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
6238
+ base: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
6239
+ }, "strip", z.ZodTypeAny, {
6240
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6241
+ base?: string | string[] | undefined;
6242
+ }, {
6243
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6244
+ base?: string | string[] | undefined;
6245
+ }>>;
6158
6246
  }, "strip", z.ZodTypeAny, {
6159
6247
  playground?: {
6160
6248
  display: "simple" | "none" | "interactive";
@@ -6163,6 +6251,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6163
6251
  examples?: {
6164
6252
  languages?: string[] | undefined;
6165
6253
  } | undefined;
6254
+ mdx?: {
6255
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6256
+ base?: string | string[] | undefined;
6257
+ } | undefined;
6166
6258
  }, {
6167
6259
  playground?: {
6168
6260
  display?: "simple" | "none" | "interactive" | undefined;
@@ -6171,6 +6263,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6171
6263
  examples?: {
6172
6264
  languages?: string[] | undefined;
6173
6265
  } | undefined;
6266
+ mdx?: {
6267
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6268
+ base?: string | string[] | undefined;
6269
+ } | undefined;
6174
6270
  }>>;
6175
6271
  appearance: z.ZodOptional<z.ZodObject<{
6176
6272
  default: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
@@ -6193,7 +6289,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6193
6289
  light: string;
6194
6290
  dark: string;
6195
6291
  }>]>>;
6196
- decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
6292
+ decoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
6197
6293
  color: z.ZodOptional<z.ZodObject<{
6198
6294
  light: z.ZodOptional<z.ZodString>;
6199
6295
  dark: z.ZodOptional<z.ZodString>;
@@ -6205,11 +6301,11 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6205
6301
  dark?: string | undefined;
6206
6302
  }>>;
6207
6303
  }, "strip", z.ZodTypeAny, {
6208
- decoration: "none" | "gradient" | "grid" | "windows";
6209
6304
  image?: string | {
6210
6305
  light: string;
6211
6306
  dark: string;
6212
6307
  } | undefined;
6308
+ decoration?: "gradient" | "grid" | "windows" | undefined;
6213
6309
  color?: {
6214
6310
  light?: string | undefined;
6215
6311
  dark?: string | undefined;
@@ -6219,7 +6315,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6219
6315
  light: string;
6220
6316
  dark: string;
6221
6317
  } | undefined;
6222
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
6318
+ decoration?: "gradient" | "grid" | "windows" | undefined;
6223
6319
  color?: {
6224
6320
  light?: string | undefined;
6225
6321
  dark?: string | undefined;
@@ -7617,17 +7713,21 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
7617
7713
  examples?: {
7618
7714
  languages?: string[] | undefined;
7619
7715
  } | undefined;
7716
+ mdx?: {
7717
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
7718
+ base?: string | string[] | undefined;
7719
+ } | undefined;
7620
7720
  } | undefined;
7621
7721
  appearance?: {
7622
7722
  strict: boolean;
7623
7723
  default: "light" | "dark" | "system";
7624
7724
  } | undefined;
7625
7725
  background?: {
7626
- decoration: "none" | "gradient" | "grid" | "windows";
7627
7726
  image?: string | {
7628
7727
  light: string;
7629
7728
  dark: string;
7630
7729
  } | undefined;
7730
+ decoration?: "gradient" | "grid" | "windows" | undefined;
7631
7731
  color?: {
7632
7732
  light?: string | undefined;
7633
7733
  dark?: string | undefined;
@@ -7993,6 +8093,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
7993
8093
  examples?: {
7994
8094
  languages?: string[] | undefined;
7995
8095
  } | undefined;
8096
+ mdx?: {
8097
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
8098
+ base?: string | string[] | undefined;
8099
+ } | undefined;
7996
8100
  } | undefined;
7997
8101
  appearance?: {
7998
8102
  default?: "light" | "dark" | "system" | undefined;
@@ -8003,7 +8107,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8003
8107
  light: string;
8004
8108
  dark: string;
8005
8109
  } | undefined;
8006
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
8110
+ decoration?: "gradient" | "grid" | "windows" | undefined;
8007
8111
  color?: {
8008
8112
  light?: string | undefined;
8009
8113
  dark?: string | undefined;
@@ -17,6 +17,16 @@ export declare const apiSchema: z.ZodObject<{
17
17
  }, {
18
18
  languages?: string[] | undefined;
19
19
  }>>;
20
+ mdx: z.ZodOptional<z.ZodObject<{
21
+ auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
22
+ base: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
25
+ base?: string | string[] | undefined;
26
+ }, {
27
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
28
+ base?: string | string[] | undefined;
29
+ }>>;
20
30
  }, "strip", z.ZodTypeAny, {
21
31
  playground?: {
22
32
  display: "simple" | "none" | "interactive";
@@ -25,6 +35,10 @@ export declare const apiSchema: z.ZodObject<{
25
35
  examples?: {
26
36
  languages?: string[] | undefined;
27
37
  } | undefined;
38
+ mdx?: {
39
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
40
+ base?: string | string[] | undefined;
41
+ } | undefined;
28
42
  }, {
29
43
  playground?: {
30
44
  display?: "simple" | "none" | "interactive" | undefined;
@@ -33,4 +47,8 @@ export declare const apiSchema: z.ZodObject<{
33
47
  examples?: {
34
48
  languages?: string[] | undefined;
35
49
  } | undefined;
50
+ mdx?: {
51
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
52
+ base?: string | string[] | undefined;
53
+ } | undefined;
36
54
  }>;
@@ -25,5 +25,18 @@ export const apiSchema = z
25
25
  })
26
26
  .optional()
27
27
  .describe('Configurations for the autogenerated API examples'),
28
+ mdx: z
29
+ .object({
30
+ auth: z
31
+ .enum(['bearer', 'basic', 'key', 'cobo'])
32
+ .optional()
33
+ .describe('Authentication method for the API'),
34
+ base: z
35
+ .union([z.string().url(), z.array(z.string().url())])
36
+ .optional()
37
+ .describe('Base URL(s) for the API'),
38
+ })
39
+ .optional()
40
+ .describe('Configurations for API pages generated from MDX files'),
28
41
  })
29
42
  .describe('API reference configuration and playground settings');
@@ -10,7 +10,7 @@ export declare const backgroundSchema: z.ZodObject<{
10
10
  light: string;
11
11
  dark: string;
12
12
  }>]>>;
13
- decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
13
+ decoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
14
14
  color: z.ZodOptional<z.ZodObject<{
15
15
  light: z.ZodOptional<z.ZodString>;
16
16
  dark: z.ZodOptional<z.ZodString>;
@@ -22,11 +22,11 @@ export declare const backgroundSchema: z.ZodObject<{
22
22
  dark?: string | undefined;
23
23
  }>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- decoration: "none" | "gradient" | "grid" | "windows";
26
25
  image?: string | {
27
26
  light: string;
28
27
  dark: string;
29
28
  } | undefined;
29
+ decoration?: "gradient" | "grid" | "windows" | undefined;
30
30
  color?: {
31
31
  light?: string | undefined;
32
32
  dark?: string | undefined;
@@ -36,7 +36,7 @@ export declare const backgroundSchema: z.ZodObject<{
36
36
  light: string;
37
37
  dark: string;
38
38
  } | undefined;
39
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
39
+ decoration?: "gradient" | "grid" | "windows" | undefined;
40
40
  color?: {
41
41
  light?: string | undefined;
42
42
  dark?: string | undefined;
@@ -13,8 +13,8 @@ export const backgroundSchema = z
13
13
  .optional()
14
14
  .describe('A fixed background image. Can be an absolute URL or relative path.'),
15
15
  decoration: z
16
- .enum(['gradient', 'grid', 'windows', 'none'])
17
- .default('none')
16
+ .enum(['gradient', 'grid', 'windows'])
17
+ .optional()
18
18
  .describe('The background decoration of the theme'),
19
19
  color: colorSchemaWithOptionalLightAndDark.optional().describe('The colors of the background'),
20
20
  })
@@ -58,6 +58,16 @@ export declare const mintConfigSchema: z.ZodObject<{
58
58
  }, {
59
59
  languages?: string[] | undefined;
60
60
  }>>;
61
+ mdx: z.ZodOptional<z.ZodObject<{
62
+ auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
63
+ base: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
66
+ base?: string | string[] | undefined;
67
+ }, {
68
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
69
+ base?: string | string[] | undefined;
70
+ }>>;
61
71
  }, "strip", z.ZodTypeAny, {
62
72
  playground?: {
63
73
  display: "simple" | "none" | "interactive";
@@ -66,6 +76,10 @@ export declare const mintConfigSchema: z.ZodObject<{
66
76
  examples?: {
67
77
  languages?: string[] | undefined;
68
78
  } | undefined;
79
+ mdx?: {
80
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
81
+ base?: string | string[] | undefined;
82
+ } | undefined;
69
83
  }, {
70
84
  playground?: {
71
85
  display?: "simple" | "none" | "interactive" | undefined;
@@ -74,6 +88,10 @@ export declare const mintConfigSchema: z.ZodObject<{
74
88
  examples?: {
75
89
  languages?: string[] | undefined;
76
90
  } | undefined;
91
+ mdx?: {
92
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
93
+ base?: string | string[] | undefined;
94
+ } | undefined;
77
95
  }>>;
78
96
  appearance: z.ZodOptional<z.ZodObject<{
79
97
  default: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
@@ -96,7 +114,7 @@ export declare const mintConfigSchema: z.ZodObject<{
96
114
  light: string;
97
115
  dark: string;
98
116
  }>]>>;
99
- decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
117
+ decoration: z.ZodOptional<z.ZodEnum<["gradient", "grid", "windows"]>>;
100
118
  color: z.ZodOptional<z.ZodObject<{
101
119
  light: z.ZodOptional<z.ZodString>;
102
120
  dark: z.ZodOptional<z.ZodString>;
@@ -108,11 +126,11 @@ export declare const mintConfigSchema: z.ZodObject<{
108
126
  dark?: string | undefined;
109
127
  }>>;
110
128
  }, "strip", z.ZodTypeAny, {
111
- decoration: "none" | "gradient" | "grid" | "windows";
112
129
  image?: string | {
113
130
  light: string;
114
131
  dark: string;
115
132
  } | undefined;
133
+ decoration?: "gradient" | "grid" | "windows" | undefined;
116
134
  color?: {
117
135
  light?: string | undefined;
118
136
  dark?: string | undefined;
@@ -122,7 +140,7 @@ export declare const mintConfigSchema: z.ZodObject<{
122
140
  light: string;
123
141
  dark: string;
124
142
  } | undefined;
125
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
143
+ decoration?: "gradient" | "grid" | "windows" | undefined;
126
144
  color?: {
127
145
  light?: string | undefined;
128
146
  dark?: string | undefined;
@@ -1520,17 +1538,21 @@ export declare const mintConfigSchema: z.ZodObject<{
1520
1538
  examples?: {
1521
1539
  languages?: string[] | undefined;
1522
1540
  } | undefined;
1541
+ mdx?: {
1542
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1543
+ base?: string | string[] | undefined;
1544
+ } | undefined;
1523
1545
  } | undefined;
1524
1546
  appearance?: {
1525
1547
  strict: boolean;
1526
1548
  default: "light" | "dark" | "system";
1527
1549
  } | undefined;
1528
1550
  background?: {
1529
- decoration: "none" | "gradient" | "grid" | "windows";
1530
1551
  image?: string | {
1531
1552
  light: string;
1532
1553
  dark: string;
1533
1554
  } | undefined;
1555
+ decoration?: "gradient" | "grid" | "windows" | undefined;
1534
1556
  color?: {
1535
1557
  light?: string | undefined;
1536
1558
  dark?: string | undefined;
@@ -1896,6 +1918,10 @@ export declare const mintConfigSchema: z.ZodObject<{
1896
1918
  examples?: {
1897
1919
  languages?: string[] | undefined;
1898
1920
  } | undefined;
1921
+ mdx?: {
1922
+ auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1923
+ base?: string | string[] | undefined;
1924
+ } | undefined;
1899
1925
  } | undefined;
1900
1926
  appearance?: {
1901
1927
  default?: "light" | "dark" | "system" | undefined;
@@ -1906,7 +1932,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1906
1932
  light: string;
1907
1933
  dark: string;
1908
1934
  } | undefined;
1909
- decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
1935
+ decoration?: "gradient" | "grid" | "windows" | undefined;
1910
1936
  color?: {
1911
1937
  light?: string | undefined;
1912
1938
  dark?: string | undefined;