@mintlify/validation 0.1.825 → 0.1.826

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 (34) hide show
  1. package/dist/editor-navigation/conversion/common.d.ts +4 -3
  2. package/dist/editor-navigation/conversion/common.js +9 -1
  3. package/dist/editor-navigation/conversion/docsjson-to-tree.js +3 -1
  4. package/dist/editor-navigation/types.d.ts +7 -3
  5. package/dist/mint-config/schemas/v2/index.d.ts +480 -360
  6. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +4 -4
  7. package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +4 -2
  8. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +4 -4
  9. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +15 -12
  10. package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -1
  11. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +100 -40
  12. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +4 -4
  13. package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +4 -4
  14. package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +38 -10
  15. package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +4 -4
  16. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +2 -2
  17. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +4 -4
  18. package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +39 -0
  19. package/dist/mint-config/schemas/v2/properties/reusable/page.js +7 -0
  20. package/dist/mint-config/schemas/v2/properties/reusable/sdk.d.ts +2 -1
  21. package/dist/mint-config/schemas/v2/properties/reusable/sdk.js +2 -1
  22. package/dist/mint-config/schemas/v2/themes/almond.d.ts +48 -36
  23. package/dist/mint-config/schemas/v2/themes/aspen.d.ts +48 -36
  24. package/dist/mint-config/schemas/v2/themes/linden.d.ts +48 -36
  25. package/dist/mint-config/schemas/v2/themes/luma.d.ts +48 -36
  26. package/dist/mint-config/schemas/v2/themes/maple.d.ts +48 -36
  27. package/dist/mint-config/schemas/v2/themes/mint.d.ts +48 -36
  28. package/dist/mint-config/schemas/v2/themes/palm.d.ts +48 -36
  29. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +32 -24
  30. package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +48 -36
  31. package/dist/mint-config/schemas/v2/themes/willow.d.ts +48 -36
  32. package/dist/mint-config/validateConfig.d.ts +144 -108
  33. package/dist/tsconfig.build.tsbuildinfo +1 -1
  34. package/package.json +3 -3
