@mintlify/validation 0.1.940 → 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 +2 -2
@@ -624,7 +624,7 @@ export declare const aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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 aspenConfigSchema: 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;
@@ -2039,7 +2023,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2039
2023
  sdk?: undefined;
2040
2024
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2041
2025
  } | {
2042
- groups: (Omit<{
2026
+ groups: ({
2043
2027
  group: string;
2044
2028
  icon?: string | {
2045
2029
  name: string;
@@ -2049,12 +2033,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
2049
2033
  expanded?: boolean | undefined;
2050
2034
  public?: boolean | undefined;
2051
2035
  directory?: "none" | "card" | "accordion" | undefined;
2052
- graphql?: undefined;
2053
2036
  tag?: string | undefined;
2054
2037
  searchable?: boolean | undefined;
2055
2038
  boost?: number | undefined;
2056
2039
  hidden?: boolean | undefined;
2057
- sdk?: undefined;
2058
2040
  root?: string | undefined;
2059
2041
  thumbnail?: {
2060
2042
  background?: string | undefined;
@@ -2063,7 +2045,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2063
2045
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2064
2046
  surface?: "neutral" | "brand" | undefined;
2065
2047
  } | undefined;
2066
- }, "graphql" | "sdk"> & {
2048
+ } & {
2067
2049
  openapi?: string | {
2068
2050
  source: string;
2069
2051
  directory?: string | undefined;
@@ -2087,7 +2069,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2087
2069
  sdk?: undefined;
2088
2070
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2089
2071
  } | {
2090
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
2072
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
2091
2073
  group: string;
2092
2074
  icon?: string | {
2093
2075
  name: string;
@@ -2097,12 +2079,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
2097
2079
  expanded?: boolean | undefined;
2098
2080
  public?: boolean | undefined;
2099
2081
  directory?: "none" | "card" | "accordion" | undefined;
2100
- graphql?: undefined;
2101
2082
  tag?: string | undefined;
2102
2083
  searchable?: boolean | undefined;
2103
2084
  boost?: number | undefined;
2104
2085
  hidden?: boolean | undefined;
2105
- sdk?: undefined;
2106
2086
  root?: string | undefined;
2107
2087
  thumbnail?: {
2108
2088
  background?: string | undefined;
@@ -2111,7 +2091,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2111
2091
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2112
2092
  surface?: "neutral" | "brand" | undefined;
2113
2093
  } | undefined;
2114
- }, "graphql" | "sdk"> & {
2094
+ } & {
2115
2095
  openapi?: string | {
2116
2096
  source: string;
2117
2097
  directory?: string | undefined;
@@ -2509,7 +2489,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2509
2489
  sdk?: undefined;
2510
2490
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2511
2491
  } | {
2512
- groups: (Omit<{
2492
+ groups: ({
2513
2493
  group: string;
2514
2494
  icon?: string | {
2515
2495
  name: string;
@@ -2519,12 +2499,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
2519
2499
  expanded?: boolean | undefined;
2520
2500
  public?: boolean | undefined;
2521
2501
  directory?: "none" | "card" | "accordion" | undefined;
2522
- graphql?: undefined;
2523
2502
  tag?: string | undefined;
2524
2503
  searchable?: boolean | undefined;
2525
2504
  boost?: number | undefined;
2526
2505
  hidden?: boolean | undefined;
2527
- sdk?: undefined;
2528
2506
  root?: string | undefined;
2529
2507
  thumbnail?: {
2530
2508
  background?: string | undefined;
@@ -2533,7 +2511,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2533
2511
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2534
2512
  surface?: "neutral" | "brand" | undefined;
2535
2513
  } | undefined;
2536
- }, "graphql" | "sdk"> & {
2514
+ } & {
2537
2515
  openapi?: string | {
2538
2516
  source: string;
2539
2517
  directory?: string | undefined;
@@ -2557,7 +2535,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2557
2535
  sdk?: undefined;
2558
2536
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2559
2537
  } | {
2560
- pages: (string | import("../properties/index.js").NavigationLinkConfig | (Omit<{
2538
+ pages: (string | import("../properties/index.js").NavigationLinkConfig | ({
2561
2539
  group: string;
2562
2540
  icon?: string | {
2563
2541
  name: string;
@@ -2567,12 +2545,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
2567
2545
  expanded?: boolean | undefined;
2568
2546
  public?: boolean | undefined;
2569
2547
  directory?: "none" | "card" | "accordion" | undefined;
2570
- graphql?: undefined;
2571
2548
  tag?: string | undefined;
2572
2549
  searchable?: boolean | undefined;
2573
2550
  boost?: number | undefined;
2574
2551
  hidden?: boolean | undefined;
2575
- sdk?: undefined;
2576
2552
  root?: string | undefined;
2577
2553
  thumbnail?: {
2578
2554
  background?: string | undefined;
@@ -2581,7 +2557,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2581
2557
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
2582
2558
  surface?: "neutral" | "brand" | undefined;
2583
2559
  } | undefined;
2584
- }, "graphql" | "sdk"> & {
2560
+ } & {
2585
2561
  openapi?: string | {
2586
2562
  source: string;
2587
2563
  directory?: string | undefined;