@mintlify/validation 0.1.940 → 0.1.942

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.
Files changed (28) hide show
  1. package/dist/editor-navigation/types.d.ts +1 -1
  2. package/dist/mint-config/schemas/v2/index.d.ts +24 -48
  3. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +4 -4
  4. package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +2 -2
  5. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +4 -4
  6. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +8 -26
  7. package/dist/mint-config/schemas/v2/properties/navigation/groups.js +3 -3
  8. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +32 -80
  9. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +4 -4
  10. package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +4 -4
  11. package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +8 -20
  12. package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +4 -4
  13. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +2 -2
  14. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +4 -4
  15. package/dist/mint-config/schemas/v2/themes/almond.d.ts +24 -48
  16. package/dist/mint-config/schemas/v2/themes/aspen.d.ts +24 -48
  17. package/dist/mint-config/schemas/v2/themes/linden.d.ts +24 -48
  18. package/dist/mint-config/schemas/v2/themes/luma.d.ts +24 -48
  19. package/dist/mint-config/schemas/v2/themes/maple.d.ts +24 -48
  20. package/dist/mint-config/schemas/v2/themes/mint.d.ts +24 -48
  21. package/dist/mint-config/schemas/v2/themes/palm.d.ts +24 -48
  22. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +16 -32
  23. package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +24 -48
  24. package/dist/mint-config/schemas/v2/themes/willow.d.ts +24 -48
  25. package/dist/mint-config/validateConfig.d.ts +73 -144
  26. package/dist/mint-config/validateConfig.js +17 -0
  27. package/dist/tsconfig.build.tsbuildinfo +1 -1
  28. package/package.json +2 -2
