@mintlify/validation 0.1.785 → 0.1.787

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.
@@ -56,7 +56,7 @@ export declare const pagesSchema: z.ZodArray<z.ZodType<string | ({
56
56
  } & {
57
57
  pages?: PageOrGroupNavigation<"default">[];
58
58
  })>, "many">;
59
- export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputType<{
59
+ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectInputType<{
60
60
  href: z.ZodString;
61
61
  title: z.ZodString;
62
62
  sidebarTitle: z.ZodOptional<z.ZodString>;
@@ -107,6 +107,147 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
107
107
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
108
108
  timestamp: z.ZodOptional<z.ZodBoolean>;
109
109
  related: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>]>, "many">]>>;
110
+ contextual: z.ZodOptional<z.ZodObject<{
111
+ options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "assistant", "view", "download-pdf", "download-spec", "chatgpt", "claude", "perplexity", "grok", "aistudio", "devin", "windsurf", "mcp", "add-mcp", "cursor", "vscode", "devin-mcp"]>, z.ZodObject<{
112
+ title: z.ZodString;
113
+ description: z.ZodString;
114
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
115
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
116
+ name: z.ZodEffects<z.ZodString, string, string>;
117
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ name: string;
120
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
121
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
122
+ }, {
123
+ name: string;
124
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
125
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
126
+ }>]>>;
127
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
128
+ base: z.ZodString;
129
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
130
+ key: z.ZodString;
131
+ value: z.ZodString;
132
+ }, "strip", z.ZodTypeAny, {
133
+ value: string;
134
+ key: string;
135
+ }, {
136
+ value: string;
137
+ key: string;
138
+ }>, "many">>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ base: string;
141
+ query?: {
142
+ value: string;
143
+ key: string;
144
+ }[] | undefined;
145
+ }, {
146
+ base: string;
147
+ query?: {
148
+ value: string;
149
+ key: string;
150
+ }[] | undefined;
151
+ }>]>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ href: string | {
154
+ base: string;
155
+ query?: {
156
+ value: string;
157
+ key: string;
158
+ }[] | undefined;
159
+ };
160
+ title: string;
161
+ description: string;
162
+ icon?: string | {
163
+ name: string;
164
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
165
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
166
+ } | undefined;
167
+ }, {
168
+ href: string | {
169
+ base: string;
170
+ query?: {
171
+ value: string;
172
+ key: string;
173
+ }[] | undefined;
174
+ };
175
+ title: string;
176
+ description: string;
177
+ icon?: string | {
178
+ name: string;
179
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
180
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
181
+ } | undefined;
182
+ }>]>, "many">, ({
183
+ href: string | {
184
+ base: string;
185
+ query?: {
186
+ value: string;
187
+ key: string;
188
+ }[] | undefined;
189
+ };
190
+ title: string;
191
+ description: string;
192
+ icon?: string | {
193
+ name: string;
194
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
195
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
196
+ } | undefined;
197
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
198
+ href: string | {
199
+ base: string;
200
+ query?: {
201
+ value: string;
202
+ key: string;
203
+ }[] | undefined;
204
+ };
205
+ title: string;
206
+ description: string;
207
+ icon?: string | {
208
+ name: string;
209
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
210
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
211
+ } | undefined;
212
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
213
+ display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ options: ({
216
+ href: string | {
217
+ base: string;
218
+ query?: {
219
+ value: string;
220
+ key: string;
221
+ }[] | undefined;
222
+ };
223
+ title: string;
224
+ description: string;
225
+ icon?: string | {
226
+ name: string;
227
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
228
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
229
+ } | undefined;
230
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
231
+ display: "header" | "toc";
232
+ }, {
233
+ options: ({
234
+ href: string | {
235
+ base: string;
236
+ query?: {
237
+ value: string;
238
+ key: string;
239
+ }[] | undefined;
240
+ };
241
+ title: string;
242
+ description: string;
243
+ icon?: string | {
244
+ name: string;
245
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
246
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
247
+ } | undefined;
248
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
249
+ display?: "header" | "toc" | undefined;
250
+ }>>;
110
251
  }, z.ZodTypeAny, "passthrough"> | (Omit<{
111
252
  group: string;
112
253
  icon?: string | {
@@ -125,7 +266,7 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
125
266
  }, "root"> & {
126
267
  pages: PageOrGroupNavigation<"decorated">[];
127
268
  root?: import("../reusable/page.js").DecoratedPageConfig;
128
- }), z.ZodTypeDef, z.objectOutputType<{
269
+ }), z.ZodTypeDef, z.objectInputType<{
129
270
  href: z.ZodString;
130
271
  title: z.ZodString;
131
272
  sidebarTitle: z.ZodOptional<z.ZodString>;
@@ -176,6 +317,147 @@ export declare const decoratedPagesSchema: z.ZodArray<z.ZodType<z.objectOutputTy
176
317
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
318
  timestamp: z.ZodOptional<z.ZodBoolean>;
178
319
  related: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>]>, "many">]>>;
320
+ contextual: z.ZodOptional<z.ZodObject<{
321
+ options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "assistant", "view", "download-pdf", "download-spec", "chatgpt", "claude", "perplexity", "grok", "aistudio", "devin", "windsurf", "mcp", "add-mcp", "cursor", "vscode", "devin-mcp"]>, z.ZodObject<{
322
+ title: z.ZodString;
323
+ description: z.ZodString;
324
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
325
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
326
+ name: z.ZodEffects<z.ZodString, string, string>;
327
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ name: string;
330
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
331
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
332
+ }, {
333
+ name: string;
334
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
335
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
336
+ }>]>>;
337
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
338
+ base: z.ZodString;
339
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
340
+ key: z.ZodString;
341
+ value: z.ZodString;
342
+ }, "strip", z.ZodTypeAny, {
343
+ value: string;
344
+ key: string;
345
+ }, {
346
+ value: string;
347
+ key: string;
348
+ }>, "many">>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ base: string;
351
+ query?: {
352
+ value: string;
353
+ key: string;
354
+ }[] | undefined;
355
+ }, {
356
+ base: string;
357
+ query?: {
358
+ value: string;
359
+ key: string;
360
+ }[] | undefined;
361
+ }>]>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ href: string | {
364
+ base: string;
365
+ query?: {
366
+ value: string;
367
+ key: string;
368
+ }[] | undefined;
369
+ };
370
+ title: string;
371
+ description: string;
372
+ icon?: string | {
373
+ name: string;
374
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
375
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
376
+ } | undefined;
377
+ }, {
378
+ href: string | {
379
+ base: string;
380
+ query?: {
381
+ value: string;
382
+ key: string;
383
+ }[] | undefined;
384
+ };
385
+ title: string;
386
+ description: string;
387
+ icon?: string | {
388
+ name: string;
389
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
390
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
391
+ } | undefined;
392
+ }>]>, "many">, ({
393
+ href: string | {
394
+ base: string;
395
+ query?: {
396
+ value: string;
397
+ key: string;
398
+ }[] | undefined;
399
+ };
400
+ title: string;
401
+ description: string;
402
+ icon?: string | {
403
+ name: string;
404
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
405
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
406
+ } | undefined;
407
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
408
+ href: string | {
409
+ base: string;
410
+ query?: {
411
+ value: string;
412
+ key: string;
413
+ }[] | undefined;
414
+ };
415
+ title: string;
416
+ description: string;
417
+ icon?: string | {
418
+ name: string;
419
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
420
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
421
+ } | undefined;
422
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
423
+ display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ options: ({
426
+ href: string | {
427
+ base: string;
428
+ query?: {
429
+ value: string;
430
+ key: string;
431
+ }[] | undefined;
432
+ };
433
+ title: string;
434
+ description: string;
435
+ icon?: string | {
436
+ name: string;
437
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
438
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
439
+ } | undefined;
440
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
441
+ display: "header" | "toc";
442
+ }, {
443
+ options: ({
444
+ href: string | {
445
+ base: string;
446
+ query?: {
447
+ value: string;
448
+ key: string;
449
+ }[] | undefined;
450
+ };
451
+ title: string;
452
+ description: string;
453
+ icon?: string | {
454
+ name: string;
455
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
456
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
457
+ } | undefined;
458
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
459
+ display?: "header" | "toc" | undefined;
460
+ }>>;
179
461
  }, z.ZodTypeAny, "passthrough"> | (Omit<{
180
462
  group: string;
181
463
  icon?: string | {