@mintlify/validation 0.1.331 → 0.1.333
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/hero.d.ts +34 -0
- package/dist/chat-config/hero.js +7 -0
- package/dist/chat-config/index.d.ts +125 -0
- package/dist/chat-config/index.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/mint-config/schemas/v2/index.d.ts +0 -70
- package/dist/mint-config/schemas/v2/properties/errors.d.ts +0 -10
- package/dist/mint-config/schemas/v2/properties/errors.js +0 -2
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +0 -14
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +0 -14
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +0 -14
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +0 -14
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +0 -10
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +0 -14
- package/dist/mint-config/validateConfig.d.ts +0 -20
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/chatProject.d.ts +8 -0
- package/dist/types/chatProject.js +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.js +2 -1
- package/package.json +2 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const heroSchema: z.ZodObject<{
|
|
3
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4
|
+
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5
|
+
light: z.ZodString;
|
|
6
|
+
dark: z.ZodString;
|
|
7
|
+
href: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
light: string;
|
|
10
|
+
dark: string;
|
|
11
|
+
href?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
light: string;
|
|
14
|
+
dark: string;
|
|
15
|
+
href?: string | undefined;
|
|
16
|
+
}>]>>;
|
|
17
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
message?: string | undefined;
|
|
20
|
+
logo?: string | {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
href?: string | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
examples?: string[] | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
message?: string | undefined;
|
|
28
|
+
logo?: string | {
|
|
29
|
+
light: string;
|
|
30
|
+
dark: string;
|
|
31
|
+
href?: string | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
examples?: string[] | undefined;
|
|
34
|
+
}>;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { heroSchema } from './hero.js';
|
|
3
|
+
export declare const chatConfigSchema: z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
favicon: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6
|
+
light: z.ZodString;
|
|
7
|
+
dark: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
light: string;
|
|
10
|
+
dark: string;
|
|
11
|
+
}, {
|
|
12
|
+
light: string;
|
|
13
|
+
dark: string;
|
|
14
|
+
}>]>>;
|
|
15
|
+
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16
|
+
light: z.ZodString;
|
|
17
|
+
dark: z.ZodString;
|
|
18
|
+
href: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
light: string;
|
|
21
|
+
dark: string;
|
|
22
|
+
href?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
light: string;
|
|
25
|
+
dark: string;
|
|
26
|
+
href?: string | undefined;
|
|
27
|
+
}>]>>;
|
|
28
|
+
hero: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
message: z.ZodOptional<z.ZodString>;
|
|
30
|
+
logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
31
|
+
light: z.ZodString;
|
|
32
|
+
dark: z.ZodString;
|
|
33
|
+
href: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
light: string;
|
|
36
|
+
dark: string;
|
|
37
|
+
href?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
light: string;
|
|
40
|
+
dark: string;
|
|
41
|
+
href?: string | undefined;
|
|
42
|
+
}>]>>;
|
|
43
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
message?: string | undefined;
|
|
46
|
+
logo?: string | {
|
|
47
|
+
light: string;
|
|
48
|
+
dark: string;
|
|
49
|
+
href?: string | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
examples?: string[] | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
message?: string | undefined;
|
|
54
|
+
logo?: string | {
|
|
55
|
+
light: string;
|
|
56
|
+
dark: string;
|
|
57
|
+
href?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
examples?: string[] | undefined;
|
|
60
|
+
}>>;
|
|
61
|
+
colors: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
primary: z.ZodString;
|
|
63
|
+
light: z.ZodOptional<z.ZodString>;
|
|
64
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, "strict", z.ZodTypeAny, {
|
|
66
|
+
primary: string;
|
|
67
|
+
light?: string | undefined;
|
|
68
|
+
dark?: string | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
primary: string;
|
|
71
|
+
light?: string | undefined;
|
|
72
|
+
dark?: string | undefined;
|
|
73
|
+
}>>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
name?: string | undefined;
|
|
76
|
+
favicon?: string | {
|
|
77
|
+
light: string;
|
|
78
|
+
dark: string;
|
|
79
|
+
} | undefined;
|
|
80
|
+
logo?: string | {
|
|
81
|
+
light: string;
|
|
82
|
+
dark: string;
|
|
83
|
+
href?: string | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
hero?: {
|
|
86
|
+
message?: string | undefined;
|
|
87
|
+
logo?: string | {
|
|
88
|
+
light: string;
|
|
89
|
+
dark: string;
|
|
90
|
+
href?: string | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
examples?: string[] | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
colors?: {
|
|
95
|
+
primary: string;
|
|
96
|
+
light?: string | undefined;
|
|
97
|
+
dark?: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
name?: string | undefined;
|
|
101
|
+
favicon?: string | {
|
|
102
|
+
light: string;
|
|
103
|
+
dark: string;
|
|
104
|
+
} | undefined;
|
|
105
|
+
logo?: string | {
|
|
106
|
+
light: string;
|
|
107
|
+
dark: string;
|
|
108
|
+
href?: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
hero?: {
|
|
111
|
+
message?: string | undefined;
|
|
112
|
+
logo?: string | {
|
|
113
|
+
light: string;
|
|
114
|
+
dark: string;
|
|
115
|
+
href?: string | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
examples?: string[] | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
colors?: {
|
|
120
|
+
primary: string;
|
|
121
|
+
light?: string | undefined;
|
|
122
|
+
dark?: string | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
export { heroSchema };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { colorsSchema } from '../mint-config/schemas/v2/properties/colors.js';
|
|
3
|
+
import { faviconSchema } from '../mint-config/schemas/v2/properties/favicon.js';
|
|
4
|
+
import { logoSchema } from '../mint-config/schemas/v2/properties/logo.js';
|
|
5
|
+
import { nameSchema } from '../mint-config/schemas/v2/properties/name.js';
|
|
6
|
+
import { heroSchema } from './hero.js';
|
|
7
|
+
export const chatConfigSchema = z.object({
|
|
8
|
+
name: nameSchema.optional(),
|
|
9
|
+
favicon: faviconSchema.optional(),
|
|
10
|
+
logo: logoSchema.optional(),
|
|
11
|
+
hero: heroSchema.optional(),
|
|
12
|
+
colors: colorsSchema.optional(),
|
|
13
|
+
});
|
|
14
|
+
export { heroSchema };
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1058,28 +1058,18 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1058
1058
|
errors: z.ZodOptional<z.ZodObject<{
|
|
1059
1059
|
'404': z.ZodObject<{
|
|
1060
1060
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1061
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1062
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1063
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1064
1062
|
redirect: boolean;
|
|
1065
|
-
title?: string | undefined;
|
|
1066
|
-
description?: string | undefined;
|
|
1067
1063
|
}, {
|
|
1068
1064
|
redirect?: boolean | undefined;
|
|
1069
|
-
title?: string | undefined;
|
|
1070
|
-
description?: string | undefined;
|
|
1071
1065
|
}>;
|
|
1072
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1073
1067
|
'404': {
|
|
1074
1068
|
redirect: boolean;
|
|
1075
|
-
title?: string | undefined;
|
|
1076
|
-
description?: string | undefined;
|
|
1077
1069
|
};
|
|
1078
1070
|
}, {
|
|
1079
1071
|
'404': {
|
|
1080
1072
|
redirect?: boolean | undefined;
|
|
1081
|
-
title?: string | undefined;
|
|
1082
|
-
description?: string | undefined;
|
|
1083
1073
|
};
|
|
1084
1074
|
}>>;
|
|
1085
1075
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -1407,8 +1397,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1407
1397
|
errors?: {
|
|
1408
1398
|
'404': {
|
|
1409
1399
|
redirect: boolean;
|
|
1410
|
-
title?: string | undefined;
|
|
1411
|
-
description?: string | undefined;
|
|
1412
1400
|
};
|
|
1413
1401
|
} | undefined;
|
|
1414
1402
|
contextual?: {
|
|
@@ -1731,8 +1719,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1731
1719
|
errors?: {
|
|
1732
1720
|
'404': {
|
|
1733
1721
|
redirect?: boolean | undefined;
|
|
1734
|
-
title?: string | undefined;
|
|
1735
|
-
description?: string | undefined;
|
|
1736
1722
|
};
|
|
1737
1723
|
} | undefined;
|
|
1738
1724
|
contextual?: {
|
|
@@ -2795,28 +2781,18 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2795
2781
|
errors: z.ZodOptional<z.ZodObject<{
|
|
2796
2782
|
'404': z.ZodObject<{
|
|
2797
2783
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2798
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2799
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2800
2784
|
}, "strip", z.ZodTypeAny, {
|
|
2801
2785
|
redirect: boolean;
|
|
2802
|
-
title?: string | undefined;
|
|
2803
|
-
description?: string | undefined;
|
|
2804
2786
|
}, {
|
|
2805
2787
|
redirect?: boolean | undefined;
|
|
2806
|
-
title?: string | undefined;
|
|
2807
|
-
description?: string | undefined;
|
|
2808
2788
|
}>;
|
|
2809
2789
|
}, "strip", z.ZodTypeAny, {
|
|
2810
2790
|
'404': {
|
|
2811
2791
|
redirect: boolean;
|
|
2812
|
-
title?: string | undefined;
|
|
2813
|
-
description?: string | undefined;
|
|
2814
2792
|
};
|
|
2815
2793
|
}, {
|
|
2816
2794
|
'404': {
|
|
2817
2795
|
redirect?: boolean | undefined;
|
|
2818
|
-
title?: string | undefined;
|
|
2819
|
-
description?: string | undefined;
|
|
2820
2796
|
};
|
|
2821
2797
|
}>>;
|
|
2822
2798
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -3144,8 +3120,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3144
3120
|
errors?: {
|
|
3145
3121
|
'404': {
|
|
3146
3122
|
redirect: boolean;
|
|
3147
|
-
title?: string | undefined;
|
|
3148
|
-
description?: string | undefined;
|
|
3149
3123
|
};
|
|
3150
3124
|
} | undefined;
|
|
3151
3125
|
contextual?: {
|
|
@@ -3468,8 +3442,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3468
3442
|
errors?: {
|
|
3469
3443
|
'404': {
|
|
3470
3444
|
redirect?: boolean | undefined;
|
|
3471
|
-
title?: string | undefined;
|
|
3472
|
-
description?: string | undefined;
|
|
3473
3445
|
};
|
|
3474
3446
|
} | undefined;
|
|
3475
3447
|
contextual?: {
|
|
@@ -4532,28 +4504,18 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4532
4504
|
errors: z.ZodOptional<z.ZodObject<{
|
|
4533
4505
|
'404': z.ZodObject<{
|
|
4534
4506
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4535
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4536
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4537
4507
|
}, "strip", z.ZodTypeAny, {
|
|
4538
4508
|
redirect: boolean;
|
|
4539
|
-
title?: string | undefined;
|
|
4540
|
-
description?: string | undefined;
|
|
4541
4509
|
}, {
|
|
4542
4510
|
redirect?: boolean | undefined;
|
|
4543
|
-
title?: string | undefined;
|
|
4544
|
-
description?: string | undefined;
|
|
4545
4511
|
}>;
|
|
4546
4512
|
}, "strip", z.ZodTypeAny, {
|
|
4547
4513
|
'404': {
|
|
4548
4514
|
redirect: boolean;
|
|
4549
|
-
title?: string | undefined;
|
|
4550
|
-
description?: string | undefined;
|
|
4551
4515
|
};
|
|
4552
4516
|
}, {
|
|
4553
4517
|
'404': {
|
|
4554
4518
|
redirect?: boolean | undefined;
|
|
4555
|
-
title?: string | undefined;
|
|
4556
|
-
description?: string | undefined;
|
|
4557
4519
|
};
|
|
4558
4520
|
}>>;
|
|
4559
4521
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -4881,8 +4843,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4881
4843
|
errors?: {
|
|
4882
4844
|
'404': {
|
|
4883
4845
|
redirect: boolean;
|
|
4884
|
-
title?: string | undefined;
|
|
4885
|
-
description?: string | undefined;
|
|
4886
4846
|
};
|
|
4887
4847
|
} | undefined;
|
|
4888
4848
|
contextual?: {
|
|
@@ -5205,8 +5165,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5205
5165
|
errors?: {
|
|
5206
5166
|
'404': {
|
|
5207
5167
|
redirect?: boolean | undefined;
|
|
5208
|
-
title?: string | undefined;
|
|
5209
|
-
description?: string | undefined;
|
|
5210
5168
|
};
|
|
5211
5169
|
} | undefined;
|
|
5212
5170
|
contextual?: {
|
|
@@ -6269,28 +6227,18 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6269
6227
|
errors: z.ZodOptional<z.ZodObject<{
|
|
6270
6228
|
'404': z.ZodObject<{
|
|
6271
6229
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6272
|
-
title: z.ZodOptional<z.ZodString>;
|
|
6273
|
-
description: z.ZodOptional<z.ZodString>;
|
|
6274
6230
|
}, "strip", z.ZodTypeAny, {
|
|
6275
6231
|
redirect: boolean;
|
|
6276
|
-
title?: string | undefined;
|
|
6277
|
-
description?: string | undefined;
|
|
6278
6232
|
}, {
|
|
6279
6233
|
redirect?: boolean | undefined;
|
|
6280
|
-
title?: string | undefined;
|
|
6281
|
-
description?: string | undefined;
|
|
6282
6234
|
}>;
|
|
6283
6235
|
}, "strip", z.ZodTypeAny, {
|
|
6284
6236
|
'404': {
|
|
6285
6237
|
redirect: boolean;
|
|
6286
|
-
title?: string | undefined;
|
|
6287
|
-
description?: string | undefined;
|
|
6288
6238
|
};
|
|
6289
6239
|
}, {
|
|
6290
6240
|
'404': {
|
|
6291
6241
|
redirect?: boolean | undefined;
|
|
6292
|
-
title?: string | undefined;
|
|
6293
|
-
description?: string | undefined;
|
|
6294
6242
|
};
|
|
6295
6243
|
}>>;
|
|
6296
6244
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -6618,8 +6566,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6618
6566
|
errors?: {
|
|
6619
6567
|
'404': {
|
|
6620
6568
|
redirect: boolean;
|
|
6621
|
-
title?: string | undefined;
|
|
6622
|
-
description?: string | undefined;
|
|
6623
6569
|
};
|
|
6624
6570
|
} | undefined;
|
|
6625
6571
|
contextual?: {
|
|
@@ -6942,8 +6888,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6942
6888
|
errors?: {
|
|
6943
6889
|
'404': {
|
|
6944
6890
|
redirect?: boolean | undefined;
|
|
6945
|
-
title?: string | undefined;
|
|
6946
|
-
description?: string | undefined;
|
|
6947
6891
|
};
|
|
6948
6892
|
} | undefined;
|
|
6949
6893
|
contextual?: {
|
|
@@ -8006,28 +7950,18 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8006
7950
|
errors: z.ZodOptional<z.ZodObject<{
|
|
8007
7951
|
'404': z.ZodObject<{
|
|
8008
7952
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8009
|
-
title: z.ZodOptional<z.ZodString>;
|
|
8010
|
-
description: z.ZodOptional<z.ZodString>;
|
|
8011
7953
|
}, "strip", z.ZodTypeAny, {
|
|
8012
7954
|
redirect: boolean;
|
|
8013
|
-
title?: string | undefined;
|
|
8014
|
-
description?: string | undefined;
|
|
8015
7955
|
}, {
|
|
8016
7956
|
redirect?: boolean | undefined;
|
|
8017
|
-
title?: string | undefined;
|
|
8018
|
-
description?: string | undefined;
|
|
8019
7957
|
}>;
|
|
8020
7958
|
}, "strip", z.ZodTypeAny, {
|
|
8021
7959
|
'404': {
|
|
8022
7960
|
redirect: boolean;
|
|
8023
|
-
title?: string | undefined;
|
|
8024
|
-
description?: string | undefined;
|
|
8025
7961
|
};
|
|
8026
7962
|
}, {
|
|
8027
7963
|
'404': {
|
|
8028
7964
|
redirect?: boolean | undefined;
|
|
8029
|
-
title?: string | undefined;
|
|
8030
|
-
description?: string | undefined;
|
|
8031
7965
|
};
|
|
8032
7966
|
}>>;
|
|
8033
7967
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -8355,8 +8289,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8355
8289
|
errors?: {
|
|
8356
8290
|
'404': {
|
|
8357
8291
|
redirect: boolean;
|
|
8358
|
-
title?: string | undefined;
|
|
8359
|
-
description?: string | undefined;
|
|
8360
8292
|
};
|
|
8361
8293
|
} | undefined;
|
|
8362
8294
|
contextual?: {
|
|
@@ -8679,8 +8611,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8679
8611
|
errors?: {
|
|
8680
8612
|
'404': {
|
|
8681
8613
|
redirect?: boolean | undefined;
|
|
8682
|
-
title?: string | undefined;
|
|
8683
|
-
description?: string | undefined;
|
|
8684
8614
|
};
|
|
8685
8615
|
} | undefined;
|
|
8686
8616
|
contextual?: {
|
|
@@ -2,27 +2,17 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const errorsSchema: z.ZodObject<{
|
|
3
3
|
'404': z.ZodObject<{
|
|
4
4
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5
|
-
title: z.ZodOptional<z.ZodString>;
|
|
6
|
-
description: z.ZodOptional<z.ZodString>;
|
|
7
5
|
}, "strip", z.ZodTypeAny, {
|
|
8
6
|
redirect: boolean;
|
|
9
|
-
title?: string | undefined;
|
|
10
|
-
description?: string | undefined;
|
|
11
7
|
}, {
|
|
12
8
|
redirect?: boolean | undefined;
|
|
13
|
-
title?: string | undefined;
|
|
14
|
-
description?: string | undefined;
|
|
15
9
|
}>;
|
|
16
10
|
}, "strip", z.ZodTypeAny, {
|
|
17
11
|
'404': {
|
|
18
12
|
redirect: boolean;
|
|
19
|
-
title?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
13
|
};
|
|
22
14
|
}, {
|
|
23
15
|
'404': {
|
|
24
16
|
redirect?: boolean | undefined;
|
|
25
|
-
title?: string | undefined;
|
|
26
|
-
description?: string | undefined;
|
|
27
17
|
};
|
|
28
18
|
}>;
|
|
@@ -7,8 +7,6 @@ export const errorsSchema = z
|
|
|
7
7
|
.optional()
|
|
8
8
|
.default(true)
|
|
9
9
|
.describe('Whether to redirect to the home page, if the page is not found'),
|
|
10
|
-
title: z.string().optional().describe('The title of the error page'),
|
|
11
|
-
description: z.string().optional().describe('The description of the error page'),
|
|
12
10
|
}),
|
|
13
11
|
})
|
|
14
12
|
.describe('Error pages configuration');
|
|
@@ -1056,28 +1056,18 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1056
1056
|
errors: z.ZodOptional<z.ZodObject<{
|
|
1057
1057
|
'404': z.ZodObject<{
|
|
1058
1058
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1060
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1061
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1060
|
redirect: boolean;
|
|
1063
|
-
title?: string | undefined;
|
|
1064
|
-
description?: string | undefined;
|
|
1065
1061
|
}, {
|
|
1066
1062
|
redirect?: boolean | undefined;
|
|
1067
|
-
title?: string | undefined;
|
|
1068
|
-
description?: string | undefined;
|
|
1069
1063
|
}>;
|
|
1070
1064
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1065
|
'404': {
|
|
1072
1066
|
redirect: boolean;
|
|
1073
|
-
title?: string | undefined;
|
|
1074
|
-
description?: string | undefined;
|
|
1075
1067
|
};
|
|
1076
1068
|
}, {
|
|
1077
1069
|
'404': {
|
|
1078
1070
|
redirect?: boolean | undefined;
|
|
1079
|
-
title?: string | undefined;
|
|
1080
|
-
description?: string | undefined;
|
|
1081
1071
|
};
|
|
1082
1072
|
}>>;
|
|
1083
1073
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -1405,8 +1395,6 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1405
1395
|
errors?: {
|
|
1406
1396
|
'404': {
|
|
1407
1397
|
redirect: boolean;
|
|
1408
|
-
title?: string | undefined;
|
|
1409
|
-
description?: string | undefined;
|
|
1410
1398
|
};
|
|
1411
1399
|
} | undefined;
|
|
1412
1400
|
contextual?: {
|
|
@@ -1729,8 +1717,6 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1729
1717
|
errors?: {
|
|
1730
1718
|
'404': {
|
|
1731
1719
|
redirect?: boolean | undefined;
|
|
1732
|
-
title?: string | undefined;
|
|
1733
|
-
description?: string | undefined;
|
|
1734
1720
|
};
|
|
1735
1721
|
} | undefined;
|
|
1736
1722
|
contextual?: {
|
|
@@ -1056,28 +1056,18 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1056
1056
|
errors: z.ZodOptional<z.ZodObject<{
|
|
1057
1057
|
'404': z.ZodObject<{
|
|
1058
1058
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1060
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1061
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1060
|
redirect: boolean;
|
|
1063
|
-
title?: string | undefined;
|
|
1064
|
-
description?: string | undefined;
|
|
1065
1061
|
}, {
|
|
1066
1062
|
redirect?: boolean | undefined;
|
|
1067
|
-
title?: string | undefined;
|
|
1068
|
-
description?: string | undefined;
|
|
1069
1063
|
}>;
|
|
1070
1064
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1065
|
'404': {
|
|
1072
1066
|
redirect: boolean;
|
|
1073
|
-
title?: string | undefined;
|
|
1074
|
-
description?: string | undefined;
|
|
1075
1067
|
};
|
|
1076
1068
|
}, {
|
|
1077
1069
|
'404': {
|
|
1078
1070
|
redirect?: boolean | undefined;
|
|
1079
|
-
title?: string | undefined;
|
|
1080
|
-
description?: string | undefined;
|
|
1081
1071
|
};
|
|
1082
1072
|
}>>;
|
|
1083
1073
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -1405,8 +1395,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1405
1395
|
errors?: {
|
|
1406
1396
|
'404': {
|
|
1407
1397
|
redirect: boolean;
|
|
1408
|
-
title?: string | undefined;
|
|
1409
|
-
description?: string | undefined;
|
|
1410
1398
|
};
|
|
1411
1399
|
} | undefined;
|
|
1412
1400
|
contextual?: {
|
|
@@ -1729,8 +1717,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1729
1717
|
errors?: {
|
|
1730
1718
|
'404': {
|
|
1731
1719
|
redirect?: boolean | undefined;
|
|
1732
|
-
title?: string | undefined;
|
|
1733
|
-
description?: string | undefined;
|
|
1734
1720
|
};
|
|
1735
1721
|
} | undefined;
|
|
1736
1722
|
contextual?: {
|
|
@@ -1056,28 +1056,18 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1056
1056
|
errors: z.ZodOptional<z.ZodObject<{
|
|
1057
1057
|
'404': z.ZodObject<{
|
|
1058
1058
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1060
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1061
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1060
|
redirect: boolean;
|
|
1063
|
-
title?: string | undefined;
|
|
1064
|
-
description?: string | undefined;
|
|
1065
1061
|
}, {
|
|
1066
1062
|
redirect?: boolean | undefined;
|
|
1067
|
-
title?: string | undefined;
|
|
1068
|
-
description?: string | undefined;
|
|
1069
1063
|
}>;
|
|
1070
1064
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1065
|
'404': {
|
|
1072
1066
|
redirect: boolean;
|
|
1073
|
-
title?: string | undefined;
|
|
1074
|
-
description?: string | undefined;
|
|
1075
1067
|
};
|
|
1076
1068
|
}, {
|
|
1077
1069
|
'404': {
|
|
1078
1070
|
redirect?: boolean | undefined;
|
|
1079
|
-
title?: string | undefined;
|
|
1080
|
-
description?: string | undefined;
|
|
1081
1071
|
};
|
|
1082
1072
|
}>>;
|
|
1083
1073
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -1405,8 +1395,6 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1405
1395
|
errors?: {
|
|
1406
1396
|
'404': {
|
|
1407
1397
|
redirect: boolean;
|
|
1408
|
-
title?: string | undefined;
|
|
1409
|
-
description?: string | undefined;
|
|
1410
1398
|
};
|
|
1411
1399
|
} | undefined;
|
|
1412
1400
|
contextual?: {
|
|
@@ -1729,8 +1717,6 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1729
1717
|
errors?: {
|
|
1730
1718
|
'404': {
|
|
1731
1719
|
redirect?: boolean | undefined;
|
|
1732
|
-
title?: string | undefined;
|
|
1733
|
-
description?: string | undefined;
|
|
1734
1720
|
};
|
|
1735
1721
|
} | undefined;
|
|
1736
1722
|
contextual?: {
|
|
@@ -1056,28 +1056,18 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1056
1056
|
errors: z.ZodOptional<z.ZodObject<{
|
|
1057
1057
|
'404': z.ZodObject<{
|
|
1058
1058
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1060
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1061
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1060
|
redirect: boolean;
|
|
1063
|
-
title?: string | undefined;
|
|
1064
|
-
description?: string | undefined;
|
|
1065
1061
|
}, {
|
|
1066
1062
|
redirect?: boolean | undefined;
|
|
1067
|
-
title?: string | undefined;
|
|
1068
|
-
description?: string | undefined;
|
|
1069
1063
|
}>;
|
|
1070
1064
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1065
|
'404': {
|
|
1072
1066
|
redirect: boolean;
|
|
1073
|
-
title?: string | undefined;
|
|
1074
|
-
description?: string | undefined;
|
|
1075
1067
|
};
|
|
1076
1068
|
}, {
|
|
1077
1069
|
'404': {
|
|
1078
1070
|
redirect?: boolean | undefined;
|
|
1079
|
-
title?: string | undefined;
|
|
1080
|
-
description?: string | undefined;
|
|
1081
1071
|
};
|
|
1082
1072
|
}>>;
|
|
1083
1073
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -1405,8 +1395,6 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1405
1395
|
errors?: {
|
|
1406
1396
|
'404': {
|
|
1407
1397
|
redirect: boolean;
|
|
1408
|
-
title?: string | undefined;
|
|
1409
|
-
description?: string | undefined;
|
|
1410
1398
|
};
|
|
1411
1399
|
} | undefined;
|
|
1412
1400
|
contextual?: {
|
|
@@ -1729,8 +1717,6 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1729
1717
|
errors?: {
|
|
1730
1718
|
'404': {
|
|
1731
1719
|
redirect?: boolean | undefined;
|
|
1732
|
-
title?: string | undefined;
|
|
1733
|
-
description?: string | undefined;
|
|
1734
1720
|
};
|
|
1735
1721
|
} | undefined;
|
|
1736
1722
|
contextual?: {
|
|
@@ -1055,28 +1055,18 @@ export declare const standardConfigSchema: {
|
|
|
1055
1055
|
errors: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1056
1056
|
'404': import("zod").ZodObject<{
|
|
1057
1057
|
redirect: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1058
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1059
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1060
1058
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1061
1059
|
redirect: boolean;
|
|
1062
|
-
title?: string | undefined;
|
|
1063
|
-
description?: string | undefined;
|
|
1064
1060
|
}, {
|
|
1065
1061
|
redirect?: boolean | undefined;
|
|
1066
|
-
title?: string | undefined;
|
|
1067
|
-
description?: string | undefined;
|
|
1068
1062
|
}>;
|
|
1069
1063
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1070
1064
|
'404': {
|
|
1071
1065
|
redirect: boolean;
|
|
1072
|
-
title?: string | undefined;
|
|
1073
|
-
description?: string | undefined;
|
|
1074
1066
|
};
|
|
1075
1067
|
}, {
|
|
1076
1068
|
'404': {
|
|
1077
1069
|
redirect?: boolean | undefined;
|
|
1078
|
-
title?: string | undefined;
|
|
1079
|
-
description?: string | undefined;
|
|
1080
1070
|
};
|
|
1081
1071
|
}>>;
|
|
1082
1072
|
contextual: import("zod").ZodOptional<import("zod").ZodObject<{
|