@@ -596,7 +596,7 @@ export declare const mintConfigSchema: z.ZodObject<{
596
596
  graphql: z.ZodOptional<z.ZodNever>;
597
597
  sdk: z.ZodOptional<z.ZodNever>;
598
598
  } & {
599
- groups: z.ZodArray<z.ZodType<{
599
+ groups: z.ZodArray<z.ZodType<Omit<{
600
600
  group: string;
601
601
  icon?: string | {
602
602
  name: string;
@@ -606,14 +606,14 @@ export declare const mintConfigSchema: z.ZodObject<{
606
606
  expanded?: boolean | undefined;
607
607
  public?: boolean | undefined;
608
608
  directory?: "none" | "card" | "accordion" | undefined;
609
+ graphql?: undefined;
609
610
  tag?: string | undefined;
610
611
  searchable?: boolean | undefined;
611
612
  boost?: number | undefined;
612
613
  hidden?: boolean | undefined;
613
- graphql?: undefined;
614
614
  sdk?: undefined;
615
615
  root?: string | undefined;
616
- } & {
616
+ }, "sdk"> & {
617
617
  openapi?: string | string[] | {
618
618
  source: string;
619
619
  directory?: string | undefined;
@@ -623,8 +623,9 @@ export declare const mintConfigSchema: z.ZodObject<{
623
623
  directory?: string | undefined;
624
624
  } | undefined;
625
625
  } & {
626
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
626
627
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
627
- }, z.ZodTypeDef, {
628
+ }, z.ZodTypeDef, Omit<{
628
629
  group: string;
629
630
  icon?: string | {
630
631
  name: string;
@@ -634,14 +635,14 @@ export declare const mintConfigSchema: z.ZodObject<{
634
635
  expanded?: boolean | undefined;
635
636
  public?: boolean | undefined;
636
637
  directory?: "none" | "card" | "accordion" | undefined;
638
+ graphql?: undefined;
637
639
  tag?: string | undefined;
638
640
  searchable?: boolean | undefined;
639
641
  boost?: number | undefined;
640
642
  hidden?: boolean | undefined;
641
- graphql?: undefined;
642
643
  sdk?: undefined;
643
644
  root?: string | undefined;
644
- } & {
645
+ }, "sdk"> & {
645
646
  openapi?: string | string[] | {
646
647
  source: string;
647
648
  directory?: string | undefined;
@@ -651,10 +652,11 @@ export declare const mintConfigSchema: z.ZodObject<{
651
652
  directory?: string | undefined;
652
653
  } | undefined;
653
654
  } & {
655
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
654
656
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
655
657
  }>, "many">;
656
658
  }, "strip", z.ZodTypeAny, {
657
- groups: ({
659
+ groups: (Omit<{
658
660
  group: string;
659
661
  icon?: string | {
660
662
  name: string;
@@ -664,14 +666,14 @@ export declare const mintConfigSchema: z.ZodObject<{
664
666
  expanded?: boolean | undefined;
665
667
  public?: boolean | undefined;
666
668
  directory?: "none" | "card" | "accordion" | undefined;
669
+ graphql?: undefined;
667
670
  tag?: string | undefined;
668
671
  searchable?: boolean | undefined;
669
672
  boost?: number | undefined;
670
673
  hidden?: boolean | undefined;
671
- graphql?: undefined;
672
674
  sdk?: undefined;
673
675
  root?: string | undefined;
674
- } & {
676
+ }, "sdk"> & {
675
677
  openapi?: string | string[] | {
676
678
  source: string;
677
679
  directory?: string | undefined;
@@ -681,6 +683,7 @@ export declare const mintConfigSchema: z.ZodObject<{
681
683
  directory?: string | undefined;
682
684
  } | undefined;
683
685
  } & {
686
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
684
687
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
685
688
  })[];
686
689
  directory?: "none" | "card" | "accordion" | undefined;
@@ -688,7 +691,7 @@ export declare const mintConfigSchema: z.ZodObject<{
688
691
  sdk?: undefined;
689
692
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
690
693
  }, {
691
- groups: ({
694
+ groups: (Omit<{
692
695
  group: string;
693
696
  icon?: string | {
694
697
  name: string;
@@ -698,14 +701,14 @@ export declare const mintConfigSchema: z.ZodObject<{
698
701
  expanded?: boolean | undefined;
699
702
  public?: boolean | undefined;
700
703
  directory?: "none" | "card" | "accordion" | undefined;
704
+ graphql?: undefined;
701
705
  tag?: string | undefined;
702
706
  searchable?: boolean | undefined;
703
707
  boost?: number | undefined;
704
708
  hidden?: boolean | undefined;
705
- graphql?: undefined;
706
709
  sdk?: undefined;
707
710
  root?: string | undefined;
708
- } & {
711
+ }, "sdk"> & {
709
712
  openapi?: string | string[] | {
710
713
  source: string;
711
714
  directory?: string | undefined;
@@ -715,6 +718,7 @@ export declare const mintConfigSchema: z.ZodObject<{
715
718
  directory?: string | undefined;
716
719
  } | undefined;
717
720
  } & {
721
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
718
722
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
719
723
  })[];
720
724
  directory?: "none" | "card" | "accordion" | undefined;
@@ -727,7 +731,7 @@ export declare const mintConfigSchema: z.ZodObject<{
727
731
  graphql: z.ZodOptional<z.ZodNever>;
728
732
  sdk: z.ZodOptional<z.ZodNever>;
729
733
  } & {
730
- pages: z.ZodArray<z.ZodType<string | ({
734
+ pages: z.ZodArray<z.ZodType<string | (Omit<{
731
735
  group: string;
732
736
  icon?: string | {
733
737
  name: string;
@@ -737,14 +741,14 @@ export declare const mintConfigSchema: z.ZodObject<{
737
741
  expanded?: boolean | undefined;
738
742
  public?: boolean | undefined;
739
743
  directory?: "none" | "card" | "accordion" | undefined;
744
+ graphql?: undefined;
740
745
  tag?: string | undefined;
741
746
  searchable?: boolean | undefined;
742
747
  boost?: number | undefined;
743
748
  hidden?: boolean | undefined;
744
- graphql?: undefined;
745
749
  sdk?: undefined;
746
750
  root?: string | undefined;
747
- } & {
751
+ }, "sdk"> & {
748
752
  openapi?: string | string[] | {
749
753
  source: string;
750
754
  directory?: string | undefined;
@@ -754,8 +758,9 @@ export declare const mintConfigSchema: z.ZodObject<{
754
758
  directory?: string | undefined;
755
759
  } | undefined;
756
760
  } & {
761
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
757
762
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
758
- }), z.ZodTypeDef, string | ({
763
+ }), z.ZodTypeDef, string | (Omit<{
759
764
  group: string;
760
765
  icon?: string | {
761
766
  name: string;
@@ -765,14 +770,14 @@ export declare const mintConfigSchema: z.ZodObject<{
765
770
  expanded?: boolean | undefined;
766
771
  public?: boolean | undefined;
767
772
  directory?: "none" | "card" | "accordion" | undefined;
773
+ graphql?: undefined;
768
774
  tag?: string | undefined;
769
775
  searchable?: boolean | undefined;
770
776
  boost?: number | undefined;
771
777
  hidden?: boolean | undefined;
772
- graphql?: undefined;
773
778
  sdk?: undefined;
774
779
  root?: string | undefined;
775
- } & {
780
+ }, "sdk"> & {
776
781
  openapi?: string | string[] | {
777
782
  source: string;
778
783
  directory?: string | undefined;
@@ -782,10 +787,11 @@ export declare const mintConfigSchema: z.ZodObject<{
782
787
  directory?: string | undefined;
783
788
  } | undefined;
784
789
  } & {
790
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
785
791
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
786
792
  })>, "many">;
787
793
  }, "strip", z.ZodTypeAny, {
788
- pages: (string | ({
794
+ pages: (string | (Omit<{
789
795
  group: string;
790
796
  icon?: string | {
791
797
  name: string;
@@ -795,14 +801,14 @@ export declare const mintConfigSchema: z.ZodObject<{
795
801
  expanded?: boolean | undefined;
796
802
  public?: boolean | undefined;
797
803
  directory?: "none" | "card" | "accordion" | undefined;
804
+ graphql?: undefined;
798
805
  tag?: string | undefined;
799
806
  searchable?: boolean | undefined;
800
807
  boost?: number | undefined;
801
808
  hidden?: boolean | undefined;
802
- graphql?: undefined;
803
809
  sdk?: undefined;
804
810
  root?: string | undefined;
805
- } & {
811
+ }, "sdk"> & {
806
812
  openapi?: string | string[] | {
807
813
  source: string;
808
814
  directory?: string | undefined;
@@ -812,6 +818,7 @@ export declare const mintConfigSchema: z.ZodObject<{
812
818
  directory?: string | undefined;
813
819
  } | undefined;
814
820
  } & {
821
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
815
822
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
816
823
  }))[];
817
824
  directory?: "none" | "card" | "accordion" | undefined;
@@ -819,7 +826,7 @@ export declare const mintConfigSchema: z.ZodObject<{
819
826
  sdk?: undefined;
820
827
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
821
828
  }, {
822
- pages: (string | ({
829
+ pages: (string | (Omit<{
823
830
  group: string;
824
831
  icon?: string | {
825
832
  name: string;
@@ -829,14 +836,14 @@ export declare const mintConfigSchema: z.ZodObject<{
829
836
  expanded?: boolean | undefined;
830
837
  public?: boolean | undefined;
831
838
  directory?: "none" | "card" | "accordion" | undefined;
839
+ graphql?: undefined;
832
840
  tag?: string | undefined;
833
841
  searchable?: boolean | undefined;
834
842
  boost?: number | undefined;
835
843
  hidden?: boolean | undefined;
836
- graphql?: undefined;
837
844
  sdk?: undefined;
838
845
  root?: string | undefined;
839
- } & {
846
+ }, "sdk"> & {
840
847
  openapi?: string | string[] | {
841
848
  source: string;
842
849
  directory?: string | undefined;
@@ -846,6 +853,7 @@ export declare const mintConfigSchema: z.ZodObject<{
846
853
  directory?: string | undefined;
847
854
  } | undefined;
848
855
  } & {
856
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
849
857
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
850
858
  }))[];
851
859
  directory?: "none" | "card" | "accordion" | undefined;
@@ -1800,7 +1808,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1800
1808
  sdk?: undefined;
1801
1809
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
1802
1810
  } | {
1803
- groups: ({
1811
+ groups: (Omit<{
1804
1812
  group: string;
1805
1813
  icon?: string | {
1806
1814
  name: string;
@@ -1810,14 +1818,14 @@ export declare const mintConfigSchema: z.ZodObject<{
1810
1818
  expanded?: boolean | undefined;
1811
1819
  public?: boolean | undefined;
1812
1820
  directory?: "none" | "card" | "accordion" | undefined;
1821
+ graphql?: undefined;
1813
1822
  tag?: string | undefined;
1814
1823
  searchable?: boolean | undefined;
1815
1824
  boost?: number | undefined;
1816
1825
  hidden?: boolean | undefined;
1817
- graphql?: undefined;
1818
1826
  sdk?: undefined;
1819
1827
  root?: string | undefined;
1820
- } & {
1828
+ }, "sdk"> & {
1821
1829
  openapi?: string | string[] | {
1822
1830
  source: string;
1823
1831
  directory?: string | undefined;
@@ -1827,6 +1835,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1827
1835
  directory?: string | undefined;
1828
1836
  } | undefined;
1829
1837
  } & {
1838
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
1830
1839
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
1831
1840
  })[];
1832
1841
  directory?: "none" | "card" | "accordion" | undefined;
@@ -1834,7 +1843,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1834
1843
  sdk?: undefined;
1835
1844
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
1836
1845
  } | {
1837
- pages: (string | ({
1846
+ pages: (string | (Omit<{
1838
1847
  group: string;
1839
1848
  icon?: string | {
1840
1849
  name: string;
@@ -1844,14 +1853,14 @@ export declare const mintConfigSchema: z.ZodObject<{
1844
1853
  expanded?: boolean | undefined;
1845
1854
  public?: boolean | undefined;
1846
1855
  directory?: "none" | "card" | "accordion" | undefined;
1856
+ graphql?: undefined;
1847
1857
  tag?: string | undefined;
1848
1858
  searchable?: boolean | undefined;
1849
1859
  boost?: number | undefined;
1850
1860
  hidden?: boolean | undefined;
1851
- graphql?: undefined;
1852
1861
  sdk?: undefined;
1853
1862
  root?: string | undefined;
1854
- } & {
1863
+ }, "sdk"> & {
1855
1864
  openapi?: string | string[] | {
1856
1865
  source: string;
1857
1866
  directory?: string | undefined;
@@ -1861,6 +1870,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1861
1870
  directory?: string | undefined;
1862
1871
  } | undefined;
1863
1872
  } & {
1873
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
1864
1874
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
1865
1875
  }))[];
1866
1876
  directory?: "none" | "card" | "accordion" | undefined;
@@ -2215,7 +2225,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2215
2225
  sdk?: undefined;
2216
2226
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2217
2227
  } | {
2218
- groups: ({
2228
+ groups: (Omit<{
2219
2229
  group: string;
2220
2230
  icon?: string | {
2221
2231
  name: string;
@@ -2225,14 +2235,14 @@ export declare const mintConfigSchema: z.ZodObject<{
2225
2235
  expanded?: boolean | undefined;
2226
2236
  public?: boolean | undefined;
2227
2237
  directory?: "none" | "card" | "accordion" | undefined;
2238
+ graphql?: undefined;
2228
2239
  tag?: string | undefined;
2229
2240
  searchable?: boolean | undefined;
2230
2241
  boost?: number | undefined;
2231
2242
  hidden?: boolean | undefined;
2232
- graphql?: undefined;
2233
2243
  sdk?: undefined;
2234
2244
  root?: string | undefined;
2235
- } & {
2245
+ }, "sdk"> & {
2236
2246
  openapi?: string | string[] | {
2237
2247
  source: string;
2238
2248
  directory?: string | undefined;
@@ -2242,6 +2252,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2242
2252
  directory?: string | undefined;
2243
2253
  } | undefined;
2244
2254
  } & {
2255
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
2245
2256
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
2246
2257
  })[];
2247
2258
  directory?: "none" | "card" | "accordion" | undefined;
@@ -2249,7 +2260,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2249
2260
  sdk?: undefined;
2250
2261
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2251
2262
  } | {
2252
- pages: (string | ({
2263
+ pages: (string | (Omit<{
2253
2264
  group: string;
2254
2265
  icon?: string | {
2255
2266
  name: string;
@@ -2259,14 +2270,14 @@ export declare const mintConfigSchema: z.ZodObject<{
2259
2270
  expanded?: boolean | undefined;
2260
2271
  public?: boolean | undefined;
2261
2272
  directory?: "none" | "card" | "accordion" | undefined;
2273
+ graphql?: undefined;
2262
2274
  tag?: string | undefined;
2263
2275
  searchable?: boolean | undefined;
2264
2276
  boost?: number | undefined;
2265
2277
  hidden?: boolean | undefined;
2266
- graphql?: undefined;
2267
2278
  sdk?: undefined;
2268
2279
  root?: string | undefined;
2269
- } & {
2280
+ }, "sdk"> & {
2270
2281
  openapi?: string | string[] | {
2271
2282
  source: string;
2272
2283
  directory?: string | undefined;
@@ -2276,6 +2287,7 @@ export declare const mintConfigSchema: z.ZodObject<{
2276
2287
  directory?: string | undefined;
2277
2288
  } | undefined;
2278
2289
  } & {
2290
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
2279
2291
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
2280
2292
  }))[];
2281
2293
  directory?: "none" | "card" | "accordion" | undefined;