@mintlify/validation 0.1.577 → 0.1.581
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 +1605 -109
- package/dist/mint-config/schemas/v2/properties/navbar.d.ts +162 -8
- package/dist/mint-config/schemas/v2/properties/navbar.js +25 -3
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +199 -12
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +199 -12
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +199 -12
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +199 -12
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +199 -12
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +199 -12
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +147 -8
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +199 -12
- package/dist/mint-config/validateConfig.d.ts +364 -28
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -13,17 +13,31 @@ export declare const primarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
13
13
|
label: string;
|
|
14
14
|
}>, z.ZodObject<{
|
|
15
15
|
type: z.ZodLiteral<"github">;
|
|
16
|
+
label: z.ZodOptional<z.ZodString>;
|
|
16
17
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
17
18
|
}, "strip", z.ZodTypeAny, {
|
|
18
19
|
type: "github";
|
|
19
20
|
href: string;
|
|
21
|
+
label?: string | undefined;
|
|
20
22
|
}, {
|
|
21
23
|
type: "github";
|
|
22
24
|
href: string;
|
|
25
|
+
label?: string | undefined;
|
|
26
|
+
}>, z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<"discord">;
|
|
28
|
+
label: z.ZodOptional<z.ZodString>;
|
|
29
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
type: "discord";
|
|
32
|
+
href: string;
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
type: "discord";
|
|
36
|
+
href: string;
|
|
37
|
+
label?: string | undefined;
|
|
23
38
|
}>]>;
|
|
24
39
|
export declare const navbarSchema: z.ZodObject<{
|
|
25
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
-
label: z.ZodString;
|
|
40
|
+
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
27
41
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
28
42
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
29
43
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -38,9 +52,85 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
38
52
|
library?: "fontawesome" | "lucide" | undefined;
|
|
39
53
|
}>]>>;
|
|
40
54
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
41
|
-
},
|
|
55
|
+
}, {
|
|
56
|
+
label: z.ZodOptional<z.ZodString>;
|
|
57
|
+
type: z.ZodLiteral<"github">;
|
|
58
|
+
}>, "strip", z.ZodTypeAny, {
|
|
59
|
+
type: "github";
|
|
60
|
+
href: string;
|
|
61
|
+
icon?: string | {
|
|
62
|
+
name: string;
|
|
63
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
64
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
label?: string | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
type: "github";
|
|
69
|
+
href: string;
|
|
70
|
+
icon?: string | {
|
|
71
|
+
name: string;
|
|
72
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
73
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
label?: string | undefined;
|
|
76
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
77
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
78
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
79
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
80
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
name: string;
|
|
83
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
84
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
name: string;
|
|
87
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
88
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
89
|
+
}>]>>;
|
|
90
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
91
|
+
}, {
|
|
92
|
+
label: z.ZodOptional<z.ZodString>;
|
|
93
|
+
type: z.ZodLiteral<"discord">;
|
|
94
|
+
}>, "strip", z.ZodTypeAny, {
|
|
95
|
+
type: "discord";
|
|
96
|
+
href: string;
|
|
97
|
+
icon?: string | {
|
|
98
|
+
name: string;
|
|
99
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
100
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
label?: string | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
type: "discord";
|
|
105
|
+
href: string;
|
|
106
|
+
icon?: string | {
|
|
107
|
+
name: string;
|
|
108
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
109
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
label?: string | undefined;
|
|
112
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
113
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
114
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
115
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
116
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
name: string;
|
|
119
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
120
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
name: string;
|
|
123
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
124
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
125
|
+
}>]>>;
|
|
126
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
127
|
+
}, {
|
|
128
|
+
label: z.ZodString;
|
|
129
|
+
type: z.ZodOptional<z.ZodUndefined>;
|
|
130
|
+
}>, "strip", z.ZodTypeAny, {
|
|
42
131
|
href: string;
|
|
43
132
|
label: string;
|
|
133
|
+
type?: undefined;
|
|
44
134
|
icon?: string | {
|
|
45
135
|
name: string;
|
|
46
136
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
@@ -49,12 +139,13 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
49
139
|
}, {
|
|
50
140
|
href: string;
|
|
51
141
|
label: string;
|
|
142
|
+
type?: undefined;
|
|
52
143
|
icon?: string | {
|
|
53
144
|
name: string;
|
|
54
145
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
55
146
|
library?: "fontawesome" | "lucide" | undefined;
|
|
56
147
|
} | undefined;
|
|
57
|
-
}>, "many">>;
|
|
148
|
+
}>]>, "many">>;
|
|
58
149
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
59
150
|
type: z.ZodLiteral<"button">;
|
|
60
151
|
label: z.ZodString;
|
|
@@ -69,13 +160,28 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
69
160
|
label: string;
|
|
70
161
|
}>, z.ZodObject<{
|
|
71
162
|
type: z.ZodLiteral<"github">;
|
|
163
|
+
label: z.ZodOptional<z.ZodString>;
|
|
72
164
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
73
165
|
}, "strip", z.ZodTypeAny, {
|
|
74
166
|
type: "github";
|
|
75
167
|
href: string;
|
|
168
|
+
label?: string | undefined;
|
|
76
169
|
}, {
|
|
77
170
|
type: "github";
|
|
78
171
|
href: string;
|
|
172
|
+
label?: string | undefined;
|
|
173
|
+
}>, z.ZodObject<{
|
|
174
|
+
type: z.ZodLiteral<"discord">;
|
|
175
|
+
label: z.ZodOptional<z.ZodString>;
|
|
176
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
type: "discord";
|
|
179
|
+
href: string;
|
|
180
|
+
label?: string | undefined;
|
|
181
|
+
}, {
|
|
182
|
+
type: "discord";
|
|
183
|
+
href: string;
|
|
184
|
+
label?: string | undefined;
|
|
79
185
|
}>]>>;
|
|
80
186
|
}, "strip", z.ZodTypeAny, {
|
|
81
187
|
primary?: {
|
|
@@ -85,16 +191,40 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
85
191
|
} | {
|
|
86
192
|
type: "github";
|
|
87
193
|
href: string;
|
|
194
|
+
label?: string | undefined;
|
|
195
|
+
} | {
|
|
196
|
+
type: "discord";
|
|
197
|
+
href: string;
|
|
198
|
+
label?: string | undefined;
|
|
88
199
|
} | undefined;
|
|
89
|
-
links?: {
|
|
200
|
+
links?: ({
|
|
90
201
|
href: string;
|
|
91
202
|
label: string;
|
|
203
|
+
type?: undefined;
|
|
204
|
+
icon?: string | {
|
|
205
|
+
name: string;
|
|
206
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
207
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
} | {
|
|
210
|
+
type: "github";
|
|
211
|
+
href: string;
|
|
212
|
+
icon?: string | {
|
|
213
|
+
name: string;
|
|
214
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
215
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
label?: string | undefined;
|
|
218
|
+
} | {
|
|
219
|
+
type: "discord";
|
|
220
|
+
href: string;
|
|
92
221
|
icon?: string | {
|
|
93
222
|
name: string;
|
|
94
223
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
95
224
|
library?: "fontawesome" | "lucide" | undefined;
|
|
96
225
|
} | undefined;
|
|
97
|
-
|
|
226
|
+
label?: string | undefined;
|
|
227
|
+
})[] | undefined;
|
|
98
228
|
}, {
|
|
99
229
|
primary?: {
|
|
100
230
|
type: "button";
|
|
@@ -103,14 +233,38 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
103
233
|
} | {
|
|
104
234
|
type: "github";
|
|
105
235
|
href: string;
|
|
236
|
+
label?: string | undefined;
|
|
237
|
+
} | {
|
|
238
|
+
type: "discord";
|
|
239
|
+
href: string;
|
|
240
|
+
label?: string | undefined;
|
|
106
241
|
} | undefined;
|
|
107
|
-
links?: {
|
|
242
|
+
links?: ({
|
|
108
243
|
href: string;
|
|
109
244
|
label: string;
|
|
245
|
+
type?: undefined;
|
|
246
|
+
icon?: string | {
|
|
247
|
+
name: string;
|
|
248
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
249
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
250
|
+
} | undefined;
|
|
251
|
+
} | {
|
|
252
|
+
type: "github";
|
|
253
|
+
href: string;
|
|
254
|
+
icon?: string | {
|
|
255
|
+
name: string;
|
|
256
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
257
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
258
|
+
} | undefined;
|
|
259
|
+
label?: string | undefined;
|
|
260
|
+
} | {
|
|
261
|
+
type: "discord";
|
|
262
|
+
href: string;
|
|
110
263
|
icon?: string | {
|
|
111
264
|
name: string;
|
|
112
265
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
113
266
|
library?: "fontawesome" | "lucide" | undefined;
|
|
114
267
|
} | undefined;
|
|
115
|
-
|
|
268
|
+
label?: string | undefined;
|
|
269
|
+
})[] | undefined;
|
|
116
270
|
}>;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { hrefSchema } from './reusable/href.js';
|
|
3
3
|
import { iconSchema } from './reusable/icon.js';
|
|
4
|
-
const
|
|
5
|
-
label: z.string(),
|
|
4
|
+
const baseLinkSchema = z.object({
|
|
6
5
|
icon: iconSchema.optional(),
|
|
7
6
|
href: hrefSchema,
|
|
8
7
|
});
|
|
8
|
+
const standardLinkSchema = baseLinkSchema.extend({
|
|
9
|
+
label: z.string(),
|
|
10
|
+
type: z.undefined().optional(),
|
|
11
|
+
});
|
|
12
|
+
const githubLinkSchema = baseLinkSchema.extend({
|
|
13
|
+
label: z.string().optional(),
|
|
14
|
+
type: z.literal('github'),
|
|
15
|
+
});
|
|
16
|
+
const discordLinkSchema = baseLinkSchema.extend({
|
|
17
|
+
label: z.string().optional(),
|
|
18
|
+
type: z.literal('discord'),
|
|
19
|
+
});
|
|
20
|
+
const linkSchema = z.union([githubLinkSchema, discordLinkSchema, standardLinkSchema]);
|
|
9
21
|
const buttonSchema = z.object({
|
|
10
22
|
type: z.literal('button'),
|
|
11
23
|
label: z.string(),
|
|
@@ -13,9 +25,19 @@ const buttonSchema = z.object({
|
|
|
13
25
|
});
|
|
14
26
|
const githubSchema = z.object({
|
|
15
27
|
type: z.literal('github'),
|
|
28
|
+
label: z.string().optional(),
|
|
29
|
+
href: hrefSchema,
|
|
30
|
+
});
|
|
31
|
+
const discordSchema = z.object({
|
|
32
|
+
type: z.literal('discord'),
|
|
33
|
+
label: z.string().optional(),
|
|
16
34
|
href: hrefSchema,
|
|
17
35
|
});
|
|
18
|
-
export const primarySchema = z.discriminatedUnion('type', [
|
|
36
|
+
export const primarySchema = z.discriminatedUnion('type', [
|
|
37
|
+
buttonSchema,
|
|
38
|
+
githubSchema,
|
|
39
|
+
discordSchema,
|
|
40
|
+
]);
|
|
19
41
|
export const navbarSchema = z
|
|
20
42
|
.object({
|
|
21
43
|
links: z.array(linkSchema).optional().describe('The links in the navbar'),
|
|
@@ -232,8 +232,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
232
232
|
decoration?: "gradient" | "grid" | "windows" | undefined;
|
|
233
233
|
}>>;
|
|
234
234
|
navbar: z.ZodOptional<z.ZodObject<{
|
|
235
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
|
-
label: z.ZodString;
|
|
235
|
+
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
237
236
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
238
237
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
239
238
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -248,9 +247,85 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
248
247
|
library?: "fontawesome" | "lucide" | undefined;
|
|
249
248
|
}>]>>;
|
|
250
249
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
251
|
-
},
|
|
250
|
+
}, {
|
|
251
|
+
label: z.ZodOptional<z.ZodString>;
|
|
252
|
+
type: z.ZodLiteral<"github">;
|
|
253
|
+
}>, "strip", z.ZodTypeAny, {
|
|
254
|
+
type: "github";
|
|
255
|
+
href: string;
|
|
256
|
+
icon?: string | {
|
|
257
|
+
name: string;
|
|
258
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
259
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
260
|
+
} | undefined;
|
|
261
|
+
label?: string | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
type: "github";
|
|
264
|
+
href: string;
|
|
265
|
+
icon?: string | {
|
|
266
|
+
name: string;
|
|
267
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
268
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
label?: string | undefined;
|
|
271
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
272
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
273
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
274
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
275
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
name: string;
|
|
278
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
279
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
280
|
+
}, {
|
|
281
|
+
name: string;
|
|
282
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
283
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
284
|
+
}>]>>;
|
|
285
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
286
|
+
}, {
|
|
287
|
+
label: z.ZodOptional<z.ZodString>;
|
|
288
|
+
type: z.ZodLiteral<"discord">;
|
|
289
|
+
}>, "strip", z.ZodTypeAny, {
|
|
290
|
+
type: "discord";
|
|
291
|
+
href: string;
|
|
292
|
+
icon?: string | {
|
|
293
|
+
name: string;
|
|
294
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
295
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
label?: string | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
type: "discord";
|
|
300
|
+
href: string;
|
|
301
|
+
icon?: string | {
|
|
302
|
+
name: string;
|
|
303
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
304
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
label?: string | undefined;
|
|
307
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
308
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
309
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
310
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
311
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
name: string;
|
|
314
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
315
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
316
|
+
}, {
|
|
317
|
+
name: string;
|
|
318
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
319
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
320
|
+
}>]>>;
|
|
321
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
322
|
+
}, {
|
|
323
|
+
label: z.ZodString;
|
|
324
|
+
type: z.ZodOptional<z.ZodUndefined>;
|
|
325
|
+
}>, "strip", z.ZodTypeAny, {
|
|
252
326
|
href: string;
|
|
253
327
|
label: string;
|
|
328
|
+
type?: undefined;
|
|
254
329
|
icon?: string | {
|
|
255
330
|
name: string;
|
|
256
331
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
@@ -259,12 +334,13 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
259
334
|
}, {
|
|
260
335
|
href: string;
|
|
261
336
|
label: string;
|
|
337
|
+
type?: undefined;
|
|
262
338
|
icon?: string | {
|
|
263
339
|
name: string;
|
|
264
340
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
265
341
|
library?: "fontawesome" | "lucide" | undefined;
|
|
266
342
|
} | undefined;
|
|
267
|
-
}>, "many">>;
|
|
343
|
+
}>]>, "many">>;
|
|
268
344
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
269
345
|
type: z.ZodLiteral<"button">;
|
|
270
346
|
label: z.ZodString;
|
|
@@ -279,13 +355,28 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
279
355
|
label: string;
|
|
280
356
|
}>, z.ZodObject<{
|
|
281
357
|
type: z.ZodLiteral<"github">;
|
|
358
|
+
label: z.ZodOptional<z.ZodString>;
|
|
282
359
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
283
360
|
}, "strip", z.ZodTypeAny, {
|
|
284
361
|
type: "github";
|
|
285
362
|
href: string;
|
|
363
|
+
label?: string | undefined;
|
|
286
364
|
}, {
|
|
287
365
|
type: "github";
|
|
288
366
|
href: string;
|
|
367
|
+
label?: string | undefined;
|
|
368
|
+
}>, z.ZodObject<{
|
|
369
|
+
type: z.ZodLiteral<"discord">;
|
|
370
|
+
label: z.ZodOptional<z.ZodString>;
|
|
371
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
type: "discord";
|
|
374
|
+
href: string;
|
|
375
|
+
label?: string | undefined;
|
|
376
|
+
}, {
|
|
377
|
+
type: "discord";
|
|
378
|
+
href: string;
|
|
379
|
+
label?: string | undefined;
|
|
289
380
|
}>]>>;
|
|
290
381
|
}, "strip", z.ZodTypeAny, {
|
|
291
382
|
primary?: {
|
|
@@ -295,16 +386,40 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
295
386
|
} | {
|
|
296
387
|
type: "github";
|
|
297
388
|
href: string;
|
|
389
|
+
label?: string | undefined;
|
|
390
|
+
} | {
|
|
391
|
+
type: "discord";
|
|
392
|
+
href: string;
|
|
393
|
+
label?: string | undefined;
|
|
298
394
|
} | undefined;
|
|
299
|
-
links?: {
|
|
395
|
+
links?: ({
|
|
300
396
|
href: string;
|
|
301
397
|
label: string;
|
|
398
|
+
type?: undefined;
|
|
302
399
|
icon?: string | {
|
|
303
400
|
name: string;
|
|
304
401
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
305
402
|
library?: "fontawesome" | "lucide" | undefined;
|
|
306
403
|
} | undefined;
|
|
307
|
-
}
|
|
404
|
+
} | {
|
|
405
|
+
type: "github";
|
|
406
|
+
href: string;
|
|
407
|
+
icon?: string | {
|
|
408
|
+
name: string;
|
|
409
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
410
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
411
|
+
} | undefined;
|
|
412
|
+
label?: string | undefined;
|
|
413
|
+
} | {
|
|
414
|
+
type: "discord";
|
|
415
|
+
href: string;
|
|
416
|
+
icon?: string | {
|
|
417
|
+
name: string;
|
|
418
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
419
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
420
|
+
} | undefined;
|
|
421
|
+
label?: string | undefined;
|
|
422
|
+
})[] | undefined;
|
|
308
423
|
}, {
|
|
309
424
|
primary?: {
|
|
310
425
|
type: "button";
|
|
@@ -313,16 +428,40 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
313
428
|
} | {
|
|
314
429
|
type: "github";
|
|
315
430
|
href: string;
|
|
431
|
+
label?: string | undefined;
|
|
432
|
+
} | {
|
|
433
|
+
type: "discord";
|
|
434
|
+
href: string;
|
|
435
|
+
label?: string | undefined;
|
|
316
436
|
} | undefined;
|
|
317
|
-
links?: {
|
|
437
|
+
links?: ({
|
|
318
438
|
href: string;
|
|
319
439
|
label: string;
|
|
440
|
+
type?: undefined;
|
|
320
441
|
icon?: string | {
|
|
321
442
|
name: string;
|
|
322
443
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
323
444
|
library?: "fontawesome" | "lucide" | undefined;
|
|
324
445
|
} | undefined;
|
|
325
|
-
}
|
|
446
|
+
} | {
|
|
447
|
+
type: "github";
|
|
448
|
+
href: string;
|
|
449
|
+
icon?: string | {
|
|
450
|
+
name: string;
|
|
451
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
452
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
label?: string | undefined;
|
|
455
|
+
} | {
|
|
456
|
+
type: "discord";
|
|
457
|
+
href: string;
|
|
458
|
+
icon?: string | {
|
|
459
|
+
name: string;
|
|
460
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
461
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
462
|
+
} | undefined;
|
|
463
|
+
label?: string | undefined;
|
|
464
|
+
})[] | undefined;
|
|
326
465
|
}>>;
|
|
327
466
|
navigation: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
328
467
|
global: z.ZodOptional<z.ZodType<import("../properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("../properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
@@ -1700,16 +1839,40 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1700
1839
|
} | {
|
|
1701
1840
|
type: "github";
|
|
1702
1841
|
href: string;
|
|
1842
|
+
label?: string | undefined;
|
|
1843
|
+
} | {
|
|
1844
|
+
type: "discord";
|
|
1845
|
+
href: string;
|
|
1846
|
+
label?: string | undefined;
|
|
1703
1847
|
} | undefined;
|
|
1704
|
-
links?: {
|
|
1848
|
+
links?: ({
|
|
1705
1849
|
href: string;
|
|
1706
1850
|
label: string;
|
|
1851
|
+
type?: undefined;
|
|
1707
1852
|
icon?: string | {
|
|
1708
1853
|
name: string;
|
|
1709
1854
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1710
1855
|
library?: "fontawesome" | "lucide" | undefined;
|
|
1711
1856
|
} | undefined;
|
|
1712
|
-
}
|
|
1857
|
+
} | {
|
|
1858
|
+
type: "github";
|
|
1859
|
+
href: string;
|
|
1860
|
+
icon?: string | {
|
|
1861
|
+
name: string;
|
|
1862
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1863
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1864
|
+
} | undefined;
|
|
1865
|
+
label?: string | undefined;
|
|
1866
|
+
} | {
|
|
1867
|
+
type: "discord";
|
|
1868
|
+
href: string;
|
|
1869
|
+
icon?: string | {
|
|
1870
|
+
name: string;
|
|
1871
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1872
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1873
|
+
} | undefined;
|
|
1874
|
+
label?: string | undefined;
|
|
1875
|
+
})[] | undefined;
|
|
1713
1876
|
} | undefined;
|
|
1714
1877
|
icons?: {
|
|
1715
1878
|
library: "fontawesome" | "lucide";
|
|
@@ -2022,16 +2185,40 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2022
2185
|
} | {
|
|
2023
2186
|
type: "github";
|
|
2024
2187
|
href: string;
|
|
2188
|
+
label?: string | undefined;
|
|
2189
|
+
} | {
|
|
2190
|
+
type: "discord";
|
|
2191
|
+
href: string;
|
|
2192
|
+
label?: string | undefined;
|
|
2025
2193
|
} | undefined;
|
|
2026
|
-
links?: {
|
|
2194
|
+
links?: ({
|
|
2027
2195
|
href: string;
|
|
2028
2196
|
label: string;
|
|
2197
|
+
type?: undefined;
|
|
2029
2198
|
icon?: string | {
|
|
2030
2199
|
name: string;
|
|
2031
2200
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2032
2201
|
library?: "fontawesome" | "lucide" | undefined;
|
|
2033
2202
|
} | undefined;
|
|
2034
|
-
}
|
|
2203
|
+
} | {
|
|
2204
|
+
type: "github";
|
|
2205
|
+
href: string;
|
|
2206
|
+
icon?: string | {
|
|
2207
|
+
name: string;
|
|
2208
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2209
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
2210
|
+
} | undefined;
|
|
2211
|
+
label?: string | undefined;
|
|
2212
|
+
} | {
|
|
2213
|
+
type: "discord";
|
|
2214
|
+
href: string;
|
|
2215
|
+
icon?: string | {
|
|
2216
|
+
name: string;
|
|
2217
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2218
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
2219
|
+
} | undefined;
|
|
2220
|
+
label?: string | undefined;
|
|
2221
|
+
})[] | undefined;
|
|
2035
2222
|
} | undefined;
|
|
2036
2223
|
icons?: {
|
|
2037
2224
|
library: "fontawesome" | "lucide";
|