@mintlify/validation 0.1.235 → 0.1.237

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 (25) hide show
  1. package/dist/mint-config/schemas/v2/index.d.ts +3085 -545
  2. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +59 -0
  3. package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +5 -5
  4. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +41 -0
  5. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +5 -5
  6. package/dist/mint-config/schemas/v2/properties/navigation/global.d.ts +299 -0
  7. package/dist/mint-config/schemas/v2/properties/navigation/global.js +16 -0
  8. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +419 -2
  9. package/dist/mint-config/schemas/v2/properties/navigation/index.js +2 -0
  10. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +146 -0
  11. package/dist/mint-config/schemas/v2/properties/navigation/languages.js +4 -3
  12. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +41 -0
  13. package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +4 -4
  14. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +23 -0
  15. package/dist/mint-config/schemas/v2/properties/navigation/version.js +4 -4
  16. package/dist/mint-config/schemas/v2/themes/mint.d.ts +659 -24
  17. package/dist/mint-config/schemas/v2/themes/prism.d.ts +659 -24
  18. package/dist/mint-config/schemas/v2/themes/quill.d.ts +659 -24
  19. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +419 -12
  20. package/dist/mint-config/schemas/v2/themes/reusable/index.js +0 -2
  21. package/dist/mint-config/schemas/v2/themes/venus.d.ts +659 -24
  22. package/dist/tsconfig.build.tsbuildinfo +1 -1
  23. package/package.json +2 -2
  24. package/dist/mint-config/schemas/v2/properties/legacy.d.ts +0 -11
  25. package/dist/mint-config/schemas/v2/properties/legacy.js +0 -10
@@ -188,7 +188,7 @@ export declare const mintConfigSchema: z.ZodObject<{
188
188
  href: string;
189
189
  } | undefined;
190
190
  }>>;
