@mintlify/validation 0.1.786 → 0.1.788

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.
@@ -51,6 +51,147 @@ export declare const decoratedPageSchema: z.ZodObject<{
51
51
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
52
  timestamp: z.ZodOptional<z.ZodBoolean>;
53
53
  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">]>>;
54
+ contextual: z.ZodOptional<z.ZodObject<{
55
+ 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<{
56
+ title: z.ZodString;
57
+ description: z.ZodString;
58
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
59
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
60
+ name: z.ZodEffects<z.ZodString, string, string>;
61
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ name: string;
64
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
65
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
66
+ }, {
67
+ name: string;
68
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
69
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
70
+ }>]>>;
71
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
72
+ base: z.ZodString;
73
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ key: z.ZodString;
75
+ value: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ value: string;
78
+ key: string;
79
+ }, {
80
+ value: string;
81
+ key: string;
82
+ }>, "many">>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ base: string;
85
+ query?: {
86
+ value: string;
87
+ key: string;
88
+ }[] | undefined;
89
+ }, {
90
+ base: string;
91
+ query?: {
92
+ value: string;
93
+ key: string;
94
+ }[] | undefined;
95
+ }>]>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ href: string | {
98
+ base: string;
99
+ query?: {
100
+ value: string;
101
+ key: string;
102
+ }[] | undefined;
103
+ };
104
+ title: string;
105
+ description: string;
106
+ icon?: string | {
107
+ name: string;
108
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
109
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
110
+ } | undefined;
111
+ }, {
112
+ href: string | {
113
+ base: string;
114
+ query?: {
115
+ value: string;
116
+ key: string;
117
+ }[] | undefined;
118
+ };
119
+ title: string;
120
+ description: string;
121
+ icon?: string | {
122
+ name: string;
123
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
124
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
125
+ } | undefined;
126
+ }>]>, "many">, ({
127
+ href: string | {
128
+ base: string;
129
+ query?: {
130
+ value: string;
131
+ key: string;
132
+ }[] | undefined;
133
+ };
134
+ title: string;
135
+ description: string;
136
+ icon?: string | {
137
+ name: string;
138
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
139
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
140
+ } | undefined;
141
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
142
+ href: string | {
143
+ base: string;
144
+ query?: {
145
+ value: string;
146
+ key: string;
147
+ }[] | undefined;
148
+ };
149
+ title: string;
150
+ description: string;
151
+ icon?: string | {
152
+ name: string;
153
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
154
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
155
+ } | undefined;
156
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
157
+ display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ options: ({
160
+ href: string | {
161
+ base: string;
162
+ query?: {
163
+ value: string;
164
+ key: string;
165
+ }[] | undefined;
166
+ };
167
+ title: string;
168
+ description: string;
169
+ icon?: string | {
170
+ name: string;
171
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
172
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
173
+ } | undefined;
174
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
175
+ display: "header" | "toc";
176
+ }, {
177
+ options: ({
178
+ href: string | {
179
+ base: string;
180
+ query?: {
181
+ value: string;
182
+ key: string;
183
+ }[] | undefined;
184
+ };
185
+ title: string;
186
+ description: string;
187
+ icon?: string | {
188
+ name: string;
189
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
190
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
191
+ } | undefined;
192
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
193
+ display?: "header" | "toc" | undefined;
194
+ }>>;
54
195
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
55
196
  href: z.ZodString;
56
197
  title: z.ZodString;
@@ -102,6 +243,147 @@ export declare const decoratedPageSchema: z.ZodObject<{
102
243
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
103
244
  timestamp: z.ZodOptional<z.ZodBoolean>;
104
245
  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">]>>;
246
+ contextual: z.ZodOptional<z.ZodObject<{
247
+ 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<{
248
+ title: z.ZodString;
249
+ description: z.ZodString;
250
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
251
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
252
+ name: z.ZodEffects<z.ZodString, string, string>;
253
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ name: string;
256
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
257
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
258
+ }, {
259
+ name: string;
260
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
261
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
262
+ }>]>>;
263
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
264
+ base: z.ZodString;
265
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
266
+ key: z.ZodString;
267
+ value: z.ZodString;
268
+ }, "strip", z.ZodTypeAny, {
269
+ value: string;
270
+ key: string;
271
+ }, {
272
+ value: string;
273
+ key: string;
274
+ }>, "many">>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ base: string;
277
+ query?: {
278
+ value: string;
279
+ key: string;
280
+ }[] | undefined;
281
+ }, {
282
+ base: string;
283
+ query?: {
284
+ value: string;
285
+ key: string;
286
+ }[] | undefined;
287
+ }>]>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ href: string | {
290
+ base: string;
291
+ query?: {
292
+ value: string;
293
+ key: string;
294
+ }[] | undefined;
295
+ };
296
+ title: string;
297
+ description: string;
298
+ icon?: string | {
299
+ name: string;
300
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
301
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
302
+ } | undefined;
303
+ }, {
304
+ href: string | {
305
+ base: string;
306
+ query?: {
307
+ value: string;
308
+ key: string;
309
+ }[] | undefined;
310
+ };
311
+ title: string;
312
+ description: string;
313
+ icon?: string | {
314
+ name: string;
315
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
316
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
317
+ } | undefined;
318
+ }>]>, "many">, ({
319
+ href: string | {
320
+ base: string;
321
+ query?: {
322
+ value: string;
323
+ key: string;
324
+ }[] | undefined;
325
+ };
326
+ title: string;
327
+ description: string;
328
+ icon?: string | {
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
+ } | undefined;
333
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
334
+ href: string | {
335
+ base: string;
336
+ query?: {
337
+ value: string;
338
+ key: string;
339
+ }[] | undefined;
340
+ };
341
+ title: string;
342
+ description: string;
343
+ icon?: string | {
344
+ name: string;
345
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
346
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
347
+ } | undefined;
348
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
349
+ display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ options: ({
352
+ href: string | {
353
+ base: string;
354
+ query?: {
355
+ value: string;
356
+ key: string;
357
+ }[] | undefined;
358
+ };
359
+ title: string;
360
+ description: string;
361
+ icon?: string | {
362
+ name: string;
363
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
364
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
365
+ } | undefined;
366
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
367
+ display: "header" | "toc";
368
+ }, {
369
+ options: ({
370
+ href: string | {
371
+ base: string;
372
+ query?: {
373
+ value: string;
374
+ key: string;
375
+ }[] | undefined;
376
+ };
377
+ title: string;
378
+ description: string;
379
+ icon?: string | {
380
+ name: string;
381
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
382
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
383
+ } | undefined;
384
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
385
+ display?: "header" | "toc" | undefined;
386
+ }>>;
105
387
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
106
388
  href: z.ZodString;
107
389
  title: z.ZodString;
@@ -153,5 +435,146 @@ export declare const decoratedPageSchema: z.ZodObject<{
153
435
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
436
  timestamp: z.ZodOptional<z.ZodBoolean>;
155
437
  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">]>>;
438
+ contextual: z.ZodOptional<z.ZodObject<{
439
+ 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<{
440
+ title: z.ZodString;
441
+ description: z.ZodString;
442
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
443
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
444
+ name: z.ZodEffects<z.ZodString, string, string>;
445
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide", "tabler"]>>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ name: string;
448
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
449
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
450
+ }, {
451
+ name: string;
452
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
453
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
454
+ }>]>>;
455
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
456
+ base: z.ZodString;
457
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
+ key: z.ZodString;
459
+ value: z.ZodString;
460
+ }, "strip", z.ZodTypeAny, {
461
+ value: string;
462
+ key: string;
463
+ }, {
464
+ value: string;
465
+ key: string;
466
+ }>, "many">>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ base: string;
469
+ query?: {
470
+ value: string;
471
+ key: string;
472
+ }[] | undefined;
473
+ }, {
474
+ base: string;
475
+ query?: {
476
+ value: string;
477
+ key: string;
478
+ }[] | undefined;
479
+ }>]>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ href: string | {
482
+ base: string;
483
+ query?: {
484
+ value: string;
485
+ key: string;
486
+ }[] | undefined;
487
+ };
488
+ title: string;
489
+ description: string;
490
+ icon?: string | {
491
+ name: string;
492
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
493
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
494
+ } | undefined;
495
+ }, {
496
+ href: string | {
497
+ base: string;
498
+ query?: {
499
+ value: string;
500
+ key: string;
501
+ }[] | undefined;
502
+ };
503
+ title: string;
504
+ description: string;
505
+ icon?: string | {
506
+ name: string;
507
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
508
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
509
+ } | undefined;
510
+ }>]>, "many">, ({
511
+ href: string | {
512
+ base: string;
513
+ query?: {
514
+ value: string;
515
+ key: string;
516
+ }[] | undefined;
517
+ };
518
+ title: string;
519
+ description: string;
520
+ icon?: string | {
521
+ name: string;
522
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
523
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
524
+ } | undefined;
525
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
526
+ href: string | {
527
+ base: string;
528
+ query?: {
529
+ value: string;
530
+ key: string;
531
+ }[] | undefined;
532
+ };
533
+ title: string;
534
+ description: string;
535
+ icon?: string | {
536
+ name: string;
537
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
538
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
539
+ } | undefined;
540
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
541
+ display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ options: ({
544
+ href: string | {
545
+ base: string;
546
+ query?: {
547
+ value: string;
548
+ key: string;
549
+ }[] | undefined;
550
+ };
551
+ title: string;
552
+ description: string;
553
+ icon?: string | {
554
+ name: string;
555
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
556
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
557
+ } | undefined;
558
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
559
+ display: "header" | "toc";
560
+ }, {
561
+ options: ({
562
+ href: string | {
563
+ base: string;
564
+ query?: {
565
+ value: string;
566
+ key: string;
567
+ }[] | undefined;
568
+ };
569
+ title: string;
570
+ description: string;
571
+ icon?: string | {
572
+ name: string;
573
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
574
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
575
+ } | undefined;
576
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
577
+ display?: "header" | "toc" | undefined;
578
+ }>>;
156
579
  }, z.ZodTypeAny, "passthrough">>;
157
- export type DecoratedPageConfig = z.infer<typeof decoratedPageSchema>;
580
+ export type DecoratedPageConfig = z.input<typeof decoratedPageSchema>;
@@ -1,6 +1,7 @@
1
1
  import { apiPlaygroundDisplayTypes, iconTypes } from '@mintlify/models';
2
2
  import { z } from 'zod';
3
3
  import { normalizeRelativePath } from '../../../../transforms/normalizeRelativePath.js';
4
+ import { contextualSchema } from '../contextual.js';
4
5
  import { iconSchema } from './icon.js';
5
6
  const relatedFrontmatterEntrySchema = z.union([
6
7
  z.string(),
@@ -57,6 +58,7 @@ export const decoratedPageSchema = z
57
58
  keywords: z.array(z.string()).optional(),
58
59
  timestamp: z.boolean().optional(),
59
60
  related: relatedFrontmatterSchema.optional(),
61
+ contextual: contextualSchema.optional(),
60
62
  })
61
63
  .passthrough()
62
64
  .describe('page metadata tags in the navigation');
@@ -1554,7 +1554,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1554
1554
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1555
1555
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
1556
1556
  } | undefined;
1557
- }>]>, "many">, ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
1557
+ }>]>, "many">, ({
1558
1558
  href: string | {
1559
1559
  base: string;
1560
1560
  query?: {
@@ -1569,7 +1569,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1569
1569
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1570
1570
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
1571
1571
  } | undefined;
1572
- })[], ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
1572
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
1573
1573
  href: string | {
1574
1574
  base: string;
1575
1575
  query?: {
@@ -1584,10 +1584,10 @@ export declare const almondConfigSchema: z.ZodObject<{
1584
1584
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1585
1585
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
1586
1586
  } | undefined;
1587
- })[]>;
1587
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
1588
1588
  display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
1589
1589
  }, "strip", z.ZodTypeAny, {
1590
- options: ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
1590
+ options: ({
1591
1591
  href: string | {
1592
1592
  base: string;
1593
1593
  query?: {
@@ -1602,10 +1602,10 @@ export declare const almondConfigSchema: z.ZodObject<{
1602
1602
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1603
1603
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
1604
1604
  } | undefined;
1605
- })[];
1605
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
1606
1606
  display: "header" | "toc";
1607
1607
  }, {
1608
- options: ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
1608
+ options: ({
1609
1609
  href: string | {
1610
1610
  base: string;
1611
1611
  query?: {
@@ -1620,7 +1620,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1620
1620
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1621
1621
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
1622
1622
  } | undefined;
1623
- })[];
1623
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
1624
1624
  display?: "header" | "toc" | undefined;
1625
1625
  }>>;
1626
1626
  thumbnails: z.ZodOptional<z.ZodObject<{
@@ -1932,6 +1932,25 @@ export declare const almondConfigSchema: z.ZodObject<{
1932
1932
  trailingSlash?: boolean | undefined;
1933
1933
  } | undefined;
1934
1934
  description?: string | undefined;
1935
+ contextual?: {
1936
+ options: ({
1937
+ href: string | {
1938
+ base: string;
1939
+ query?: {
1940
+ value: string;
1941
+ key: string;
1942
+ }[] | undefined;
1943
+ };
1944
+ title: string;
1945
+ description: string;
1946
+ icon?: string | {
1947
+ name: string;
1948
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1949
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
1950
+ } | undefined;
1951
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
1952
+ display: "header" | "toc";
1953
+ } | undefined;
1935
1954
  banner?: {
1936
1955
  content: string;
1937
1956
  type?: "info" | "warning" | "critical" | undefined;
@@ -2030,25 +2049,6 @@ export declare const almondConfigSchema: z.ZodObject<{
2030
2049
  description?: string | undefined;
2031
2050
  };
2032
2051
  } | undefined;
2033
- contextual?: {
2034
- options: ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
2035
- href: string | {
2036
- base: string;
2037
- query?: {
2038
- value: string;
2039
- key: string;
2040
- }[] | undefined;
2041
- };
2042
- title: string;
2043
- description: string;
2044
- icon?: string | {
2045
- name: string;
2046
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2047
- library?: "fontawesome" | "lucide" | "tabler" | undefined;
2048
- } | undefined;
2049
- })[];
2050
- display: "header" | "toc";
2051
- } | undefined;
2052
2052
  thumbnails?: {
2053
2053
  background?: string | undefined;
2054
2054
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
@@ -2324,6 +2324,25 @@ export declare const almondConfigSchema: z.ZodObject<{
2324
2324
  trailingSlash?: boolean | undefined;
2325
2325
  } | undefined;
2326
2326
  description?: string | undefined;
2327
+ contextual?: {
2328
+ options: ({
2329
+ href: string | {
2330
+ base: string;
2331
+ query?: {
2332
+ value: string;
2333
+ key: string;
2334
+ }[] | undefined;
2335
+ };
2336
+ title: string;
2337
+ description: string;
2338
+ icon?: string | {
2339
+ name: string;
2340
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2341
+ library?: "fontawesome" | "lucide" | "tabler" | undefined;
2342
+ } | undefined;
2343
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
2344
+ display?: "header" | "toc" | undefined;
2345
+ } | undefined;
2327
2346
  banner?: {
2328
2347
  content: string;
2329
2348
  type?: "info" | "warning" | "critical" | undefined;
@@ -2422,25 +2441,6 @@ export declare const almondConfigSchema: z.ZodObject<{
2422
2441
  redirect?: boolean | undefined;
2423
2442
  };
2424
2443
  } | undefined;
2425
- contextual?: {
2426
- options: ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
2427
- href: string | {
2428
- base: string;
2429
- query?: {
2430
- value: string;
2431
- key: string;
2432
- }[] | undefined;
2433
- };
2434
- title: string;
2435
- description: string;
2436
- icon?: string | {
2437
- name: string;
2438
- style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2439
- library?: "fontawesome" | "lucide" | "tabler" | undefined;
2440
- } | undefined;
2441
- })[];
2442
- display?: "header" | "toc" | undefined;
2443
- } | undefined;
2444
2444
  thumbnails?: {
2445
2445
  background?: string | undefined;
2446
2446
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;