@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
@@ -624,7 +624,7 @@ export declare const mintConfigSchema: z.ZodObject<{
624
624
  graphql: z.ZodOptional<z.ZodNever>;
625
625
  sdk: z.ZodOptional<z.ZodNever>;
626
626
  } & {
627
- groups: z.ZodArray<z.ZodType<Omit<{
627
+ groups: z.ZodArray<z.ZodType<{
628
628
  group: string;
629
629
  icon?: string | {
630
630
  name: string;
@@ -634,12 +634,10 @@ export declare const mintConfigSchema: z.ZodObject<{
634
634
  expanded?: boolean | undefined;
635
635
  public?: boolean | undefined;
636
636
  directory?: "none" | "card" | "accordion" | undefined;
637
- graphql?: undefined;
638
637
  tag?: string | undefined;
639
638
  searchable?: boolean | undefined;
640
639
  boost?: number | undefined;
641
640
  hidden?: boolean | undefined;
642
- sdk?: undefined;
643
641
  root?: string | undefined;
644
642
  thumbnail?: {
645
643
  background?: string | undefined;
@@ -648,7 +646,7 @@ export declare const mintConfigSchema: z.ZodObject<{
648
646
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
649
647
  surface?: "neutral" | "brand" | undefined;
650
648
  } | undefined;
651
- }, "graphql" | "sdk"> & {
649
+ } & {
652
650
  openapi?: string | {
653
651
  source: string;
654
652
  directory?: string | undefined;
@@ -666,7 +664,7 @@ export declare const mintConfigSchema: z.ZodObject<{
666
664
  sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
667
665
  graphql?: z.infer<typeof import("../properties/index.js").graphqlSchema>;
668
666
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
669
- }, z.ZodTypeDef, Omit<{
667
+ }, z.ZodTypeDef, {
670
668
  group: string;
671
669
  icon?: string | {
672
670
  name: string;
@@ -676,12 +674,10 @@ export declare const mintConfigSchema: z.ZodObject<{
676
674
  expanded?: boolean | undefined;
677
675
  public?: boolean | undefined;
678
676
  directory?: "none" | "card" | "accordion" | undefined;
679
- graphql?: undefined;
680
677
  tag?: string | undefined;
681
678
  searchable?: boolean | undefined;
682
679
  boost?: number | undefined;
683
680
  hidden?: boolean | undefined;
684
- sdk?: undefined;
685
681
  root?: string | undefined;
686
682
  thumbnail?: {
687
683
  background?: string | undefined;
@@ -690,7 +686,7 @@ export declare const mintConfigSchema: z.ZodObject<{
690
686
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
691
687
  surface?: "neutral" | "brand" | undefined;
692
688
  } | undefined;
693
- }, "graphql" | "sdk"> & {
689
+ } & {
694
690
  openapi?: string | {
695
691
  source: string;
696
692
  directory?: string | undefined;
@@ -710,7 +706,7 @@ export declare const mintConfigSchema: z.ZodObject<{
710
706
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
711
707
  }>, "many">;
712
708
  }, "strip", z.ZodTypeAny, {
713
- groups: (Omit<{
709
+ groups: ({
714
710
  group: string;
715
711
  icon?: string | {
716
712
  name: string;
@@ -720,12 +716,10 @@ export declare const mintConfigSchema: z.ZodObject<{
720
716
  expanded?: boolean | undefined;
721
717
  public?: boolean | undefined;
722
718
  directory?: "none" | "card" | "accordion" | undefined;
723
- graphql?: undefined;
724
719
  tag?: string | undefined;
725
720
  searchable?: boolean | undefined;
726
721
  boost?: number | undefined;
727
722
  hidden?: boolean | undefined;
728
- sdk?: undefined;
729
723
  root?: string | undefined;
730
724
  thumbnail?: {
731
725
  background?: string | undefined;
@@ -734,7 +728,7 @@ export declare const mintConfigSchema: z.ZodObject<{
734
728
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
735
729
  surface?: "neutral" | "brand" | undefined;
736
730
  } | undefined;
737
- }, "graphql" | "sdk"> & {
731
+ } & {
738
732
  openapi?: string | {
739
733
  source: string;
740
734
  directory?: string | undefined;
@@ -758,7 +752,7 @@ export declare const mintConfigSchema: z.ZodObject<{
758
752
  sdk?: undefined;
759
753
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
760
754
  }, {
761
- groups: (Omit<{
755
+ groups: ({
762
756
  group: string;
763
757
  icon?: string | {
764
758
  name: string;
@@ -768,12 +762,10 @@ export declare const mintConfigSchema: z.ZodObject<{
768
762
  expanded?: boolean | undefined;
769
763
  public?: boolean | undefined;
770
764
  directory?: "none" | "card" | "accordion" | undefined;
771
- graphql?: undefined;
772
765
  tag?: string | undefined;
773
766
  searchable?: boolean | undefined;
774
767
  boost?: number | undefined;
775
768
  hidden?: boolean | undefined;
776
- sdk?: undefined;
777
769
  root?: string | undefined;
778
770
  thumbnail?: {
779
771
  background?: string | undefined;
@@ -782,7 +774,7 @@ export declare const mintConfigSchema: z.ZodObject<{
782
774
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
783
775
  surface?: "neutral" | "brand" | undefined;
784
776
  } | undefined;
785
- }, "graphql" | "sdk"> & {
777
+ } & {
786
778
  openapi?: string | {
787
779
  source: string;
788
780
  directory?: string | undefined;
@@ -811,7 +803,7 @@ export declare const mintConfigSchema: z.ZodObject<{
811
803
  graphql: z.ZodOptional<z.ZodNever>;
812
804
  sdk: z.ZodOptional<z.ZodNever>;
813
805
  } & {
814
- pages: z.ZodArray<z.ZodType<string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
806
+ pages: z.ZodArray<z.ZodType<string | import("../properties/index.js").NavigationLinkConfig | ({
815
807
  group: string;
816
808
  icon?: string | {
817
809
  name: string;
@@ -821,12 +813,10 @@ export declare const mintConfigSchema: z.ZodObject<{
821
813
  expanded?: boolean | undefined;
822
814
  public?: boolean | undefined;
823
815
  directory?: "none" | "card" | "accordion" | undefined;
824
- graphql?: undefined;
825
816
  tag?: string | undefined;
826
817
  searchable?: boolean | undefined;
827
818
  boost?: number | undefined;
828
819
  hidden?: boolean | undefined;
829
- sdk?: undefined;
830
820
  root?: string | undefined;
831
821
  thumbnail?: {
832
822
  background?: string | undefined;
@@ -835,7 +825,7 @@ export declare const mintConfigSchema: z.ZodObject<{
835
825
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
836
826
  surface?: "neutral" | "brand" | undefined;
837
827
  } | undefined;
838
- }, "graphql" | "sdk"> & {
828
+ } & {
839
829
  openapi?: string | {
840
830
  source: string;
841
831
  directory?: string | undefined;
@@ -853,7 +843,7 @@ export declare const mintConfigSchema: z.ZodObject<{
853
843
  sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
854
844
  graphql?: z.infer<typeof import("../properties/index.js").graphqlSchema>;
855
845
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
856
- }), z.ZodTypeDef, string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
846
+ }), z.ZodTypeDef, string | import("../properties/index.js").NavigationLinkConfig | ({
857
847
  group: string;
858
848
  icon?: string | {
859
849
  name: string;
@@ -863,12 +853,10 @@ export declare const mintConfigSchema: z.ZodObject<{
863
853
  expanded?: boolean | undefined;
864
854
  public?: boolean | undefined;
865
855
  directory?: "none" | "card" | "accordion" | undefined;
866
- graphql?: undefined;
867
856
  tag?: string | undefined;
868
857
  searchable?: boolean | undefined;
869
858
  boost?: number | undefined;
870
859
  hidden?: boolean | undefined;
871
- sdk?: undefined;
872
860
  root?: string | undefined;
873
861
  thumbnail?: {
874
862
  background?: string | undefined;
@@ -877,7 +865,7 @@ export declare const mintConfigSchema: z.ZodObject<{
877
865
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
878
866
  surface?: "neutral" | "brand" | undefined;
879
867
  } | undefined;
880
- }, "graphql" | "sdk"> & {
868
+ } & {
881
869
  openapi?: string | {
882
870
  source: string;
883
871
  directory?: string | undefined;
@@ -897,7 +885,7 @@ export declare const mintConfigSchema: z.ZodObject<{
897
885
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
898
886
  })>, "many">;
899
887
  }, "strip", z.ZodTypeAny, {
900
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
888
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
901
889
  group: string;
902
890
  icon?: string | {
903
891
  name: string;
@@ -907,12 +895,10 @@ export declare const mintConfigSchema: z.ZodObject<{
907
895
  expanded?: boolean | undefined;
908
896
  public?: boolean | undefined;
909
897
  directory?: "none" | "card" | "accordion" | undefined;
910
- graphql?: undefined;
911
898
  tag?: string | undefined;
912
899
  searchable?: boolean | undefined;
913
900
  boost?: number | undefined;
914
901
  hidden?: boolean | undefined;
915
- sdk?: undefined;
916
902
  root?: string | undefined;
917
903
  thumbnail?: {
918
904
  background?: string | undefined;
@@ -921,7 +907,7 @@ export declare const mintConfigSchema: z.ZodObject<{
921
907
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
922
908
  surface?: "neutral" | "brand" | undefined;
923
909
  } | undefined;
924
- }, "graphql" | "sdk"> & {
910
+ } & {
925
911
  openapi?: string | {
926
912
  source: string;
927
913
  directory?: string | undefined;
@@ -945,7 +931,7 @@ export declare const mintConfigSchema: z.ZodObject<{
945
931
  sdk?: undefined;
946
932
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
947
933
  }, {
948
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
934
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
949
935
  group: string;
950
936
  icon?: string | {
951
937
  name: string;
@@ -955,12 +941,10 @@ export declare const mintConfigSchema: z.ZodObject<{
955
941
  expanded?: boolean | undefined;
956
942
  public?: boolean | undefined;
957
943
  directory?: "none" | "card" | "accordion" | undefined;
958
- graphql?: undefined;
959
944
  tag?: string | undefined;
960
945
  searchable?: boolean | undefined;
961
946
  boost?: number | undefined;
962
947
  hidden?: boolean | undefined;
963
- sdk?: undefined;
964
948
  root?: string | undefined;
965
949
  thumbnail?: {
966
950
  background?: string | undefined;
@@ -969,7 +953,7 @@ export declare const mintConfigSchema: z.ZodObject<{
969
953
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
970
954
  surface?: "neutral" | "brand" | undefined;
971
955
  } | undefined;
972
- }, "graphql" | "sdk"> & {
956
+ } & {
973
957
  openapi?: string | {
974
958
  source: string;
975
959
  directory?: string | undefined;
@@ -2040,7 +2024,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2040
2024
  sdk?: undefined;
2041
2025
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2042
2026
  } | {
2043
- groups: (Omit<{
2027
+ groups: ({
2044
2028
  group: string;
2045
2029
  icon?: string | {
2046
2030
  name: string;
@@ -2050,12 +2034,10 @@ export declare const mintConfigSchema: z.ZodObject<{
2050
2034
  expanded?: boolean | undefined;
2051
2035
  public?: boolean | undefined;
2052
2036
  directory?: "none" | "card" | "accordion" | undefined;
2053
- graphql?: undefined;
2054
2037
  tag?: string | undefined;
2055
2038
  searchable?: boolean | undefined;
2056
2039
  boost?: number | undefined;
2057
2040
  hidden?: boolean | undefined;
2058
- sdk?: undefined;
2059
2041
  root?: string | undefined;
2060
2042
  thumbnail?: {
2061
2043
  background?: string | undefined;
@@ -2064,7 +2046,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2064
2046
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2065
2047
  surface?: "neutral" | "brand" | undefined;
2066
2048
  } | undefined;
2067
- }, "graphql" | "sdk"> & {
2049
+ } & {
2068
2050
  openapi?: string | {
2069
2051
  source: string;
2070
2052
  directory?: string | undefined;
@@ -2088,7 +2070,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2088
2070
  sdk?: undefined;
2089
2071
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2090
2072
  } | {
2091
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
2073
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
2092
2074
  group: string;
2093
2075
  icon?: string | {
2094
2076
  name: string;
@@ -2098,12 +2080,10 @@ export declare const mintConfigSchema: z.ZodObject<{
2098
2080
  expanded?: boolean | undefined;
2099
2081
  public?: boolean | undefined;
2100
2082
  directory?: "none" | "card" | "accordion" | undefined;
2101
- graphql?: undefined;
2102
2083
  tag?: string | undefined;
2103
2084
  searchable?: boolean | undefined;
2104
2085
  boost?: number | undefined;
2105
2086
  hidden?: boolean | undefined;
2106
- sdk?: undefined;
2107
2087
  root?: string | undefined;
2108
2088
  thumbnail?: {
2109
2089
  background?: string | undefined;
@@ -2112,7 +2092,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2112
2092
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2113
2093
  surface?: "neutral" | "brand" | undefined;
2114
2094
  } | undefined;
2115
- }, "graphql" | "sdk"> & {
2095
+ } & {
2116
2096
  openapi?: string | {
2117
2097
  source: string;
2118
2098
  directory?: string | undefined;
@@ -2511,7 +2491,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2511
2491
  sdk?: undefined;
2512
2492
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2513
2493
  } | {
2514
- groups: (Omit<{
2494
+ groups: ({
2515
2495
  group: string;
2516
2496
  icon?: string | {
2517
2497
  name: string;
@@ -2521,12 +2501,10 @@ export declare const mintConfigSchema: z.ZodObject<{
2521
2501
  expanded?: boolean | undefined;
2522
2502
  public?: boolean | undefined;
2523
2503
  directory?: "none" | "card" | "accordion" | undefined;
2524
- graphql?: undefined;
2525
2504
  tag?: string | undefined;
2526
2505
  searchable?: boolean | undefined;
2527
2506
  boost?: number | undefined;
2528
2507
  hidden?: boolean | undefined;
2529
- sdk?: undefined;
2530
2508
  root?: string | undefined;
2531
2509
  thumbnail?: {
2532
2510
  background?: string | undefined;
@@ -2535,7 +2513,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2535
2513
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2536
2514
  surface?: "neutral" | "brand" | undefined;
2537
2515
  } | undefined;
2538
- }, "graphql" | "sdk"> & {
2516
+ } & {
2539
2517
  openapi?: string | {
2540
2518
  source: string;
2541
2519
  directory?: string | undefined;
@@ -2559,7 +2537,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2559
2537
  sdk?: undefined;
2560
2538
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2561
2539
  } | {
2562
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
2540
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
2563
2541
  group: string;
2564
2542
  icon?: string | {
2565
2543
  name: string;
@@ -2569,12 +2547,10 @@ export declare const mintConfigSchema: z.ZodObject<{
2569
2547
  expanded?: boolean | undefined;
2570
2548
  public?: boolean | undefined;
2571
2549
  directory?: "none" | "card" | "accordion" | undefined;
2572
- graphql?: undefined;
2573
2550
  tag?: string | undefined;
2574
2551
  searchable?: boolean | undefined;
2575
2552
  boost?: number | undefined;
2576
2553
  hidden?: boolean | undefined;
2577
- sdk?: undefined;
2578
2554
  root?: string | undefined;
2579
2555
  thumbnail?: {
2580
2556
  background?: string | undefined;
@@ -2583,7 +2559,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2583
2559
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2584
2560
  surface?: "neutral" | "brand" | undefined;
2585
2561
  } | undefined;
2586
- }, "graphql" | "sdk"> & {
2562
+ } & {
2587
2563
  openapi?: string | {
2588
2564
  source: string;
2589
2565
  directory?: string | undefined;