@mintlify/validation 0.1.899 → 0.1.901
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/editor-navigation/conversion/common.d.ts +9 -9
- package/dist/editor-navigation/conversion/common.js +2 -0
- package/dist/editor-navigation/conversion/docsjson-to-tree.js +9 -0
- package/dist/mint-config/schemas/v2/index.d.ts +1413 -573
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +100 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +5 -4
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +112 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/menu.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +28 -0
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/products.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +144 -0
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +2 -1
- package/dist/mint-config/schemas/v2/properties/thumbnails.d.ts +126 -7
- package/dist/mint-config/schemas/v2/properties/thumbnails.js +14 -4
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +63 -7
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +139 -55
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +139 -55
- package/dist/mint-config/validateConfig.d.ts +714 -462
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -638,6 +638,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
638
638
|
hidden?: boolean | undefined;
|
|
639
639
|
sdk?: undefined;
|
|
640
640
|
root?: string | undefined;
|
|
641
|
+
thumbnail?: {
|
|
642
|
+
background?: string | undefined;
|
|
643
|
+
eyebrow?: string | undefined;
|
|
644
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
645
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
646
|
+
surface?: "neutral" | "brand" | undefined;
|
|
647
|
+
} | undefined;
|
|
641
648
|
}, "graphql" | "sdk"> & {
|
|
642
649
|
openapi?: string | {
|
|
643
650
|
source: string;
|
|
@@ -673,6 +680,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
673
680
|
hidden?: boolean | undefined;
|
|
674
681
|
sdk?: undefined;
|
|
675
682
|
root?: string | undefined;
|
|
683
|
+
thumbnail?: {
|
|
684
|
+
background?: string | undefined;
|
|
685
|
+
eyebrow?: string | undefined;
|
|
686
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
687
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
688
|
+
surface?: "neutral" | "brand" | undefined;
|
|
689
|
+
} | undefined;
|
|
676
690
|
}, "graphql" | "sdk"> & {
|
|
677
691
|
openapi?: string | {
|
|
678
692
|
source: string;
|
|
@@ -710,6 +724,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
710
724
|
hidden?: boolean | undefined;
|
|
711
725
|
sdk?: undefined;
|
|
712
726
|
root?: string | undefined;
|
|
727
|
+
thumbnail?: {
|
|
728
|
+
background?: string | undefined;
|
|
729
|
+
eyebrow?: string | undefined;
|
|
730
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
731
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
732
|
+
surface?: "neutral" | "brand" | undefined;
|
|
733
|
+
} | undefined;
|
|
713
734
|
}, "graphql" | "sdk"> & {
|
|
714
735
|
openapi?: string | {
|
|
715
736
|
source: string;
|
|
@@ -751,6 +772,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
751
772
|
hidden?: boolean | undefined;
|
|
752
773
|
sdk?: undefined;
|
|
753
774
|
root?: string | undefined;
|
|
775
|
+
thumbnail?: {
|
|
776
|
+
background?: string | undefined;
|
|
777
|
+
eyebrow?: string | undefined;
|
|
778
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
779
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
780
|
+
surface?: "neutral" | "brand" | undefined;
|
|
781
|
+
} | undefined;
|
|
754
782
|
}, "graphql" | "sdk"> & {
|
|
755
783
|
openapi?: string | {
|
|
756
784
|
source: string;
|
|
@@ -797,6 +825,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
797
825
|
hidden?: boolean | undefined;
|
|
798
826
|
sdk?: undefined;
|
|
799
827
|
root?: string | undefined;
|
|
828
|
+
thumbnail?: {
|
|
829
|
+
background?: string | undefined;
|
|
830
|
+
eyebrow?: string | undefined;
|
|
831
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
832
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
833
|
+
surface?: "neutral" | "brand" | undefined;
|
|
834
|
+
} | undefined;
|
|
800
835
|
}, "graphql" | "sdk"> & {
|
|
801
836
|
openapi?: string | {
|
|
802
837
|
source: string;
|
|
@@ -832,6 +867,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
832
867
|
hidden?: boolean | undefined;
|
|
833
868
|
sdk?: undefined;
|
|
834
869
|
root?: string | undefined;
|
|
870
|
+
thumbnail?: {
|
|
871
|
+
background?: string | undefined;
|
|
872
|
+
eyebrow?: string | undefined;
|
|
873
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
874
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
875
|
+
surface?: "neutral" | "brand" | undefined;
|
|
876
|
+
} | undefined;
|
|
835
877
|
}, "graphql" | "sdk"> & {
|
|
836
878
|
openapi?: string | {
|
|
837
879
|
source: string;
|
|
@@ -869,6 +911,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
869
911
|
hidden?: boolean | undefined;
|
|
870
912
|
sdk?: undefined;
|
|
871
913
|
root?: string | undefined;
|
|
914
|
+
thumbnail?: {
|
|
915
|
+
background?: string | undefined;
|
|
916
|
+
eyebrow?: string | undefined;
|
|
917
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
918
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
919
|
+
surface?: "neutral" | "brand" | undefined;
|
|
920
|
+
} | undefined;
|
|
872
921
|
}, "graphql" | "sdk"> & {
|
|
873
922
|
openapi?: string | {
|
|
874
923
|
source: string;
|
|
@@ -910,6 +959,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
910
959
|
hidden?: boolean | undefined;
|
|
911
960
|
sdk?: undefined;
|
|
912
961
|
root?: string | undefined;
|
|
962
|
+
thumbnail?: {
|
|
963
|
+
background?: string | undefined;
|
|
964
|
+
eyebrow?: string | undefined;
|
|
965
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
966
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
967
|
+
surface?: "neutral" | "brand" | undefined;
|
|
968
|
+
} | undefined;
|
|
913
969
|
}, "graphql" | "sdk"> & {
|
|
914
970
|
openapi?: string | {
|
|
915
971
|
source: string;
|
|
@@ -1827,23 +1883,23 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1827
1883
|
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
1828
1884
|
}, "family"> & {
|
|
1829
1885
|
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1830
|
-
format: z.ZodOptional<z.ZodEnum<["woff"]>>;
|
|
1886
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "ttf", "otf"]>>;
|
|
1831
1887
|
}, "strip", z.ZodTypeAny, {
|
|
1832
1888
|
family: string;
|
|
1833
1889
|
source?: string | undefined;
|
|
1834
|
-
format?: "woff" | undefined;
|
|
1890
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1835
1891
|
}, {
|
|
1836
1892
|
family: string;
|
|
1837
1893
|
source?: string | undefined;
|
|
1838
|
-
format?: "woff" | undefined;
|
|
1894
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1839
1895
|
}>, {
|
|
1840
1896
|
family: string;
|
|
1841
1897
|
source?: string | undefined;
|
|
1842
|
-
format?: "woff" | undefined;
|
|
1898
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1843
1899
|
}, {
|
|
1844
1900
|
family: string;
|
|
1845
1901
|
source?: string | undefined;
|
|
1846
|
-
format?: "woff" | undefined;
|
|
1902
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1847
1903
|
}>>;
|
|
1848
1904
|
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
1849
1905
|
source: z.ZodOptional<z.ZodEnum<["group", "tab", "dropdown", "anchor", "language", "product", "version", "item", "none"]>>;
|
|
@@ -1871,7 +1927,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1871
1927
|
fonts?: {
|
|
1872
1928
|
family: string;
|
|
1873
1929
|
source?: string | undefined;
|
|
1874
|
-
format?: "woff" | undefined;
|
|
1930
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1875
1931
|
} | undefined;
|
|
1876
1932
|
}, {
|
|
1877
1933
|
background?: string | undefined;
|
|
@@ -1886,7 +1942,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1886
1942
|
fonts?: {
|
|
1887
1943
|
family: string;
|
|
1888
1944
|
source?: string | undefined;
|
|
1889
|
-
format?: "woff" | undefined;
|
|
1945
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1890
1946
|
} | undefined;
|
|
1891
1947
|
}>>;
|
|
1892
1948
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -1997,6 +2053,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1997
2053
|
hidden?: boolean | undefined;
|
|
1998
2054
|
sdk?: undefined;
|
|
1999
2055
|
root?: string | undefined;
|
|
2056
|
+
thumbnail?: {
|
|
2057
|
+
background?: string | undefined;
|
|
2058
|
+
eyebrow?: string | undefined;
|
|
2059
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2060
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2061
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2062
|
+
} | undefined;
|
|
2000
2063
|
}, "graphql" | "sdk"> & {
|
|
2001
2064
|
openapi?: string | {
|
|
2002
2065
|
source: string;
|
|
@@ -2038,6 +2101,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2038
2101
|
hidden?: boolean | undefined;
|
|
2039
2102
|
sdk?: undefined;
|
|
2040
2103
|
root?: string | undefined;
|
|
2104
|
+
thumbnail?: {
|
|
2105
|
+
background?: string | undefined;
|
|
2106
|
+
eyebrow?: string | undefined;
|
|
2107
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2108
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2109
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2110
|
+
} | undefined;
|
|
2041
2111
|
}, "graphql" | "sdk"> & {
|
|
2042
2112
|
openapi?: string | {
|
|
2043
2113
|
source: string;
|
|
@@ -2242,6 +2312,29 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2242
2312
|
trailingSlash?: boolean | undefined;
|
|
2243
2313
|
} | undefined;
|
|
2244
2314
|
description?: string | undefined;
|
|
2315
|
+
appearance?: {
|
|
2316
|
+
strict?: boolean | undefined;
|
|
2317
|
+
default?: "light" | "dark" | "system" | undefined;
|
|
2318
|
+
} | undefined;
|
|
2319
|
+
fonts?: {
|
|
2320
|
+
family: string;
|
|
2321
|
+
source?: string | undefined;
|
|
2322
|
+
weight?: number | undefined;
|
|
2323
|
+
format?: "woff" | "woff2" | undefined;
|
|
2324
|
+
} | {
|
|
2325
|
+
body?: {
|
|
2326
|
+
family: string;
|
|
2327
|
+
source?: string | undefined;
|
|
2328
|
+
weight?: number | undefined;
|
|
2329
|
+
format?: "woff" | "woff2" | undefined;
|
|
2330
|
+
} | undefined;
|
|
2331
|
+
heading?: {
|
|
2332
|
+
family: string;
|
|
2333
|
+
source?: string | undefined;
|
|
2334
|
+
weight?: number | undefined;
|
|
2335
|
+
format?: "woff" | "woff2" | undefined;
|
|
2336
|
+
} | undefined;
|
|
2337
|
+
} | undefined;
|
|
2245
2338
|
contextual?: {
|
|
2246
2339
|
options: ({
|
|
2247
2340
|
href: string | {
|
|
@@ -2313,29 +2406,6 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2313
2406
|
label?: string | undefined;
|
|
2314
2407
|
})[] | undefined;
|
|
2315
2408
|
} | undefined;
|
|
2316
|
-
appearance?: {
|
|
2317
|
-
strict?: boolean | undefined;
|
|
2318
|
-
default?: "light" | "dark" | "system" | undefined;
|
|
2319
|
-
} | undefined;
|
|
2320
|
-
fonts?: {
|
|
2321
|
-
family: string;
|
|
2322
|
-
source?: string | undefined;
|
|
2323
|
-
weight?: number | undefined;
|
|
2324
|
-
format?: "woff" | "woff2" | undefined;
|
|
2325
|
-
} | {
|
|
2326
|
-
body?: {
|
|
2327
|
-
family: string;
|
|
2328
|
-
source?: string | undefined;
|
|
2329
|
-
weight?: number | undefined;
|
|
2330
|
-
format?: "woff" | "woff2" | undefined;
|
|
2331
|
-
} | undefined;
|
|
2332
|
-
heading?: {
|
|
2333
|
-
family: string;
|
|
2334
|
-
source?: string | undefined;
|
|
2335
|
-
weight?: number | undefined;
|
|
2336
|
-
format?: "woff" | "woff2" | undefined;
|
|
2337
|
-
} | undefined;
|
|
2338
|
-
} | undefined;
|
|
2339
2409
|
icons?: {
|
|
2340
2410
|
library: "fontawesome" | "lucide" | "tabler";
|
|
2341
2411
|
} | undefined;
|
|
@@ -2372,7 +2442,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2372
2442
|
fonts?: {
|
|
2373
2443
|
family: string;
|
|
2374
2444
|
source?: string | undefined;
|
|
2375
|
-
format?: "woff" | undefined;
|
|
2445
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
2376
2446
|
} | undefined;
|
|
2377
2447
|
} | undefined;
|
|
2378
2448
|
interaction?: {
|
|
@@ -2452,6 +2522,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2452
2522
|
hidden?: boolean | undefined;
|
|
2453
2523
|
sdk?: undefined;
|
|
2454
2524
|
root?: string | undefined;
|
|
2525
|
+
thumbnail?: {
|
|
2526
|
+
background?: string | undefined;
|
|
2527
|
+
eyebrow?: string | undefined;
|
|
2528
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2529
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2530
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2531
|
+
} | undefined;
|
|
2455
2532
|
}, "graphql" | "sdk"> & {
|
|
2456
2533
|
openapi?: string | {
|
|
2457
2534
|
source: string;
|
|
@@ -2493,6 +2570,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2493
2570
|
hidden?: boolean | undefined;
|
|
2494
2571
|
sdk?: undefined;
|
|
2495
2572
|
root?: string | undefined;
|
|
2573
|
+
thumbnail?: {
|
|
2574
|
+
background?: string | undefined;
|
|
2575
|
+
eyebrow?: string | undefined;
|
|
2576
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2577
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2578
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2579
|
+
} | undefined;
|
|
2496
2580
|
}, "graphql" | "sdk"> & {
|
|
2497
2581
|
openapi?: string | {
|
|
2498
2582
|
source: string;
|
|
@@ -2698,6 +2782,29 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2698
2782
|
trailingSlash?: boolean | undefined;
|
|
2699
2783
|
} | undefined;
|
|
2700
2784
|
description?: string | undefined;
|
|
2785
|
+
appearance?: {
|
|
2786
|
+
strict?: boolean | undefined;
|
|
2787
|
+
default?: "light" | "dark" | "system" | undefined;
|
|
2788
|
+
} | undefined;
|
|
2789
|
+
fonts?: {
|
|
2790
|
+
family: string;
|
|
2791
|
+
source?: string | undefined;
|
|
2792
|
+
weight?: number | undefined;
|
|
2793
|
+
format?: "woff" | "woff2" | undefined;
|
|
2794
|
+
} | {
|
|
2795
|
+
body?: {
|
|
2796
|
+
family: string;
|
|
2797
|
+
source?: string | undefined;
|
|
2798
|
+
weight?: number | undefined;
|
|
2799
|
+
format?: "woff" | "woff2" | undefined;
|
|
2800
|
+
} | undefined;
|
|
2801
|
+
heading?: {
|
|
2802
|
+
family: string;
|
|
2803
|
+
source?: string | undefined;
|
|
2804
|
+
weight?: number | undefined;
|
|
2805
|
+
format?: "woff" | "woff2" | undefined;
|
|
2806
|
+
} | undefined;
|
|
2807
|
+
} | undefined;
|
|
2701
2808
|
contextual?: {
|
|
2702
2809
|
options: ({
|
|
2703
2810
|
href: string | {
|
|
@@ -2769,29 +2876,6 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2769
2876
|
label?: string | undefined;
|
|
2770
2877
|
})[] | undefined;
|
|
2771
2878
|
} | undefined;
|
|
2772
|
-
appearance?: {
|
|
2773
|
-
strict?: boolean | undefined;
|
|
2774
|
-
default?: "light" | "dark" | "system" | undefined;
|
|
2775
|
-
} | undefined;
|
|
2776
|
-
fonts?: {
|
|
2777
|
-
family: string;
|
|
2778
|
-
source?: string | undefined;
|
|
2779
|
-
weight?: number | undefined;
|
|
2780
|
-
format?: "woff" | "woff2" | undefined;
|
|
2781
|
-
} | {
|
|
2782
|
-
body?: {
|
|
2783
|
-
family: string;
|
|
2784
|
-
source?: string | undefined;
|
|
2785
|
-
weight?: number | undefined;
|
|
2786
|
-
format?: "woff" | "woff2" | undefined;
|
|
2787
|
-
} | undefined;
|
|
2788
|
-
heading?: {
|
|
2789
|
-
family: string;
|
|
2790
|
-
source?: string | undefined;
|
|
2791
|
-
weight?: number | undefined;
|
|
2792
|
-
format?: "woff" | "woff2" | undefined;
|
|
2793
|
-
} | undefined;
|
|
2794
|
-
} | undefined;
|
|
2795
2879
|
icons?: {
|
|
2796
2880
|
library: "fontawesome" | "lucide" | "tabler";
|
|
2797
2881
|
} | undefined;
|
|
@@ -2828,7 +2912,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2828
2912
|
fonts?: {
|
|
2829
2913
|
family: string;
|
|
2830
2914
|
source?: string | undefined;
|
|
2831
|
-
format?: "woff" | undefined;
|
|
2915
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
2832
2916
|
} | undefined;
|
|
2833
2917
|
} | undefined;
|
|
2834
2918
|
interaction?: {
|