@@ -89,7 +89,6 @@ export declare const baseMenuItemSchema: z.ZodObject<{
89
89
  description?: string | undefined;
90
90
  graphql?: undefined;
91
91
  hidden?: boolean | undefined;
92
- sdk?: undefined;
93
92
  thumbnail?: {
94
93
  background?: string | undefined;
95
94
  eyebrow?: string | undefined;
@@ -97,6 +96,7 @@ export declare const baseMenuItemSchema: z.ZodObject<{
97
96
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
98
97
  surface?: "neutral" | "brand" | undefined;
99
98
  } | undefined;
99
+ sdk?: undefined;
100
100
  }, {
101
101
  item: string;
102
102
  icon?: string | {
@@ -108,7 +108,6 @@ export declare const baseMenuItemSchema: z.ZodObject<{
108
108
  description?: string | undefined;
109
109
  graphql?: undefined;
110
110
  hidden?: boolean | undefined;
111
- sdk?: undefined;
112
111
  thumbnail?: {
113
112
  background?: string | undefined;
114
113
  eyebrow?: string | undefined;
@@ -116,6 +115,7 @@ export declare const baseMenuItemSchema: z.ZodObject<{
116
115
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
117
116
  surface?: "neutral" | "brand" | undefined;
118
117
  } | undefined;
118
+ sdk?: undefined;
119
119
  }>;
120
120
  export type BaseMenuItemSchema = z.infer<typeof baseMenuItemSchema>;
121
121
  export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
@@ -210,7 +210,6 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
210
210
  description?: string | undefined;
211
211
  graphql?: undefined;
212
212
  hidden?: boolean | undefined;
213
- sdk?: undefined;
214
213
  thumbnail?: {
215
214
  background?: string | undefined;
216
215
  eyebrow?: string | undefined;
@@ -218,6 +217,7 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
218
217
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
219
218
  surface?: "neutral" | "brand" | undefined;
220
219
  } | undefined;
220
+ sdk?: undefined;
221
221
  }, {
222
222
  href: string;
223
223
  item: string;
@@ -230,7 +230,6 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
230
230
  description?: string | undefined;
231
231
  graphql?: undefined;
232
232
  hidden?: boolean | undefined;
233
- sdk?: undefined;
234
233
  thumbnail?: {
235
234
  background?: string | undefined;
236
235
  eyebrow?: string | undefined;
@@ -238,6 +237,7 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
238
237
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
239
238
  surface?: "neutral" | "brand" | undefined;
240
239
  } | undefined;
240
+ sdk?: undefined;
241
241
  }>;
242
242
  export declare const menuItemSchema: z.ZodType<MenuItemNavigation<'default'>>;
243
243
  export declare const decoratedMenuItemSchema: z.ZodType<MenuItemNavigation<'decorated'>>;
@@ -9,7 +9,7 @@ export type NavigationLinkConfig = {
9
9
  export declare const navigationLinkSchema: z.ZodType<NavigationLinkConfig>;
10
10
  export declare const pageOrGroupSchema: z.ZodType<PageOrGroupNavigation<'default'>>;
11
11
  export declare const decoratedPageOrGroupSchema: z.ZodType<PageOrGroupNavigation<'decorated'>>;
12
- export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkConfig | (Omit<{
12
+ export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkConfig | ({
13
13
  group: string;
14
14
  icon?: string | {
15
15
  name: string;
@@ -19,12 +19,10 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkCo
19
19
  expanded?: boolean | undefined;
20
20
  public?: boolean | undefined;
21
21
  directory?: "none" | "card" | "accordion" | undefined;
22
- graphql?: undefined;
23
22
  tag?: string | undefined;
24
23
  searchable?: boolean | undefined;
25
24
  boost?: number | undefined;
26
25
  hidden?: boolean | undefined;
27
- sdk?: undefined;
28
26
  root?: string | undefined;
29
27
  thumbnail?: {
30
28
  background?: string | undefined;
@@ -33,7 +31,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkCo
33
31
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
34
32
  surface?: "neutral" | "brand" | undefined;
35
33
  } | undefined;
36
- }, "graphql" | "sdk"> & {
34
+ } & {
37
35
  openapi?: string | {
38
36
  source: string;
39
37
  directory?: string | undefined;
@@ -51,7 +49,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkCo
51
49
  sdk?: z.infer<typeof import("../index.js").sdkSchema>;
52
50
  graphql?: z.infer<typeof import("../index.js").graphqlSchema>;
53
51
  pages?: PageOrGroupNavigation<"default">[];
54
- }), z.ZodTypeDef, string | NavigationLinkConfig | (Omit<{
52
+ }), z.ZodTypeDef, string | NavigationLinkConfig | ({
55
53
  group: string;
56
54
  icon?: string | {
57
55
  name: string;
@@ -61,12 +59,10 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkCo
61
59
  expanded?: boolean | undefined;
62
60
  public?: boolean | undefined;
63
61
  directory?: "none" | "card" | "accordion" | undefined;
64
- graphql?: undefined;
65
62
  tag?: string | undefined;
66
63
  searchable?: boolean | undefined;
67
64
  boost?: number | undefined;
68
65
  hidden?: boolean | undefined;
69
- sdk?: undefined;
70
66
  root?: string | undefined;
71
67
  thumbnail?: {
72
68
  background?: string | undefined;
@@ -75,7 +71,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | NavigationLinkCo
75
71
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
76
72
  surface?: "neutral" | "brand" | undefined;
77
73
  } | undefined;
78
- }, "graphql" | "sdk"> & {
74
+ } & {
79
75
  openapi?: string | {
80
76
  source: string;
81
77
  directory?: string | undefined;
@@ -318,12 +314,10 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
318
314
  expanded?: boolean | undefined;
319
315
  public?: boolean | undefined;
320
316
  directory?: "none" | "card" | "accordion" | undefined;
321
- graphql?: undefined;
322
317
  tag?: string | undefined;
323
318
  searchable?: boolean | undefined;
324
319
  boost?: number | undefined;
325
320
  hidden?: boolean | undefined;
326
- sdk?: undefined;
327
321
  root?: string | undefined;
328
322
  thumbnail?: {
329
323
  background?: string | undefined;
@@ -332,7 +326,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
332
326
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
333
327
  surface?: "neutral" | "brand" | undefined;
334
328
  } | undefined;
335
- }, "sdk" | "root"> & {
329
+ }, "root"> & {
336
330
  pages: (z.objectInputType<{
337
331
  href: z.ZodString;
338
332
  title: z.ZodString;
@@ -557,12 +551,10 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
557
551
  expanded?: boolean | undefined;
558
552
  public?: boolean | undefined;
559
553
  directory?: "none" | "card" | "accordion" | undefined;
560
- graphql?: undefined;
561
554
  tag?: string | undefined;
562
555
  searchable?: boolean | undefined;
563
556
  boost?: number | undefined;
564
557
  hidden?: boolean | undefined;
565
- sdk?: undefined;
566
558
  root?: string | undefined;
567
559
  thumbnail?: {
568
560
  background?: string | undefined;
@@ -571,7 +563,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
571
563
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
572
564
  surface?: "neutral" | "brand" | undefined;
573
565
  } | undefined;
574
- }, "sdk" | "root"> & /*elided*/ any))[];
566
+ }, "root"> & /*elided*/ any))[];
575
567
  root?: z.objectInputType<{
576
568
  href: z.ZodString;
577
569
  title: z.ZodString;
@@ -1011,12 +1003,10 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
1011
1003
  expanded?: boolean | undefined;
1012
1004
  public?: boolean | undefined;
1013
1005
  directory?: "none" | "card" | "accordion" | undefined;
1014
- graphql?: undefined;
1015
1006
  tag?: string | undefined;
1016
1007
  searchable?: boolean | undefined;
1017
1008
  boost?: number | undefined;
1018
1009
  hidden?: boolean | undefined;
1019
- sdk?: undefined;
1020
1010
  root?: string | undefined;
1021
1011
  thumbnail?: {
1022
1012
  background?: string | undefined;
@@ -1025,7 +1015,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
1025
1015
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
1026
1016
  surface?: "neutral" | "brand" | undefined;
1027
1017
  } | undefined;
1028
- }, "sdk" | "root"> & {
1018
+ }, "root"> & {
1029
1019
  pages: (z.objectInputType<{
1030
1020
  href: z.ZodString;
1031
1021
  title: z.ZodString;
@@ -1250,12 +1240,10 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
1250
1240
  expanded?: boolean | undefined;
1251
1241
  public?: boolean | undefined;
1252
1242
  directory?: "none" | "card" | "accordion" | undefined;
1253
- graphql?: undefined;
1254
1243
  tag?: string | undefined;
1255
1244
  searchable?: boolean | undefined;
1256
1245
  boost?: number | undefined;
1257
1246
  hidden?: boolean | undefined;
1258
- sdk?: undefined;
1259
1247
  root?: string | undefined;
1260
1248
  thumbnail?: {
1261
1249
  background?: string | undefined;
@@ -1264,7 +1252,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputTyp
1264
1252
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
1265
1253
  surface?: "neutral" | "brand" | undefined;
1266
1254
  } | undefined;
1267
- }, "sdk" | "root"> & /*elided*/ any))[];
1255
+ }, "root"> & /*elided*/ any))[];
1268
1256
  root?: z.objectInputType<{
1269
1257
  href: z.ZodString;
1270
1258
  title: z.ZodString;
@@ -105,7 +105,6 @@ export declare const baseProductSchema: z.ZodObject<{
105
105
  description?: string | undefined;
106
106
  graphql?: undefined;
107
107
  hidden?: boolean | undefined;
108
- sdk?: undefined;
109
108
  thumbnail?: {
110
109
  background?: string | undefined;
111
110
  eyebrow?: string | undefined;
@@ -113,6 +112,7 @@ export declare const baseProductSchema: z.ZodObject<{
113
112
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
114
113
  surface?: "neutral" | "brand" | undefined;
115
114
  } | undefined;
115
+ sdk?: undefined;
116
116
  }, {
117
117
  product: string;
118
118
  name?: string | undefined;
@@ -129,7 +129,6 @@ export declare const baseProductSchema: z.ZodObject<{
129
129
  description?: string | undefined;
130
130
  graphql?: undefined;
131
131
  hidden?: boolean | undefined;
132
- sdk?: undefined;
133
132
  thumbnail?: {
134
133
  background?: string | undefined;
135
134
  eyebrow?: string | undefined;
@@ -137,6 +136,7 @@ export declare const baseProductSchema: z.ZodObject<{
137
136
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
138
137
  surface?: "neutral" | "brand" | undefined;
139
138
  } | undefined;
139
+ sdk?: undefined;
140
140
  }>;
141
141
  export declare const productSchema: z.ZodType<ProductNavigation<'default'>>;
142
142
  export declare const decoratedProductSchema: z.ZodType<ProductNavigation<'decorated'>>;
@@ -251,7 +251,6 @@ export declare const nonRecursiveProductSchema: z.ZodObject<{
251
251
  description?: string | undefined;
252
252
  graphql?: undefined;
253
253
  hidden?: boolean | undefined;
254
- sdk?: undefined;
255
254
  thumbnail?: {
256
255
  background?: string | undefined;
257
256
  eyebrow?: string | undefined;
@@ -259,6 +258,7 @@ export declare const nonRecursiveProductSchema: z.ZodObject<{
259
258
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
260
259
  surface?: "neutral" | "brand" | undefined;
261
260
  } | undefined;
261
+ sdk?: undefined;
262
262
  }, {
263
263
  href: string;
264
264
  product: string;
@@ -276,7 +276,6 @@ export declare const nonRecursiveProductSchema: z.ZodObject<{
276
276
  description?: string | undefined;
277
277
  graphql?: undefined;
278
278
  hidden?: boolean | undefined;
279
- sdk?: undefined;
280
279
  thumbnail?: {
281
280
  background?: string | undefined;
282
281
  eyebrow?: string | undefined;
@@ -284,6 +283,7 @@ export declare const nonRecursiveProductSchema: z.ZodObject<{
284
283
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
285
284
  surface?: "neutral" | "brand" | undefined;
286
285
  } | undefined;
286
+ sdk?: undefined;
287
287
  }>;
288
288
  export type ProductConfig = z.infer<typeof productSchema>;
289
289
  export type ProductsConfig = z.infer<typeof productsSchema>;
@@ -210,7 +210,6 @@ export declare const nonRecursiveTabSchema: z.ZodObject<{
210
210
  graphql?: undefined;
211
211
  searchable?: boolean | undefined;
212
212
  hidden?: boolean | undefined;
213
- sdk?: undefined;
214
213
  thumbnail?: {
215
214
  background?: string | undefined;
216
215
  eyebrow?: string | undefined;
@@ -218,6 +217,7 @@ export declare const nonRecursiveTabSchema: z.ZodObject<{
218
217
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
219
218
  surface?: "neutral" | "brand" | undefined;
220
219
  } | undefined;
220
+ sdk?: undefined;
221
221
  align?: "start" | "end" | undefined;
222
222
  }, {
223
223
  href: string;
@@ -231,7 +231,6 @@ export declare const nonRecursiveTabSchema: z.ZodObject<{
231
231
  graphql?: undefined;
232
232
  searchable?: boolean | undefined;
233
233
  hidden?: boolean | undefined;
234
- sdk?: undefined;
235
234
  thumbnail?: {
236
235
  background?: string | undefined;
237
236
  eyebrow?: string | undefined;
@@ -239,6 +238,7 @@ export declare const nonRecursiveTabSchema: z.ZodObject<{
239
238
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
240
239
  surface?: "neutral" | "brand" | undefined;
241
240
  } | undefined;
241
+ sdk?: undefined;
242
242
  align?: "start" | "end" | undefined;
243
243
  }>;
244
244
  export declare const tabSchema: z.ZodType<TabNavigation<'default'>>;
@@ -73,7 +73,6 @@ export declare const baseVersionSchema: z.ZodObject<{
73
73
  graphql?: undefined;
74
74
  tag?: string | undefined;
75
75
  hidden?: boolean | undefined;
76
- sdk?: undefined;
77
76
  thumbnail?: {
78
77
  background?: string | undefined;
79
78
  eyebrow?: string | undefined;
@@ -81,6 +80,7 @@ export declare const baseVersionSchema: z.ZodObject<{
81
80
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
82
81
  surface?: "neutral" | "brand" | undefined;
83
82
  } | undefined;
83
+ sdk?: undefined;
84
84
  }, {
85
85
  version: string;
86
86
  default?: boolean | undefined;
@@ -88,7 +88,6 @@ export declare const baseVersionSchema: z.ZodObject<{
88
88
  graphql?: undefined;
89
89
  tag?: string | undefined;
90
90
  hidden?: boolean | undefined;
91
- sdk?: undefined;
92
91
  thumbnail?: {
93
92
  background?: string | undefined;
94
93
  eyebrow?: string | undefined;
@@ -96,6 +95,7 @@ export declare const baseVersionSchema: z.ZodObject<{
96
95
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
97
96
  surface?: "neutral" | "brand" | undefined;
98
97
  } | undefined;
98
+ sdk?: undefined;
99
99
  }>;
100
100
  export type BaseVersionSchema = z.infer<typeof baseVersionSchema>;
101
101
  export declare const nonRecursiveVersionSchema: z.ZodObject<{
@@ -174,7 +174,6 @@ export declare const nonRecursiveVersionSchema: z.ZodObject<{
174
174
  graphql?: undefined;
175
175
  tag?: string | undefined;
176
176
  hidden?: boolean | undefined;
177
- sdk?: undefined;
178
177
  thumbnail?: {
179
178
  background?: string | undefined;
180
179
  eyebrow?: string | undefined;
@@ -182,6 +181,7 @@ export declare const nonRecursiveVersionSchema: z.ZodObject<{
182
181
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
183
182
  surface?: "neutral" | "brand" | undefined;
184
183
  } | undefined;
184
+ sdk?: undefined;
185
185
  }, {
186
186
  version: string;
187
187
  href: string;
@@ -190,7 +190,6 @@ export declare const nonRecursiveVersionSchema: z.ZodObject<{
190
190
  graphql?: undefined;
191
191
  tag?: string | undefined;
192
192
  hidden?: boolean | undefined;
193
- sdk?: undefined;
194
193
  thumbnail?: {
195
194
  background?: string | undefined;
196
195
  eyebrow?: string | undefined;
@@ -198,6 +197,7 @@ export declare const nonRecursiveVersionSchema: z.ZodObject<{
198
197
  appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
199
198
  surface?: "neutral" | "brand" | undefined;
200
199
  } | undefined;
200
+ sdk?: undefined;
201
201
  }>;
202
202
  export declare const versionSchema: z.ZodType<VersionNavigation<'default'>>;
203
203
  export declare const decoratedVersionSchema: z.ZodType<VersionNavigation<'decorated'>>;