@mintlify/validation 0.1.824 → 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 (35) 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/dist/types/deployment/index.d.ts +1 -0
  35. package/package.json +3 -3
@@ -628,7 +628,7 @@ export declare const willowConfigSchema: z.ZodObject<{
628
628
  graphql: z.ZodOptional<z.ZodNever>;
629
629
  sdk: z.ZodOptional<z.ZodNever>;
630
630
  } & {
631
- groups: z.ZodArray<z.ZodType<{
631
+ groups: z.ZodArray<z.ZodType<Omit<{
632
632
  group: string;
633
633
  icon?: string | {
634
634
  name: string;
@@ -638,14 +638,14 @@ export declare const willowConfigSchema: z.ZodObject<{
638
638
  expanded?: boolean | undefined;
639
639
  public?: boolean | undefined;
640
640
  directory?: "none" | "card" | "accordion" | undefined;
641
+ graphql?: undefined;
641
642
  tag?: string | undefined;
642
643
  searchable?: boolean | undefined;
643
644
  boost?: number | undefined;
644
645
  hidden?: boolean | undefined;
645
- graphql?: undefined;
646
646
  sdk?: undefined;
647
647
  root?: string | undefined;
648
- } & {
648
+ }, "sdk"> & {
649
649
  openapi?: string | string[] | {
650
650
  source: string;
651
651
  directory?: string | undefined;
@@ -655,8 +655,9 @@ export declare const willowConfigSchema: z.ZodObject<{
655
655
  directory?: string | undefined;
656
656
  } | undefined;
657
657
  } & {
658
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
658
659
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
659
- }, z.ZodTypeDef, {
660
+ }, z.ZodTypeDef, Omit<{
660
661
  group: string;
661
662
  icon?: string | {
662
663
  name: string;
@@ -666,14 +667,14 @@ export declare const willowConfigSchema: z.ZodObject<{
666
667
  expanded?: boolean | undefined;
667
668
  public?: boolean | undefined;
668
669
  directory?: "none" | "card" | "accordion" | undefined;
670
+ graphql?: undefined;
669
671
  tag?: string | undefined;
670
672
  searchable?: boolean | undefined;
671
673
  boost?: number | undefined;
672
674
  hidden?: boolean | undefined;
673
- graphql?: undefined;
674
675
  sdk?: undefined;
675
676
  root?: string | undefined;
676
- } & {
677
+ }, "sdk"> & {
677
678
  openapi?: string | string[] | {
678
679
  source: string;
679
680
  directory?: string | undefined;
@@ -683,10 +684,11 @@ export declare const willowConfigSchema: z.ZodObject<{
683
684
  directory?: string | undefined;
684
685
  } | undefined;
685
686
  } & {
687
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
686
688
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
687
689
  }>, "many">;
688
690
  }, "strip", z.ZodTypeAny, {
689
- groups: ({
691
+ groups: (Omit<{
690
692
  group: string;
691
693
  icon?: string | {
692
694
  name: string;
@@ -696,14 +698,14 @@ export declare const willowConfigSchema: z.ZodObject<{
696
698
  expanded?: boolean | undefined;
697
699
  public?: boolean | undefined;
698
700
  directory?: "none" | "card" | "accordion" | undefined;
701
+ graphql?: undefined;
699
702
  tag?: string | undefined;
700
703
  searchable?: boolean | undefined;
701
704
  boost?: number | undefined;
702
705
  hidden?: boolean | undefined;
703
- graphql?: undefined;
704
706
  sdk?: undefined;
705
707
  root?: string | undefined;
706
- } & {
708
+ }, "sdk"> & {
707
709
  openapi?: string | string[] | {
708
710
  source: string;
709
711
  directory?: string | undefined;
@@ -713,6 +715,7 @@ export declare const willowConfigSchema: z.ZodObject<{
713
715
  directory?: string | undefined;
714
716
  } | undefined;
715
717
  } & {
718
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
716
719
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
717
720
  })[];
718
721
  directory?: "none" | "card" | "accordion" | undefined;
@@ -720,7 +723,7 @@ export declare const willowConfigSchema: z.ZodObject<{
720
723
  sdk?: undefined;
721
724
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
722
725
  }, {
723
- groups: ({
726
+ groups: (Omit<{
724
727
  group: string;
725
728
  icon?: string | {
726
729
  name: string;
@@ -730,14 +733,14 @@ export declare const willowConfigSchema: z.ZodObject<{
730
733
  expanded?: boolean | undefined;
731
734
  public?: boolean | undefined;
732
735
  directory?: "none" | "card" | "accordion" | undefined;
736
+ graphql?: undefined;
733
737
  tag?: string | undefined;
734
738
  searchable?: boolean | undefined;
735
739
  boost?: number | undefined;
736
740
  hidden?: boolean | undefined;
737
- graphql?: undefined;
738
741
  sdk?: undefined;
739
742
  root?: string | undefined;
740
- } & {
743
+ }, "sdk"> & {
741
744
  openapi?: string | string[] | {
742
745
  source: string;
743
746
  directory?: string | undefined;
@@ -747,6 +750,7 @@ export declare const willowConfigSchema: z.ZodObject<{
747
750
  directory?: string | undefined;
748
751
  } | undefined;
749
752
  } & {
753
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
750
754
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
751
755
  })[];
752
756
  directory?: "none" | "card" | "accordion" | undefined;
@@ -759,7 +763,7 @@ export declare const willowConfigSchema: z.ZodObject<{
759
763
  graphql: z.ZodOptional<z.ZodNever>;
760
764
  sdk: z.ZodOptional<z.ZodNever>;
761
765
  } & {
762
- pages: z.ZodArray<z.ZodType<string | ({
766
+ pages: z.ZodArray<z.ZodType<string | (Omit<{
763
767
  group: string;
764
768
  icon?: string | {
765
769
  name: string;
@@ -769,14 +773,14 @@ export declare const willowConfigSchema: z.ZodObject<{
769
773
  expanded?: boolean | undefined;
770
774
  public?: boolean | undefined;
771
775
  directory?: "none" | "card" | "accordion" | undefined;
776
+ graphql?: undefined;
772
777
  tag?: string | undefined;
773
778
  searchable?: boolean | undefined;
774
779
  boost?: number | undefined;
775
780
  hidden?: boolean | undefined;
776
- graphql?: undefined;
777
781
  sdk?: undefined;
778
782
  root?: string | undefined;
779
- } & {
783
+ }, "sdk"> & {
780
784
  openapi?: string | string[] | {
781
785
  source: string;
782
786
  directory?: string | undefined;
@@ -786,8 +790,9 @@ export declare const willowConfigSchema: z.ZodObject<{
786
790
  directory?: string | undefined;
787
791
  } | undefined;
788
792
  } & {
793
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
789
794
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
790
- }), z.ZodTypeDef, string | ({
795
+ }), z.ZodTypeDef, string | (Omit<{
791
796
  group: string;
792
797
  icon?: string | {
793
798
  name: string;
@@ -797,14 +802,14 @@ export declare const willowConfigSchema: z.ZodObject<{
797
802
  expanded?: boolean | undefined;
798
803
  public?: boolean | undefined;
799
804
  directory?: "none" | "card" | "accordion" | undefined;
805
+ graphql?: undefined;
800
806
  tag?: string | undefined;
801
807
  searchable?: boolean | undefined;
802
808
  boost?: number | undefined;
803
809
  hidden?: boolean | undefined;
804
- graphql?: undefined;
805
810
  sdk?: undefined;
806
811
  root?: string | undefined;
807
- } & {
812
+ }, "sdk"> & {
808
813
  openapi?: string | string[] | {
809
814
  source: string;
810
815
  directory?: string | undefined;
@@ -814,10 +819,11 @@ export declare const willowConfigSchema: z.ZodObject<{
814
819
  directory?: string | undefined;
815
820
  } | undefined;
816
821
  } & {
822
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
817
823
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
818
824
  })>, "many">;
819
825
  }, "strip", z.ZodTypeAny, {
820
- pages: (string | ({
826
+ pages: (string | (Omit<{
821
827
  group: string;
822
828
  icon?: string | {
823
829
  name: string;
@@ -827,14 +833,14 @@ export declare const willowConfigSchema: z.ZodObject<{
827
833
  expanded?: boolean | undefined;
828
834
  public?: boolean | undefined;
829
835
  directory?: "none" | "card" | "accordion" | undefined;
836
+ graphql?: undefined;
830
837
  tag?: string | undefined;
831
838
  searchable?: boolean | undefined;
832
839
  boost?: number | undefined;
833
840
  hidden?: boolean | undefined;
834
- graphql?: undefined;
835
841
  sdk?: undefined;
836
842
  root?: string | undefined;
837
- } & {
843
+ }, "sdk"> & {
838
844
  openapi?: string | string[] | {
839
845
  source: string;
840
846
  directory?: string | undefined;
@@ -844,6 +850,7 @@ export declare const willowConfigSchema: z.ZodObject<{
844
850
  directory?: string | undefined;
845
851
  } | undefined;
846
852
  } & {
853
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
847
854
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
848
855
  }))[];
849
856
  directory?: "none" | "card" | "accordion" | undefined;
@@ -851,7 +858,7 @@ export declare const willowConfigSchema: z.ZodObject<{
851
858
  sdk?: undefined;
852
859
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
853
860
  }, {
854
- pages: (string | ({
861
+ pages: (string | (Omit<{
855
862
  group: string;
856
863
  icon?: string | {
857
864
  name: string;
@@ -861,14 +868,14 @@ export declare const willowConfigSchema: z.ZodObject<{
861
868
  expanded?: boolean | undefined;
862
869
  public?: boolean | undefined;
863
870
  directory?: "none" | "card" | "accordion" | undefined;
871
+ graphql?: undefined;
864
872
  tag?: string | undefined;
865
873
  searchable?: boolean | undefined;
866
874
  boost?: number | undefined;
867
875
  hidden?: boolean | undefined;
868
- graphql?: undefined;
869
876
  sdk?: undefined;
870
877
  root?: string | undefined;
871
- } & {
878
+ }, "sdk"> & {
872
879
  openapi?: string | string[] | {
873
880
  source: string;
874
881
  directory?: string | undefined;
@@ -878,6 +885,7 @@ export declare const willowConfigSchema: z.ZodObject<{
878
885
  directory?: string | undefined;
879
886
  } | undefined;
880
887
  } & {
888
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
881
889
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
882
890
  }))[];
883
891
  directory?: "none" | "card" | "accordion" | undefined;
@@ -1832,7 +1840,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1832
1840
  sdk?: undefined;
1833
1841
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
1834
1842
  } | {
1835
- groups: ({
1843
+ groups: (Omit<{
1836
1844
  group: string;
1837
1845
  icon?: string | {
1838
1846
  name: string;
@@ -1842,14 +1850,14 @@ export declare const willowConfigSchema: z.ZodObject<{
1842
1850
  expanded?: boolean | undefined;
1843
1851
  public?: boolean | undefined;
1844
1852
  directory?: "none" | "card" | "accordion" | undefined;
1853
+ graphql?: undefined;
1845
1854
  tag?: string | undefined;
1846
1855
  searchable?: boolean | undefined;
1847
1856
  boost?: number | undefined;
1848
1857
  hidden?: boolean | undefined;
1849
- graphql?: undefined;
1850
1858
  sdk?: undefined;
1851
1859
  root?: string | undefined;
1852
- } & {
1860
+ }, "sdk"> & {
1853
1861
  openapi?: string | string[] | {
1854
1862
  source: string;
1855
1863
  directory?: string | undefined;
@@ -1859,6 +1867,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1859
1867
  directory?: string | undefined;
1860
1868
  } | undefined;
1861
1869
  } & {
1870
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
1862
1871
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
1863
1872
  })[];
1864
1873
  directory?: "none" | "card" | "accordion" | undefined;
@@ -1866,7 +1875,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1866
1875
  sdk?: undefined;
1867
1876
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
1868
1877
  } | {
1869
- pages: (string | ({
1878
+ pages: (string | (Omit<{
1870
1879
  group: string;
1871
1880
  icon?: string | {
1872
1881
  name: string;
@@ -1876,14 +1885,14 @@ export declare const willowConfigSchema: z.ZodObject<{
1876
1885
  expanded?: boolean | undefined;
1877
1886
  public?: boolean | undefined;
1878
1887
  directory?: "none" | "card" | "accordion" | undefined;
1888
+ graphql?: undefined;
1879
1889
  tag?: string | undefined;
1880
1890
  searchable?: boolean | undefined;
1881
1891
  boost?: number | undefined;
1882
1892
  hidden?: boolean | undefined;
1883
- graphql?: undefined;
1884
1893
  sdk?: undefined;
1885
1894
  root?: string | undefined;
1886
- } & {
1895
+ }, "sdk"> & {
1887
1896
  openapi?: string | string[] | {
1888
1897
  source: string;
1889
1898
  directory?: string | undefined;
@@ -1893,6 +1902,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1893
1902
  directory?: string | undefined;
1894
1903
  } | undefined;
1895
1904
  } & {
1905
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
1896
1906
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
1897
1907
  }))[];
1898
1908
  directory?: "none" | "card" | "accordion" | undefined;
@@ -2253,7 +2263,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2253
2263
  sdk?: undefined;
2254
2264
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2255
2265
  } | {
2256
- groups: ({
2266
+ groups: (Omit<{
2257
2267
  group: string;
2258
2268
  icon?: string | {
2259
2269
  name: string;
@@ -2263,14 +2273,14 @@ export declare const willowConfigSchema: z.ZodObject<{
2263
2273
  expanded?: boolean | undefined;
2264
2274
  public?: boolean | undefined;
2265
2275
  directory?: "none" | "card" | "accordion" | undefined;
2276
+ graphql?: undefined;
2266
2277
  tag?: string | undefined;
2267
2278
  searchable?: boolean | undefined;
2268
2279
  boost?: number | undefined;
2269
2280
  hidden?: boolean | undefined;
2270
- graphql?: undefined;
2271
2281
  sdk?: undefined;
2272
2282
  root?: string | undefined;
2273
- } & {
2283
+ }, "sdk"> & {
2274
2284
  openapi?: string | string[] | {
2275
2285
  source: string;
2276
2286
  directory?: string | undefined;
@@ -2280,6 +2290,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2280
2290
  directory?: string | undefined;
2281
2291
  } | undefined;
2282
2292
  } & {
2293
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
2283
2294
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
2284
2295
  })[];
2285
2296
  directory?: "none" | "card" | "accordion" | undefined;
@@ -2287,7 +2298,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2287
2298
  sdk?: undefined;
2288
2299
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
2289
2300
  } | {
2290
- pages: (string | ({
2301
+ pages: (string | (Omit<{
2291
2302
  group: string;
2292
2303
  icon?: string | {
2293
2304
  name: string;
@@ -2297,14 +2308,14 @@ export declare const willowConfigSchema: z.ZodObject<{
2297
2308
  expanded?: boolean | undefined;
2298
2309
  public?: boolean | undefined;
2299
2310
  directory?: "none" | "card" | "accordion" | undefined;
2311
+ graphql?: undefined;
2300
2312
  tag?: string | undefined;
2301
2313
  searchable?: boolean | undefined;
2302
2314
  boost?: number | undefined;
2303
2315
  hidden?: boolean | undefined;
2304
- graphql?: undefined;
2305
2316
  sdk?: undefined;
2306
2317
  root?: string | undefined;
2307
- } & {
2318
+ }, "sdk"> & {
2308
2319
  openapi?: string | string[] | {
2309
2320
  source: string;
2310
2321
  directory?: string | undefined;
@@ -2314,6 +2325,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2314
2325
  directory?: string | undefined;
2315
2326
  } | undefined;
2316
2327
  } & {
2328
+ sdk?: z.infer<typeof import("../properties/index.js").sdkSchema>;
2317
2329
  pages?: import("../properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
2318
2330
  }))[];
2319
2331
  directory?: "none" | "card" | "accordion" | undefined;