@mintlify/validation 0.1.228 → 0.1.230
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 +288 -288
- package/dist/mint-config/schemas/v2/properties/feedback.d.ts +9 -9
- package/dist/mint-config/schemas/v2/properties/feedback.js +3 -3
- package/dist/mint-config/schemas/v2/properties/legacy.d.ts +6 -6
- package/dist/mint-config/schemas/v2/properties/legacy.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +6 -6
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +6 -6
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +10 -10
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +1 -1
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +31 -31
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +17 -17
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +6 -6
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +1 -13
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +6 -6
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +6 -6
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +72 -72
- package/dist/mint-config/schemas/v2/themes/prism.d.ts +72 -72
- package/dist/mint-config/schemas/v2/themes/quill.d.ts +72 -72
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +46 -46
- package/dist/mint-config/schemas/v2/themes/venus.d.ts +72 -72
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -210,31 +210,31 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
210
210
|
href: string;
|
|
211
211
|
}, {
|
|
212
212
|
href: string;
|
|
213
|
-
}>, z.ZodObject<{
|
|
213
|
+
}>, z.ZodLazy<z.ZodObject<{
|
|
214
214
|
versions: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
216
|
versions: any[];
|
|
217
217
|
}, {
|
|
218
218
|
versions: any[];
|
|
219
|
-
}
|
|
219
|
+
}>>, z.ZodLazy<z.ZodObject<{
|
|
220
220
|
tabs: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
tabs: any[];
|
|
223
223
|
}, {
|
|
224
224
|
tabs: any[];
|
|
225
|
-
}
|
|
225
|
+
}>>, z.ZodLazy<z.ZodObject<{
|
|
226
226
|
dropdowns: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
228
|
dropdowns: any[];
|
|
229
229
|
}, {
|
|
230
230
|
dropdowns: any[];
|
|
231
|
-
}
|
|
231
|
+
}>>, z.ZodLazy<z.ZodObject<{
|
|
232
232
|
anchors: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
anchors: any[];
|
|
235
235
|
}, {
|
|
236
236
|
anchors: any[];
|
|
237
|
-
}
|
|
237
|
+
}>>, z.ZodLazy<z.ZodObject<{
|
|
238
238
|
groups: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
239
239
|
group: z.ZodString;
|
|
240
240
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -271,13 +271,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
271
271
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
272
272
|
}, {
|
|
273
273
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
274
|
-
}>, z.ZodObject<{
|
|
275
|
-
pages: z.ZodArray<z.ZodType<
|
|
274
|
+
}>, z.ZodLazy<z.ZodObject<{
|
|
275
|
+
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
pages:
|
|
277
|
+
pages: any[];
|
|
278
278
|
}, {
|
|
279
|
-
pages:
|
|
280
|
-
}
|
|
279
|
+
pages: any[];
|
|
280
|
+
}>>]>>, "many">;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
282
|
groups: ({
|
|
283
283
|
group: string;
|
|
@@ -290,7 +290,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
290
290
|
} & ({
|
|
291
291
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
292
292
|
} | {
|
|
293
|
-
pages:
|
|
293
|
+
pages: any[];
|
|
294
294
|
}))[];
|
|
295
295
|
}, {
|
|
296
296
|
groups: ({
|
|
@@ -304,15 +304,15 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
304
304
|
} & ({
|
|
305
305
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
306
306
|
} | {
|
|
307
|
-
pages:
|
|
307
|
+
pages: any[];
|
|
308
308
|
}))[];
|
|
309
|
-
}
|
|
310
|
-
pages: z.ZodArray<z.ZodType<
|
|
309
|
+
}>>, z.ZodLazy<z.ZodObject<{
|
|
310
|
+
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
pages:
|
|
312
|
+
pages: any[];
|
|
313
313
|
}, {
|
|
314
|
-
pages:
|
|
315
|
-
}
|
|
314
|
+
pages: any[];
|
|
315
|
+
}>>]>>, "many">;
|
|
316
316
|
}, "strip", z.ZodTypeAny, {
|
|
317
317
|
languages: ({
|
|
318
318
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
@@ -341,10 +341,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
341
341
|
} & ({
|
|
342
342
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
343
343
|
} | {
|
|
344
|
-
pages:
|
|
344
|
+
pages: any[];
|
|
345
345
|
}))[];
|
|
346
346
|
} | {
|
|
347
|
-
pages:
|
|
347
|
+
pages: any[];
|
|
348
348
|
}))[];
|
|
349
349
|
}, {
|
|
350
350
|
languages: ({
|
|
@@ -374,10 +374,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
374
374
|
} & ({
|
|
375
375
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
376
376
|
} | {
|
|
377
|
-
pages:
|
|
377
|
+
pages: any[];
|
|
378
378
|
}))[];
|
|
379
379
|
} | {
|
|
380
|
-
pages:
|
|
380
|
+
pages: any[];
|
|
381
381
|
}))[];
|
|
382
382
|
}>, z.ZodObject<{
|
|
383
383
|
versions: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
@@ -440,13 +440,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
440
440
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
441
441
|
}, {
|
|
442
442
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
443
|
-
}>, z.ZodObject<{
|
|
444
|
-
pages: z.ZodArray<z.ZodType<
|
|
443
|
+
}>, z.ZodLazy<z.ZodObject<{
|
|
444
|
+
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
pages:
|
|
446
|
+
pages: any[];
|
|
447
447
|
}, {
|
|
448
|
-
pages:
|
|
449
|
-
}
|
|
448
|
+
pages: any[];
|
|
449
|
+
}>>]>>, "many">;
|
|
450
450
|
}, "strip", z.ZodTypeAny, {
|
|
451
451
|
groups: ({
|
|
452
452
|
group: string;
|
|
@@ -459,7 +459,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
459
459
|
} & ({
|
|
460
460
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
461
461
|
} | {
|
|
462
|
-
pages:
|
|
462
|
+
pages: any[];
|
|
463
463
|
}))[];
|
|
464
464
|
}, {
|
|
465
465
|
groups: ({
|
|
@@ -473,14 +473,14 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
473
473
|
} & ({
|
|
474
474
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
475
475
|
} | {
|
|
476
|
-
pages:
|
|
476
|
+
pages: any[];
|
|
477
477
|
}))[];
|
|
478
478
|
}>, z.ZodObject<{
|
|
479
|
-
pages: z.ZodArray<z.ZodType<
|
|
479
|
+
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
pages:
|
|
481
|
+
pages: any[];
|
|
482
482
|
}, {
|
|
483
|
-
pages:
|
|
483
|
+
pages: any[];
|
|
484
484
|
}>]>;
|
|
485
485
|
footer: z.ZodOptional<z.ZodObject<{
|
|
486
486
|
socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter"]>, z.ZodString>>;
|
|
@@ -529,17 +529,17 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
529
529
|
}[] | undefined;
|
|
530
530
|
}>>;
|
|
531
531
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
532
|
-
thumbs: z.ZodBoolean
|
|
533
|
-
edits: z.ZodBoolean
|
|
534
|
-
issues: z.ZodBoolean
|
|
532
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
thumbs
|
|
537
|
-
edits
|
|
538
|
-
issues
|
|
536
|
+
thumbs?: boolean | undefined;
|
|
537
|
+
edits?: boolean | undefined;
|
|
538
|
+
issues?: boolean | undefined;
|
|
539
539
|
}, {
|
|
540
|
-
thumbs
|
|
541
|
-
edits
|
|
542
|
-
issues
|
|
540
|
+
thumbs?: boolean | undefined;
|
|
541
|
+
edits?: boolean | undefined;
|
|
542
|
+
issues?: boolean | undefined;
|
|
543
543
|
}>>;
|
|
544
544
|
search: z.ZodOptional<z.ZodObject<{
|
|
545
545
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -945,14 +945,14 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
945
945
|
} | undefined;
|
|
946
946
|
}>>;
|
|
947
947
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
948
|
-
baseurl: z.ZodString
|
|
949
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
948
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
949
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
950
950
|
}, "strip", z.ZodTypeAny, {
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
baseurl?: string | undefined;
|
|
952
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
953
953
|
}, {
|
|
954
|
-
|
|
955
|
-
|
|
954
|
+
baseurl?: string | undefined;
|
|
955
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
956
956
|
}>>;
|
|
957
957
|
theme: z.ZodLiteral<"mint">;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -992,10 +992,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
992
992
|
} & ({
|
|
993
993
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
994
994
|
} | {
|
|
995
|
-
pages:
|
|
995
|
+
pages: any[];
|
|
996
996
|
}))[];
|
|
997
997
|
} | {
|
|
998
|
-
pages:
|
|
998
|
+
pages: any[];
|
|
999
999
|
}))[];
|
|
1000
1000
|
} | {
|
|
1001
1001
|
versions: any[];
|
|
@@ -1017,10 +1017,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1017
1017
|
} & ({
|
|
1018
1018
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1019
1019
|
} | {
|
|
1020
|
-
pages:
|
|
1020
|
+
pages: any[];
|
|
1021
1021
|
}))[];
|
|
1022
1022
|
} | {
|
|
1023
|
-
pages:
|
|
1023
|
+
pages: any[];
|
|
1024
1024
|
}) & ({
|
|
1025
1025
|
languages: ({
|
|
1026
1026
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
@@ -1049,10 +1049,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1049
1049
|
} & ({
|
|
1050
1050
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1051
1051
|
} | {
|
|
1052
|
-
pages:
|
|
1052
|
+
pages: any[];
|
|
1053
1053
|
}))[];
|
|
1054
1054
|
} | {
|
|
1055
|
-
pages:
|
|
1055
|
+
pages: any[];
|
|
1056
1056
|
}))[];
|
|
1057
1057
|
} | {
|
|
1058
1058
|
versions: any[];
|
|
@@ -1074,10 +1074,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1074
1074
|
} & ({
|
|
1075
1075
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1076
1076
|
} | {
|
|
1077
|
-
pages:
|
|
1077
|
+
pages: any[];
|
|
1078
1078
|
}))[];
|
|
1079
1079
|
} | {
|
|
1080
|
-
pages:
|
|
1080
|
+
pages: any[];
|
|
1081
1081
|
} | undefined);
|
|
1082
1082
|
description?: string | undefined;
|
|
1083
1083
|
logo?: string | {
|
|
@@ -1139,9 +1139,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1139
1139
|
}[] | undefined;
|
|
1140
1140
|
} | undefined;
|
|
1141
1141
|
feedback?: {
|
|
1142
|
-
thumbs
|
|
1143
|
-
edits
|
|
1144
|
-
issues
|
|
1142
|
+
thumbs?: boolean | undefined;
|
|
1143
|
+
edits?: boolean | undefined;
|
|
1144
|
+
issues?: boolean | undefined;
|
|
1145
1145
|
} | undefined;
|
|
1146
1146
|
search?: {
|
|
1147
1147
|
prompt?: string | undefined;
|
|
@@ -1239,8 +1239,8 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1239
1239
|
} | undefined;
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
legacy?: {
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
baseurl?: string | undefined;
|
|
1243
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1244
1244
|
} | undefined;
|
|
1245
1245
|
}, {
|
|
1246
1246
|
name: string;
|
|
@@ -1278,10 +1278,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1278
1278
|
} & ({
|
|
1279
1279
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1280
1280
|
} | {
|
|
1281
|
-
pages:
|
|
1281
|
+
pages: any[];
|
|
1282
1282
|
}))[];
|
|
1283
1283
|
} | {
|
|
1284
|
-
pages:
|
|
1284
|
+
pages: any[];
|
|
1285
1285
|
}))[];
|
|
1286
1286
|
} | {
|
|
1287
1287
|
versions: any[];
|
|
@@ -1303,10 +1303,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1303
1303
|
} & ({
|
|
1304
1304
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1305
1305
|
} | {
|
|
1306
|
-
pages:
|
|
1306
|
+
pages: any[];
|
|
1307
1307
|
}))[];
|
|
1308
1308
|
} | {
|
|
1309
|
-
pages:
|
|
1309
|
+
pages: any[];
|
|
1310
1310
|
}) & ({
|
|
1311
1311
|
languages: ({
|
|
1312
1312
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
@@ -1335,10 +1335,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1335
1335
|
} & ({
|
|
1336
1336
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1337
1337
|
} | {
|
|
1338
|
-
pages:
|
|
1338
|
+
pages: any[];
|
|
1339
1339
|
}))[];
|
|
1340
1340
|
} | {
|
|
1341
|
-
pages:
|
|
1341
|
+
pages: any[];
|
|
1342
1342
|
}))[];
|
|
1343
1343
|
} | {
|
|
1344
1344
|
versions: any[];
|
|
@@ -1360,10 +1360,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1360
1360
|
} & ({
|
|
1361
1361
|
openapi: (string | string[]) & (string | string[] | undefined);
|
|
1362
1362
|
} | {
|
|
1363
|
-
pages:
|
|
1363
|
+
pages: any[];
|
|
1364
1364
|
}))[];
|
|
1365
1365
|
} | {
|
|
1366
|
-
pages:
|
|
1366
|
+
pages: any[];
|
|
1367
1367
|
} | undefined);
|
|
1368
1368
|
$schema?: string | undefined;
|
|
1369
1369
|
description?: string | undefined;
|
|
@@ -1426,9 +1426,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1426
1426
|
}[] | undefined;
|
|
1427
1427
|
} | undefined;
|
|
1428
1428
|
feedback?: {
|
|
1429
|
-
thumbs
|
|
1430
|
-
edits
|
|
1431
|
-
issues
|
|
1429
|
+
thumbs?: boolean | undefined;
|
|
1430
|
+
edits?: boolean | undefined;
|
|
1431
|
+
issues?: boolean | undefined;
|
|
1432
1432
|
} | undefined;
|
|
1433
1433
|
search?: {
|
|
1434
1434
|
prompt?: string | undefined;
|
|
@@ -1526,7 +1526,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1526
1526
|
} | undefined;
|
|
1527
1527
|
} | undefined;
|
|
1528
1528
|
legacy?: {
|
|
1529
|
-
|
|
1530
|
-
|
|
1529
|
+
baseurl?: string | undefined;
|
|
1530
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1531
1531
|
} | undefined;
|
|
1532
1532
|
}>;
|