@mintlify/validation 0.1.273 → 0.1.275
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/mint-config/schemas/v2/index.d.ts +19674 -4894
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +6 -9
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +6 -9
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/global.d.ts +53 -78
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +2110 -245
- package/dist/mint-config/schemas/v2/properties/navigation/index.js +8 -8
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +6 -9
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +6 -9
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +5 -8
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +1 -1
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +3385 -429
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +3385 -429
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +3385 -429
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +3385 -429
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +2020 -120
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +3385 -429
- package/dist/mint-config/upgrades/updateNavigationToDocsConfig.js +3 -4
- package/dist/mint-config/validateConfig.d.ts +6961 -1681
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/serverStaticProps.d.ts +2 -2
- package/package.json +2 -2
|
@@ -49,8 +49,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
49
49
|
export type BaseAnchorSchema = z.infer<typeof baseAnchorSchema>;
|
|
50
50
|
export declare const anchorSchema: z.ZodType<AnchorNavigation<'default'>>;
|
|
51
51
|
export declare const decoratedAnchorSchema: z.ZodType<AnchorNavigation<'decorated'>>;
|
|
52
|
-
export declare const nonRecursiveAnchorSchema: z.
|
|
53
|
-
anchor: z.ZodString;
|
|
52
|
+
export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
54
53
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
55
54
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
56
55
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -72,7 +71,10 @@ export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
72
71
|
dark?: string | undefined;
|
|
73
72
|
}>>;
|
|
74
73
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
+
anchor: z.ZodString;
|
|
75
|
+
href: z.ZodString;
|
|
75
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
href: string;
|
|
76
78
|
anchor: string;
|
|
77
79
|
icon?: string | {
|
|
78
80
|
name: string;
|
|
@@ -84,6 +86,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
84
86
|
} | undefined;
|
|
85
87
|
hidden?: boolean | undefined;
|
|
86
88
|
}, {
|
|
89
|
+
href: string;
|
|
87
90
|
anchor: string;
|
|
88
91
|
icon?: string | {
|
|
89
92
|
name: string;
|
|
@@ -94,13 +97,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
94
97
|
dark?: string | undefined;
|
|
95
98
|
} | undefined;
|
|
96
99
|
hidden?: boolean | undefined;
|
|
97
|
-
}
|
|
98
|
-
href: z.ZodString;
|
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
href: string;
|
|
101
|
-
}, {
|
|
102
|
-
href: string;
|
|
103
|
-
}>>;
|
|
100
|
+
}>;
|
|
104
101
|
export declare const anchorsSchema: z.ZodArray<z.ZodType<AnchorNavigation<"default">, z.ZodTypeDef, AnchorNavigation<"default">>, "many">;
|
|
105
102
|
export declare const decoratedAnchorsSchema: z.ZodArray<z.ZodType<AnchorNavigation<"decorated">, z.ZodTypeDef, AnchorNavigation<"decorated">>, "many">;
|
|
106
103
|
export type AnchorsConfig = z.infer<typeof anchorsSchema>;
|
|
@@ -53,7 +53,7 @@ export const decoratedAnchorSchema = baseAnchorSchema.and(z.union([
|
|
|
53
53
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema })),
|
|
54
54
|
z.lazy(() => z.object({ pages: decoratedPagesSchema })),
|
|
55
55
|
]));
|
|
56
|
-
export const nonRecursiveAnchorSchema = baseAnchorSchema.
|
|
56
|
+
export const nonRecursiveAnchorSchema = baseAnchorSchema.extend({ href: hrefSchema });
|
|
57
57
|
export const anchorsSchema = z
|
|
58
58
|
.array(anchorSchema)
|
|
59
59
|
.min(1, 'At least one anchor must be specified')
|
|
@@ -31,8 +31,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
31
31
|
export type BaseDropdownSchema = z.infer<typeof baseDropdownSchema>;
|
|
32
32
|
export declare const dropdownSchema: z.ZodType<DropdownNavigation<'default'>>;
|
|
33
33
|
export declare const decoratedDropdownSchema: z.ZodType<DropdownNavigation<'decorated'>>;
|
|
34
|
-
export declare const nonRecursiveDropdownSchema: z.
|
|
35
|
-
dropdown: z.ZodString;
|
|
34
|
+
export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
36
35
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
37
36
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
38
37
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -44,7 +43,10 @@ export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
44
43
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
45
44
|
}>]>>;
|
|
46
45
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
dropdown: z.ZodString;
|
|
47
|
+
href: z.ZodString;
|
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
href: string;
|
|
48
50
|
dropdown: string;
|
|
49
51
|
icon?: string | {
|
|
50
52
|
name: string;
|
|
@@ -52,19 +54,14 @@ export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
52
54
|
} | undefined;
|
|
53
55
|
hidden?: boolean | undefined;
|
|
54
56
|
}, {
|
|
57
|
+
href: string;
|
|
55
58
|
dropdown: string;
|
|
56
59
|
icon?: string | {
|
|
57
60
|
name: string;
|
|
58
61
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
59
62
|
} | undefined;
|
|
60
63
|
hidden?: boolean | undefined;
|
|
61
|
-
}
|
|
62
|
-
href: z.ZodString;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
href: string;
|
|
65
|
-
}, {
|
|
66
|
-
href: string;
|
|
67
|
-
}>>;
|
|
64
|
+
}>;
|
|
68
65
|
export declare const dropdownsSchema: z.ZodArray<z.ZodType<DropdownNavigation<"default">, z.ZodTypeDef, DropdownNavigation<"default">>, "many">;
|
|
69
66
|
export declare const decoratedDropdownsSchema: z.ZodArray<z.ZodType<DropdownNavigation<"decorated">, z.ZodTypeDef, DropdownNavigation<"decorated">>, "many">;
|
|
70
67
|
export type DropdownConfig = z.infer<typeof dropdownSchema>;
|
|
@@ -51,7 +51,7 @@ export const decoratedDropdownSchema = baseDropdownSchema.and(z.union([
|
|
|
51
51
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema })),
|
|
52
52
|
z.lazy(() => z.object({ pages: decoratedPagesSchema })),
|
|
53
53
|
]));
|
|
54
|
-
export const nonRecursiveDropdownSchema = baseDropdownSchema.
|
|
54
|
+
export const nonRecursiveDropdownSchema = baseDropdownSchema.extend({ href: hrefSchema });
|
|
55
55
|
export const dropdownsSchema = z.array(dropdownSchema).describe('Organizing by dropdowns');
|
|
56
56
|
export const decoratedDropdownsSchema = z
|
|
57
57
|
.array(decoratedDropdownSchema)
|
|
@@ -1,45 +1,38 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const globalSchema: z.ZodObject<{
|
|
3
|
-
languages: z.ZodOptional<z.ZodArray<z.
|
|
4
|
-
language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
|
|
3
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
4
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
6
5
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
|
|
7
|
+
href: z.ZodString;
|
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
href: string;
|
|
8
10
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
9
11
|
default?: boolean | undefined;
|
|
10
12
|
hidden?: boolean | undefined;
|
|
11
13
|
}, {
|
|
14
|
+
href: string;
|
|
12
15
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
13
16
|
default?: boolean | undefined;
|
|
14
17
|
hidden?: boolean | undefined;
|
|
15
|
-
}>,
|
|
16
|
-
|
|
17
|
-
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
href: string;
|
|
19
|
-
}, {
|
|
20
|
-
href: string;
|
|
21
|
-
}>>, "many">>;
|
|
22
|
-
versions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
18
|
+
}>, "many">>;
|
|
19
|
+
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23
20
|
version: z.ZodString;
|
|
24
21
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
25
22
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
href: z.ZodString;
|
|
26
24
|
}, "strip", z.ZodTypeAny, {
|
|
27
25
|
version: string;
|
|
26
|
+
href: string;
|
|
28
27
|
default?: boolean | undefined;
|
|
29
28
|
hidden?: boolean | undefined;
|
|
30
29
|
}, {
|
|
31
30
|
version: string;
|
|
31
|
+
href: string;
|
|
32
32
|
default?: boolean | undefined;
|
|
33
33
|
hidden?: boolean | undefined;
|
|
34
|
-
}>,
|
|
35
|
-
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
href: string;
|
|
38
|
-
}, {
|
|
39
|
-
href: string;
|
|
40
|
-
}>>, "many">>;
|
|
41
|
-
tabs: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
42
|
-
tab: z.ZodString;
|
|
34
|
+
}>, "many">>;
|
|
35
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
36
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
44
37
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
45
38
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -51,7 +44,10 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
51
44
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
52
45
|
}>]>>;
|
|
53
46
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
tab: z.ZodString;
|
|
48
|
+
href: z.ZodString;
|
|
54
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
href: string;
|
|
55
51
|
tab: string;
|
|
56
52
|
icon?: string | {
|
|
57
53
|
name: string;
|
|
@@ -59,21 +55,15 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
59
55
|
} | undefined;
|
|
60
56
|
hidden?: boolean | undefined;
|
|
61
57
|
}, {
|
|
58
|
+
href: string;
|
|
62
59
|
tab: string;
|
|
63
60
|
icon?: string | {
|
|
64
61
|
name: string;
|
|
65
62
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
66
63
|
} | undefined;
|
|
67
64
|
hidden?: boolean | undefined;
|
|
68
|
-
}>,
|
|
69
|
-
|
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
href: string;
|
|
72
|
-
}, {
|
|
73
|
-
href: string;
|
|
74
|
-
}>>, "many">>;
|
|
75
|
-
dropdowns: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
76
|
-
dropdown: z.ZodString;
|
|
65
|
+
}>, "many">>;
|
|
66
|
+
dropdowns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
67
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
78
68
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
79
69
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -85,7 +75,10 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
85
75
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
86
76
|
}>]>>;
|
|
87
77
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
dropdown: z.ZodString;
|
|
79
|
+
href: z.ZodString;
|
|
88
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
href: string;
|
|
89
82
|
dropdown: string;
|
|
90
83
|
icon?: string | {
|
|
91
84
|
name: string;
|
|
@@ -93,21 +86,15 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
93
86
|
} | undefined;
|
|
94
87
|
hidden?: boolean | undefined;
|
|
95
88
|
}, {
|
|
89
|
+
href: string;
|
|
96
90
|
dropdown: string;
|
|
97
91
|
icon?: string | {
|
|
98
92
|
name: string;
|
|
99
93
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
100
94
|
} | undefined;
|
|
101
95
|
hidden?: boolean | undefined;
|
|
102
|
-
}>,
|
|
103
|
-
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
href: string;
|
|
106
|
-
}, {
|
|
107
|
-
href: string;
|
|
108
|
-
}>>, "many">>;
|
|
109
|
-
anchors: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
110
|
-
anchor: z.ZodString;
|
|
96
|
+
}>, "many">>;
|
|
97
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
111
98
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
112
99
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
113
100
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -129,7 +116,10 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
129
116
|
dark?: string | undefined;
|
|
130
117
|
}>>;
|
|
131
118
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
anchor: z.ZodString;
|
|
120
|
+
href: z.ZodString;
|
|
132
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
href: string;
|
|
133
123
|
anchor: string;
|
|
134
124
|
icon?: string | {
|
|
135
125
|
name: string;
|
|
@@ -141,6 +131,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
141
131
|
} | undefined;
|
|
142
132
|
hidden?: boolean | undefined;
|
|
143
133
|
}, {
|
|
134
|
+
href: string;
|
|
144
135
|
anchor: string;
|
|
145
136
|
icon?: string | {
|
|
146
137
|
name: string;
|
|
@@ -151,49 +142,40 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
151
142
|
dark?: string | undefined;
|
|
152
143
|
} | undefined;
|
|
153
144
|
hidden?: boolean | undefined;
|
|
154
|
-
}>,
|
|
155
|
-
href: z.ZodString;
|
|
156
|
-
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
href: string;
|
|
158
|
-
}, {
|
|
159
|
-
href: string;
|
|
160
|
-
}>>, "many">>;
|
|
145
|
+
}>, "many">>;
|
|
161
146
|
}, "strict", z.ZodTypeAny, {
|
|
162
|
-
languages?:
|
|
147
|
+
languages?: {
|
|
148
|
+
href: string;
|
|
163
149
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
164
150
|
default?: boolean | undefined;
|
|
165
151
|
hidden?: boolean | undefined;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
})[] | undefined;
|
|
169
|
-
versions?: ({
|
|
152
|
+
}[] | undefined;
|
|
153
|
+
versions?: {
|
|
170
154
|
version: string;
|
|
155
|
+
href: string;
|
|
171
156
|
default?: boolean | undefined;
|
|
172
157
|
hidden?: boolean | undefined;
|
|
173
|
-
}
|
|
158
|
+
}[] | undefined;
|
|
159
|
+
tabs?: {
|
|
174
160
|
href: string;
|
|
175
|
-
})[] | undefined;
|
|
176
|
-
tabs?: ({
|
|
177
161
|
tab: string;
|
|
178
162
|
icon?: string | {
|
|
179
163
|
name: string;
|
|
180
164
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
181
165
|
} | undefined;
|
|
182
166
|
hidden?: boolean | undefined;
|
|
183
|
-
}
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
dropdowns?: {
|
|
184
169
|
href: string;
|
|
185
|
-
})[] | undefined;
|
|
186
|
-
dropdowns?: ({
|
|
187
170
|
dropdown: string;
|
|
188
171
|
icon?: string | {
|
|
189
172
|
name: string;
|
|
190
173
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
191
174
|
} | undefined;
|
|
192
175
|
hidden?: boolean | undefined;
|
|
193
|
-
}
|
|
176
|
+
}[] | undefined;
|
|
177
|
+
anchors?: {
|
|
194
178
|
href: string;
|
|
195
|
-
})[] | undefined;
|
|
196
|
-
anchors?: ({
|
|
197
179
|
anchor: string;
|
|
198
180
|
icon?: string | {
|
|
199
181
|
name: string;
|
|
@@ -204,45 +186,40 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
204
186
|
dark?: string | undefined;
|
|
205
187
|
} | undefined;
|
|
206
188
|
hidden?: boolean | undefined;
|
|
207
|
-
}
|
|
208
|
-
href: string;
|
|
209
|
-
})[] | undefined;
|
|
189
|
+
}[] | undefined;
|
|
210
190
|
}, {
|
|
211
|
-
languages?:
|
|
191
|
+
languages?: {
|
|
192
|
+
href: string;
|
|
212
193
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
213
194
|
default?: boolean | undefined;
|
|
214
195
|
hidden?: boolean | undefined;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
})[] | undefined;
|
|
218
|
-
versions?: ({
|
|
196
|
+
}[] | undefined;
|
|
197
|
+
versions?: {
|
|
219
198
|
version: string;
|
|
199
|
+
href: string;
|
|
220
200
|
default?: boolean | undefined;
|
|
221
201
|
hidden?: boolean | undefined;
|
|
222
|
-
}
|
|
202
|
+
}[] | undefined;
|
|
203
|
+
tabs?: {
|
|
223
204
|
href: string;
|
|
224
|
-
})[] | undefined;
|
|
225
|
-
tabs?: ({
|
|
226
205
|
tab: string;
|
|
227
206
|
icon?: string | {
|
|
228
207
|
name: string;
|
|
229
208
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
230
209
|
} | undefined;
|
|
231
210
|
hidden?: boolean | undefined;
|
|
232
|
-
}
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
dropdowns?: {
|
|
233
213
|
href: string;
|
|
234
|
-
})[] | undefined;
|
|
235
|
-
dropdowns?: ({
|
|
236
214
|
dropdown: string;
|
|
237
215
|
icon?: string | {
|
|
238
216
|
name: string;
|
|
239
217
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
240
218
|
} | undefined;
|
|
241
219
|
hidden?: boolean | undefined;
|
|
242
|
-
}
|
|
220
|
+
}[] | undefined;
|
|
221
|
+
anchors?: {
|
|
243
222
|
href: string;
|
|
244
|
-
})[] | undefined;
|
|
245
|
-
anchors?: ({
|
|
246
223
|
anchor: string;
|
|
247
224
|
icon?: string | {
|
|
248
225
|
name: string;
|
|
@@ -253,8 +230,6 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
253
230
|
dark?: string | undefined;
|
|
254
231
|
} | undefined;
|
|
255
232
|
hidden?: boolean | undefined;
|
|
256
|
-
}
|
|
257
|
-
href: string;
|
|
258
|
-
})[] | undefined;
|
|
233
|
+
}[] | undefined;
|
|
259
234
|
}>;
|
|
260
235
|
export type GlobalConfig = z.infer<typeof globalSchema>;
|