@mintlify/validation 0.1.848 → 0.1.850
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.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/mint-config/collectOpenApiOverlays.d.ts +13 -0
- package/dist/mint-config/collectOpenApiOverlays.js +73 -0
- package/dist/mint-config/schemas/v2/index.d.ts +1480 -530
- package/dist/mint-config/schemas/v2/properties/api.d.ts +30 -5
- package/dist/mint-config/schemas/v2/properties/navbar.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +30 -5
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +14 -4
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +56 -16
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +40 -40
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +14 -4
- package/dist/mint-config/schemas/v2/properties/reusable/openapi.d.ts +26 -1
- package/dist/mint-config/schemas/v2/properties/reusable/openapi.js +23 -2
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +96 -31
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +148 -53
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +148 -53
- package/dist/mint-config/validateConfig.d.ts +468 -198
- package/dist/openapi/overlay.d.ts +555 -0
- package/dist/openapi/overlay.js +118 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/postLoginRedirects.js +12 -5
- package/package.json +2 -2
|
@@ -40,15 +40,30 @@ export declare const standardConfigSchema: {
|
|
|
40
40
|
dark: string;
|
|
41
41
|
}>]>>;
|
|
42
42
|
api: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
43
|
-
openapi: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>,
|
|
43
|
+
openapi: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{
|
|
44
44
|
source: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
45
45
|
directory: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
overlays: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">>;
|
|
46
47
|
}, "strict", import("zod").ZodTypeAny, {
|
|
47
48
|
source: string;
|
|
48
49
|
directory?: string | undefined;
|
|
50
|
+
overlays?: string[] | undefined;
|
|
49
51
|
}, {
|
|
50
52
|
source: string;
|
|
51
53
|
directory?: string | undefined;
|
|
54
|
+
overlays?: string[] | undefined;
|
|
55
|
+
}>]>, "many">, import("zod").ZodObject<{
|
|
56
|
+
source: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
57
|
+
directory: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
overlays: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">>;
|
|
59
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
60
|
+
source: string;
|
|
61
|
+
directory?: string | undefined;
|
|
62
|
+
overlays?: string[] | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
source: string;
|
|
65
|
+
directory?: string | undefined;
|
|
66
|
+
overlays?: string[] | undefined;
|
|
52
67
|
}>]>>;
|
|
53
68
|
asyncapi: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">, import("zod").ZodObject<{
|
|
54
69
|
source: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
@@ -131,10 +146,15 @@ export declare const standardConfigSchema: {
|
|
|
131
146
|
post?: string[] | undefined;
|
|
132
147
|
} | undefined;
|
|
133
148
|
url?: "full" | undefined;
|
|
134
|
-
openapi?: string |
|
|
149
|
+
openapi?: string | {
|
|
135
150
|
source: string;
|
|
136
151
|
directory?: string | undefined;
|
|
137
|
-
|
|
152
|
+
overlays?: string[] | undefined;
|
|
153
|
+
} | (string | {
|
|
154
|
+
source: string;
|
|
155
|
+
directory?: string | undefined;
|
|
156
|
+
overlays?: string[] | undefined;
|
|
157
|
+
})[] | undefined;
|
|
138
158
|
playground?: {
|
|
139
159
|
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
140
160
|
proxy?: boolean | undefined;
|
|
@@ -163,10 +183,15 @@ export declare const standardConfigSchema: {
|
|
|
163
183
|
post?: string[] | undefined;
|
|
164
184
|
} | undefined;
|
|
165
185
|
url?: "full" | undefined;
|
|
166
|
-
openapi?: string |
|
|
186
|
+
openapi?: string | {
|
|
167
187
|
source: string;
|
|
168
188
|
directory?: string | undefined;
|
|
169
|
-
|
|
189
|
+
overlays?: string[] | undefined;
|
|
190
|
+
} | (string | {
|
|
191
|
+
source: string;
|
|
192
|
+
directory?: string | undefined;
|
|
193
|
+
overlays?: string[] | undefined;
|
|
194
|
+
})[] | undefined;
|
|
170
195
|
playground?: {
|
|
171
196
|
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
172
197
|
proxy?: boolean | undefined;
|
|
@@ -405,16 +430,16 @@ export declare const standardConfigSchema: {
|
|
|
405
430
|
label?: string | undefined;
|
|
406
431
|
} | undefined;
|
|
407
432
|
links?: ({
|
|
433
|
+
type: "github";
|
|
408
434
|
href: string;
|
|
409
|
-
label: string;
|
|
410
|
-
type?: string | undefined;
|
|
411
435
|
icon?: string | {
|
|
412
436
|
name: string;
|
|
413
437
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
414
438
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
415
439
|
} | undefined;
|
|
440
|
+
label?: string | undefined;
|
|
416
441
|
} | {
|
|
417
|
-
type: "
|
|
442
|
+
type: "discord";
|
|
418
443
|
href: string;
|
|
419
444
|
icon?: string | {
|
|
420
445
|
name: string;
|
|
@@ -423,14 +448,14 @@ export declare const standardConfigSchema: {
|
|
|
423
448
|
} | undefined;
|
|
424
449
|
label?: string | undefined;
|
|
425
450
|
} | {
|
|
426
|
-
type: "discord";
|
|
427
451
|
href: string;
|
|
452
|
+
label: string;
|
|
453
|
+
type?: string | undefined;
|
|
428
454
|
icon?: string | {
|
|
429
455
|
name: string;
|
|
430
456
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
431
457
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
432
458
|
} | undefined;
|
|
433
|
-
label?: string | undefined;
|
|
434
459
|
})[] | undefined;
|
|
435
460
|
}, {
|
|
436
461
|
primary?: {
|
|
@@ -447,16 +472,16 @@ export declare const standardConfigSchema: {
|
|
|
447
472
|
label?: string | undefined;
|
|
448
473
|
} | undefined;
|
|
449
474
|
links?: ({
|
|
475
|
+
type: "github";
|
|
450
476
|
href: string;
|
|
451
|
-
label: string;
|
|
452
|
-
type?: string | undefined;
|
|
453
477
|
icon?: string | {
|
|
454
478
|
name: string;
|
|
455
479
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
456
480
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
457
481
|
} | undefined;
|
|
482
|
+
label?: string | undefined;
|
|
458
483
|
} | {
|
|
459
|
-
type: "
|
|
484
|
+
type: "discord";
|
|
460
485
|
href: string;
|
|
461
486
|
icon?: string | {
|
|
462
487
|
name: string;
|
|
@@ -465,14 +490,14 @@ export declare const standardConfigSchema: {
|
|
|
465
490
|
} | undefined;
|
|
466
491
|
label?: string | undefined;
|
|
467
492
|
} | {
|
|
468
|
-
type: "discord";
|
|
469
493
|
href: string;
|
|
494
|
+
label: string;
|
|
495
|
+
type?: string | undefined;
|
|
470
496
|
icon?: string | {
|
|
471
497
|
name: string;
|
|
472
498
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
473
499
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
474
500
|
} | undefined;
|
|
475
|
-
label?: string | undefined;
|
|
476
501
|
})[] | undefined;
|
|
477
502
|
}>>;
|
|
478
503
|
navigation: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
@@ -613,10 +638,15 @@ export declare const standardConfigSchema: {
|
|
|
613
638
|
sdk?: undefined;
|
|
614
639
|
root?: string | undefined;
|
|
615
640
|
}, "sdk"> & {
|
|
616
|
-
openapi?: string |
|
|
641
|
+
openapi?: string | {
|
|
617
642
|
source: string;
|
|
618
643
|
directory?: string | undefined;
|
|
619
|
-
|
|
644
|
+
overlays?: string[] | undefined;
|
|
645
|
+
} | (string | {
|
|
646
|
+
source: string;
|
|
647
|
+
directory?: string | undefined;
|
|
648
|
+
overlays?: string[] | undefined;
|
|
649
|
+
})[] | undefined;
|
|
620
650
|
asyncapi?: string | string[] | {
|
|
621
651
|
source: string;
|
|
622
652
|
directory?: string | undefined;
|
|
@@ -642,10 +672,15 @@ export declare const standardConfigSchema: {
|
|
|
642
672
|
sdk?: undefined;
|
|
643
673
|
root?: string | undefined;
|
|
644
674
|
}, "sdk"> & {
|
|
645
|
-
openapi?: string |
|
|
675
|
+
openapi?: string | {
|
|
646
676
|
source: string;
|
|
647
677
|
directory?: string | undefined;
|
|
648
|
-
|
|
678
|
+
overlays?: string[] | undefined;
|
|
679
|
+
} | (string | {
|
|
680
|
+
source: string;
|
|
681
|
+
directory?: string | undefined;
|
|
682
|
+
overlays?: string[] | undefined;
|
|
683
|
+
})[] | undefined;
|
|
649
684
|
asyncapi?: string | string[] | {
|
|
650
685
|
source: string;
|
|
651
686
|
directory?: string | undefined;
|
|
@@ -673,10 +708,15 @@ export declare const standardConfigSchema: {
|
|
|
673
708
|
sdk?: undefined;
|
|
674
709
|
root?: string | undefined;
|
|
675
710
|
}, "sdk"> & {
|
|
676
|
-
openapi?: string |
|
|
711
|
+
openapi?: string | {
|
|
677
712
|
source: string;
|
|
678
713
|
directory?: string | undefined;
|
|
679
|
-
|
|
714
|
+
overlays?: string[] | undefined;
|
|
715
|
+
} | (string | {
|
|
716
|
+
source: string;
|
|
717
|
+
directory?: string | undefined;
|
|
718
|
+
overlays?: string[] | undefined;
|
|
719
|
+
})[] | undefined;
|
|
680
720
|
asyncapi?: string | string[] | {
|
|
681
721
|
source: string;
|
|
682
722
|
directory?: string | undefined;
|
|
@@ -708,10 +748,15 @@ export declare const standardConfigSchema: {
|
|
|
708
748
|
sdk?: undefined;
|
|
709
749
|
root?: string | undefined;
|
|
710
750
|
}, "sdk"> & {
|
|
711
|
-
openapi?: string |
|
|
751
|
+
openapi?: string | {
|
|
712
752
|
source: string;
|
|
713
753
|
directory?: string | undefined;
|
|
714
|
-
|
|
754
|
+
overlays?: string[] | undefined;
|
|
755
|
+
} | (string | {
|
|
756
|
+
source: string;
|
|
757
|
+
directory?: string | undefined;
|
|
758
|
+
overlays?: string[] | undefined;
|
|
759
|
+
})[] | undefined;
|
|
715
760
|
asyncapi?: string | string[] | {
|
|
716
761
|
source: string;
|
|
717
762
|
directory?: string | undefined;
|
|
@@ -748,10 +793,15 @@ export declare const standardConfigSchema: {
|
|
|
748
793
|
sdk?: undefined;
|
|
749
794
|
root?: string | undefined;
|
|
750
795
|
}, "sdk"> & {
|
|
751
|
-
openapi?: string |
|
|
796
|
+
openapi?: string | {
|
|
752
797
|
source: string;
|
|
753
798
|
directory?: string | undefined;
|
|
754
|
-
|
|
799
|
+
overlays?: string[] | undefined;
|
|
800
|
+
} | (string | {
|
|
801
|
+
source: string;
|
|
802
|
+
directory?: string | undefined;
|
|
803
|
+
overlays?: string[] | undefined;
|
|
804
|
+
})[] | undefined;
|
|
755
805
|
asyncapi?: string | string[] | {
|
|
756
806
|
source: string;
|
|
757
807
|
directory?: string | undefined;
|
|
@@ -777,10 +827,15 @@ export declare const standardConfigSchema: {
|
|
|
777
827
|
sdk?: undefined;
|
|
778
828
|
root?: string | undefined;
|
|
779
829
|
}, "sdk"> & {
|
|
780
|
-
openapi?: string |
|
|
830
|
+
openapi?: string | {
|
|
781
831
|
source: string;
|
|
782
832
|
directory?: string | undefined;
|
|
783
|
-
|
|
833
|
+
overlays?: string[] | undefined;
|
|
834
|
+
} | (string | {
|
|
835
|
+
source: string;
|
|
836
|
+
directory?: string | undefined;
|
|
837
|
+
overlays?: string[] | undefined;
|
|
838
|
+
})[] | undefined;
|
|
784
839
|
asyncapi?: string | string[] | {
|
|
785
840
|
source: string;
|
|
786
841
|
directory?: string | undefined;
|
|
@@ -808,10 +863,15 @@ export declare const standardConfigSchema: {
|
|
|
808
863
|
sdk?: undefined;
|
|
809
864
|
root?: string | undefined;
|
|
810
865
|
}, "sdk"> & {
|
|
811
|
-
openapi?: string |
|
|
866
|
+
openapi?: string | {
|
|
812
867
|
source: string;
|
|
813
868
|
directory?: string | undefined;
|
|
814
|
-
|
|
869
|
+
overlays?: string[] | undefined;
|
|
870
|
+
} | (string | {
|
|
871
|
+
source: string;
|
|
872
|
+
directory?: string | undefined;
|
|
873
|
+
overlays?: string[] | undefined;
|
|
874
|
+
})[] | undefined;
|
|
815
875
|
asyncapi?: string | string[] | {
|
|
816
876
|
source: string;
|
|
817
877
|
directory?: string | undefined;
|
|
@@ -843,10 +903,15 @@ export declare const standardConfigSchema: {
|
|
|
843
903
|
sdk?: undefined;
|
|
844
904
|
root?: string | undefined;
|
|
845
905
|
}, "sdk"> & {
|
|
846
|
-
openapi?: string |
|
|
906
|
+
openapi?: string | {
|
|
847
907
|
source: string;
|
|
848
908
|
directory?: string | undefined;
|
|
849
|
-
|
|
909
|
+
overlays?: string[] | undefined;
|
|
910
|
+
} | (string | {
|
|
911
|
+
source: string;
|
|
912
|
+
directory?: string | undefined;
|
|
913
|
+
overlays?: string[] | undefined;
|
|
914
|
+
})[] | undefined;
|
|
850
915
|
asyncapi?: string | string[] | {
|
|
851
916
|
source: string;
|
|
852
917
|
directory?: string | undefined;
|