@mintlify/validation 0.1.942 → 0.1.943

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 (41) hide show
  1. package/dist/editor-navigation/conversion/common.d.ts +2 -2
  2. package/dist/editor-navigation/conversion/common.js +7 -1
  3. package/dist/editor-navigation/conversion/docsjson-to-tree.js +3 -0
  4. package/dist/index.js +2 -0
  5. package/dist/mint-config/schemas/v2/index.d.ts +88 -0
  6. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +6 -0
  7. package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +2 -1
  8. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +6 -0
  9. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +2 -1
  10. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +42 -0
  11. package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -1
  12. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +120 -0
  13. package/dist/mint-config/schemas/v2/properties/navigation/index.js +2 -1
  14. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +6 -0
  15. package/dist/mint-config/schemas/v2/properties/navigation/languages.js +2 -1
  16. package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +6 -0
  17. package/dist/mint-config/schemas/v2/properties/navigation/menu.js +2 -1
  18. package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +24 -0
  19. package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +6 -0
  20. package/dist/mint-config/schemas/v2/properties/navigation/products.js +2 -1
  21. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +21 -0
  22. package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +29 -4
  23. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +6 -0
  24. package/dist/mint-config/schemas/v2/properties/navigation/version.js +2 -1
  25. package/dist/mint-config/schemas/v2/properties/reusable/index.d.ts +1 -0
  26. package/dist/mint-config/schemas/v2/properties/reusable/index.js +1 -0
  27. package/dist/mint-config/schemas/v2/properties/reusable/mcp.d.ts +24 -0
  28. package/dist/mint-config/schemas/v2/properties/reusable/mcp.js +21 -0
  29. package/dist/mint-config/schemas/v2/themes/almond.d.ts +88 -0
  30. package/dist/mint-config/schemas/v2/themes/aspen.d.ts +88 -0
  31. package/dist/mint-config/schemas/v2/themes/linden.d.ts +88 -0
  32. package/dist/mint-config/schemas/v2/themes/luma.d.ts +88 -0
  33. package/dist/mint-config/schemas/v2/themes/maple.d.ts +88 -0
  34. package/dist/mint-config/schemas/v2/themes/mint.d.ts +88 -0
  35. package/dist/mint-config/schemas/v2/themes/palm.d.ts +88 -0
  36. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +56 -0
  37. package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +88 -0
  38. package/dist/mint-config/schemas/v2/themes/willow.d.ts +88 -0
  39. package/dist/mint-config/validateConfig.d.ts +288 -0
  40. package/dist/tsconfig.build.tsbuildinfo +1 -1
  41. package/package.json +2 -2
@@ -69,6 +69,16 @@ export declare const baseGroupSchema: z.ZodObject<{
69
69
  }>>;
70
70
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
71
71
  group: z.ZodString;
72
+ mcp: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodObject<{
73
+ source: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
74
+ directory: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
75
+ }, "strict", z.ZodTypeAny, {
76
+ source: string;
77
+ directory?: string | undefined;
78
+ }, {
79
+ source: string;
80
+ directory?: string | undefined;
81
+ }>]>>;
72
82
  public: z.ZodOptional<z.ZodBoolean>;
73
83
  boost: z.ZodOptional<z.ZodNumber>;
74
84
  icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
