@mintlify/validation 0.1.939 → 0.1.941

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.
Files changed (27) hide show
  1. package/dist/editor-navigation/types.d.ts +1 -1
  2. package/dist/mint-config/schemas/v2/index.d.ts +24 -48
  3. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +4 -4
  4. package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +2 -2
  5. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +4 -4
  6. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +8 -26
  7. package/dist/mint-config/schemas/v2/properties/navigation/groups.js +3 -3
  8. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +32 -80
  9. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +4 -4
  10. package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +4 -4
  11. package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +8 -20
  12. package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +4 -4
  13. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +2 -2
  14. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +4 -4
  15. package/dist/mint-config/schemas/v2/themes/almond.d.ts +24 -48
  16. package/dist/mint-config/schemas/v2/themes/aspen.d.ts +24 -48
  17. package/dist/mint-config/schemas/v2/themes/linden.d.ts +24 -48
  18. package/dist/mint-config/schemas/v2/themes/luma.d.ts +24 -48
  19. package/dist/mint-config/schemas/v2/themes/maple.d.ts +24 -48
  20. package/dist/mint-config/schemas/v2/themes/mint.d.ts +24 -48
  21. package/dist/mint-config/schemas/v2/themes/palm.d.ts +24 -48
  22. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +16 -32
  23. package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +24 -48
  24. package/dist/mint-config/schemas/v2/themes/willow.d.ts +24 -48
  25. package/dist/mint-config/validateConfig.d.ts +72 -144
  26. package/dist/tsconfig.build.tsbuildinfo +1 -1
  27. package/package.json +3 -3
