@mintlify/validation 0.1.537 → 0.1.539
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/chat-config/index.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/mint-config/schemas/v2/index.d.ts +2130 -35
- package/dist/mint-config/schemas/v2/index.js +3 -0
- package/dist/mint-config/schemas/v2/properties/footer.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/logo.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navbar.d.ts +5 -5
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/reusable/href.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/reusable/href.js +16 -1
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +5 -5
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +5 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/deployment/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -5,6 +5,8 @@ import { lindenConfigSchema } from './themes/linden.js';
|
|
|
5
5
|
import { mapleConfigSchema } from './themes/maple.js';
|
|
6
6
|
import { mintConfigSchema } from './themes/mint.js';
|
|
7
7
|
import { palmConfigSchema } from './themes/palm.js';
|
|
8
|
+
import { standardConfigSchema } from './themes/reusable/index.js';
|
|
9
|
+
import { themeSchema } from './themes/themes.js';
|
|
8
10
|
import { willowConfigSchema } from './themes/willow.js';
|
|
9
11
|
export const docsConfigSchema = z.discriminatedUnion('theme', [
|
|
10
12
|
mintConfigSchema,
|
|
@@ -15,3 +17,4 @@ export const docsConfigSchema = z.discriminatedUnion('theme', [
|
|
|
15
17
|
almondConfigSchema,
|
|
16
18
|
aspenConfigSchema,
|
|
17
19
|
]);
|
|
20
|
+
export const docsConfigUnifiedSchema = z.object(Object.assign({ theme: themeSchema }, standardConfigSchema));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const footerLinkSchema: z.ZodObject<{
|
|
3
3
|
label: z.ZodString;
|
|
4
|
-
href: z.ZodString
|
|
4
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
6
|
href: string;
|
|
7
7
|
label: string;
|
|
@@ -13,7 +13,7 @@ export declare const footerLinksColumnSchema: z.ZodObject<{
|
|
|
13
13
|
header: z.ZodOptional<z.ZodString>;
|
|
14
14
|
items: z.ZodArray<z.ZodObject<{
|
|
15
15
|
label: z.ZodString;
|
|
16
|
-
href: z.ZodString
|
|
16
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
href: string;
|
|
19
19
|
label: string;
|
|
@@ -41,7 +41,7 @@ export declare const footerSchema: z.ZodObject<{
|
|
|
41
41
|
header: z.ZodOptional<z.ZodString>;
|
|
42
42
|
items: z.ZodArray<z.ZodObject<{
|
|
43
43
|
label: z.ZodString;
|
|
44
|
-
href: z.ZodString
|
|
44
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
href: string;
|
|
47
47
|
label: string;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const logoSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3
3
|
light: z.ZodString;
|
|
4
4
|
dark: z.ZodString;
|
|
5
|
-
href: z.ZodOptional<z.ZodString
|
|
5
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
light: string;
|
|
8
8
|
dark: string;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const primarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3
3
|
type: z.ZodLiteral<"button">;
|
|
4
4
|
label: z.ZodString;
|
|
5
|
-
href: z.ZodString
|
|
5
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
type: "button";
|
|
8
8
|
href: string;
|
|
@@ -13,7 +13,7 @@ export declare const primarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
13
13
|
label: string;
|
|
14
14
|
}>, z.ZodObject<{
|
|
15
15
|
type: z.ZodLiteral<"github">;
|
|
16
|
-
href: z.ZodString
|
|
16
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
type: "github";
|
|
19
19
|
href: string;
|
|
@@ -37,7 +37,7 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
37
37
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
38
38
|
library?: "fontawesome" | "lucide" | undefined;
|
|
39
39
|
}>]>>;
|
|
40
|
-
href: z.ZodString
|
|
40
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
href: string;
|
|
43
43
|
label: string;
|
|
@@ -58,7 +58,7 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
58
58
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
59
59
|
type: z.ZodLiteral<"button">;
|
|
60
60
|
label: z.ZodString;
|
|
61
|
-
href: z.ZodString
|
|
61
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
63
|
type: "button";
|
|
64
64
|
href: string;
|
|
@@ -69,7 +69,7 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
69
69
|
label: string;
|
|
70
70
|
}>, z.ZodObject<{
|
|
71
71
|
type: z.ZodLiteral<"github">;
|
|
72
|
-
href: z.ZodString
|
|
72
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
type: "github";
|
|
75
75
|
href: string;
|
|
@@ -79,7 +79,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
79
79
|
}>>;
|
|
80
80
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
}, {
|
|
82
|
-
href: z.ZodString
|
|
82
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
83
83
|
}>, "strip", z.ZodTypeAny, {
|
|
84
84
|
href: string;
|
|
85
85
|
anchor: string;
|
|
@@ -83,7 +83,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<z.objectUtil.extend
|
|
|
83
83
|
description: z.ZodOptional<z.ZodString>;
|
|
84
84
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
85
85
|
}, {
|
|
86
|
-
href: z.ZodString
|
|
86
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
87
87
|
}>, "strip", z.ZodTypeAny, {
|
|
88
88
|
href: string;
|
|
89
89
|
dropdown: string;
|
|
@@ -19,7 +19,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
19
19
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
}, {
|
|
22
|
-
href: z.ZodString
|
|
22
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
23
23
|
}>, "strip", z.ZodTypeAny, {
|
|
24
24
|
href: string;
|
|
25
25
|
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi";
|
|
@@ -55,7 +55,7 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<z.objectUtil.extend
|
|
|
55
55
|
description: z.ZodOptional<z.ZodString>;
|
|
56
56
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
57
57
|
}, {
|
|
58
|
-
href: z.ZodString
|
|
58
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
59
59
|
}>, "strip", z.ZodTypeAny, {
|
|
60
60
|
href: string;
|
|
61
61
|
item: string;
|
|
@@ -91,7 +91,7 @@ export declare const nonRecursiveProductSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
91
91
|
description: z.ZodOptional<z.ZodString>;
|
|
92
92
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
93
93
|
}, {
|
|
94
|
-
href: z.ZodString
|
|
94
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
95
95
|
}>, "strip", z.ZodTypeAny, {
|
|
96
96
|
href: string;
|
|
97
97
|
product: string;
|
|
@@ -51,7 +51,7 @@ export declare const nonRecursiveTabSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
51
51
|
}>]>>;
|
|
52
52
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
53
53
|
}, {
|
|
54
|
-
href: z.ZodString
|
|
54
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
55
55
|
}>, "strip", z.ZodTypeAny, {
|
|
56
56
|
href: string;
|
|
57
57
|
tab: string;
|
|
@@ -19,7 +19,7 @@ export declare const nonRecursiveVersionSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
19
19
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
}, {
|
|
22
|
-
href: z.ZodString
|
|
22
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
23
23
|
}>, "strip", z.ZodTypeAny, {
|
|
24
24
|
version: string;
|
|
25
25
|
href: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const hrefSchema: z.ZodString
|
|
2
|
+
export declare const hrefSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const hrefSchema = z
|
|
3
3
|
.string()
|
|
4
|
-
.
|
|
4
|
+
.refine((value) => {
|
|
5
|
+
// Allow relative paths starting with /
|
|
6
|
+
if (value.startsWith('/'))
|
|
7
|
+
return true;
|
|
8
|
+
// Allow mailto links
|
|
9
|
+
if (value.startsWith('mailto:'))
|
|
10
|
+
return true;
|
|
11
|
+
// Allow absolute URLs
|
|
12
|
+
try {
|
|
13
|
+
new URL(value);
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
catch (_a) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
}, { message: 'Must be a valid url or relative path' })
|
|
5
20
|
.describe('A valid path or external link');
|
|
@@ -19,7 +19,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|
|
@@ -19,7 +19,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|
|
@@ -19,7 +19,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|
|
@@ -19,7 +19,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|
|
@@ -19,7 +19,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|
|
@@ -19,7 +19,7 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|
|
@@ -18,7 +18,7 @@ export declare const standardConfigSchema: {
|
|
|
18
18
|
logo: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
|
19
19
|
light: import("zod").ZodString;
|
|
20
20
|
dark: import("zod").ZodString;
|
|
21
|
-
href: import("zod").ZodOptional<import("zod").ZodString
|
|
21
|
+
href: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
22
22
|
}, "strip", import("zod").ZodTypeAny, {
|
|
23
23
|
light: string;
|
|
24
24
|
dark: string;
|
|
@@ -240,7 +240,7 @@ export declare const standardConfigSchema: {
|
|
|
240
240
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
241
241
|
library?: "fontawesome" | "lucide" | undefined;
|
|
242
242
|
}>]>>;
|
|
243
|
-
href: import("zod").ZodString
|
|
243
|
+
href: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
244
244
|
}, "strip", import("zod").ZodTypeAny, {
|
|
245
245
|
href: string;
|
|
246
246
|
label: string;
|
|
@@ -261,7 +261,7 @@ export declare const standardConfigSchema: {
|
|
|
261
261
|
primary: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
262
262
|
type: import("zod").ZodLiteral<"button">;
|
|
263
263
|
label: import("zod").ZodString;
|
|
264
|
-
href: import("zod").ZodString
|
|
264
|
+
href: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
265
265
|
}, "strip", import("zod").ZodTypeAny, {
|
|
266
266
|
type: "button";
|
|
267
267
|
href: string;
|
|
@@ -272,7 +272,7 @@ export declare const standardConfigSchema: {
|
|
|
272
272
|
label: string;
|
|
273
273
|
}>, import("zod").ZodObject<{
|
|
274
274
|
type: import("zod").ZodLiteral<"github">;
|
|
275
|
-
href: import("zod").ZodString
|
|
275
|
+
href: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
276
276
|
}, "strip", import("zod").ZodTypeAny, {
|
|
277
277
|
type: "github";
|
|
278
278
|
href: string;
|
|
@@ -678,7 +678,7 @@ export declare const standardConfigSchema: {
|
|
|
678
678
|
header: import("zod").ZodOptional<import("zod").ZodString>;
|
|
679
679
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
680
680
|
label: import("zod").ZodString;
|
|
681
|
-
href: import("zod").ZodString
|
|
681
|
+
href: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
682
682
|
}, "strip", import("zod").ZodTypeAny, {
|
|
683
683
|
href: string;
|
|
684
684
|
label: string;
|
|
@@ -19,7 +19,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
19
19
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
20
|
light: z.ZodString;
|
|
21
21
|
dark: z.ZodString;
|
|
22
|
-
href: z.ZodOptional<z.ZodString
|
|
22
|
+
href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
light: string;
|
|
25
25
|
dark: string;
|
|
@@ -241,7 +241,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
241
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
242
242
|
library?: "fontawesome" | "lucide" | undefined;
|
|
243
243
|
}>]>>;
|
|
244
|
-
href: z.ZodString
|
|
244
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
href: string;
|
|
247
247
|
label: string;
|
|
@@ -262,7 +262,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
262
262
|
primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
263
263
|
type: z.ZodLiteral<"button">;
|
|
264
264
|
label: z.ZodString;
|
|
265
|
-
href: z.ZodString
|
|
265
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
type: "button";
|
|
268
268
|
href: string;
|
|
@@ -273,7 +273,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
273
273
|
label: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
275
275
|
type: z.ZodLiteral<"github">;
|
|
276
|
-
href: z.ZodString
|
|
276
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
type: "github";
|
|
279
279
|
href: string;
|
|
@@ -679,7 +679,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
679
679
|
header: z.ZodOptional<z.ZodString>;
|
|
680
680
|
items: z.ZodArray<z.ZodObject<{
|
|
681
681
|
label: z.ZodString;
|
|
682
|
-
href: z.ZodString
|
|
682
|
+
href: z.ZodEffects<z.ZodString, string, string>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
href: string;
|
|
685
685
|
label: string;
|