191
- navigation: z.ZodUnion<[z.ZodObject<{
191
+ navigation: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
192
192
  languages: z.ZodArray<z.ZodIntersection<z.ZodObject<{
193
193
  language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
194
194
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -481,7 +481,424 @@ export declare const mintConfigSchema: z.ZodObject<{
481
481
  pages: any[];
482
482
  }, {
483
483
  pages: any[];
484
- }>]>;
484
+ }>]>, z.ZodOptional<z.ZodObject<{
485
+ global: z.ZodObject<{
486
+ languages: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
487
+ language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
488
+ hidden: z.ZodOptional<z.ZodBoolean>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
491
+ hidden?: boolean | undefined;
492
+ }, {
493
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
494
+ hidden?: boolean | undefined;
495
+ }>, z.ZodUnion<[z.ZodObject<{
496
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ openapi: (string | string[]) & (string | string[] | undefined);
499
+ }, {
500
+ openapi: (string | string[]) & (string | string[] | undefined);
501
+ }>, z.ZodObject<{
502
+ href: z.ZodString;
503
+ }, "strip", z.ZodTypeAny, {
504
+ href: string;
505
+ }, {
506
+ href: string;
507
+ }>]>>, "many">>;
508
+ versions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
509
+ version: z.ZodString;
510
+ hidden: z.ZodOptional<z.ZodBoolean>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ version: string;
513
+ hidden?: boolean | undefined;
514
+ }, {
515
+ version: string;
516
+ hidden?: boolean | undefined;
517
+ }>, z.ZodUnion<[z.ZodObject<{
518
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ openapi: (string | string[]) & (string | string[] | undefined);
521
+ }, {
522
+ openapi: (string | string[]) & (string | string[] | undefined);
523
+ }>, z.ZodObject<{
524
+ href: z.ZodString;
525
+ }, "strip", z.ZodTypeAny, {
526
+ href: string;
527
+ }, {
528
+ href: string;
529
+ }>]>>, "many">>;
530
+ tabs: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
531
+ tab: z.ZodString;
532
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
533
+ style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
534
+ name: z.ZodEffects<z.ZodString, string, string>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ name: string;
537
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
538
+ }, {
539
+ name: string;
540
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
541
+ }>]>>;
542
+ hidden: z.ZodOptional<z.ZodBoolean>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ tab: string;
545
+ icon?: string | {
546
+ name: string;
547
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
548
+ } | undefined;
549
+ hidden?: boolean | undefined;
550
+ }, {
551
+ tab: string;
552
+ icon?: string | {
553
+ name: string;
554
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
555
+ } | undefined;
556
+ hidden?: boolean | undefined;
557
+ }>, z.ZodUnion<[z.ZodObject<{
558
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
559
+ }, "strip", z.ZodTypeAny, {
560
+ openapi: (string | string[]) & (string | string[] | undefined);
561
+ }, {
562
+ openapi: (string | string[]) & (string | string[] | undefined);
563
+ }>, z.ZodObject<{
564
+ href: z.ZodString;
565
+ }, "strip", z.ZodTypeAny, {
566
+ href: string;
567
+ }, {
568
+ href: string;
569
+ }>]>>, "many">>;
570
+ dropdowns: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
571
+ dropdown: z.ZodString;
572
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
573
+ style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
574
+ name: z.ZodEffects<z.ZodString, string, string>;
575
+ }, "strip", z.ZodTypeAny, {
576
+ name: string;
577
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
578
+ }, {
579
+ name: string;
580
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
581
+ }>]>>;
582
+ hidden: z.ZodOptional<z.ZodBoolean>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ dropdown: string;
585
+ icon?: string | {
586
+ name: string;
587
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
588
+ } | undefined;
589
+ hidden?: boolean | undefined;
590
+ }, {
591
+ dropdown: string;
592
+ icon?: string | {
593
+ name: string;
594
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
595
+ } | undefined;
596
+ hidden?: boolean | undefined;
597
+ }>, z.ZodUnion<[z.ZodObject<{
598
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ openapi: (string | string[]) & (string | string[] | undefined);
601
+ }, {
602
+ openapi: (string | string[]) & (string | string[] | undefined);
603
+ }>, z.ZodObject<{
604
+ href: z.ZodString;
605
+ }, "strip", z.ZodTypeAny, {
606
+ href: string;
607
+ }, {
608
+ href: string;
609
+ }>]>>, "many">>;
610
+ anchors: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
611
+ anchor: z.ZodString;
612
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
613
+ style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
614
+ name: z.ZodEffects<z.ZodString, string, string>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ name: string;
617
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
618
+ }, {
619
+ name: string;
620
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
621
+ }>]>>;
622
+ color: z.ZodOptional<z.ZodObject<{
623
+ light: z.ZodString;
624
+ dark: z.ZodString;
625
+ }, "strict", z.ZodTypeAny, {
626
+ light: string;
627
+ dark: string;
628
+ }, {
629
+ light: string;
630
+ dark: string;
631
+ }>>;
632
+ hidden: z.ZodOptional<z.ZodBoolean>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ anchor: string;
635
+ icon?: string | {
636
+ name: string;
637
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
638
+ } | undefined;
639
+ color?: {
640
+ light: string;
641
+ dark: string;
642
+ } | undefined;
643
+ hidden?: boolean | undefined;
644
+ }, {
645
+ anchor: string;
646
+ icon?: string | {
647
+ name: string;
648
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
649
+ } | undefined;
650
+ color?: {
651
+ light: string;
652
+ dark: string;
653
+ } | undefined;
654
+ hidden?: boolean | undefined;
655
+ }>, z.ZodUnion<[z.ZodObject<{
656
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
657
+ }, "strip", z.ZodTypeAny, {
658
+ openapi: (string | string[]) & (string | string[] | undefined);
659
+ }, {
660
+ openapi: (string | string[]) & (string | string[] | undefined);
661
+ }>, z.ZodObject<{
662
+ href: z.ZodString;
663
+ }, "strip", z.ZodTypeAny, {
664
+ href: string;
665
+ }, {
666
+ href: string;
667
+ }>]>>, "many">>;
668
+ }, "strict", z.ZodTypeAny, {
669
+ languages?: ({
670
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
671
+ hidden?: boolean | undefined;
672
+ } & ({
673
+ openapi: (string | string[]) & (string | string[] | undefined);
674
+ } | {
675
+ href: string;
676
+ }))[] | undefined;
677
+ versions?: ({
678
+ version: string;
679
+ hidden?: boolean | undefined;
680
+ } & ({
681
+ openapi: (string | string[]) & (string | string[] | undefined);
682
+ } | {
683
+ href: string;
684
+ }))[] | undefined;
685
+ tabs?: ({
686
+ tab: string;
687
+ icon?: string | {
688
+ name: string;
689
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
690
+ } | undefined;
691
+ hidden?: boolean | undefined;
692
+ } & ({
693
+ openapi: (string | string[]) & (string | string[] | undefined);
694
+ } | {
695
+ href: string;
696
+ }))[] | undefined;
697
+ dropdowns?: ({
698
+ dropdown: string;
699
+ icon?: string | {
700
+ name: string;
701
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
702
+ } | undefined;
703
+ hidden?: boolean | undefined;
704
+ } & ({
705
+ openapi: (string | string[]) & (string | string[] | undefined);
706
+ } | {
707
+ href: string;
708
+ }))[] | undefined;
709
+ anchors?: ({
710
+ anchor: string;
711
+ icon?: string | {
712
+ name: string;
713
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
714
+ } | undefined;
715
+ color?: {
716
+ light: string;
717
+ dark: string;
718
+ } | undefined;
719
+ hidden?: boolean | undefined;
720
+ } & ({
721
+ openapi: (string | string[]) & (string | string[] | undefined);
722
+ } | {
723
+ href: string;
724
+ }))[] | undefined;
725
+ }, {
726
+ languages?: ({
727
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
728
+ hidden?: boolean | undefined;
729
+ } & ({
730
+ openapi: (string | string[]) & (string | string[] | undefined);
731
+ } | {
732
+ href: string;
733
+ }))[] | undefined;
734
+ versions?: ({
735
+ version: string;
736
+ hidden?: boolean | undefined;
737
+ } & ({
738
+ openapi: (string | string[]) & (string | string[] | undefined);
739
+ } | {
740
+ href: string;
741
+ }))[] | undefined;
742
+ tabs?: ({
743
+ tab: string;
744
+ icon?: string | {
745
+ name: string;
746
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
747
+ } | undefined;
748
+ hidden?: boolean | undefined;
749
+ } & ({
750
+ openapi: (string | string[]) & (string | string[] | undefined);
751
+ } | {
752
+ href: string;
753
+ }))[] | undefined;
754
+ dropdowns?: ({
755
+ dropdown: string;
756
+ icon?: string | {
757
+ name: string;
758
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
759
+ } | undefined;
760
+ hidden?: boolean | undefined;
761
+ } & ({
762
+ openapi: (string | string[]) & (string | string[] | undefined);
763
+ } | {
764
+ href: string;
765
+ }))[] | undefined;
766
+ anchors?: ({
767
+ anchor: string;
768
+ icon?: string | {
769
+ name: string;
770
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
771
+ } | undefined;
772
+ color?: {
773
+ light: string;
774
+ dark: string;
775
+ } | undefined;
776
+ hidden?: boolean | undefined;
777
+ } & ({
778
+ openapi: (string | string[]) & (string | string[] | undefined);
779
+ } | {
780
+ href: string;
781
+ }))[] | undefined;
782
+ }>;
783
+ }, "strip", z.ZodTypeAny, {
784
+ global: {
785
+ languages?: ({
786
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
787
+ hidden?: boolean | undefined;
788
+ } & ({
789
+ openapi: (string | string[]) & (string | string[] | undefined);
790
+ } | {
791
+ href: string;
792
+ }))[] | undefined;
793
+ versions?: ({
794
+ version: string;
795
+ hidden?: boolean | undefined;
796
+ } & ({
797
+ openapi: (string | string[]) & (string | string[] | undefined);
798
+ } | {
799
+ href: string;
800
+ }))[] | undefined;
801
+ tabs?: ({
802
+ tab: string;
803
+ icon?: string | {
804
+ name: string;
805
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
806
+ } | undefined;
807
+ hidden?: boolean | undefined;
808
+ } & ({
809
+ openapi: (string | string[]) & (string | string[] | undefined);
810
+ } | {
811
+ href: string;
812
+ }))[] | undefined;
813
+ dropdowns?: ({
814
+ dropdown: string;
815
+ icon?: string | {
816
+ name: string;
817
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
818
+ } | undefined;
819
+ hidden?: boolean | undefined;
820
+ } & ({
821
+ openapi: (string | string[]) & (string | string[] | undefined);
822
+ } | {
823
+ href: string;
824
+ }))[] | undefined;
825
+ anchors?: ({
826
+ anchor: string;
827
+ icon?: string | {
828
+ name: string;
829
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
830
+ } | undefined;
831
+ color?: {
832
+ light: string;
833
+ dark: string;
834
+ } | undefined;
835
+ hidden?: boolean | undefined;
836
+ } & ({
837
+ openapi: (string | string[]) & (string | string[] | undefined);
838
+ } | {
839
+ href: string;
840
+ }))[] | undefined;
841
+ };
842
+ }, {
843
+ global: {
844
+ languages?: ({
845
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
846
+ hidden?: boolean | undefined;
847
+ } & ({
848
+ openapi: (string | string[]) & (string | string[] | undefined);
849
+ } | {
850
+ href: string;
851
+ }))[] | undefined;
852
+ versions?: ({
853
+ version: string;
854
+ hidden?: boolean | undefined;
855
+ } & ({
856
+ openapi: (string | string[]) & (string | string[] | undefined);
857
+ } | {
858
+ href: string;
859
+ }))[] | undefined;
860
+ tabs?: ({
861
+ tab: string;
862
+ icon?: string | {
863
+ name: string;
864
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
865
+ } | undefined;
866
+ hidden?: boolean | undefined;
867
+ } & ({
868
+ openapi: (string | string[]) & (string | string[] | undefined);
869
+ } | {
870
+ href: string;
871
+ }))[] | undefined;
872
+ dropdowns?: ({
873
+ dropdown: string;
874
+ icon?: string | {
875
+ name: string;
876
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
877
+ } | undefined;
878
+ hidden?: boolean | undefined;
879
+ } & ({
880
+ openapi: (string | string[]) & (string | string[] | undefined);
881
+ } | {
882
+ href: string;
883
+ }))[] | undefined;
884
+ anchors?: ({
885
+ anchor: string;
886
+ icon?: string | {
887
+ name: string;
888
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
889
+ } | undefined;
890
+ color?: {
891
+ light: string;
892
+ dark: string;
893
+ } | undefined;
894
+ hidden?: boolean | undefined;
895
+ } & ({
896
+ openapi: (string | string[]) & (string | string[] | undefined);
897
+ } | {
898
+ href: string;
899
+ }))[] | undefined;
900
+ };
901
+ }>>>;
485
902
  footer: z.ZodOptional<z.ZodObject<{
486
903
  socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter"]>, z.ZodString>>;
487
904
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -931,16 +1348,6 @@ export declare const mintConfigSchema: z.ZodObject<{
931
1348
  key: string;
932
1349
  } | undefined;
933
1350
  }>>;