@@ -99,6 +109,10 @@ export declare const baseGroupSchema: z.ZodObject<{
99
109
  expanded?: boolean | undefined;
100
110
  public?: boolean | undefined;
101
111
  directory?: "none" | "card" | "accordion" | undefined;
112
+ mcp?: string | {
113
+ source: string;
114
+ directory?: string | undefined;
115
+ } | undefined;
102
116
  tag?: string | undefined;
103
117
  searchable?: boolean | undefined;
104
118
  boost?: number | undefined;
@@ -121,6 +135,10 @@ export declare const baseGroupSchema: z.ZodObject<{
121
135
  expanded?: boolean | undefined;
122
136
  public?: boolean | undefined;
123
137
  directory?: "none" | "card" | "accordion" | undefined;
138
+ mcp?: string | {
139
+ source: string;
140
+ directory?: string | undefined;
141
+ } | undefined;
124
142
  tag?: string | undefined;
125
143
  searchable?: boolean | undefined;
126
144
  boost?: number | undefined;
@@ -147,6 +165,10 @@ export declare const groupsSchema: z.ZodArray<z.ZodType<{
147
165
  expanded?: boolean | undefined;
148
166
  public?: boolean | undefined;
149
167
  directory?: "none" | "card" | "accordion" | undefined;
168
+ mcp?: string | {
169
+ source: string;
170
+ directory?: string | undefined;
171
+ } | undefined;
150
172
  tag?: string | undefined;
151
173
  searchable?: boolean | undefined;
152
174
  boost?: number | undefined;
@@ -187,6 +209,10 @@ export declare const groupsSchema: z.ZodArray<z.ZodType<{
187
209
  expanded?: boolean | undefined;
188
210
  public?: boolean | undefined;
189
211
  directory?: "none" | "card" | "accordion" | undefined;
212
+ mcp?: string | {
213
+ source: string;
214
+ directory?: string | undefined;
215
+ } | undefined;
190
216
  tag?: string | undefined;
191
217
  searchable?: boolean | undefined;
192
218
  boost?: number | undefined;
@@ -228,6 +254,10 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodType<Omit<{
228
254
  expanded?: boolean | undefined;
229
255
  public?: boolean | undefined;
230
256
  directory?: "none" | "card" | "accordion" | undefined;
257
+ mcp?: string | {
258
+ source: string;
259
+ directory?: string | undefined;
260
+ } | undefined;
231
261
  tag?: string | undefined;
232
262
  searchable?: boolean | undefined;
233
263
  boost?: number | undefined;
@@ -465,6 +495,10 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodType<Omit<{
465
495
  expanded?: boolean | undefined;
466
496
  public?: boolean | undefined;
467
497
  directory?: "none" | "card" | "accordion" | undefined;
498
+ mcp?: string | {
499
+ source: string;
500
+ directory?: string | undefined;
501
+ } | undefined;
468
502
  tag?: string | undefined;
469
503
  searchable?: boolean | undefined;
470
504
  boost?: number | undefined;
@@ -703,6 +737,10 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodType<Omit<{
703
737
  expanded?: boolean | undefined;
704
738
  public?: boolean | undefined;
705
739
  directory?: "none" | "card" | "accordion" | undefined;
740
+ mcp?: string | {
741
+ source: string;
742
+ directory?: string | undefined;
743
+ } | undefined;
706
744
  tag?: string | undefined;
707
745
  searchable?: boolean | undefined;
708
746
  boost?: number | undefined;
@@ -940,6 +978,10 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodType<Omit<{
940
978
  expanded?: boolean | undefined;
941
979
  public?: boolean | undefined;
942
980
  directory?: "none" | "card" | "accordion" | undefined;
981
+ mcp?: string | {
982
+ source: string;
983
+ directory?: string | undefined;
984
+ } | undefined;
943
985
  tag?: string | undefined;
944
986
  searchable?: boolean | undefined;
945
987
  boost?: number | undefined;
@@ -14,6 +14,7 @@ import { asyncApiSchema } from '../reusable/asyncapi.js';
14
14
  import { graphqlSchema } from '../reusable/graphql.js';
15
15
  import { hiddenSchema } from '../reusable/hidden.js';
16
16
  import { iconSchema } from '../reusable/icon.js';
17
+ import { mcpSchema } from '../reusable/mcp.js';
17
18
  import { openApiSchema } from '../reusable/openapi.js';
18
19
  import { decoratedPageSchema, pageSchema } from '../reusable/page.js';
19
20
  import { sdkSchema } from '../reusable/sdk.js';
@@ -28,7 +29,7 @@ export const directoryField = {
28
29
  .optional()
29
30
  .describe('Directory layout for this navigation node and its descendants. "accordion" and "card" show automatic directory UI on eligible root pages; "none" disables it. Inherits recursively; descendants can override.'),
30
31
  };
31
- export const baseGroupSchema = z.object(Object.assign(Object.assign({ group: z.string().nonempty().describe('The name of the group'), public: z.boolean().optional().describe('Whether the group is public'), boost: z
32
+ export const baseGroupSchema = z.object(Object.assign(Object.assign({ group: z.string().nonempty().describe('The name of the group'), mcp: mcpSchema.optional(), public: z.boolean().optional().describe('Whether the group is public'), boost: z
32
33
  .number()
33
34
  .optional()
34
35
  .describe('Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)'), icon: iconSchema.optional(), hidden: hiddenSchema.optional(), searchable: searchableSchema.optional(), root: pageSchema.optional(), tag: z.string().optional().describe('Tag for the group'), expanded: z.boolean().optional().describe('Whether the group is expanded by default') }, directoryField), thumbnailField));
@@ -12,18 +12,21 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
12
12
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
13
13
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
14
14
  graphql: z.ZodOptional<z.ZodNever>;
15
+ mcp: z.ZodOptional<z.ZodNever>;
15
16
  sdk: z.ZodOptional<z.ZodNever>;
16
17
  } & {
17
18
  products: z.ZodArray<z.ZodType<ProductNavigation<"default">, z.ZodTypeDef, ProductNavigation<"default">>, "many">;
18
19
  }, "strip", z.ZodTypeAny, {
19
20
  products: ProductNavigation<"default">[];
20
21
  directory?: "none" | "card" | "accordion" | undefined;
22
+ mcp?: undefined;
21
23
  graphql?: undefined;
22
24
  sdk?: undefined;
23
25
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
24
26
  }, {
25
27
  products: ProductNavigation<"default">[];
26
28
  directory?: "none" | "card" | "accordion" | undefined;
29
+ mcp?: undefined;
27
30
  graphql?: undefined;
28
31
  sdk?: undefined;
29
32
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -31,18 +34,21 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
31
34
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
32
35
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
33
36
  graphql: z.ZodOptional<z.ZodNever>;
37
+ mcp: z.ZodOptional<z.ZodNever>;
34
38
  sdk: z.ZodOptional<z.ZodNever>;
35
39
  } & {
36
40
  languages: z.ZodArray<z.ZodType<LanguageNavigation<"default">, z.ZodTypeDef, LanguageNavigation<"default">>, "many">;
37
41
  }, "strip", z.ZodTypeAny, {
38
42
  languages: LanguageNavigation<"default">[];
39
43
  directory?: "none" | "card" | "accordion" | undefined;
44
+ mcp?: undefined;
40
45
  graphql?: undefined;
41
46
  sdk?: undefined;
42
47
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
43
48
  }, {
44
49
  languages: LanguageNavigation<"default">[];
45
50
  directory?: "none" | "card" | "accordion" | undefined;
51
+ mcp?: undefined;
46
52
  graphql?: undefined;
47
53
  sdk?: undefined;
48
54
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -50,18 +56,21 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
50
56
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
51
57
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
52
58
  graphql: z.ZodOptional<z.ZodNever>;
59
+ mcp: z.ZodOptional<z.ZodNever>;
53
60
  sdk: z.ZodOptional<z.ZodNever>;
54
61
  } & {
55
62
  versions: z.ZodArray<z.ZodType<VersionNavigation<"default">, z.ZodTypeDef, VersionNavigation<"default">>, "many">;
56
63
  }, "strip", z.ZodTypeAny, {
57
64
  versions: VersionNavigation<"default">[];
58
65
  directory?: "none" | "card" | "accordion" | undefined;
66
+ mcp?: undefined;
59
67
  graphql?: undefined;
60
68
  sdk?: undefined;
61
69
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
62
70
  }, {
63
71
  versions: VersionNavigation<"default">[];
64
72
  directory?: "none" | "card" | "accordion" | undefined;
73
+ mcp?: undefined;
65
74
  graphql?: undefined;
66
75
  sdk?: undefined;
67
76
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -69,18 +78,21 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
69
78
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
70
79
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
71
80
  graphql: z.ZodOptional<z.ZodNever>;
81
+ mcp: z.ZodOptional<z.ZodNever>;
72
82
  sdk: z.ZodOptional<z.ZodNever>;
73
83
  } & {
74
84
  tabs: z.ZodArray<z.ZodType<TabNavigation<"default">, z.ZodTypeDef, TabNavigation<"default">>, "many">;
75
85
  }, "strip", z.ZodTypeAny, {
76
86
  tabs: TabNavigation<"default">[];
77
87
  directory?: "none" | "card" | "accordion" | undefined;
88
+ mcp?: undefined;
78
89
  graphql?: undefined;
79
90
  sdk?: undefined;
80
91
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
81
92
  }, {
82
93
  tabs: TabNavigation<"default">[];
83
94
  directory?: "none" | "card" | "accordion" | undefined;
95
+ mcp?: undefined;
84
96
  graphql?: undefined;
85
97
  sdk?: undefined;
86
98
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -88,18 +100,21 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
88
100
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
89
101
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
90
102
  graphql: z.ZodOptional<z.ZodNever>;
103
+ mcp: z.ZodOptional<z.ZodNever>;
91
104
  sdk: z.ZodOptional<z.ZodNever>;
92
105
  } & {
93
106
  dropdowns: z.ZodArray<z.ZodType<DropdownNavigation<"default">, z.ZodTypeDef, DropdownNavigation<"default">>, "many">;
94
107
  }, "strip", z.ZodTypeAny, {
95
108
  dropdowns: DropdownNavigation<"default">[];
96
109
  directory?: "none" | "card" | "accordion" | undefined;
110
+ mcp?: undefined;
97
111
  graphql?: undefined;
98
112
  sdk?: undefined;
99
113
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
100
114
  }, {
101
115
  dropdowns: DropdownNavigation<"default">[];
102
116
  directory?: "none" | "card" | "accordion" | undefined;
117
+ mcp?: undefined;
103
118
  graphql?: undefined;
104
119
  sdk?: undefined;
105
120
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -107,18 +122,21 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
107
122
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
108
123
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
109
124
  graphql: z.ZodOptional<z.ZodNever>;
125
+ mcp: z.ZodOptional<z.ZodNever>;
110
126
  sdk: z.ZodOptional<z.ZodNever>;
111
127
  } & {
112
128
  anchors: z.ZodArray<z.ZodType<AnchorNavigation<"default">, z.ZodTypeDef, AnchorNavigation<"default">>, "many">;
113
129
  }, "strip", z.ZodTypeAny, {
114
130
  anchors: AnchorNavigation<"default">[];
115
131
  directory?: "none" | "card" | "accordion" | undefined;
132
+ mcp?: undefined;
116
133
  graphql?: undefined;
117
134
  sdk?: undefined;
118
135
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
119
136
  }, {
120
137
  anchors: AnchorNavigation<"default">[];
121
138
  directory?: "none" | "card" | "accordion" | undefined;
139
+ mcp?: undefined;
122
140
  graphql?: undefined;
123
141
  sdk?: undefined;
124
142
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -126,6 +144,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
126
144
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
127
145
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
128
146
  graphql: z.ZodOptional<z.ZodNever>;
147
+ mcp: z.ZodOptional<z.ZodNever>;
129
148
  sdk: z.ZodOptional<z.ZodNever>;
130
149
  } & {
131
150
  groups: z.ZodArray<z.ZodType<{
@@ -138,6 +157,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
138
157
  expanded?: boolean | undefined;
139
158
  public?: boolean | undefined;
140
159
  directory?: "none" | "card" | "accordion" | undefined;
160
+ mcp?: string | {
161
+ source: string;
162
+ directory?: string | undefined;
163
+ } | undefined;
141
164
  tag?: string | undefined;
142
165
  searchable?: boolean | undefined;
143
166
  boost?: number | undefined;
@@ -178,6 +201,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
178
201
  expanded?: boolean | undefined;
179
202
  public?: boolean | undefined;
180
203
  directory?: "none" | "card" | "accordion" | undefined;
204
+ mcp?: string | {
205
+ source: string;
206
+ directory?: string | undefined;
207
+ } | undefined;
181
208
  tag?: string | undefined;
182
209
  searchable?: boolean | undefined;
183
210
  boost?: number | undefined;
@@ -220,6 +247,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
220
247
  expanded?: boolean | undefined;
221
248
  public?: boolean | undefined;
222
249
  directory?: "none" | "card" | "accordion" | undefined;
250
+ mcp?: string | {
251
+ source: string;
252
+ directory?: string | undefined;
253
+ } | undefined;
223
254
  tag?: string | undefined;
224
255
  searchable?: boolean | undefined;
225
256
  boost?: number | undefined;
@@ -252,6 +283,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
252
283
  pages?: PageOrGroupNavigation<"default">[];
253
284
  })[];
254
285
  directory?: "none" | "card" | "accordion" | undefined;
286
+ mcp?: undefined;
255
287
  graphql?: undefined;
256
288
  sdk?: undefined;
257
289
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -266,6 +298,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
266
298
  expanded?: boolean | undefined;
267
299
  public?: boolean | undefined;
268
300
  directory?: "none" | "card" | "accordion" | undefined;
301
+ mcp?: string | {
302
+ source: string;
303
+ directory?: string | undefined;
304
+ } | undefined;
269
305
  tag?: string | undefined;
270
306
  searchable?: boolean | undefined;
271
307
  boost?: number | undefined;
@@ -298,6 +334,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
298
334
  pages?: PageOrGroupNavigation<"default">[];
299
335
  })[];
300
336
  directory?: "none" | "card" | "accordion" | undefined;
337
+ mcp?: undefined;
301
338
  graphql?: undefined;
302
339
  sdk?: undefined;
303
340
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -305,6 +342,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
305
342
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
306
343
  global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
307
344
  graphql: z.ZodOptional<z.ZodNever>;
345
+ mcp: z.ZodOptional<z.ZodNever>;
308
346
  sdk: z.ZodOptional<z.ZodNever>;
309
347
  } & {
310
348
  pages: z.ZodArray<z.ZodType<string | import("./pages.js").NavigationLinkConfig | ({
@@ -317,6 +355,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
317
355
  expanded?: boolean | undefined;
318
356
  public?: boolean | undefined;
319
357
  directory?: "none" | "card" | "accordion" | undefined;
358
+ mcp?: string | {
359
+ source: string;
360
+ directory?: string | undefined;
361
+ } | undefined;
320
362
  tag?: string | undefined;
321
363
  searchable?: boolean | undefined;
322
364
  boost?: number | undefined;
@@ -357,6 +399,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
357
399
  expanded?: boolean | undefined;
358
400
  public?: boolean | undefined;
359
401
  directory?: "none" | "card" | "accordion" | undefined;
402
+ mcp?: string | {
403
+ source: string;
404
+ directory?: string | undefined;
405
+ } | undefined;
360
406
  tag?: string | undefined;
361
407
  searchable?: boolean | undefined;
362
408
  boost?: number | undefined;
@@ -399,6 +445,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
399
445
  expanded?: boolean | undefined;
400
446
  public?: boolean | undefined;
401
447
  directory?: "none" | "card" | "accordion" | undefined;
448
+ mcp?: string | {
449
+ source: string;
450
+ directory?: string | undefined;
451
+ } | undefined;
402
452
  tag?: string | undefined;
403
453
  searchable?: boolean | undefined;
404
454
  boost?: number | undefined;
@@ -431,6 +481,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
431
481
  pages?: PageOrGroupNavigation<"default">[];
432
482
  }))[];
433
483
  directory?: "none" | "card" | "accordion" | undefined;
484
+ mcp?: undefined;
434
485
  graphql?: undefined;
435
486
  sdk?: undefined;
436
487
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -445,6 +496,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
445
496
  expanded?: boolean | undefined;
446
497
  public?: boolean | undefined;
447
498
  directory?: "none" | "card" | "accordion" | undefined;
499
+ mcp?: string | {
500
+ source: string;
501
+ directory?: string | undefined;
502
+ } | undefined;
448
503
  tag?: string | undefined;
449
504
  searchable?: boolean | undefined;
450
505
  boost?: number | undefined;
@@ -477,6 +532,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
477
532
  pages?: PageOrGroupNavigation<"default">[];
478
533
  }))[];
479
534
  directory?: "none" | "card" | "accordion" | undefined;
535
+ mcp?: undefined;
480
536
  graphql?: undefined;
481
537
  sdk?: undefined;
482
538
  global?: import("./divisionNav.js").GlobalNavigation | undefined;
@@ -528,6 +584,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
528
584
  expanded?: boolean | undefined;
529
585
  public?: boolean | undefined;
530
586
  directory?: "none" | "card" | "accordion" | undefined;
587
+ mcp?: string | {
588
+ source: string;
589
+ directory?: string | undefined;
590
+ } | undefined;
531
591
  tag?: string | undefined;
532
592
  searchable?: boolean | undefined;
533
593
  boost?: number | undefined;
@@ -765,6 +825,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
765
825
  expanded?: boolean | undefined;
766
826
  public?: boolean | undefined;
767
827
  directory?: "none" | "card" | "accordion" | undefined;
828
+ mcp?: string | {
829
+ source: string;
830
+ directory?: string | undefined;
831
+ } | undefined;
768
832
  tag?: string | undefined;
769
833
  searchable?: boolean | undefined;
770
834
  boost?: number | undefined;
@@ -1003,6 +1067,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
1003
1067
  expanded?: boolean | undefined;
1004
1068
  public?: boolean | undefined;
1005
1069
  directory?: "none" | "card" | "accordion" | undefined;
1070
+ mcp?: string | {
1071
+ source: string;
1072
+ directory?: string | undefined;
1073
+ } | undefined;
1006
1074
  tag?: string | undefined;
1007
1075
  searchable?: boolean | undefined;
1008
1076
  boost?: number | undefined;
@@ -1240,6 +1308,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
1240
1308
  expanded?: boolean | undefined;
1241
1309
  public?: boolean | undefined;
1242
1310
  directory?: "none" | "card" | "accordion" | undefined;
1311
+ mcp?: string | {
1312
+ source: string;
1313
+ directory?: string | undefined;
1314
+ } | undefined;
1243
1315
  tag?: string | undefined;
1244
1316
  searchable?: boolean | undefined;
1245
1317
  boost?: number | undefined;
@@ -1480,6 +1552,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
1480
1552
  expanded?: boolean | undefined;
1481
1553
  public?: boolean | undefined;
1482
1554
  directory?: "none" | "card" | "accordion" | undefined;
1555
+ mcp?: string | {
1556
+ source: string;
1557
+ directory?: string | undefined;
1558
+ } | undefined;
1483
1559
  tag?: string | undefined;
1484
1560
  searchable?: boolean | undefined;
1485
1561
  boost?: number | undefined;
@@ -1717,6 +1793,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
1717
1793
  expanded?: boolean | undefined;
1718
1794
  public?: boolean | undefined;
1719
1795
  directory?: "none" | "card" | "accordion" | undefined;
1796
+ mcp?: string | {
1797
+ source: string;
1798
+ directory?: string | undefined;
1799
+ } | undefined;
1720
1800
  tag?: string | undefined;
1721
1801
  searchable?: boolean | undefined;
1722
1802
  boost?: number | undefined;
@@ -1957,6 +2037,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
1957
2037
  expanded?: boolean | undefined;
1958
2038
  public?: boolean | undefined;
1959
2039
  directory?: "none" | "card" | "accordion" | undefined;
2040
+ mcp?: string | {
2041
+ source: string;
2042
+ directory?: string | undefined;
2043
+ } | undefined;
1960
2044
  tag?: string | undefined;
1961
2045
  searchable?: boolean | undefined;
1962
2046
  boost?: number | undefined;
@@ -2194,6 +2278,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
2194
2278
  expanded?: boolean | undefined;
2195
2279
  public?: boolean | undefined;
2196
2280
  directory?: "none" | "card" | "accordion" | undefined;
2281
+ mcp?: string | {
2282
+ source: string;
2283
+ directory?: string | undefined;
2284
+ } | undefined;
2197
2285
  tag?: string | undefined;
2198
2286
  searchable?: boolean | undefined;
2199
2287
  boost?: number | undefined;
@@ -2648,6 +2736,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
2648
2736
  expanded?: boolean | undefined;
2649
2737
  public?: boolean | undefined;
2650
2738
  directory?: "none" | "card" | "accordion" | undefined;
2739
+ mcp?: string | {
2740
+ source: string;
2741
+ directory?: string | undefined;
2742
+ } | undefined;
2651
2743
  tag?: string | undefined;
2652
2744
  searchable?: boolean | undefined;
2653
2745
  boost?: number | undefined;
@@ -2885,6 +2977,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
2885
2977
  expanded?: boolean | undefined;
2886
2978
  public?: boolean | undefined;
2887
2979
  directory?: "none" | "card" | "accordion" | undefined;
2980
+ mcp?: string | {
2981
+ source: string;
2982
+ directory?: string | undefined;
2983
+ } | undefined;
2888
2984
  tag?: string | undefined;
2889
2985
  searchable?: boolean | undefined;
2890
2986
  boost?: number | undefined;
@@ -3337,6 +3433,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
3337
3433
  expanded?: boolean | undefined;
3338
3434
  public?: boolean | undefined;
3339
3435
  directory?: "none" | "card" | "accordion" | undefined;
3436
+ mcp?: string | {
3437
+ source: string;
3438
+ directory?: string | undefined;
3439
+ } | undefined;
3340
3440
  tag?: string | undefined;
3341
3441
  searchable?: boolean | undefined;
3342
3442
  boost?: number | undefined;
@@ -3574,6 +3674,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
3574
3674
  expanded?: boolean | undefined;
3575
3675
  public?: boolean | undefined;
3576
3676
  directory?: "none" | "card" | "accordion" | undefined;
3677
+ mcp?: string | {
3678
+ source: string;
3679
+ directory?: string | undefined;
3680
+ } | undefined;
3577
3681
  tag?: string | undefined;
3578
3682
  searchable?: boolean | undefined;
3579
3683
  boost?: number | undefined;
@@ -4028,6 +4132,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
4028
4132
  expanded?: boolean | undefined;
4029
4133
  public?: boolean | undefined;
4030
4134
  directory?: "none" | "card" | "accordion" | undefined;
4135
+ mcp?: string | {
4136
+ source: string;
4137
+ directory?: string | undefined;
4138
+ } | undefined;
4031
4139
  tag?: string | undefined;
4032
4140
  searchable?: boolean | undefined;
4033
4141
  boost?: number | undefined;
@@ -4265,6 +4373,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
4265
4373
  expanded?: boolean | undefined;
4266
4374
  public?: boolean | undefined;
4267
4375
  directory?: "none" | "card" | "accordion" | undefined;
4376
+ mcp?: string | {
4377
+ source: string;
4378
+ directory?: string | undefined;
4379
+ } | undefined;
4268
4380
  tag?: string | undefined;
4269
4381
  searchable?: boolean | undefined;
4270
4382
  boost?: number | undefined;
@@ -4719,6 +4831,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
4719
4831
  expanded?: boolean | undefined;
4720
4832
  public?: boolean | undefined;
4721
4833
  directory?: "none" | "card" | "accordion" | undefined;
4834
+ mcp?: string | {
4835
+ source: string;
4836
+ directory?: string | undefined;
4837
+ } | undefined;
4722
4838
  tag?: string | undefined;
4723
4839
  searchable?: boolean | undefined;
4724
4840
  boost?: number | undefined;
@@ -4956,6 +5072,10 @@ export declare const decoratedNavigationSchema: z.ZodIntersection<z.ZodUnion<[z.
4956
5072
  expanded?: boolean | undefined;
4957
5073
  public?: boolean | undefined;
4958
5074
  directory?: "none" | "card" | "accordion" | undefined;
5075
+ mcp?: string | {
5076
+ source: string;
5077
+ directory?: string | undefined;
5078
+ } | undefined;
4959
5079
  tag?: string | undefined;
4960
5080
  searchable?: boolean | undefined;
4961
5081
  boost?: number | undefined;
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { graphqlNotSupportedSchema } from '../reusable/graphql.js';
3
+ import { mcpNotSupportedSchema } from '../reusable/mcp.js';
3
4
  import { sdkNotSupportedSchema } from '../reusable/sdk.js';
4
5
  import { anchorsSchema, decoratedAnchorsSchema, } from './anchors.js';
5
6
  import { decoratedDropdownsSchema, dropdownsSchema, } from './dropdown.js';
@@ -10,7 +11,7 @@ import { decoratedPagesSchema, pagesSchema } from './pages.js';
10
11
  import { decoratedProductsSchema, productsSchema, } from './products.js';
11
12
  import { decoratedTabsSchema, tabsSchema, } from './tabs.js';
12
13
  import { decoratedVersionsSchema, versionsSchema, } from './version.js';
13
- const baseNavigationSchema = z.object(Object.assign({ global: globalSchema.optional(), graphql: graphqlNotSupportedSchema, sdk: sdkNotSupportedSchema }, directoryField));
14
+ const baseNavigationSchema = z.object(Object.assign({ global: globalSchema.optional(), graphql: graphqlNotSupportedSchema, mcp: mcpNotSupportedSchema, sdk: sdkNotSupportedSchema }, directoryField));
14
15
  export const navigationSchema = z
15
16
  .union([
16
17
  baseNavigationSchema.extend({ products: productsSchema }),
@@ -62,6 +62,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
62
62
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
63
63
  language: z.ZodUnion<[z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "zh-CN", "zh-TW", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "ja-JP", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "da", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca", "fi", "hu"]>, z.ZodIntersection<z.ZodString, z.ZodType<import("@mintlify/models").LocaleType, z.ZodTypeDef, import("@mintlify/models").LocaleType>>]>;
64
64
  graphql: z.ZodOptional<z.ZodNever>;
65
+ mcp: z.ZodOptional<z.ZodNever>;
65
66
  sdk: z.ZodOptional<z.ZodNever>;
66
67
  default: z.ZodOptional<z.ZodBoolean>;
67
68
  banner: z.ZodOptional<z.ZodObject<{
@@ -388,6 +389,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
388
389
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
389
390
  } | undefined;
390
391
  directory?: "none" | "card" | "accordion" | undefined;
392
+ mcp?: undefined;
391
393
  graphql?: undefined;
392
394
  hidden?: boolean | undefined;
393
395
  thumbnail?: {
@@ -464,6 +466,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
464
466
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
465
467
  } | undefined;
466
468
  directory?: "none" | "card" | "accordion" | undefined;
469
+ mcp?: undefined;
467
470
  graphql?: undefined;
468
471
  hidden?: boolean | undefined;
469
472
  thumbnail?: {
@@ -590,6 +593,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<{
590
593
  directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
591
594
  language: z.ZodUnion<[z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "zh-CN", "zh-TW", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "ja-JP", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "da", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca", "fi", "hu"]>, z.ZodIntersection<z.ZodString, z.ZodType<import("@mintlify/models").LocaleType, z.ZodTypeDef, import("@mintlify/models").LocaleType>>]>;
592
595
  graphql: z.ZodOptional<z.ZodNever>;
596
+ mcp: z.ZodOptional<z.ZodNever>;
593
597
  sdk: z.ZodOptional<z.ZodNever>;
594
598
  default: z.ZodOptional<z.ZodBoolean>;
595
599
  banner: z.ZodOptional<z.ZodObject<{
@@ -919,6 +923,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<{
919
923
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
920
924
  } | undefined;
921
925
  directory?: "none" | "card" | "accordion" | undefined;
926
+ mcp?: undefined;
922
927
  graphql?: undefined;
923
928
  hidden?: boolean | undefined;
924
929
  thumbnail?: {
@@ -996,6 +1001,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<{
996
1001
  socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
997
1002
  } | undefined;
998
1003
  directory?: "none" | "card" | "accordion" | undefined;
1004
+ mcp?: undefined;
999
1005
  graphql?: undefined;
1000
1006
  hidden?: boolean | undefined;
1001
1007
  thumbnail?: {
@@ -7,6 +7,7 @@ import { asyncApiSchema } from '../reusable/asyncapi.js';
7
7
  import { graphqlNotSupportedSchema } from '../reusable/graphql.js';
8
8
  import { hiddenSchema } from '../reusable/hidden.js';
9
9
  import { hrefSchema } from '../reusable/href.js';
10
+ import { mcpNotSupportedSchema } from '../reusable/mcp.js';
10
11
  import { openApiSchema } from '../reusable/openapi.js';
11
12
  import { sdkNotSupportedSchema } from '../reusable/sdk.js';
12
13
  import { thumbnailField } from '../thumbnails.js';
@@ -18,7 +19,7 @@ import { decoratedPagesSchema, pagesSchema } from './pages.js';
18
19
  import { decoratedProductsSchema, productsSchema } from './products.js';
19
20
  import { decoratedTabsSchema, tabsSchema } from './tabs.js';
20
21
  import { decoratedVersionsSchema, versionsSchema } from './version.js';
21
- export const baseLanguageSchema = z.object(Object.assign(Object.assign({ language: localeSchema, graphql: graphqlNotSupportedSchema, sdk: sdkNotSupportedSchema, default: z.boolean().optional().describe('Whether this language is the default language'), banner: bannerSchema.optional().describe('Banner configuration specific to this language'), footer: footerSchema.optional().describe('Footer configuration specific to this language'), navbar: navbarSchema.optional().describe('Navbar configuration specific to this language'), hidden: hiddenSchema.optional() }, directoryField), thumbnailField));
22
+ export const baseLanguageSchema = z.object(Object.assign(Object.assign({ language: localeSchema, graphql: graphqlNotSupportedSchema, mcp: mcpNotSupportedSchema, sdk: sdkNotSupportedSchema, default: z.boolean().optional().describe('Whether this language is the default language'), banner: bannerSchema.optional().describe('Banner configuration specific to this language'), footer: footerSchema.optional().describe('Footer configuration specific to this language'), navbar: navbarSchema.optional().describe('Navbar configuration specific to this language'), hidden: hiddenSchema.optional() }, directoryField), thumbnailField));
22
23
  export const nonRecursiveLanguageSchema = baseLanguageSchema.extend({ href: hrefSchema });
23
24
  export const languageSchema = z
24
25
  .union([