@mintlify/validation 0.1.404 → 0.1.405
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 +1498 -35
- package/dist/mint-config/schemas/v2/properties/contextual.d.ts +284 -3
- package/dist/mint-config/schemas/v2/properties/contextual.js +20 -1
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +214 -5
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +214 -5
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +214 -5
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +214 -5
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +214 -5
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +214 -5
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +170 -3
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +214 -5
- package/dist/mint-config/validateConfig.d.ts +308 -14
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,291 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const contextualOptions: readonly ["copy", "view", "chatgpt", "claude"];
|
|
3
3
|
export type ContextualOption = (typeof contextualOptions)[number];
|
|
4
|
+
export declare const contextualHrefPresetValues: readonly ["$page"];
|
|
5
|
+
export type ContextualHrefPresetValue = (typeof contextualHrefPresetValues)[number];
|
|
6
|
+
export declare const DetailedContextualHrefSchema: z.ZodObject<{
|
|
7
|
+
base: z.ZodString;
|
|
8
|
+
query: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
key: z.ZodString;
|
|
10
|
+
value: z.ZodUnion<[z.ZodEnum<["$page"]>, z.ZodString]>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
value: string;
|
|
13
|
+
key: string;
|
|
14
|
+
}, {
|
|
15
|
+
value: string;
|
|
16
|
+
key: string;
|
|
17
|
+
}>, "many">>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
base: string;
|
|
20
|
+
query?: {
|
|
21
|
+
value: string;
|
|
22
|
+
key: string;
|
|
23
|
+
}[] | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
base: string;
|
|
26
|
+
query?: {
|
|
27
|
+
value: string;
|
|
28
|
+
key: string;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const customContextualOption: z.ZodObject<{
|
|
32
|
+
title: z.ZodString;
|
|
33
|
+
description: z.ZodString;
|
|
34
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
35
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
36
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
37
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
name: string;
|
|
40
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
41
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
name: string;
|
|
44
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
45
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
46
|
+
}>]>>;
|
|
47
|
+
href: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
48
|
+
base: z.ZodString;
|
|
49
|
+
query: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
50
|
+
key: z.ZodString;
|
|
51
|
+
value: z.ZodUnion<[z.ZodEnum<["$page"]>, z.ZodString]>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
value: string;
|
|
54
|
+
key: string;
|
|
55
|
+
}, {
|
|
56
|
+
value: string;
|
|
57
|
+
key: string;
|
|
58
|
+
}>, "many">>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
base: string;
|
|
61
|
+
query?: {
|
|
62
|
+
value: string;
|
|
63
|
+
key: string;
|
|
64
|
+
}[] | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
base: string;
|
|
67
|
+
query?: {
|
|
68
|
+
value: string;
|
|
69
|
+
key: string;
|
|
70
|
+
}[] | undefined;
|
|
71
|
+
}>]>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
href: (string | {
|
|
74
|
+
base: string;
|
|
75
|
+
query?: {
|
|
76
|
+
value: string;
|
|
77
|
+
key: string;
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
}) & (string | {
|
|
80
|
+
base: string;
|
|
81
|
+
query?: {
|
|
82
|
+
value: string;
|
|
83
|
+
key: string;
|
|
84
|
+
}[] | undefined;
|
|
85
|
+
} | undefined);
|
|
86
|
+
title: string;
|
|
87
|
+
description: string;
|
|
88
|
+
icon?: string | {
|
|
89
|
+
name: string;
|
|
90
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
91
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
href: (string | {
|
|
95
|
+
base: string;
|
|
96
|
+
query?: {
|
|
97
|
+
value: string;
|
|
98
|
+
key: string;
|
|
99
|
+
}[] | undefined;
|
|
100
|
+
}) & (string | {
|
|
101
|
+
base: string;
|
|
102
|
+
query?: {
|
|
103
|
+
value: string;
|
|
104
|
+
key: string;
|
|
105
|
+
}[] | undefined;
|
|
106
|
+
} | undefined);
|
|
107
|
+
title: string;
|
|
108
|
+
description: string;
|
|
109
|
+
icon?: string | {
|
|
110
|
+
name: string;
|
|
111
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
112
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
113
|
+
} | undefined;
|
|
114
|
+
}>;
|
|
4
115
|
export declare const contextualSchema: z.ZodObject<{
|
|
5
|
-
options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>,
|
|
116
|
+
options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, z.ZodObject<{
|
|
117
|
+
title: z.ZodString;
|
|
118
|
+
description: z.ZodString;
|
|
119
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
120
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
121
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
122
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
name: string;
|
|
125
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
126
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
name: string;
|
|
129
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
130
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
131
|
+
}>]>>;
|
|
132
|
+
href: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
133
|
+
base: z.ZodString;
|
|
134
|
+
query: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
135
|
+
key: z.ZodString;
|
|
136
|
+
value: z.ZodUnion<[z.ZodEnum<["$page"]>, z.ZodString]>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
value: string;
|
|
139
|
+
key: string;
|
|
140
|
+
}, {
|
|
141
|
+
value: string;
|
|
142
|
+
key: string;
|
|
143
|
+
}>, "many">>;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
base: string;
|
|
146
|
+
query?: {
|
|
147
|
+
value: string;
|
|
148
|
+
key: string;
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
base: string;
|
|
152
|
+
query?: {
|
|
153
|
+
value: string;
|
|
154
|
+
key: string;
|
|
155
|
+
}[] | undefined;
|
|
156
|
+
}>]>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
href: (string | {
|
|
159
|
+
base: string;
|
|
160
|
+
query?: {
|
|
161
|
+
value: string;
|
|
162
|
+
key: string;
|
|
163
|
+
}[] | undefined;
|
|
164
|
+
}) & (string | {
|
|
165
|
+
base: string;
|
|
166
|
+
query?: {
|
|
167
|
+
value: string;
|
|
168
|
+
key: string;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
} | undefined);
|
|
171
|
+
title: string;
|
|
172
|
+
description: string;
|
|
173
|
+
icon?: string | {
|
|
174
|
+
name: string;
|
|
175
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
176
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
}, {
|
|
179
|
+
href: (string | {
|
|
180
|
+
base: string;
|
|
181
|
+
query?: {
|
|
182
|
+
value: string;
|
|
183
|
+
key: string;
|
|
184
|
+
}[] | undefined;
|
|
185
|
+
}) & (string | {
|
|
186
|
+
base: string;
|
|
187
|
+
query?: {
|
|
188
|
+
value: string;
|
|
189
|
+
key: string;
|
|
190
|
+
}[] | undefined;
|
|
191
|
+
} | undefined);
|
|
192
|
+
title: string;
|
|
193
|
+
description: string;
|
|
194
|
+
icon?: string | {
|
|
195
|
+
name: string;
|
|
196
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
197
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
198
|
+
} | undefined;
|
|
199
|
+
}>]>, "many">, ("copy" | "view" | "chatgpt" | "claude" | {
|
|
200
|
+
href: (string | {
|
|
201
|
+
base: string;
|
|
202
|
+
query?: {
|
|
203
|
+
value: string;
|
|
204
|
+
key: string;
|
|
205
|
+
}[] | undefined;
|
|
206
|
+
}) & (string | {
|
|
207
|
+
base: string;
|
|
208
|
+
query?: {
|
|
209
|
+
value: string;
|
|
210
|
+
key: string;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
} | undefined);
|
|
213
|
+
title: string;
|
|
214
|
+
description: string;
|
|
215
|
+
icon?: string | {
|
|
216
|
+
name: string;
|
|
217
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
218
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
219
|
+
} | undefined;
|
|
220
|
+
})[], ("copy" | "view" | "chatgpt" | "claude" | {
|
|
221
|
+
href: (string | {
|
|
222
|
+
base: string;
|
|
223
|
+
query?: {
|
|
224
|
+
value: string;
|
|
225
|
+
key: string;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
}) & (string | {
|
|
228
|
+
base: string;
|
|
229
|
+
query?: {
|
|
230
|
+
value: string;
|
|
231
|
+
key: string;
|
|
232
|
+
}[] | undefined;
|
|
233
|
+
} | undefined);
|
|
234
|
+
title: string;
|
|
235
|
+
description: string;
|
|
236
|
+
icon?: string | {
|
|
237
|
+
name: string;
|
|
238
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
239
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
})[]>;
|
|
6
242
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
options: ("copy" | "view" | "chatgpt" | "claude"
|
|
243
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | {
|
|
244
|
+
href: (string | {
|
|
245
|
+
base: string;
|
|
246
|
+
query?: {
|
|
247
|
+
value: string;
|
|
248
|
+
key: string;
|
|
249
|
+
}[] | undefined;
|
|
250
|
+
}) & (string | {
|
|
251
|
+
base: string;
|
|
252
|
+
query?: {
|
|
253
|
+
value: string;
|
|
254
|
+
key: string;
|
|
255
|
+
}[] | undefined;
|
|
256
|
+
} | undefined);
|
|
257
|
+
title: string;
|
|
258
|
+
description: string;
|
|
259
|
+
icon?: string | {
|
|
260
|
+
name: string;
|
|
261
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
262
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
})[];
|
|
8
265
|
}, {
|
|
9
|
-
options: ("copy" | "view" | "chatgpt" | "claude"
|
|
266
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | {
|
|
267
|
+
href: (string | {
|
|
268
|
+
base: string;
|
|
269
|
+
query?: {
|
|
270
|
+
value: string;
|
|
271
|
+
key: string;
|
|
272
|
+
}[] | undefined;
|
|
273
|
+
}) & (string | {
|
|
274
|
+
base: string;
|
|
275
|
+
query?: {
|
|
276
|
+
value: string;
|
|
277
|
+
key: string;
|
|
278
|
+
}[] | undefined;
|
|
279
|
+
} | undefined);
|
|
280
|
+
title: string;
|
|
281
|
+
description: string;
|
|
282
|
+
icon?: string | {
|
|
283
|
+
name: string;
|
|
284
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
285
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
286
|
+
} | undefined;
|
|
287
|
+
})[];
|
|
10
288
|
}>;
|
|
289
|
+
export type CustomContextualOption = z.infer<typeof customContextualOption>;
|
|
290
|
+
export type ContextualConfig = z.infer<typeof contextualSchema>;
|
|
291
|
+
export type DetailedContextualHref = z.infer<typeof DetailedContextualHrefSchema>;
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { iconSchema } from './reusable/icon.js';
|
|
2
3
|
export const contextualOptions = ['copy', 'view', 'chatgpt', 'claude'];
|
|
4
|
+
export const contextualHrefPresetValues = ['$page'];
|
|
5
|
+
export const DetailedContextualHrefSchema = z.object({
|
|
6
|
+
base: z.string(),
|
|
7
|
+
query: z
|
|
8
|
+
.array(z.object({
|
|
9
|
+
key: z.string(),
|
|
10
|
+
value: z.union([z.enum(contextualHrefPresetValues), z.string()]),
|
|
11
|
+
}))
|
|
12
|
+
.optional(),
|
|
13
|
+
});
|
|
14
|
+
export const customContextualOption = z
|
|
15
|
+
.object({
|
|
16
|
+
title: z.string(),
|
|
17
|
+
description: z.string(),
|
|
18
|
+
icon: iconSchema.optional(),
|
|
19
|
+
href: z.union([z.string(), DetailedContextualHrefSchema]),
|
|
20
|
+
})
|
|
21
|
+
.describe('Custom contextual option');
|
|
3
22
|
export const contextualSchema = z
|
|
4
23
|
.object({
|
|
5
24
|
options: z
|
|
6
|
-
.array(z.enum(contextualOptions))
|
|
25
|
+
.array(z.union([z.enum(contextualOptions), customContextualOption]))
|
|
7
26
|
.describe('Contextual options')
|
|
8
27
|
.refine((options) => {
|
|
9
28
|
const uniqueOptions = new Set(options);
|
|
@@ -1137,11 +1137,178 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1137
1137
|
};
|
|
1138
1138
|
}>>;
|
|
1139
1139
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
1140
|
-
options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>,
|
|
1140
|
+
options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, z.ZodObject<{
|
|
1141
|
+
title: z.ZodString;
|
|
1142
|
+
description: z.ZodString;
|
|
1143
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
1144
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
1145
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1146
|
+
library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
|
|
1147
|
+
}, "strip", z.ZodTypeAny, {
|
|
1148
|
+
name: string;
|
|
1149
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1150
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1151
|
+
}, {
|
|
1152
|
+
name: string;
|
|
1153
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1154
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1155
|
+
}>]>>;
|
|
1156
|
+
href: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1157
|
+
base: z.ZodString;
|
|
1158
|
+
query: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1159
|
+
key: z.ZodString;
|
|
1160
|
+
value: z.ZodUnion<[z.ZodEnum<["$page"]>, z.ZodString]>;
|
|
1161
|
+
}, "strip", z.ZodTypeAny, {
|
|
1162
|
+
value: string;
|
|
1163
|
+
key: string;
|
|
1164
|
+
}, {
|
|
1165
|
+
value: string;
|
|
1166
|
+
key: string;
|
|
1167
|
+
}>, "many">>;
|
|
1168
|
+
}, "strip", z.ZodTypeAny, {
|
|
1169
|
+
base: string;
|
|
1170
|
+
query?: {
|
|
1171
|
+
value: string;
|
|
1172
|
+
key: string;
|
|
1173
|
+
}[] | undefined;
|
|
1174
|
+
}, {
|
|
1175
|
+
base: string;
|
|
1176
|
+
query?: {
|
|
1177
|
+
value: string;
|
|
1178
|
+
key: string;
|
|
1179
|
+
}[] | undefined;
|
|
1180
|
+
}>]>;
|
|
1181
|
+
}, "strip", z.ZodTypeAny, {
|
|
1182
|
+
href: (string | {
|
|
1183
|
+
base: string;
|
|
1184
|
+
query?: {
|
|
1185
|
+
value: string;
|
|
1186
|
+
key: string;
|
|
1187
|
+
}[] | undefined;
|
|
1188
|
+
}) & (string | {
|
|
1189
|
+
base: string;
|
|
1190
|
+
query?: {
|
|
1191
|
+
value: string;
|
|
1192
|
+
key: string;
|
|
1193
|
+
}[] | undefined;
|
|
1194
|
+
} | undefined);
|
|
1195
|
+
title: string;
|
|
1196
|
+
description: string;
|
|
1197
|
+
icon?: string | {
|
|
1198
|
+
name: string;
|
|
1199
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1200
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
}, {
|
|
1203
|
+
href: (string | {
|
|
1204
|
+
base: string;
|
|
1205
|
+
query?: {
|
|
1206
|
+
value: string;
|
|
1207
|
+
key: string;
|
|
1208
|
+
}[] | undefined;
|
|
1209
|
+
}) & (string | {
|
|
1210
|
+
base: string;
|
|
1211
|
+
query?: {
|
|
1212
|
+
value: string;
|
|
1213
|
+
key: string;
|
|
1214
|
+
}[] | undefined;
|
|
1215
|
+
} | undefined);
|
|
1216
|
+
title: string;
|
|
1217
|
+
description: string;
|
|
1218
|
+
icon?: string | {
|
|
1219
|
+
name: string;
|
|
1220
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1221
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1222
|
+
} | undefined;
|
|
1223
|
+
}>]>, "many">, ("copy" | "view" | "chatgpt" | "claude" | {
|
|
1224
|
+
href: (string | {
|
|
1225
|
+
base: string;
|
|
1226
|
+
query?: {
|
|
1227
|
+
value: string;
|
|
1228
|
+
key: string;
|
|
1229
|
+
}[] | undefined;
|
|
1230
|
+
}) & (string | {
|
|
1231
|
+
base: string;
|
|
1232
|
+
query?: {
|
|
1233
|
+
value: string;
|
|
1234
|
+
key: string;
|
|
1235
|
+
}[] | undefined;
|
|
1236
|
+
} | undefined);
|
|
1237
|
+
title: string;
|
|
1238
|
+
description: string;
|
|
1239
|
+
icon?: string | {
|
|
1240
|
+
name: string;
|
|
1241
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1242
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1243
|
+
} | undefined;
|
|
1244
|
+
})[], ("copy" | "view" | "chatgpt" | "claude" | {
|
|
1245
|
+
href: (string | {
|
|
1246
|
+
base: string;
|
|
1247
|
+
query?: {
|
|
1248
|
+
value: string;
|
|
1249
|
+
key: string;
|
|
1250
|
+
}[] | undefined;
|
|
1251
|
+
}) & (string | {
|
|
1252
|
+
base: string;
|
|
1253
|
+
query?: {
|
|
1254
|
+
value: string;
|
|
1255
|
+
key: string;
|
|
1256
|
+
}[] | undefined;
|
|
1257
|
+
} | undefined);
|
|
1258
|
+
title: string;
|
|
1259
|
+
description: string;
|
|
1260
|
+
icon?: string | {
|
|
1261
|
+
name: string;
|
|
1262
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1263
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1264
|
+
} | undefined;
|
|
1265
|
+
})[]>;
|
|
1141
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1142
|
-
options: ("copy" | "view" | "chatgpt" | "claude"
|
|
1267
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | {
|
|
1268
|
+
href: (string | {
|
|
1269
|
+
base: string;
|
|
1270
|
+
query?: {
|
|
1271
|
+
value: string;
|
|
1272
|
+
key: string;
|
|
1273
|
+
}[] | undefined;
|
|
1274
|
+
}) & (string | {
|
|
1275
|
+
base: string;
|
|
1276
|
+
query?: {
|
|
1277
|
+
value: string;
|
|
1278
|
+
key: string;
|
|
1279
|
+
}[] | undefined;
|
|
1280
|
+
} | undefined);
|
|
1281
|
+
title: string;
|
|
1282
|
+
description: string;
|
|
1283
|
+
icon?: string | {
|
|
1284
|
+
name: string;
|
|
1285
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1286
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1287
|
+
} | undefined;
|
|
1288
|
+
})[];
|
|
1143
1289
|
}, {
|
|
1144
|
-
options: ("copy" | "view" | "chatgpt" | "claude"
|
|
1290
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | {
|
|
1291
|
+
href: (string | {
|
|
1292
|
+
base: string;
|
|
1293
|
+
query?: {
|
|
1294
|
+
value: string;
|
|
1295
|
+
key: string;
|
|
1296
|
+
}[] | undefined;
|
|
1297
|
+
}) & (string | {
|
|
1298
|
+
base: string;
|
|
1299
|
+
query?: {
|
|
1300
|
+
value: string;
|
|
1301
|
+
key: string;
|
|
1302
|
+
}[] | undefined;
|
|
1303
|
+
} | undefined);
|
|
1304
|
+
title: string;
|
|
1305
|
+
description: string;
|
|
1306
|
+
icon?: string | {
|
|
1307
|
+
name: string;
|
|
1308
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1309
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
})[];
|
|
1145
1312
|
}>>;
|
|
1146
1313
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1147
1314
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
@@ -1489,7 +1656,28 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1489
1656
|
};
|
|
1490
1657
|
} | undefined;
|
|
1491
1658
|
contextual?: {
|
|
1492
|
-
options: ("copy" | "view" | "chatgpt" | "claude"
|
|
1659
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | {
|
|
1660
|
+
href: (string | {
|
|
1661
|
+
base: string;
|
|
1662
|
+
query?: {
|
|
1663
|
+
value: string;
|
|
1664
|
+
key: string;
|
|
1665
|
+
}[] | undefined;
|
|
1666
|
+
}) & (string | {
|
|
1667
|
+
base: string;
|
|
1668
|
+
query?: {
|
|
1669
|
+
value: string;
|
|
1670
|
+
key: string;
|
|
1671
|
+
}[] | undefined;
|
|
1672
|
+
} | undefined);
|
|
1673
|
+
title: string;
|
|
1674
|
+
description: string;
|
|
1675
|
+
icon?: string | {
|
|
1676
|
+
name: string;
|
|
1677
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1678
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
1679
|
+
} | undefined;
|
|
1680
|
+
})[];
|
|
1493
1681
|
} | undefined;
|
|
1494
1682
|
thumbnails?: {
|
|
1495
1683
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
@@ -1830,7 +2018,28 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1830
2018
|
};
|
|
1831
2019
|
} | undefined;
|
|
1832
2020
|
contextual?: {
|
|
1833
|
-
options: ("copy" | "view" | "chatgpt" | "claude"
|
|
2021
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | {
|
|
2022
|
+
href: (string | {
|
|
2023
|
+
base: string;
|
|
2024
|
+
query?: {
|
|
2025
|
+
value: string;
|
|
2026
|
+
key: string;
|
|
2027
|
+
}[] | undefined;
|
|
2028
|
+
}) & (string | {
|
|
2029
|
+
base: string;
|
|
2030
|
+
query?: {
|
|
2031
|
+
value: string;
|
|
2032
|
+
key: string;
|
|
2033
|
+
}[] | undefined;
|
|
2034
|
+
} | undefined);
|
|
2035
|
+
title: string;
|
|
2036
|
+
description: string;
|
|
2037
|
+
icon?: string | {
|
|
2038
|
+
name: string;
|
|
2039
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2040
|
+
library?: "fontawesome" | "lucide" | undefined;
|
|
2041
|
+
} | undefined;
|
|
2042
|
+
})[];
|
|
1834
2043
|
} | undefined;
|
|
1835
2044
|
thumbnails?: {
|
|
1836
2045
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|