934
- legacy: z.ZodOptional<z.ZodObject<{
935
- baseurl: z.ZodOptional<z.ZodString>;
936
- auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
937
- }, "strip", z.ZodTypeAny, {
938
- baseurl?: string | undefined;
939
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
940
- }, {
941
- baseurl?: string | undefined;
942
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
943
- }>>;
944
1351
  theme: z.ZodLiteral<"mint">;
945
1352
  }, "strip", z.ZodTypeAny, {
946
1353
  name: string;
@@ -951,7 +1358,7 @@ export declare const mintConfigSchema: z.ZodObject<{
951
1358
  light?: string | undefined;
952
1359
  dark?: string | undefined;
953
1360
  };
954
- navigation: ({
1361
+ navigation: (({
955
1362
  languages: ({
956
1363
  language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
957
1364
  hidden?: boolean | undefined;
@@ -1009,6 +1416,65 @@ export declare const mintConfigSchema: z.ZodObject<{
1009
1416
  } | {
1010
1417
  pages: any[];
1011
1418
  }) & ({
1419
+ global: {
1420
+ languages?: ({
1421
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1422
+ hidden?: boolean | undefined;
1423
+ } & ({
1424
+ openapi: (string | string[]) & (string | string[] | undefined);
1425
+ } | {
1426
+ href: string;
1427
+ }))[] | undefined;
1428
+ versions?: ({
1429
+ version: string;
1430
+ hidden?: boolean | undefined;
1431
+ } & ({
1432
+ openapi: (string | string[]) & (string | string[] | undefined);
1433
+ } | {
1434
+ href: string;
1435
+ }))[] | undefined;
1436
+ tabs?: ({
1437
+ tab: string;
1438
+ icon?: string | {
1439
+ name: string;
1440
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1441
+ } | undefined;
1442
+ hidden?: boolean | undefined;
1443
+ } & ({
1444
+ openapi: (string | string[]) & (string | string[] | undefined);
1445
+ } | {
1446
+ href: string;
1447
+ }))[] | undefined;
1448
+ dropdowns?: ({
1449
+ dropdown: string;
1450
+ icon?: string | {
1451
+ name: string;
1452
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1453
+ } | undefined;
1454
+ hidden?: boolean | undefined;
1455
+ } & ({
1456
+ openapi: (string | string[]) & (string | string[] | undefined);
1457
+ } | {
1458
+ href: string;
1459
+ }))[] | undefined;
1460
+ anchors?: ({
1461
+ anchor: string;
1462
+ icon?: string | {
1463
+ name: string;
1464
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1465
+ } | undefined;
1466
+ color?: {
1467
+ light: string;
1468
+ dark: string;
1469
+ } | undefined;
1470
+ hidden?: boolean | undefined;
1471
+ } & ({
1472
+ openapi: (string | string[]) & (string | string[] | undefined);
1473
+ } | {
1474
+ href: string;
1475
+ }))[] | undefined;
1476
+ };
1477
+ } | undefined)) & ((({
1012
1478
  languages: ({
1013
1479
  language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1014
1480
  hidden?: boolean | undefined;
@@ -1065,7 +1531,66 @@ export declare const mintConfigSchema: z.ZodObject<{
1065
1531
  }))[];
1066
1532
  } | {
1067
1533
  pages: any[];
1068
- } | undefined);
1534
+ }) & ({
1535
+ global: {
1536
+ languages?: ({
1537
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1538
+ hidden?: boolean | undefined;
1539
+ } & ({
1540
+ openapi: (string | string[]) & (string | string[] | undefined);
1541
+ } | {
1542
+ href: string;
1543
+ }))[] | undefined;
1544
+ versions?: ({
1545
+ version: string;
1546
+ hidden?: boolean | undefined;
1547
+ } & ({
1548
+ openapi: (string | string[]) & (string | string[] | undefined);
1549
+ } | {
1550
+ href: string;
1551
+ }))[] | undefined;
1552
+ tabs?: ({
1553
+ tab: string;
1554
+ icon?: string | {
1555
+ name: string;
1556
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1557
+ } | undefined;
1558
+ hidden?: boolean | undefined;
1559
+ } & ({
1560
+ openapi: (string | string[]) & (string | string[] | undefined);
1561
+ } | {
1562
+ href: string;
1563
+ }))[] | undefined;
1564
+ dropdowns?: ({
1565
+ dropdown: string;
1566
+ icon?: string | {
1567
+ name: string;
1568
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1569
+ } | undefined;
1570
+ hidden?: boolean | undefined;
1571
+ } & ({
1572
+ openapi: (string | string[]) & (string | string[] | undefined);
1573
+ } | {
1574
+ href: string;
1575
+ }))[] | undefined;
1576
+ anchors?: ({
1577
+ anchor: string;
1578
+ icon?: string | {
1579
+ name: string;
1580
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1581
+ } | undefined;
1582
+ color?: {
1583
+ light: string;
1584
+ dark: string;
1585
+ } | undefined;
1586
+ hidden?: boolean | undefined;
1587
+ } & ({
1588
+ openapi: (string | string[]) & (string | string[] | undefined);
1589
+ } | {
1590
+ href: string;
1591
+ }))[] | undefined;
1592
+ };
1593
+ } | undefined)) | undefined);
1069
1594
  description?: string | undefined;
1070
1595
  logo?: string | {
1071
1596
  light: string;
@@ -1220,10 +1745,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1220
1745
  key: string;
1221
1746
  } | undefined;
1222
1747
  } | undefined;
1223
- legacy?: {
1224
- baseurl?: string | undefined;
1225
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1226
- } | undefined;
1227
1748
  }, {
1228
1749
  name: string;
1229
1750
  theme: "mint";
@@ -1232,7 +1753,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1232
1753
  light?: string | undefined;
1233
1754
  dark?: string | undefined;
1234
1755
  };
1235
- navigation: ({
1756
+ navigation: (({
1236
1757
  languages: ({
1237
1758
  language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1238
1759
  hidden?: boolean | undefined;
@@ -1290,6 +1811,65 @@ export declare const mintConfigSchema: z.ZodObject<{
1290
1811
  } | {
1291
1812
  pages: any[];
1292
1813
  }) & ({
1814
+ global: {
1815
+ languages?: ({
1816
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1817
+ hidden?: boolean | undefined;
1818
+ } & ({
1819
+ openapi: (string | string[]) & (string | string[] | undefined);
1820
+ } | {
1821
+ href: string;
1822
+ }))[] | undefined;
1823
+ versions?: ({
1824
+ version: string;
1825
+ hidden?: boolean | undefined;
1826
+ } & ({
1827
+ openapi: (string | string[]) & (string | string[] | undefined);
1828
+ } | {
1829
+ href: string;
1830
+ }))[] | undefined;
1831
+ tabs?: ({
1832
+ tab: string;
1833
+ icon?: string | {
1834
+ name: string;
1835
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1836
+ } | undefined;
1837
+ hidden?: boolean | undefined;
1838
+ } & ({
1839
+ openapi: (string | string[]) & (string | string[] | undefined);
1840
+ } | {
1841
+ href: string;
1842
+ }))[] | undefined;
1843
+ dropdowns?: ({
1844
+ dropdown: string;
1845
+ icon?: string | {
1846
+ name: string;
1847
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1848
+ } | undefined;
1849
+ hidden?: boolean | undefined;
1850
+ } & ({
1851
+ openapi: (string | string[]) & (string | string[] | undefined);
1852
+ } | {
1853
+ href: string;
1854
+ }))[] | undefined;
1855
+ anchors?: ({
1856
+ anchor: string;
1857
+ icon?: string | {
1858
+ name: string;
1859
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1860
+ } | undefined;
1861
+ color?: {
1862
+ light: string;
1863
+ dark: string;
1864
+ } | undefined;
1865
+ hidden?: boolean | undefined;
1866
+ } & ({
1867
+ openapi: (string | string[]) & (string | string[] | undefined);
1868
+ } | {
1869
+ href: string;
1870
+ }))[] | undefined;
1871
+ };
1872
+ } | undefined)) & ((({
1293
1873
  languages: ({
1294
1874
  language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1295
1875
  hidden?: boolean | undefined;
@@ -1346,7 +1926,66 @@ export declare const mintConfigSchema: z.ZodObject<{
1346
1926
  }))[];
1347
1927
  } | {
1348
1928
  pages: any[];
1349
- } | undefined);
1929
+ }) & ({
1930
+ global: {
1931
+ languages?: ({
1932
+ language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
1933
+ hidden?: boolean | undefined;
1934
+ } & ({
1935
+ openapi: (string | string[]) & (string | string[] | undefined);
1936
+ } | {
1937
+ href: string;
1938
+ }))[] | undefined;
1939
+ versions?: ({
1940
+ version: string;
1941
+ hidden?: boolean | undefined;
1942
+ } & ({
1943
+ openapi: (string | string[]) & (string | string[] | undefined);
1944
+ } | {
1945
+ href: string;
1946
+ }))[] | undefined;
1947
+ tabs?: ({
1948
+ tab: string;
1949
+ icon?: string | {
1950
+ name: string;
1951
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1952
+ } | undefined;
1953
+ hidden?: boolean | undefined;
1954
+ } & ({
1955
+ openapi: (string | string[]) & (string | string[] | undefined);
1956
+ } | {
1957
+ href: string;
1958
+ }))[] | undefined;
1959
+ dropdowns?: ({
1960
+ dropdown: string;
1961
+ icon?: string | {
1962
+ name: string;
1963
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1964
+ } | undefined;
1965
+ hidden?: boolean | undefined;
1966
+ } & ({
1967
+ openapi: (string | string[]) & (string | string[] | undefined);
1968
+ } | {
1969
+ href: string;
1970
+ }))[] | undefined;
1971
+ anchors?: ({
1972
+ anchor: string;
1973
+ icon?: string | {
1974
+ name: string;
1975
+ style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
1976
+ } | undefined;
1977
+ color?: {
1978
+ light: string;
1979
+ dark: string;
1980
+ } | undefined;
1981
+ hidden?: boolean | undefined;
1982
+ } & ({
1983
+ openapi: (string | string[]) & (string | string[] | undefined);
1984
+ } | {
1985
+ href: string;
1986
+ }))[] | undefined;
1987
+ };
1988
+ } | undefined)) | undefined);
1350
1989
  $schema?: string | undefined;
1351
1990
  description?: string | undefined;
1352
1991
  logo?: string | {
@@ -1502,8 +2141,4 @@ export declare const mintConfigSchema: z.ZodObject<{
1502
2141
  key: string;
1503
2142
  } | undefined;
1504
2143
  } | undefined;
1505
- legacy?: {
1506
- baseurl?: string | undefined;
1507
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1508
- } | undefined;
1509
2144
  }>;