@mintlify/validation 0.1.940 → 0.1.942
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.
- package/dist/editor-navigation/types.d.ts +1 -1
- package/dist/mint-config/schemas/v2/index.d.ts +24 -48
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +2 -2
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +8 -26
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +3 -3
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +32 -80
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +8 -20
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +2 -2
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +4 -4
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +16 -32
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +24 -48
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +24 -48
- package/dist/mint-config/validateConfig.d.ts +73 -144
- package/dist/mint-config/validateConfig.js +17 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -58,7 +58,7 @@ export interface AnchorNode extends BaseNavigationNode<BaseAnchorSchema & APISch
|
|
|
58
58
|
export interface MenuItemNode extends BaseNavigationNode<MenuItemConfig & APISchema & HrefSchema & DivisionOpenApiGeneratedSchema> {
|
|
59
59
|
type: 'item';
|
|
60
60
|
}
|
|
61
|
-
export interface GroupNode extends BaseNavigationNode<
|
|
61
|
+
export interface GroupNode extends BaseNavigationNode<BaseGroupSchema & APISchema & SdkNodeSchema & {
|
|
62
62
|
fromPages?: boolean;
|
|
63
63
|
hasGeneratedPages?: boolean;
|
|
64
64
|
isGenerated?: boolean;
|
|
@@ -647,7 +647,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
647
647
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
648
648
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
649
649
|
} & {
|
|
650
|
-
groups: z.ZodArray<z.ZodType<
|
|
650
|
+
groups: z.ZodArray<z.ZodType<{
|
|
651
651
|
group: string;
|
|
652
652
|
icon?: string | {
|
|
653
653
|
name: string;
|
|
@@ -657,12 +657,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
657
657
|
expanded?: boolean | undefined;
|
|
658
658
|
public?: boolean | undefined;
|
|
659
659
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
660
|
-
graphql?: undefined;
|
|
661
660
|
tag?: string | undefined;
|
|
662
661
|
searchable?: boolean | undefined;
|
|
663
662
|
boost?: number | undefined;
|
|
664
663
|
hidden?: boolean | undefined;
|
|
665
|
-
sdk?: undefined;
|
|
666
664
|
root?: string | undefined;
|
|
667
665
|
thumbnail?: {
|
|
668
666
|
background?: string | undefined;
|
|
@@ -671,7 +669,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
671
669
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
672
670
|
surface?: "neutral" | "brand" | undefined;
|
|
673
671
|
} | undefined;
|
|
674
|
-
}
|
|
672
|
+
} & {
|
|
675
673
|
openapi?: string | {
|
|
676
674
|
source: string;
|
|
677
675
|
directory?: string | undefined;
|
|
@@ -689,7 +687,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
689
687
|
sdk?: z.infer<typeof import("./properties/index.js").sdkSchema>;
|
|
690
688
|
graphql?: z.infer<typeof import("./properties/index.js").graphqlSchema>;
|
|
691
689
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
692
|
-
}, z.ZodTypeDef,
|
|
690
|
+
}, z.ZodTypeDef, {
|
|
693
691
|
group: string;
|
|
694
692
|
icon?: string | {
|
|
695
693
|
name: string;
|
|
@@ -699,12 +697,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
699
697
|
expanded?: boolean | undefined;
|
|
700
698
|
public?: boolean | undefined;
|
|
701
699
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
702
|
-
graphql?: undefined;
|
|
703
700
|
tag?: string | undefined;
|
|
704
701
|
searchable?: boolean | undefined;
|
|
705
702
|
boost?: number | undefined;
|
|
706
703
|
hidden?: boolean | undefined;
|
|
707
|
-
sdk?: undefined;
|
|
708
704
|
root?: string | undefined;
|
|
709
705
|
thumbnail?: {
|
|
710
706
|
background?: string | undefined;
|
|
@@ -713,7 +709,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
713
709
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
714
710
|
surface?: "neutral" | "brand" | undefined;
|
|
715
711
|
} | undefined;
|
|
716
|
-
}
|
|
712
|
+
} & {
|
|
717
713
|
openapi?: string | {
|
|
718
714
|
source: string;
|
|
719
715
|
directory?: string | undefined;
|
|
@@ -733,7 +729,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
733
729
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
734
730
|
}>, "many">;
|
|
735
731
|
}, "strip", z.ZodTypeAny, {
|
|
736
|
-
groups: (
|
|
732
|
+
groups: ({
|
|
737
733
|
group: string;
|
|
738
734
|
icon?: string | {
|
|
739
735
|
name: string;
|
|
@@ -743,12 +739,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
743
739
|
expanded?: boolean | undefined;
|
|
744
740
|
public?: boolean | undefined;
|
|
745
741
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
746
|
-
graphql?: undefined;
|
|
747
742
|
tag?: string | undefined;
|
|
748
743
|
searchable?: boolean | undefined;
|
|
749
744
|
boost?: number | undefined;
|
|
750
745
|
hidden?: boolean | undefined;
|
|
751
|
-
sdk?: undefined;
|
|
752
746
|
root?: string | undefined;
|
|
753
747
|
thumbnail?: {
|
|
754
748
|
background?: string | undefined;
|
|
@@ -757,7 +751,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
757
751
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
758
752
|
surface?: "neutral" | "brand" | undefined;
|
|
759
753
|
} | undefined;
|
|
760
|
-
}
|
|
754
|
+
} & {
|
|
761
755
|
openapi?: string | {
|
|
762
756
|
source: string;
|
|
763
757
|
directory?: string | undefined;
|
|
@@ -781,7 +775,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
781
775
|
sdk?: undefined;
|
|
782
776
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
783
777
|
}, {
|
|
784
|
-
groups: (
|
|
778
|
+
groups: ({
|
|
785
779
|
group: string;
|
|
786
780
|
icon?: string | {
|
|
787
781
|
name: string;
|
|
@@ -791,12 +785,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
791
785
|
expanded?: boolean | undefined;
|
|
792
786
|
public?: boolean | undefined;
|
|
793
787
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
794
|
-
graphql?: undefined;
|
|
795
788
|
tag?: string | undefined;
|
|
796
789
|
searchable?: boolean | undefined;
|
|
797
790
|
boost?: number | undefined;
|
|
798
791
|
hidden?: boolean | undefined;
|
|
799
|
-
sdk?: undefined;
|
|
800
792
|
root?: string | undefined;
|
|
801
793
|
thumbnail?: {
|
|
802
794
|
background?: string | undefined;
|
|
@@ -805,7 +797,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
805
797
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
806
798
|
surface?: "neutral" | "brand" | undefined;
|
|
807
799
|
} | undefined;
|
|
808
|
-
}
|
|
800
|
+
} & {
|
|
809
801
|
openapi?: string | {
|
|
810
802
|
source: string;
|
|
811
803
|
directory?: string | undefined;
|
|
@@ -834,7 +826,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
834
826
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
835
827
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
836
828
|
} & {
|
|
837
|
-
pages: z.ZodArray<z.ZodType<string | import("./properties/index.js").NavigationLinkConfig | (
|
|
829
|
+
pages: z.ZodArray<z.ZodType<string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
838
830
|
group: string;
|
|
839
831
|
icon?: string | {
|
|
840
832
|
name: string;
|
|
@@ -844,12 +836,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
844
836
|
expanded?: boolean | undefined;
|
|
845
837
|
public?: boolean | undefined;
|
|
846
838
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
847
|
-
graphql?: undefined;
|
|
848
839
|
tag?: string | undefined;
|
|
849
840
|
searchable?: boolean | undefined;
|
|
850
841
|
boost?: number | undefined;
|
|
851
842
|
hidden?: boolean | undefined;
|
|
852
|
-
sdk?: undefined;
|
|
853
843
|
root?: string | undefined;
|
|
854
844
|
thumbnail?: {
|
|
855
845
|
background?: string | undefined;
|
|
@@ -858,7 +848,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
858
848
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
859
849
|
surface?: "neutral" | "brand" | undefined;
|
|
860
850
|
} | undefined;
|
|
861
|
-
}
|
|
851
|
+
} & {
|
|
862
852
|
openapi?: string | {
|
|
863
853
|
source: string;
|
|
864
854
|
directory?: string | undefined;
|
|
@@ -876,7 +866,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
876
866
|
sdk?: z.infer<typeof import("./properties/index.js").sdkSchema>;
|
|
877
867
|
graphql?: z.infer<typeof import("./properties/index.js").graphqlSchema>;
|
|
878
868
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
879
|
-
}), z.ZodTypeDef, string | import("./properties/index.js").NavigationLinkConfig | (
|
|
869
|
+
}), z.ZodTypeDef, string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
880
870
|
group: string;
|
|
881
871
|
icon?: string | {
|
|
882
872
|
name: string;
|
|
@@ -886,12 +876,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
886
876
|
expanded?: boolean | undefined;
|
|
887
877
|
public?: boolean | undefined;
|
|
888
878
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
889
|
-
graphql?: undefined;
|
|
890
879
|
tag?: string | undefined;
|
|
891
880
|
searchable?: boolean | undefined;
|
|
892
881
|
boost?: number | undefined;
|
|
893
882
|
hidden?: boolean | undefined;
|
|
894
|
-
sdk?: undefined;
|
|
895
883
|
root?: string | undefined;
|
|
896
884
|
thumbnail?: {
|
|
897
885
|
background?: string | undefined;
|
|
@@ -900,7 +888,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
900
888
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
901
889
|
surface?: "neutral" | "brand" | undefined;
|
|
902
890
|
} | undefined;
|
|
903
|
-
}
|
|
891
|
+
} & {
|
|
904
892
|
openapi?: string | {
|
|
905
893
|
source: string;
|
|
906
894
|
directory?: string | undefined;
|
|
@@ -920,7 +908,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
920
908
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
921
909
|
})>, "many">;
|
|
922
910
|
}, "strip", z.ZodTypeAny, {
|
|
923
|
-
pages: (string | import("./properties/index.js").NavigationLinkConfig | (
|
|
911
|
+
pages: (string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
924
912
|
group: string;
|
|
925
913
|
icon?: string | {
|
|
926
914
|
name: string;
|
|
@@ -930,12 +918,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
930
918
|
expanded?: boolean | undefined;
|
|
931
919
|
public?: boolean | undefined;
|
|
932
920
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
933
|
-
graphql?: undefined;
|
|
934
921
|
tag?: string | undefined;
|
|
935
922
|
searchable?: boolean | undefined;
|
|
936
923
|
boost?: number | undefined;
|
|
937
924
|
hidden?: boolean | undefined;
|
|
938
|
-
sdk?: undefined;
|
|
939
925
|
root?: string | undefined;
|
|
940
926
|
thumbnail?: {
|
|
941
927
|
background?: string | undefined;
|
|
@@ -944,7 +930,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
944
930
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
945
931
|
surface?: "neutral" | "brand" | undefined;
|
|
946
932
|
} | undefined;
|
|
947
|
-
}
|
|
933
|
+
} & {
|
|
948
934
|
openapi?: string | {
|
|
949
935
|
source: string;
|
|
950
936
|
directory?: string | undefined;
|
|
@@ -968,7 +954,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
968
954
|
sdk?: undefined;
|
|
969
955
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
970
956
|
}, {
|
|
971
|
-
pages: (string | import("./properties/index.js").NavigationLinkConfig | (
|
|
957
|
+
pages: (string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
972
958
|
group: string;
|
|
973
959
|
icon?: string | {
|
|
974
960
|
name: string;
|
|
@@ -978,12 +964,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
978
964
|
expanded?: boolean | undefined;
|
|
979
965
|
public?: boolean | undefined;
|
|
980
966
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
981
|
-
graphql?: undefined;
|
|
982
967
|
tag?: string | undefined;
|
|
983
968
|
searchable?: boolean | undefined;
|
|
984
969
|
boost?: number | undefined;
|
|
985
970
|
hidden?: boolean | undefined;
|
|
986
|
-
sdk?: undefined;
|
|
987
971
|
root?: string | undefined;
|
|
988
972
|
thumbnail?: {
|
|
989
973
|
background?: string | undefined;
|
|
@@ -992,7 +976,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
992
976
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
993
977
|
surface?: "neutral" | "brand" | undefined;
|
|
994
978
|
} | undefined;
|
|
995
|
-
}
|
|
979
|
+
} & {
|
|
996
980
|
openapi?: string | {
|
|
997
981
|
source: string;
|
|
998
982
|
directory?: string | undefined;
|
|
@@ -2063,7 +2047,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2063
2047
|
sdk?: undefined;
|
|
2064
2048
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2065
2049
|
} | {
|
|
2066
|
-
groups: (
|
|
2050
|
+
groups: ({
|
|
2067
2051
|
group: string;
|
|
2068
2052
|
icon?: string | {
|
|
2069
2053
|
name: string;
|
|
@@ -2073,12 +2057,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2073
2057
|
expanded?: boolean | undefined;
|
|
2074
2058
|
public?: boolean | undefined;
|
|
2075
2059
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2076
|
-
graphql?: undefined;
|
|
2077
2060
|
tag?: string | undefined;
|
|
2078
2061
|
searchable?: boolean | undefined;
|
|
2079
2062
|
boost?: number | undefined;
|
|
2080
2063
|
hidden?: boolean | undefined;
|
|
2081
|
-
sdk?: undefined;
|
|
2082
2064
|
root?: string | undefined;
|
|
2083
2065
|
thumbnail?: {
|
|
2084
2066
|
background?: string | undefined;
|
|
@@ -2087,7 +2069,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2087
2069
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2088
2070
|
surface?: "neutral" | "brand" | undefined;
|
|
2089
2071
|
} | undefined;
|
|
2090
|
-
}
|
|
2072
|
+
} & {
|
|
2091
2073
|
openapi?: string | {
|
|
2092
2074
|
source: string;
|
|
2093
2075
|
directory?: string | undefined;
|
|
@@ -2111,7 +2093,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2111
2093
|
sdk?: undefined;
|
|
2112
2094
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2113
2095
|
} | {
|
|
2114
|
-
pages: (string | import("./properties/index.js").NavigationLinkConfig | (
|
|
2096
|
+
pages: (string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
2115
2097
|
group: string;
|
|
2116
2098
|
icon?: string | {
|
|
2117
2099
|
name: string;
|
|
@@ -2121,12 +2103,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2121
2103
|
expanded?: boolean | undefined;
|
|
2122
2104
|
public?: boolean | undefined;
|
|
2123
2105
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2124
|
-
graphql?: undefined;
|
|
2125
2106
|
tag?: string | undefined;
|
|
2126
2107
|
searchable?: boolean | undefined;
|
|
2127
2108
|
boost?: number | undefined;
|
|
2128
2109
|
hidden?: boolean | undefined;
|
|
2129
|
-
sdk?: undefined;
|
|
2130
2110
|
root?: string | undefined;
|
|
2131
2111
|
thumbnail?: {
|
|
2132
2112
|
background?: string | undefined;
|
|
@@ -2135,7 +2115,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2135
2115
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2136
2116
|
surface?: "neutral" | "brand" | undefined;
|
|
2137
2117
|
} | undefined;
|
|
2138
|
-
}
|
|
2118
|
+
} & {
|
|
2139
2119
|
openapi?: string | {
|
|
2140
2120
|
source: string;
|
|
2141
2121
|
directory?: string | undefined;
|
|
@@ -2534,7 +2514,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2534
2514
|
sdk?: undefined;
|
|
2535
2515
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2536
2516
|
} | {
|
|
2537
|
-
groups: (
|
|
2517
|
+
groups: ({
|
|
2538
2518
|
group: string;
|
|
2539
2519
|
icon?: string | {
|
|
2540
2520
|
name: string;
|
|
@@ -2544,12 +2524,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2544
2524
|
expanded?: boolean | undefined;
|
|
2545
2525
|
public?: boolean | undefined;
|
|
2546
2526
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2547
|
-
graphql?: undefined;
|
|
2548
2527
|
tag?: string | undefined;
|
|
2549
2528
|
searchable?: boolean | undefined;
|
|
2550
2529
|
boost?: number | undefined;
|
|
2551
2530
|
hidden?: boolean | undefined;
|
|
2552
|
-
sdk?: undefined;
|
|
2553
2531
|
root?: string | undefined;
|
|
2554
2532
|
thumbnail?: {
|
|
2555
2533
|
background?: string | undefined;
|
|
@@ -2558,7 +2536,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2558
2536
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2559
2537
|
surface?: "neutral" | "brand" | undefined;
|
|
2560
2538
|
} | undefined;
|
|
2561
|
-
}
|
|
2539
|
+
} & {
|
|
2562
2540
|
openapi?: string | {
|
|
2563
2541
|
source: string;
|
|
2564
2542
|
directory?: string | undefined;
|
|
@@ -2582,7 +2560,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2582
2560
|
sdk?: undefined;
|
|
2583
2561
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2584
2562
|
} | {
|
|
2585
|
-
pages: (string | import("./properties/index.js").NavigationLinkConfig | (
|
|
2563
|
+
pages: (string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
2586
2564
|
group: string;
|
|
2587
2565
|
icon?: string | {
|
|
2588
2566
|
name: string;
|
|
@@ -2592,12 +2570,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2592
2570
|
expanded?: boolean | undefined;
|
|
2593
2571
|
public?: boolean | undefined;
|
|
2594
2572
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2595
|
-
graphql?: undefined;
|
|
2596
2573
|
tag?: string | undefined;
|
|
2597
2574
|
searchable?: boolean | undefined;
|
|
2598
2575
|
boost?: number | undefined;
|
|
2599
2576
|
hidden?: boolean | undefined;
|
|
2600
|
-
sdk?: undefined;
|
|
2601
2577
|
root?: string | undefined;
|
|
2602
2578
|
thumbnail?: {
|
|
2603
2579
|
background?: string | undefined;
|
|
@@ -2606,7 +2582,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2606
2582
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2607
2583
|
surface?: "neutral" | "brand" | undefined;
|
|
2608
2584
|
} | undefined;
|
|
2609
|
-
}
|
|
2585
|
+
} & {
|
|
2610
2586
|
openapi?: string | {
|
|
2611
2587
|
source: string;
|
|
2612
2588
|
directory?: string | undefined;
|
|
@@ -101,7 +101,6 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
101
101
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
102
102
|
graphql?: undefined;
|
|
103
103
|
hidden?: boolean | undefined;
|
|
104
|
-
sdk?: undefined;
|
|
105
104
|
thumbnail?: {
|
|
106
105
|
background?: string | undefined;
|
|
107
106
|
eyebrow?: string | undefined;
|
|
@@ -109,6 +108,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
109
108
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
110
109
|
surface?: "neutral" | "brand" | undefined;
|
|
111
110
|
} | undefined;
|
|
111
|
+
sdk?: undefined;
|
|
112
112
|
}, {
|
|
113
113
|
anchor: string;
|
|
114
114
|
icon?: string | {
|
|
@@ -123,7 +123,6 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
123
123
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
124
124
|
graphql?: undefined;
|
|
125
125
|
hidden?: boolean | undefined;
|
|
126
|
-
sdk?: undefined;
|
|
127
126
|
thumbnail?: {
|
|
128
127
|
background?: string | undefined;
|
|
129
128
|
eyebrow?: string | undefined;
|
|
@@ -131,6 +130,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
131
130
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
132
131
|
surface?: "neutral" | "brand" | undefined;
|
|
133
132
|
} | undefined;
|
|
133
|
+
sdk?: undefined;
|
|
134
134
|
}>;
|
|
135
135
|
export type BaseAnchorSchema = z.infer<typeof baseAnchorSchema>;
|
|
136
136
|
export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
@@ -237,7 +237,6 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
237
237
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
238
238
|
graphql?: undefined;
|
|
239
239
|
hidden?: boolean | undefined;
|
|
240
|
-
sdk?: undefined;
|
|
241
240
|
thumbnail?: {
|
|
242
241
|
background?: string | undefined;
|
|
243
242
|
eyebrow?: string | undefined;
|
|
@@ -245,6 +244,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
245
244
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
246
245
|
surface?: "neutral" | "brand" | undefined;
|
|
247
246
|
} | undefined;
|
|
247
|
+
sdk?: undefined;
|
|
248
248
|
}, {
|
|
249
249
|
href: string;
|
|
250
250
|
anchor: string;
|
|
@@ -260,7 +260,6 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
260
260
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
261
261
|
graphql?: undefined;
|
|
262
262
|
hidden?: boolean | undefined;
|
|
263
|
-
sdk?: undefined;
|
|
264
263
|
thumbnail?: {
|
|
265
264
|
background?: string | undefined;
|
|
266
265
|
eyebrow?: string | undefined;
|
|
@@ -268,6 +267,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
268
267
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
269
268
|
surface?: "neutral" | "brand" | undefined;
|
|
270
269
|
} | undefined;
|
|
270
|
+
sdk?: undefined;
|
|
271
271
|
}>;
|
|
272
272
|
export declare const anchorSchema: z.ZodType<AnchorNavigation<'default'>>;
|
|
273
273
|
export declare const decoratedAnchorSchema: z.ZodType<AnchorNavigation<'decorated'>>;
|
|
@@ -142,11 +142,11 @@ export type GlobalNavigation = {
|
|
|
142
142
|
};
|
|
143
143
|
export type PageNavigation<T extends NavigationType> = T extends 'default' ? string : T extends 'client' ? ClientNavPage : DecoratedPageConfig;
|
|
144
144
|
export type PageOrGroupNavigation<T extends NavigationType> = T extends 'default' ? PageNavigation<'default'> | NavigationLinkConfig | GroupNavigation<'default'> : PageNavigation<T> | GroupNavigation<T>;
|
|
145
|
-
export type GroupNavigation<T extends NavigationType> = T extends 'default' ?
|
|
145
|
+
export type GroupNavigation<T extends NavigationType> = T extends 'default' ? BaseGroupSchema & z.infer<typeof SomeApiSchema> & {
|
|
146
146
|
sdk?: z.infer<typeof sdkSchema>;
|
|
147
147
|
graphql?: z.infer<typeof graphqlSchema>;
|
|
148
148
|
pages?: PageOrGroupNavigation<'default'>[];
|
|
149
|
-
} : Omit<BaseGroupSchema, 'root'
|
|
149
|
+
} : Omit<BaseGroupSchema, 'root'> & {
|
|
150
150
|
pages: PageOrGroupNavigation<T>[];
|
|
151
151
|
root?: PageNavigation<T>;
|
|
152
152
|
};
|
|
@@ -103,7 +103,6 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
103
103
|
description?: string | undefined;
|
|
104
104
|
graphql?: undefined;
|
|
105
105
|
hidden?: boolean | undefined;
|
|
106
|
-
sdk?: undefined;
|
|
107
106
|
thumbnail?: {
|
|
108
107
|
background?: string | undefined;
|
|
109
108
|
eyebrow?: string | undefined;
|
|
@@ -111,6 +110,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
111
110
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
112
111
|
surface?: "neutral" | "brand" | undefined;
|
|
113
112
|
} | undefined;
|
|
113
|
+
sdk?: undefined;
|
|
114
114
|
}, {
|
|
115
115
|
dropdown: string;
|
|
116
116
|
icon?: string | {
|
|
@@ -126,7 +126,6 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
126
126
|
description?: string | undefined;
|
|
127
127
|
graphql?: undefined;
|
|
128
128
|
hidden?: boolean | undefined;
|
|
129
|
-
sdk?: undefined;
|
|
130
129
|
thumbnail?: {
|
|
131
130
|
background?: string | undefined;
|
|
132
131
|
eyebrow?: string | undefined;
|
|
@@ -134,6 +133,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
134
133
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
135
134
|
surface?: "neutral" | "brand" | undefined;
|
|
136
135
|
} | undefined;
|
|
136
|
+
sdk?: undefined;
|
|
137
137
|
}>;
|
|
138
138
|
export type BaseDropdownSchema = z.infer<typeof baseDropdownSchema>;
|
|
139
139
|
export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
@@ -242,7 +242,6 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
242
242
|
description?: string | undefined;
|
|
243
243
|
graphql?: undefined;
|
|
244
244
|
hidden?: boolean | undefined;
|
|
245
|
-
sdk?: undefined;
|
|
246
245
|
thumbnail?: {
|
|
247
246
|
background?: string | undefined;
|
|
248
247
|
eyebrow?: string | undefined;
|
|
@@ -250,6 +249,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
250
249
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
251
250
|
surface?: "neutral" | "brand" | undefined;
|
|
252
251
|
} | undefined;
|
|
252
|
+
sdk?: undefined;
|
|
253
253
|
}, {
|
|
254
254
|
href: string;
|
|
255
255
|
dropdown: string;
|
|
@@ -266,7 +266,6 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
266
266
|
description?: string | undefined;
|
|
267
267
|
graphql?: undefined;
|
|
268
268
|
hidden?: boolean | undefined;
|
|
269
|
-
sdk?: undefined;
|
|
270
269
|
thumbnail?: {
|
|
271
270
|
background?: string | undefined;
|
|
272
271
|
eyebrow?: string | undefined;
|
|
@@ -274,6 +273,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
274
273
|
appearance?: import("../thumbnails.js").ThumbnailAppearance | undefined;
|
|
275
274
|
surface?: "neutral" | "brand" | undefined;
|
|
276
275
|
} | undefined;
|
|
276
|
+
sdk?: undefined;
|
|
277
277
|
}>;
|
|
278
278
|
export declare const dropdownSchema: z.ZodType<DropdownNavigation<'default'>>;
|
|
279
279
|
export declare const decoratedDropdownSchema: z.ZodType<DropdownNavigation<'decorated'>>;
|