@mintlify/validation 0.1.464 → 0.1.466
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/isAbsoluteUrl.d.ts +5 -1
- package/dist/mint-config/isAbsoluteUrl.js +13 -0
- package/dist/mint-config/schemas/v1/favicon.js +1 -1
- package/dist/mint-config/schemas/v2/index.d.ts +98 -0
- package/dist/mint-config/schemas/v2/properties/errors.d.ts +10 -0
- package/dist/mint-config/schemas/v2/properties/errors.js +5 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +14 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +14 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +14 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +14 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +14 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +14 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +10 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +14 -0
- package/dist/mint-config/validateConfig.d.ts +28 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/serverStaticProps.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1179,18 +1179,28 @@ export declare const standardConfigSchema: {
|
|
|
1179
1179
|
errors: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1180
1180
|
'404': import("zod").ZodObject<{
|
|
1181
1181
|
redirect: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1182
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1183
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1182
1184
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1183
1185
|
redirect: boolean;
|
|
1186
|
+
title?: string | undefined;
|
|
1187
|
+
description?: string | undefined;
|
|
1184
1188
|
}, {
|
|
1185
1189
|
redirect?: boolean | undefined;
|
|
1190
|
+
title?: string | undefined;
|
|
1191
|
+
description?: string | undefined;
|
|
1186
1192
|
}>;
|
|
1187
1193
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1188
1194
|
'404': {
|
|
1189
1195
|
redirect: boolean;
|
|
1196
|
+
title?: string | undefined;
|
|
1197
|
+
description?: string | undefined;
|
|
1190
1198
|
};
|
|
1191
1199
|
}, {
|
|
1192
1200
|
'404': {
|
|
1193
1201
|
redirect?: boolean | undefined;
|
|
1202
|
+
title?: string | undefined;
|
|
1203
|
+
description?: string | undefined;
|
|
1194
1204
|
};
|
|
1195
1205
|
}>>;
|
|
1196
1206
|
contextual: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1180,18 +1180,28 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1180
1180
|
errors: z.ZodOptional<z.ZodObject<{
|
|
1181
1181
|
'404': z.ZodObject<{
|
|
1182
1182
|
redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1183
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1183
1185
|
}, "strip", z.ZodTypeAny, {
|
|
1184
1186
|
redirect: boolean;
|
|
1187
|
+
title?: string | undefined;
|
|
1188
|
+
description?: string | undefined;
|
|
1185
1189
|
}, {
|
|
1186
1190
|
redirect?: boolean | undefined;
|
|
1191
|
+
title?: string | undefined;
|
|
1192
|
+
description?: string | undefined;
|
|
1187
1193
|
}>;
|
|
1188
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1189
1195
|
'404': {
|
|
1190
1196
|
redirect: boolean;
|
|
1197
|
+
title?: string | undefined;
|
|
1198
|
+
description?: string | undefined;
|
|
1191
1199
|
};
|
|
1192
1200
|
}, {
|
|
1193
1201
|
'404': {
|
|
1194
1202
|
redirect?: boolean | undefined;
|
|
1203
|
+
title?: string | undefined;
|
|
1204
|
+
description?: string | undefined;
|
|
1195
1205
|
};
|
|
1196
1206
|
}>>;
|
|
1197
1207
|
contextual: z.ZodOptional<z.ZodObject<{
|
|
@@ -1738,6 +1748,8 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1738
1748
|
errors?: {
|
|
1739
1749
|
'404': {
|
|
1740
1750
|
redirect: boolean;
|
|
1751
|
+
title?: string | undefined;
|
|
1752
|
+
description?: string | undefined;
|
|
1741
1753
|
};
|
|
1742
1754
|
} | undefined;
|
|
1743
1755
|
contextual?: {
|
|
@@ -2123,6 +2135,8 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2123
2135
|
errors?: {
|
|
2124
2136
|
'404': {
|
|
2125
2137
|
redirect?: boolean | undefined;
|
|
2138
|
+
title?: string | undefined;
|
|
2139
|
+
description?: string | undefined;
|
|
2126
2140
|
};
|
|
2127
2141
|
} | undefined;
|
|
2128
2142
|
contextual?: {
|
|
@@ -836,6 +836,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
836
836
|
errors?: {
|
|
837
837
|
'404': {
|
|
838
838
|
redirect?: boolean | undefined;
|
|
839
|
+
title?: string | undefined;
|
|
840
|
+
description?: string | undefined;
|
|
839
841
|
};
|
|
840
842
|
} | undefined;
|
|
841
843
|
contextual?: {
|
|
@@ -1221,6 +1223,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1221
1223
|
errors?: {
|
|
1222
1224
|
'404': {
|
|
1223
1225
|
redirect?: boolean | undefined;
|
|
1226
|
+
title?: string | undefined;
|
|
1227
|
+
description?: string | undefined;
|
|
1224
1228
|
};
|
|
1225
1229
|
} | undefined;
|
|
1226
1230
|
contextual?: {
|
|
@@ -1606,6 +1610,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1606
1610
|
errors?: {
|
|
1607
1611
|
'404': {
|
|
1608
1612
|
redirect?: boolean | undefined;
|
|
1613
|
+
title?: string | undefined;
|
|
1614
|
+
description?: string | undefined;
|
|
1609
1615
|
};
|
|
1610
1616
|
} | undefined;
|
|
1611
1617
|
contextual?: {
|
|
@@ -1991,6 +1997,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1991
1997
|
errors?: {
|
|
1992
1998
|
'404': {
|
|
1993
1999
|
redirect?: boolean | undefined;
|
|
2000
|
+
title?: string | undefined;
|
|
2001
|
+
description?: string | undefined;
|
|
1994
2002
|
};
|
|
1995
2003
|
} | undefined;
|
|
1996
2004
|
contextual?: {
|
|
@@ -2376,6 +2384,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2376
2384
|
errors?: {
|
|
2377
2385
|
'404': {
|
|
2378
2386
|
redirect?: boolean | undefined;
|
|
2387
|
+
title?: string | undefined;
|
|
2388
|
+
description?: string | undefined;
|
|
2379
2389
|
};
|
|
2380
2390
|
} | undefined;
|
|
2381
2391
|
contextual?: {
|
|
@@ -2761,6 +2771,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2761
2771
|
errors?: {
|
|
2762
2772
|
'404': {
|
|
2763
2773
|
redirect?: boolean | undefined;
|
|
2774
|
+
title?: string | undefined;
|
|
2775
|
+
description?: string | undefined;
|
|
2764
2776
|
};
|
|
2765
2777
|
} | undefined;
|
|
2766
2778
|
contextual?: {
|
|
@@ -3146,6 +3158,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3146
3158
|
errors?: {
|
|
3147
3159
|
'404': {
|
|
3148
3160
|
redirect?: boolean | undefined;
|
|
3161
|
+
title?: string | undefined;
|
|
3162
|
+
description?: string | undefined;
|
|
3149
3163
|
};
|
|
3150
3164
|
} | undefined;
|
|
3151
3165
|
contextual?: {
|
|
@@ -3534,6 +3548,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3534
3548
|
errors?: {
|
|
3535
3549
|
'404': {
|
|
3536
3550
|
redirect: boolean;
|
|
3551
|
+
title?: string | undefined;
|
|
3552
|
+
description?: string | undefined;
|
|
3537
3553
|
};
|
|
3538
3554
|
} | undefined;
|
|
3539
3555
|
contextual?: {
|
|
@@ -3919,6 +3935,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3919
3935
|
errors?: {
|
|
3920
3936
|
'404': {
|
|
3921
3937
|
redirect: boolean;
|
|
3938
|
+
title?: string | undefined;
|
|
3939
|
+
description?: string | undefined;
|
|
3922
3940
|
};
|
|
3923
3941
|
} | undefined;
|
|
3924
3942
|
contextual?: {
|
|
@@ -4304,6 +4322,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4304
4322
|
errors?: {
|
|
4305
4323
|
'404': {
|
|
4306
4324
|
redirect: boolean;
|
|
4325
|
+
title?: string | undefined;
|
|
4326
|
+
description?: string | undefined;
|
|
4307
4327
|
};
|
|
4308
4328
|
} | undefined;
|
|
4309
4329
|
contextual?: {
|
|
@@ -4689,6 +4709,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4689
4709
|
errors?: {
|
|
4690
4710
|
'404': {
|
|
4691
4711
|
redirect: boolean;
|
|
4712
|
+
title?: string | undefined;
|
|
4713
|
+
description?: string | undefined;
|
|
4692
4714
|
};
|
|
4693
4715
|
} | undefined;
|
|
4694
4716
|
contextual?: {
|
|
@@ -5074,6 +5096,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5074
5096
|
errors?: {
|
|
5075
5097
|
'404': {
|
|
5076
5098
|
redirect: boolean;
|
|
5099
|
+
title?: string | undefined;
|
|
5100
|
+
description?: string | undefined;
|
|
5077
5101
|
};
|
|
5078
5102
|
} | undefined;
|
|
5079
5103
|
contextual?: {
|
|
@@ -5459,6 +5483,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5459
5483
|
errors?: {
|
|
5460
5484
|
'404': {
|
|
5461
5485
|
redirect: boolean;
|
|
5486
|
+
title?: string | undefined;
|
|
5487
|
+
description?: string | undefined;
|
|
5462
5488
|
};
|
|
5463
5489
|
} | undefined;
|
|
5464
5490
|
contextual?: {
|
|
@@ -5844,6 +5870,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5844
5870
|
errors?: {
|
|
5845
5871
|
'404': {
|
|
5846
5872
|
redirect: boolean;
|
|
5873
|
+
title?: string | undefined;
|
|
5874
|
+
description?: string | undefined;
|
|
5847
5875
|
};
|
|
5848
5876
|
} | undefined;
|
|
5849
5877
|
contextual?: {
|