@@ -656,7 +656,7 @@ export declare const willowConfigSchema: z.ZodObject<{
656
656
  graphql: z.ZodOptional<z.ZodNever>;
657
657
  sdk: z.ZodOptional<z.ZodNever>;
658
658
  } & {
659
- groups: z.ZodArray<z.ZodType<Omit<{
659
+ groups: z.ZodArray<z.ZodType<{
660
660
  group: string;
661
661
  icon?: string | {
662
662
  name: string;
@@ -666,12 +666,10 @@ export declare const willowConfigSchema: z.ZodObject<{
666
666
  expanded?: boolean | undefined;
667
667
  public?: boolean | undefined;
668
668
  directory?: "none" | "card" | "accordion" | undefined;
669
- graphql?: undefined;
670
669
  tag?: string | undefined;
671
670
  searchable?: boolean | undefined;
672
671
  boost?: number | undefined;
673
672
  hidden?: boolean | undefined;
674
- sdk?: undefined;
675
673
  root?: string | undefined;
676
674
  thumbnail?: {
677
675
  background?: string | undefined;
@@ -680,7 +678,7 @@ export declare const willowConfigSchema: z.ZodObject<{
680
678
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
681
679
  surface?: "neutral" | "brand" | undefined;
682
680
  } | undefined;
683
- }, "graphql" | "sdk"> & {
681
+ } & {
684
682
  openapi?: string | {
685
683
  source: string;
686
684
  directory?: string | undefined;
@@ -698,7 +696,7 @@ export declare const willowConfigSchema: z.ZodObject<{
698
696
  sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
699
697
  graphql?: z.infer<typeof import("../properties/index.js").graphqlSchema>;
700
698
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
701
- }, z.ZodTypeDef, Omit<{
699
+ }, z.ZodTypeDef, {
702
700
  group: string;
703
701
  icon?: string | {
704
702
  name: string;
@@ -708,12 +706,10 @@ export declare const willowConfigSchema: z.ZodObject<{
708
706
  expanded?: boolean | undefined;
709
707
  public?: boolean | undefined;
710
708
  directory?: "none" | "card" | "accordion" | undefined;
711
- graphql?: undefined;
712
709
  tag?: string | undefined;
713
710
  searchable?: boolean | undefined;
714
711
  boost?: number | undefined;
715
712
  hidden?: boolean | undefined;
716
- sdk?: undefined;
717
713
  root?: string | undefined;
718
714
  thumbnail?: {
719
715
  background?: string | undefined;
@@ -722,7 +718,7 @@ export declare const willowConfigSchema: z.ZodObject<{
722
718
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
723
719
  surface?: "neutral" | "brand" | undefined;
724
720
  } | undefined;
725
- }, "graphql" | "sdk"> & {
721
+ } & {
726
722
  openapi?: string | {
727
723
  source: string;
728
724
  directory?: string | undefined;
@@ -742,7 +738,7 @@ export declare const willowConfigSchema: z.ZodObject<{
742
738
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
743
739
  }>, "many">;
744
740
  }, "strip", z.ZodTypeAny, {
745
- groups: (Omit<{
741
+ groups: ({
746
742
  group: string;
747
743
  icon?: string | {
748
744
  name: string;
@@ -752,12 +748,10 @@ export declare const willowConfigSchema: z.ZodObject<{
752
748
  expanded?: boolean | undefined;
753
749
  public?: boolean | undefined;
754
750
  directory?: "none" | "card" | "accordion" | undefined;
755
- graphql?: undefined;
756
751
  tag?: string | undefined;
757
752
  searchable?: boolean | undefined;
758
753
  boost?: number | undefined;
759
754
  hidden?: boolean | undefined;
760
- sdk?: undefined;
761
755
  root?: string | undefined;
762
756
  thumbnail?: {
763
757
  background?: string | undefined;
@@ -766,7 +760,7 @@ export declare const willowConfigSchema: z.ZodObject<{
766
760
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
767
761
  surface?: "neutral" | "brand" | undefined;
768
762
  } | undefined;
769
- }, "graphql" | "sdk"> & {
763
+ } & {
770
764
  openapi?: string | {
771
765
  source: string;
772
766
  directory?: string | undefined;
@@ -790,7 +784,7 @@ export declare const willowConfigSchema: z.ZodObject<{
790
784
  sdk?: undefined;
791
785
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
792
786
  }, {
793
- groups: (Omit<{
787
+ groups: ({
794
788
  group: string;
795
789
  icon?: string | {
796
790
  name: string;
@@ -800,12 +794,10 @@ export declare const willowConfigSchema: z.ZodObject<{
800
794
  expanded?: boolean | undefined;
801
795
  public?: boolean | undefined;
802
796
  directory?: "none" | "card" | "accordion" | undefined;
803
- graphql?: undefined;
804
797
  tag?: string | undefined;
805
798
  searchable?: boolean | undefined;
806
799
  boost?: number | undefined;
807
800
  hidden?: boolean | undefined;
808
- sdk?: undefined;
809
801
  root?: string | undefined;
810
802
  thumbnail?: {
811
803
  background?: string | undefined;
@@ -814,7 +806,7 @@ export declare const willowConfigSchema: z.ZodObject<{
814
806
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
815
807
  surface?: "neutral" | "brand" | undefined;
816
808
  } | undefined;
817
- }, "graphql" | "sdk"> & {
809
+ } & {
818
810
  openapi?: string | {
819
811
  source: string;
820
812
  directory?: string | undefined;
@@ -843,7 +835,7 @@ export declare const willowConfigSchema: z.ZodObject<{
843
835
  graphql: z.ZodOptional<z.ZodNever>;
844
836
  sdk: z.ZodOptional<z.ZodNever>;
845
837
  } & {
846
- pages: z.ZodArray<z.ZodType<string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
838
+ pages: z.ZodArray<z.ZodType<string | import("../properties/index.js").NavigationLinkConfig | ({
847
839
  group: string;
848
840
  icon?: string | {
849
841
  name: string;
@@ -853,12 +845,10 @@ export declare const willowConfigSchema: z.ZodObject<{
853
845
  expanded?: boolean | undefined;
854
846
  public?: boolean | undefined;
855
847
  directory?: "none" | "card" | "accordion" | undefined;
856
- graphql?: undefined;
857
848
  tag?: string | undefined;
858
849
  searchable?: boolean | undefined;
859
850
  boost?: number | undefined;
860
851
  hidden?: boolean | undefined;
861
- sdk?: undefined;
862
852
  root?: string | undefined;
863
853
  thumbnail?: {
864
854
  background?: string | undefined;
@@ -867,7 +857,7 @@ export declare const willowConfigSchema: z.ZodObject<{
867
857
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
868
858
  surface?: "neutral" | "brand" | undefined;
869
859
  } | undefined;
870
- }, "graphql" | "sdk"> & {
860
+ } & {
871
861
  openapi?: string | {
872
862
  source: string;
873
863
  directory?: string | undefined;
@@ -885,7 +875,7 @@ export declare const willowConfigSchema: z.ZodObject<{
885
875
  sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
886
876
  graphql?: z.infer<typeof import("../properties/index.js").graphqlSchema>;
887
877
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
888
- }), z.ZodTypeDef, string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
878
+ }), z.ZodTypeDef, string | import("../properties/index.js").NavigationLinkConfig | ({
889
879
  group: string;
890
880
  icon?: string | {
891
881
  name: string;
@@ -895,12 +885,10 @@ export declare const willowConfigSchema: z.ZodObject<{
895
885
  expanded?: boolean | undefined;
896
886
  public?: boolean | undefined;
897
887
  directory?: "none" | "card" | "accordion" | undefined;
898
- graphql?: undefined;
899
888
  tag?: string | undefined;
900
889
  searchable?: boolean | undefined;
901
890
  boost?: number | undefined;
902
891
  hidden?: boolean | undefined;
903
- sdk?: undefined;
904
892
  root?: string | undefined;
905
893
  thumbnail?: {
906
894
  background?: string | undefined;
@@ -909,7 +897,7 @@ export declare const willowConfigSchema: z.ZodObject<{
909
897
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
910
898
  surface?: "neutral" | "brand" | undefined;
911
899
  } | undefined;
912
- }, "graphql" | "sdk"> & {
900
+ } & {
913
901
  openapi?: string | {
914
902
  source: string;
915
903
  directory?: string | undefined;
@@ -929,7 +917,7 @@ export declare const willowConfigSchema: z.ZodObject<{
929
917
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
930
918
  })>, "many">;
931
919
  }, "strip", z.ZodTypeAny, {
932
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
920
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
933
921
  group: string;
934
922
  icon?: string | {
935
923
  name: string;
@@ -939,12 +927,10 @@ export declare const willowConfigSchema: z.ZodObject<{
939
927
  expanded?: boolean | undefined;
940
928
  public?: boolean | undefined;
941
929
  directory?: "none" | "card" | "accordion" | undefined;
942
- graphql?: undefined;
943
930
  tag?: string | undefined;
944
931
  searchable?: boolean | undefined;
945
932
  boost?: number | undefined;
946
933
  hidden?: boolean | undefined;
947
- sdk?: undefined;
948
934
  root?: string | undefined;
949
935
  thumbnail?: {
950
936
  background?: string | undefined;
@@ -953,7 +939,7 @@ export declare const willowConfigSchema: z.ZodObject<{
953
939
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
954
940
  surface?: "neutral" | "brand" | undefined;
955
941
  } | undefined;
956
- }, "graphql" | "sdk"> & {
942
+ } & {
957
943
  openapi?: string | {
958
944
  source: string;
959
945
  directory?: string | undefined;
@@ -977,7 +963,7 @@ export declare const willowConfigSchema: z.ZodObject<{
977
963
  sdk?: undefined;
978
964
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
979
965
  }, {
980
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
966
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
981
967
  group: string;
982
968
  icon?: string | {
983
969
  name: string;
@@ -987,12 +973,10 @@ export declare const willowConfigSchema: z.ZodObject<{
987
973
  expanded?: boolean | undefined;
988
974
  public?: boolean | undefined;
989
975
  directory?: "none" | "card" | "accordion" | undefined;
990
- graphql?: undefined;
991
976
  tag?: string | undefined;
992
977
  searchable?: boolean | undefined;
993
978
  boost?: number | undefined;
994
979
  hidden?: boolean | undefined;
995
- sdk?: undefined;
996
980
  root?: string | undefined;
997
981
  thumbnail?: {
998
982
  background?: string | undefined;
@@ -1001,7 +985,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1001
985
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
1002
986
  surface?: "neutral" | "brand" | undefined;
1003
987
  } | undefined;
1004
- }, "graphql" | "sdk"> & {
988
+ } & {
1005
989
  openapi?: string | {
1006
990
  source: string;
1007
991
  directory?: string | undefined;
@@ -2071,7 +2055,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2071
2055
  sdk?: undefined;
2072
2056
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2073
2057
  } | {
2074
- groups: (Omit<{
2058
+ groups: ({
2075
2059
  group: string;
2076
2060
  icon?: string | {
2077
2061
  name: string;
@@ -2081,12 +2065,10 @@ export declare const willowConfigSchema: z.ZodObject<{
2081
2065
  expanded?: boolean | undefined;
2082
2066
  public?: boolean | undefined;
2083
2067
  directory?: "none" | "card" | "accordion" | undefined;
2084
- graphql?: undefined;
2085
2068
  tag?: string | undefined;
2086
2069
  searchable?: boolean | undefined;
2087
2070
  boost?: number | undefined;
2088
2071
  hidden?: boolean | undefined;
2089
- sdk?: undefined;
2090
2072
  root?: string | undefined;
2091
2073
  thumbnail?: {
2092
2074
  background?: string | undefined;
@@ -2095,7 +2077,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2095
2077
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2096
2078
  surface?: "neutral" | "brand" | undefined;
2097
2079
  } | undefined;
2098
- }, "graphql" | "sdk"> & {
2080
+ } & {
2099
2081
  openapi?: string | {
2100
2082
  source: string;
2101
2083
  directory?: string | undefined;
@@ -2119,7 +2101,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2119
2101
  sdk?: undefined;
2120
2102
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2121
2103
  } | {
2122
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
2104
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
2123
2105
  group: string;
2124
2106
  icon?: string | {
2125
2107
  name: string;
@@ -2129,12 +2111,10 @@ export declare const willowConfigSchema: z.ZodObject<{
2129
2111
  expanded?: boolean | undefined;
2130
2112
  public?: boolean | undefined;
2131
2113
  directory?: "none" | "card" | "accordion" | undefined;
2132
- graphql?: undefined;
2133
2114
  tag?: string | undefined;
2134
2115
  searchable?: boolean | undefined;
2135
2116
  boost?: number | undefined;
2136
2117
  hidden?: boolean | undefined;
2137
- sdk?: undefined;
2138
2118
  root?: string | undefined;
2139
2119
  thumbnail?: {
2140
2120
  background?: string | undefined;
@@ -2143,7 +2123,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2143
2123
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2144
2124
  surface?: "neutral" | "brand" | undefined;
2145
2125
  } | undefined;
2146
- }, "graphql" | "sdk"> & {
2126
+ } & {
2147
2127
  openapi?: string | {
2148
2128
  source: string;
2149
2129
  directory?: string | undefined;
@@ -2547,7 +2527,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2547
2527
  sdk?: undefined;
2548
2528
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2549
2529
  } | {
2550
- groups: (Omit<{
2530
+ groups: ({
2551
2531
  group: string;
2552
2532
  icon?: string | {
2553
2533
  name: string;
@@ -2557,12 +2537,10 @@ export declare const willowConfigSchema: z.ZodObject<{
2557
2537
  expanded?: boolean | undefined;
2558
2538
  public?: boolean | undefined;
2559
2539
  directory?: "none" | "card" | "accordion" | undefined;
2560
- graphql?: undefined;
2561
2540
  tag?: string | undefined;
2562
2541
  searchable?: boolean | undefined;
2563
2542
  boost?: number | undefined;
2564
2543
  hidden?: boolean | undefined;
2565
- sdk?: undefined;
2566
2544
  root?: string | undefined;
2567
2545
  thumbnail?: {
2568
2546
  background?: string | undefined;
@@ -2571,7 +2549,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2571
2549
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2572
2550
  surface?: "neutral" | "brand" | undefined;
2573
2551
  } | undefined;
2574
- }, "graphql" | "sdk"> & {
2552
+ } & {
2575
2553
  openapi?: string | {
2576
2554
  source: string;
2577
2555
  directory?: string | undefined;
@@ -2595,7 +2573,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2595
2573
  sdk?: undefined;
2596
2574
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2597
2575
  } | {
2598
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
2576
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
2599
2577
  group: string;
2600
2578
  icon?: string | {
2601
2579
  name: string;
@@ -2605,12 +2583,10 @@ export declare const willowConfigSchema: z.ZodObject<{
2605
2583
  expanded?: boolean | undefined;
2606
2584
  public?: boolean | undefined;
2607
2585
  directory?: "none" | "card" | "accordion" | undefined;
2608
- graphql?: undefined;
2609
2586
  tag?: string | undefined;
2610
2587
  searchable?: boolean | undefined;
2611
2588
  boost?: number | undefined;
2612
2589
  hidden?: boolean | undefined;
2613
- sdk?: undefined;
2614
2590
  root?: string | undefined;
2615
2591
  thumbnail?: {
2616
2592
  background?: string | undefined;
@@ -2619,7 +2595,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2619
2595
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2620
2596
  surface?: "neutral" | "brand" | undefined;
2621
2597
  } | undefined;
2622
- }, "graphql" | "sdk"> & {
2598
+ } & {
2623
2599
  openapi?: string | {
2624
2600
  source: string;
2625
2601
  directory?: string | undefined;