@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
|
@@ -670,6 +670,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
670
670
|
hidden?: boolean | undefined;
|
|
671
671
|
sdk?: undefined;
|
|
672
672
|
root?: string | undefined;
|
|
673
|
+
thumbnail?: {
|
|
674
|
+
background?: string | undefined;
|
|
675
|
+
eyebrow?: string | undefined;
|
|
676
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
677
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
678
|
+
surface?: "neutral" | "brand" | undefined;
|
|
679
|
+
} | undefined;
|
|
673
680
|
}, "graphql" | "sdk"> & {
|
|
674
681
|
openapi?: string | {
|
|
675
682
|
source: string;
|
|
@@ -705,6 +712,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
705
712
|
hidden?: boolean | undefined;
|
|
706
713
|
sdk?: undefined;
|
|
707
714
|
root?: string | undefined;
|
|
715
|
+
thumbnail?: {
|
|
716
|
+
background?: string | undefined;
|
|
717
|
+
eyebrow?: string | undefined;
|
|
718
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
719
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
720
|
+
surface?: "neutral" | "brand" | undefined;
|
|
721
|
+
} | undefined;
|
|
708
722
|
}, "graphql" | "sdk"> & {
|
|
709
723
|
openapi?: string | {
|
|
710
724
|
source: string;
|
|
@@ -742,6 +756,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
742
756
|
hidden?: boolean | undefined;
|
|
743
757
|
sdk?: undefined;
|
|
744
758
|
root?: string | undefined;
|
|
759
|
+
thumbnail?: {
|
|
760
|
+
background?: string | undefined;
|
|
761
|
+
eyebrow?: string | undefined;
|
|
762
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
763
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
764
|
+
surface?: "neutral" | "brand" | undefined;
|
|
765
|
+
} | undefined;
|
|
745
766
|
}, "graphql" | "sdk"> & {
|
|
746
767
|
openapi?: string | {
|
|
747
768
|
source: string;
|
|
@@ -783,6 +804,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
783
804
|
hidden?: boolean | undefined;
|
|
784
805
|
sdk?: undefined;
|
|
785
806
|
root?: string | undefined;
|
|
807
|
+
thumbnail?: {
|
|
808
|
+
background?: string | undefined;
|
|
809
|
+
eyebrow?: string | undefined;
|
|
810
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
811
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
812
|
+
surface?: "neutral" | "brand" | undefined;
|
|
813
|
+
} | undefined;
|
|
786
814
|
}, "graphql" | "sdk"> & {
|
|
787
815
|
openapi?: string | {
|
|
788
816
|
source: string;
|
|
@@ -829,6 +857,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
829
857
|
hidden?: boolean | undefined;
|
|
830
858
|
sdk?: undefined;
|
|
831
859
|
root?: string | undefined;
|
|
860
|
+
thumbnail?: {
|
|
861
|
+
background?: string | undefined;
|
|
862
|
+
eyebrow?: string | undefined;
|
|
863
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
864
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
865
|
+
surface?: "neutral" | "brand" | undefined;
|
|
866
|
+
} | undefined;
|
|
832
867
|
}, "graphql" | "sdk"> & {
|
|
833
868
|
openapi?: string | {
|
|
834
869
|
source: string;
|
|
@@ -864,6 +899,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
864
899
|
hidden?: boolean | undefined;
|
|
865
900
|
sdk?: undefined;
|
|
866
901
|
root?: string | undefined;
|
|
902
|
+
thumbnail?: {
|
|
903
|
+
background?: string | undefined;
|
|
904
|
+
eyebrow?: string | undefined;
|
|
905
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
906
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
907
|
+
surface?: "neutral" | "brand" | undefined;
|
|
908
|
+
} | undefined;
|
|
867
909
|
}, "graphql" | "sdk"> & {
|
|
868
910
|
openapi?: string | {
|
|
869
911
|
source: string;
|
|
@@ -901,6 +943,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
901
943
|
hidden?: boolean | undefined;
|
|
902
944
|
sdk?: undefined;
|
|
903
945
|
root?: string | undefined;
|
|
946
|
+
thumbnail?: {
|
|
947
|
+
background?: string | undefined;
|
|
948
|
+
eyebrow?: string | undefined;
|
|
949
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
950
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
951
|
+
surface?: "neutral" | "brand" | undefined;
|
|
952
|
+
} | undefined;
|
|
904
953
|
}, "graphql" | "sdk"> & {
|
|
905
954
|
openapi?: string | {
|
|
906
955
|
source: string;
|
|
@@ -942,6 +991,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
942
991
|
hidden?: boolean | undefined;
|
|
943
992
|
sdk?: undefined;
|
|
944
993
|
root?: string | undefined;
|
|
994
|
+
thumbnail?: {
|
|
995
|
+
background?: string | undefined;
|
|
996
|
+
eyebrow?: string | undefined;
|
|
997
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
998
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
999
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1000
|
+
} | undefined;
|
|
945
1001
|
}, "graphql" | "sdk"> & {
|
|
946
1002
|
openapi?: string | {
|
|
947
1003
|
source: string;
|
|
@@ -1859,23 +1915,23 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1859
1915
|
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
1860
1916
|
}, "family"> & {
|
|
1861
1917
|
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1862
|
-
format: z.ZodOptional<z.ZodEnum<["woff"]>>;
|
|
1918
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "ttf", "otf"]>>;
|
|
1863
1919
|
}, "strip", z.ZodTypeAny, {
|
|
1864
1920
|
family: string;
|
|
1865
1921
|
source?: string | undefined;
|
|
1866
|
-
format?: "woff" | undefined;
|
|
1922
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1867
1923
|
}, {
|
|
1868
1924
|
family: string;
|
|
1869
1925
|
source?: string | undefined;
|
|
1870
|
-
format?: "woff" | undefined;
|
|
1926
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1871
1927
|
}>, {
|
|
1872
1928
|
family: string;
|
|
1873
1929
|
source?: string | undefined;
|
|
1874
|
-
format?: "woff" | undefined;
|
|
1930
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1875
1931
|
}, {
|
|
1876
1932
|
family: string;
|
|
1877
1933
|
source?: string | undefined;
|
|
1878
|
-
format?: "woff" | undefined;
|
|
1934
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1879
1935
|
}>>;
|
|
1880
1936
|
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
1881
1937
|
source: z.ZodOptional<z.ZodEnum<["group", "tab", "dropdown", "anchor", "language", "product", "version", "item", "none"]>>;
|
|
@@ -1903,7 +1959,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1903
1959
|
fonts?: {
|
|
1904
1960
|
family: string;
|
|
1905
1961
|
source?: string | undefined;
|
|
1906
|
-
format?: "woff" | undefined;
|
|
1962
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1907
1963
|
} | undefined;
|
|
1908
1964
|
}, {
|
|
1909
1965
|
background?: string | undefined;
|
|
@@ -1918,7 +1974,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1918
1974
|
fonts?: {
|
|
1919
1975
|
family: string;
|
|
1920
1976
|
source?: string | undefined;
|
|
1921
|
-
format?: "woff" | undefined;
|
|
1977
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
1922
1978
|
} | undefined;
|
|
1923
1979
|
}>>;
|
|
1924
1980
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2029,6 +2085,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2029
2085
|
hidden?: boolean | undefined;
|
|
2030
2086
|
sdk?: undefined;
|
|
2031
2087
|
root?: string | undefined;
|
|
2088
|
+
thumbnail?: {
|
|
2089
|
+
background?: string | undefined;
|
|
2090
|
+
eyebrow?: string | undefined;
|
|
2091
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2092
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2093
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2094
|
+
} | undefined;
|
|
2032
2095
|
}, "graphql" | "sdk"> & {
|
|
2033
2096
|
openapi?: string | {
|
|
2034
2097
|
source: string;
|
|
@@ -2070,6 +2133,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2070
2133
|
hidden?: boolean | undefined;
|
|
2071
2134
|
sdk?: undefined;
|
|
2072
2135
|
root?: string | undefined;
|
|
2136
|
+
thumbnail?: {
|
|
2137
|
+
background?: string | undefined;
|
|
2138
|
+
eyebrow?: string | undefined;
|
|
2139
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2140
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2141
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2142
|
+
} | undefined;
|
|
2073
2143
|
}, "graphql" | "sdk"> & {
|
|
2074
2144
|
openapi?: string | {
|
|
2075
2145
|
source: string;
|
|
@@ -2274,6 +2344,29 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2274
2344
|
trailingSlash?: boolean | undefined;
|
|
2275
2345
|
} | undefined;
|
|
2276
2346
|
description?: string | undefined;
|
|
2347
|
+
appearance?: {
|
|
2348
|
+
strict?: boolean | undefined;
|
|
2349
|
+
default?: "light" | "dark" | "system" | undefined;
|
|
2350
|
+
} | undefined;
|
|
2351
|
+
fonts?: {
|
|
2352
|
+
family: string;
|
|
2353
|
+
source?: string | undefined;
|
|
2354
|
+
weight?: number | undefined;
|
|
2355
|
+
format?: "woff" | "woff2" | undefined;
|
|
2356
|
+
} | {
|
|
2357
|
+
body?: {
|
|
2358
|
+
family: string;
|
|
2359
|
+
source?: string | undefined;
|
|
2360
|
+
weight?: number | undefined;
|
|
2361
|
+
format?: "woff" | "woff2" | undefined;
|
|
2362
|
+
} | undefined;
|
|
2363
|
+
heading?: {
|
|
2364
|
+
family: string;
|
|
2365
|
+
source?: string | undefined;
|
|
2366
|
+
weight?: number | undefined;
|
|
2367
|
+
format?: "woff" | "woff2" | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
} | undefined;
|
|
2277
2370
|
contextual?: {
|
|
2278
2371
|
options: ({
|
|
2279
2372
|
href: string | {
|
|
@@ -2345,29 +2438,6 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2345
2438
|
label?: string | undefined;
|
|
2346
2439
|
})[] | undefined;
|
|
2347
2440
|
} | undefined;
|
|
2348
|
-
appearance?: {
|
|
2349
|
-
strict?: boolean | undefined;
|
|
2350
|
-
default?: "light" | "dark" | "system" | undefined;
|
|
2351
|
-
} | undefined;
|
|
2352
|
-
fonts?: {
|
|
2353
|
-
family: string;
|
|
2354
|
-
source?: string | undefined;
|
|
2355
|
-
weight?: number | undefined;
|
|
2356
|
-
format?: "woff" | "woff2" | undefined;
|
|
2357
|
-
} | {
|
|
2358
|
-
body?: {
|
|
2359
|
-
family: string;
|
|
2360
|
-
source?: string | undefined;
|
|
2361
|
-
weight?: number | undefined;
|
|
2362
|
-
format?: "woff" | "woff2" | undefined;
|
|
2363
|
-
} | undefined;
|
|
2364
|
-
heading?: {
|
|
2365
|
-
family: string;
|
|
2366
|
-
source?: string | undefined;
|
|
2367
|
-
weight?: number | undefined;
|
|
2368
|
-
format?: "woff" | "woff2" | undefined;
|
|
2369
|
-
} | undefined;
|
|
2370
|
-
} | undefined;
|
|
2371
2441
|
icons?: {
|
|
2372
2442
|
library: "fontawesome" | "lucide" | "tabler";
|
|
2373
2443
|
} | undefined;
|
|
@@ -2404,7 +2474,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2404
2474
|
fonts?: {
|
|
2405
2475
|
family: string;
|
|
2406
2476
|
source?: string | undefined;
|
|
2407
|
-
format?: "woff" | undefined;
|
|
2477
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
2408
2478
|
} | undefined;
|
|
2409
2479
|
} | undefined;
|
|
2410
2480
|
interaction?: {
|
|
@@ -2490,6 +2560,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2490
2560
|
hidden?: boolean | undefined;
|
|
2491
2561
|
sdk?: undefined;
|
|
2492
2562
|
root?: string | undefined;
|
|
2563
|
+
thumbnail?: {
|
|
2564
|
+
background?: string | undefined;
|
|
2565
|
+
eyebrow?: string | undefined;
|
|
2566
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2567
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2568
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2569
|
+
} | undefined;
|
|
2493
2570
|
}, "graphql" | "sdk"> & {
|
|
2494
2571
|
openapi?: string | {
|
|
2495
2572
|
source: string;
|
|
@@ -2531,6 +2608,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2531
2608
|
hidden?: boolean | undefined;
|
|
2532
2609
|
sdk?: undefined;
|
|
2533
2610
|
root?: string | undefined;
|
|
2611
|
+
thumbnail?: {
|
|
2612
|
+
background?: string | undefined;
|
|
2613
|
+
eyebrow?: string | undefined;
|
|
2614
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2615
|
+
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2616
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2617
|
+
} | undefined;
|
|
2534
2618
|
}, "graphql" | "sdk"> & {
|
|
2535
2619
|
openapi?: string | {
|
|
2536
2620
|
source: string;
|
|
@@ -2736,6 +2820,29 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2736
2820
|
trailingSlash?: boolean | undefined;
|
|
2737
2821
|
} | undefined;
|
|
2738
2822
|
description?: string | undefined;
|
|
2823
|
+
appearance?: {
|
|
2824
|
+
strict?: boolean | undefined;
|
|
2825
|
+
default?: "light" | "dark" | "system" | undefined;
|
|
2826
|
+
} | undefined;
|
|
2827
|
+
fonts?: {
|
|
2828
|
+
family: string;
|
|
2829
|
+
source?: string | undefined;
|
|
2830
|
+
weight?: number | undefined;
|
|
2831
|
+
format?: "woff" | "woff2" | undefined;
|
|
2832
|
+
} | {
|
|
2833
|
+
body?: {
|
|
2834
|
+
family: string;
|
|
2835
|
+
source?: string | undefined;
|
|
2836
|
+
weight?: number | undefined;
|
|
2837
|
+
format?: "woff" | "woff2" | undefined;
|
|
2838
|
+
} | undefined;
|
|
2839
|
+
heading?: {
|
|
2840
|
+
family: string;
|
|
2841
|
+
source?: string | undefined;
|
|
2842
|
+
weight?: number | undefined;
|
|
2843
|
+
format?: "woff" | "woff2" | undefined;
|
|
2844
|
+
} | undefined;
|
|
2845
|
+
} | undefined;
|
|
2739
2846
|
contextual?: {
|
|
2740
2847
|
options: ({
|
|
2741
2848
|
href: string | {
|
|
@@ -2807,29 +2914,6 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2807
2914
|
label?: string | undefined;
|
|
2808
2915
|
})[] | undefined;
|
|
2809
2916
|
} | undefined;
|
|
2810
|
-
appearance?: {
|
|
2811
|
-
strict?: boolean | undefined;
|
|
2812
|
-
default?: "light" | "dark" | "system" | undefined;
|
|
2813
|
-
} | undefined;
|
|
2814
|
-
fonts?: {
|
|
2815
|
-
family: string;
|
|
2816
|
-
source?: string | undefined;
|
|
2817
|
-
weight?: number | undefined;
|
|
2818
|
-
format?: "woff" | "woff2" | undefined;
|
|
2819
|
-
} | {
|
|
2820
|
-
body?: {
|
|
2821
|
-
family: string;
|
|
2822
|
-
source?: string | undefined;
|
|
2823
|
-
weight?: number | undefined;
|
|
2824
|
-
format?: "woff" | "woff2" | undefined;
|
|
2825
|
-
} | undefined;
|
|
2826
|
-
heading?: {
|
|
2827
|
-
family: string;
|
|
2828
|
-
source?: string | undefined;
|
|
2829
|
-
weight?: number | undefined;
|
|
2830
|
-
format?: "woff" | "woff2" | undefined;
|
|
2831
|
-
} | undefined;
|
|
2832
|
-
} | undefined;
|
|
2833
2917
|
icons?: {
|
|
2834
2918
|
library: "fontawesome" | "lucide" | "tabler";
|
|
2835
2919
|
} | undefined;
|
|
@@ -2866,7 +2950,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2866
2950
|
fonts?: {
|
|
2867
2951
|
family: string;
|
|
2868
2952
|
source?: string | undefined;
|
|
2869
|
-
format?: "woff" | undefined;
|
|
2953
|
+
format?: "woff" | "ttf" | "otf" | undefined;
|
|
2870
2954
|
} | undefined;
|
|
2871
2955
|
} | undefined;
|
|
2872
2956
|
interaction?: {
|