@mintlify/validation 0.1.313 → 0.1.314
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 +861 -11
- package/dist/mint-config/schemas/v2/properties/api.d.ts +18 -0
- package/dist/mint-config/schemas/v2/properties/api.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +10 -1
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +20 -2
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js +3 -1
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +10 -1
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +108 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +84 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +10 -1
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +13 -1
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +10 -1
- package/dist/mint-config/schemas/v2/properties/reusable/asyncapi.d.ts +24 -0
- package/dist/mint-config/schemas/v2/properties/reusable/asyncapi.js +41 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +102 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +170 -0
- package/dist/mint-config/validateConfig.d.ts +340 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import isAbsoluteUrl from 'is-absolute-url';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { normalizeRelativePath } from '../../../../transforms/normalizeRelativePath.js';
|
|
4
|
+
export const asyncapiStringSchema = z
|
|
5
|
+
.string()
|
|
6
|
+
.trim()
|
|
7
|
+
.nonempty()
|
|
8
|
+
.transform((value, ctx) => {
|
|
9
|
+
if (isAbsoluteUrl(value)) {
|
|
10
|
+
try {
|
|
11
|
+
const url = new URL(value);
|
|
12
|
+
if (url.protocol !== 'https:') {
|
|
13
|
+
ctx.addIssue({
|
|
14
|
+
code: z.ZodIssueCode.custom,
|
|
15
|
+
message: 'Must use protocol https',
|
|
16
|
+
});
|
|
17
|
+
return z.NEVER;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
catch (_a) {
|
|
21
|
+
ctx.addIssue({
|
|
22
|
+
code: z.ZodIssueCode.custom,
|
|
23
|
+
message: 'Invalid URL',
|
|
24
|
+
});
|
|
25
|
+
return z.NEVER;
|
|
26
|
+
}
|
|
27
|
+
return value;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
return normalizeRelativePath(value);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export const asyncapiObjSchema = z
|
|
34
|
+
.object({
|
|
35
|
+
source: asyncapiStringSchema,
|
|
36
|
+
directory: z.string().trim().optional(),
|
|
37
|
+
})
|
|
38
|
+
.strict();
|
|
39
|
+
export const asyncApiSchema = z
|
|
40
|
+
.union([asyncapiStringSchema, z.array(asyncapiStringSchema), asyncapiObjSchema])
|
|
41
|
+
.describe('A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s)');
|
|
@@ -50,6 +50,16 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
50
50
|
source: string;
|
|
51
51
|
directory?: string | undefined;
|
|
52
52
|
}>]>>;
|
|
53
|
+
asyncapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
54
|
+
source: z.ZodEffects<z.ZodString, string, string>;
|
|
55
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, "strict", z.ZodTypeAny, {
|
|
57
|
+
source: string;
|
|
58
|
+
directory?: string | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
source: string;
|
|
61
|
+
directory?: string | undefined;
|
|
62
|
+
}>]>>;
|
|
53
63
|
playground: z.ZodOptional<z.ZodObject<{
|
|
54
64
|
display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
|
|
55
65
|
proxy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -97,6 +107,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
97
107
|
source: string;
|
|
98
108
|
directory?: string | undefined;
|
|
99
109
|
} | undefined;
|
|
110
|
+
asyncapi?: string | string[] | {
|
|
111
|
+
source: string;
|
|
112
|
+
directory?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
100
114
|
playground?: {
|
|
101
115
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
102
116
|
proxy?: boolean | undefined;
|
|
@@ -116,6 +130,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
116
130
|
source: string;
|
|
117
131
|
directory?: string | undefined;
|
|
118
132
|
} | undefined;
|
|
133
|
+
asyncapi?: string | string[] | {
|
|
134
|
+
source: string;
|
|
135
|
+
directory?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
119
137
|
playground?: {
|
|
120
138
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
121
139
|
proxy?: boolean | undefined;
|
|
@@ -345,6 +363,60 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
345
363
|
} | undefined;
|
|
346
364
|
hidden?: boolean | undefined;
|
|
347
365
|
root?: string | undefined;
|
|
366
|
+
}>, z.ZodObject<{
|
|
367
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
368
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
369
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
|
+
name: string;
|
|
372
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
373
|
+
}, {
|
|
374
|
+
name: string;
|
|
375
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
376
|
+
}>]>>;
|
|
377
|
+
group: z.ZodString;
|
|
378
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
380
|
+
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
381
|
+
source: z.ZodEffects<z.ZodString, string, string>;
|
|
382
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
383
|
+
}, "strict", z.ZodTypeAny, {
|
|
384
|
+
source: string;
|
|
385
|
+
directory?: string | undefined;
|
|
386
|
+
}, {
|
|
387
|
+
source: string;
|
|
388
|
+
directory?: string | undefined;
|
|
389
|
+
}>]>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
group: string;
|
|
392
|
+
asyncapi: (string | string[] | {
|
|
393
|
+
source: string;
|
|
394
|
+
directory?: string | undefined;
|
|
395
|
+
}) & (string | string[] | {
|
|
396
|
+
source: string;
|
|
397
|
+
directory?: string | undefined;
|
|
398
|
+
} | undefined);
|
|
399
|
+
icon?: string | {
|
|
400
|
+
name: string;
|
|
401
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
402
|
+
} | undefined;
|
|
403
|
+
hidden?: boolean | undefined;
|
|
404
|
+
root?: string | undefined;
|
|
405
|
+
}, {
|
|
406
|
+
group: string;
|
|
407
|
+
asyncapi: (string | string[] | {
|
|
408
|
+
source: string;
|
|
409
|
+
directory?: string | undefined;
|
|
410
|
+
}) & (string | string[] | {
|
|
411
|
+
source: string;
|
|
412
|
+
directory?: string | undefined;
|
|
413
|
+
} | undefined);
|
|
414
|
+
icon?: string | {
|
|
415
|
+
name: string;
|
|
416
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
hidden?: boolean | undefined;
|
|
419
|
+
root?: string | undefined;
|
|
348
420
|
}>, z.ZodObject<{
|
|
349
421
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
350
422
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
@@ -395,6 +467,21 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
395
467
|
} | undefined;
|
|
396
468
|
hidden?: boolean | undefined;
|
|
397
469
|
root?: string | undefined;
|
|
470
|
+
} | {
|
|
471
|
+
group: string;
|
|
472
|
+
asyncapi: (string | string[] | {
|
|
473
|
+
source: string;
|
|
474
|
+
directory?: string | undefined;
|
|
475
|
+
}) & (string | string[] | {
|
|
476
|
+
source: string;
|
|
477
|
+
directory?: string | undefined;
|
|
478
|
+
} | undefined);
|
|
479
|
+
icon?: string | {
|
|
480
|
+
name: string;
|
|
481
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
hidden?: boolean | undefined;
|
|
484
|
+
root?: string | undefined;
|
|
398
485
|
} | {
|
|
399
486
|
group: string;
|
|
400
487
|
pages: any[];
|
|
@@ -422,6 +509,21 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
422
509
|
} | undefined;
|
|
423
510
|
hidden?: boolean | undefined;
|
|
424
511
|
root?: string | undefined;
|
|
512
|
+
} | {
|
|
513
|
+
group: string;
|
|
514
|
+
asyncapi: (string | string[] | {
|
|
515
|
+
source: string;
|
|
516
|
+
directory?: string | undefined;
|
|
517
|
+
}) & (string | string[] | {
|
|
518
|
+
source: string;
|
|
519
|
+
directory?: string | undefined;
|
|
520
|
+
} | undefined);
|
|
521
|
+
icon?: string | {
|
|
522
|
+
name: string;
|
|
523
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
524
|
+
} | undefined;
|
|
525
|
+
hidden?: boolean | undefined;
|
|
526
|
+
root?: string | undefined;
|
|
425
527
|
} | {
|
|
426
528
|
group: string;
|
|
427
529
|
pages: any[];
|
|
@@ -971,6 +1073,21 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
971
1073
|
} | undefined;
|
|
972
1074
|
hidden?: boolean | undefined;
|
|
973
1075
|
root?: string | undefined;
|
|
1076
|
+
} | {
|
|
1077
|
+
group: string;
|
|
1078
|
+
asyncapi: (string | string[] | {
|
|
1079
|
+
source: string;
|
|
1080
|
+
directory?: string | undefined;
|
|
1081
|
+
}) & (string | string[] | {
|
|
1082
|
+
source: string;
|
|
1083
|
+
directory?: string | undefined;
|
|
1084
|
+
} | undefined);
|
|
1085
|
+
icon?: string | {
|
|
1086
|
+
name: string;
|
|
1087
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
hidden?: boolean | undefined;
|
|
1090
|
+
root?: string | undefined;
|
|
974
1091
|
} | {
|
|
975
1092
|
group: string;
|
|
976
1093
|
pages: any[];
|
|
@@ -1016,6 +1133,21 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1016
1133
|
} | undefined;
|
|
1017
1134
|
hidden?: boolean | undefined;
|
|
1018
1135
|
root?: string | undefined;
|
|
1136
|
+
} | {
|
|
1137
|
+
group: string;
|
|
1138
|
+
asyncapi: (string | string[] | {
|
|
1139
|
+
source: string;
|
|
1140
|
+
directory?: string | undefined;
|
|
1141
|
+
}) & (string | string[] | {
|
|
1142
|
+
source: string;
|
|
1143
|
+
directory?: string | undefined;
|
|
1144
|
+
} | undefined);
|
|
1145
|
+
icon?: string | {
|
|
1146
|
+
name: string;
|
|
1147
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
hidden?: boolean | undefined;
|
|
1150
|
+
root?: string | undefined;
|
|
1019
1151
|
} | {
|
|
1020
1152
|
group: string;
|
|
1021
1153
|
pages: any[];
|
|
@@ -1046,6 +1178,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1046
1178
|
source: string;
|
|
1047
1179
|
directory?: string | undefined;
|
|
1048
1180
|
} | undefined;
|
|
1181
|
+
asyncapi?: string | string[] | {
|
|
1182
|
+
source: string;
|
|
1183
|
+
directory?: string | undefined;
|
|
1184
|
+
} | undefined;
|
|
1049
1185
|
playground?: {
|
|
1050
1186
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1051
1187
|
proxy?: boolean | undefined;
|
|
@@ -1244,6 +1380,21 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1244
1380
|
} | undefined;
|
|
1245
1381
|
hidden?: boolean | undefined;
|
|
1246
1382
|
root?: string | undefined;
|
|
1383
|
+
} | {
|
|
1384
|
+
group: string;
|
|
1385
|
+
asyncapi: (string | string[] | {
|
|
1386
|
+
source: string;
|
|
1387
|
+
directory?: string | undefined;
|
|
1388
|
+
}) & (string | string[] | {
|
|
1389
|
+
source: string;
|
|
1390
|
+
directory?: string | undefined;
|
|
1391
|
+
} | undefined);
|
|
1392
|
+
icon?: string | {
|
|
1393
|
+
name: string;
|
|
1394
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
hidden?: boolean | undefined;
|
|
1397
|
+
root?: string | undefined;
|
|
1247
1398
|
} | {
|
|
1248
1399
|
group: string;
|
|
1249
1400
|
pages: any[];
|
|
@@ -1289,6 +1440,21 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1289
1440
|
} | undefined;
|
|
1290
1441
|
hidden?: boolean | undefined;
|
|
1291
1442
|
root?: string | undefined;
|
|
1443
|
+
} | {
|
|
1444
|
+
group: string;
|
|
1445
|
+
asyncapi: (string | string[] | {
|
|
1446
|
+
source: string;
|
|
1447
|
+
directory?: string | undefined;
|
|
1448
|
+
}) & (string | string[] | {
|
|
1449
|
+
source: string;
|
|
1450
|
+
directory?: string | undefined;
|
|
1451
|
+
} | undefined);
|
|
1452
|
+
icon?: string | {
|
|
1453
|
+
name: string;
|
|
1454
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1455
|
+
} | undefined;
|
|
1456
|
+
hidden?: boolean | undefined;
|
|
1457
|
+
root?: string | undefined;
|
|
1292
1458
|
} | {
|
|
1293
1459
|
group: string;
|
|
1294
1460
|
pages: any[];
|
|
@@ -1320,6 +1486,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1320
1486
|
source: string;
|
|
1321
1487
|
directory?: string | undefined;
|
|
1322
1488
|
} | undefined;
|
|
1489
|
+
asyncapi?: string | string[] | {
|
|
1490
|
+
source: string;
|
|
1491
|
+
directory?: string | undefined;
|
|
1492
|
+
} | undefined;
|
|
1323
1493
|
playground?: {
|
|
1324
1494
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1325
1495
|
proxy?: boolean | undefined;
|
|
@@ -50,6 +50,16 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
50
50
|
source: string;
|
|
51
51
|
directory?: string | undefined;
|
|
52
52
|
}>]>>;
|
|
53
|
+
asyncapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
54
|
+
source: z.ZodEffects<z.ZodString, string, string>;
|
|
55
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, "strict", z.ZodTypeAny, {
|
|
57
|
+
source: string;
|
|
58
|
+
directory?: string | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
source: string;
|
|
61
|
+
directory?: string | undefined;
|
|
62
|
+
}>]>>;
|
|
53
63
|
playground: z.ZodOptional<z.ZodObject<{
|
|
54
64
|
display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
|
|
55
65
|
proxy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -97,6 +107,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
97
107
|
source: string;
|
|
98
108
|
directory?: string | undefined;
|
|
99
109
|
} | undefined;
|
|
110
|
+
asyncapi?: string | string[] | {
|
|
111
|
+
source: string;
|
|
112
|
+
directory?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
100
114
|
playground?: {
|
|
101
115
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
102
116
|
proxy?: boolean | undefined;
|
|
@@ -116,6 +130,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
116
130
|
source: string;
|
|
117
131
|
directory?: string | undefined;
|
|
118
132
|
} | undefined;
|
|
133
|
+
asyncapi?: string | string[] | {
|
|
134
|
+
source: string;
|
|
135
|
+
directory?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
119
137
|
playground?: {
|
|
120
138
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
121
139
|
proxy?: boolean | undefined;
|
|
@@ -345,6 +363,60 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
345
363
|
} | undefined;
|
|
346
364
|
hidden?: boolean | undefined;
|
|
347
365
|
root?: string | undefined;
|
|
366
|
+
}>, z.ZodObject<{
|
|
367
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
368
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
369
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
|
+
name: string;
|
|
372
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
373
|
+
}, {
|
|
374
|
+
name: string;
|
|
375
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
376
|
+
}>]>>;
|
|
377
|
+
group: z.ZodString;
|
|
378
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
380
|
+
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
|
|
381
|
+
source: z.ZodEffects<z.ZodString, string, string>;
|
|
382
|
+
directory: z.ZodOptional<z.ZodString>;
|
|
383
|
+
}, "strict", z.ZodTypeAny, {
|
|
384
|
+
source: string;
|
|
385
|
+
directory?: string | undefined;
|
|
386
|
+
}, {
|
|
387
|
+
source: string;
|
|
388
|
+
directory?: string | undefined;
|
|
389
|
+
}>]>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
group: string;
|
|
392
|
+
asyncapi: (string | string[] | {
|
|
393
|
+
source: string;
|
|
394
|
+
directory?: string | undefined;
|
|
395
|
+
}) & (string | string[] | {
|
|
396
|
+
source: string;
|
|
397
|
+
directory?: string | undefined;
|
|
398
|
+
} | undefined);
|
|
399
|
+
icon?: string | {
|
|
400
|
+
name: string;
|
|
401
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
402
|
+
} | undefined;
|
|
403
|
+
hidden?: boolean | undefined;
|
|
404
|
+
root?: string | undefined;
|
|
405
|
+
}, {
|
|
406
|
+
group: string;
|
|
407
|
+
asyncapi: (string | string[] | {
|
|
408
|
+
source: string;
|
|
409
|
+
directory?: string | undefined;
|
|
410
|
+
}) & (string | string[] | {
|
|
411
|
+
source: string;
|
|
412
|
+
directory?: string | undefined;
|
|
413
|
+
} | undefined);
|
|
414
|
+
icon?: string | {
|
|
415
|
+
name: string;
|
|
416
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
hidden?: boolean | undefined;
|
|
419
|
+
root?: string | undefined;
|
|
348
420
|
}>, z.ZodObject<{
|
|
349
421
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
350
422
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
@@ -395,6 +467,21 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
395
467
|
} | undefined;
|
|
396
468
|
hidden?: boolean | undefined;
|
|
397
469
|
root?: string | undefined;
|
|
470
|
+
} | {
|
|
471
|
+
group: string;
|
|
472
|
+
asyncapi: (string | string[] | {
|
|
473
|
+
source: string;
|
|
474
|
+
directory?: string | undefined;
|
|
475
|
+
}) & (string | string[] | {
|
|
476
|
+
source: string;
|
|
477
|
+
directory?: string | undefined;
|
|
478
|
+
} | undefined);
|
|
479
|
+
icon?: string | {
|
|
480
|
+
name: string;
|
|
481
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
hidden?: boolean | undefined;
|
|
484
|
+
root?: string | undefined;
|
|
398
485
|
} | {
|
|
399
486
|
group: string;
|
|
400
487
|
pages: any[];
|
|
@@ -422,6 +509,21 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
422
509
|
} | undefined;
|
|
423
510
|
hidden?: boolean | undefined;
|
|
424
511
|
root?: string | undefined;
|
|
512
|
+
} | {
|
|
513
|
+
group: string;
|
|
514
|
+
asyncapi: (string | string[] | {
|
|
515
|
+
source: string;
|
|
516
|
+
directory?: string | undefined;
|
|
517
|
+
}) & (string | string[] | {
|
|
518
|
+
source: string;
|
|
519
|
+
directory?: string | undefined;
|
|
520
|
+
} | undefined);
|
|
521
|
+
icon?: string | {
|
|
522
|
+
name: string;
|
|
523
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
524
|
+
} | undefined;
|
|
525
|
+
hidden?: boolean | undefined;
|
|
526
|
+
root?: string | undefined;
|
|
425
527
|
} | {
|
|
426
528
|
group: string;
|
|
427
529
|
pages: any[];
|
|
@@ -971,6 +1073,21 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
971
1073
|
} | undefined;
|
|
972
1074
|
hidden?: boolean | undefined;
|
|
973
1075
|
root?: string | undefined;
|
|
1076
|
+
} | {
|
|
1077
|
+
group: string;
|
|
1078
|
+
asyncapi: (string | string[] | {
|
|
1079
|
+
source: string;
|
|
1080
|
+
directory?: string | undefined;
|
|
1081
|
+
}) & (string | string[] | {
|
|
1082
|
+
source: string;
|
|
1083
|
+
directory?: string | undefined;
|
|
1084
|
+
} | undefined);
|
|
1085
|
+
icon?: string | {
|
|
1086
|
+
name: string;
|
|
1087
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
hidden?: boolean | undefined;
|
|
1090
|
+
root?: string | undefined;
|
|
974
1091
|
} | {
|
|
975
1092
|
group: string;
|
|
976
1093
|
pages: any[];
|
|
@@ -1016,6 +1133,21 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1016
1133
|
} | undefined;
|
|
1017
1134
|
hidden?: boolean | undefined;
|
|
1018
1135
|
root?: string | undefined;
|
|
1136
|
+
} | {
|
|
1137
|
+
group: string;
|
|
1138
|
+
asyncapi: (string | string[] | {
|
|
1139
|
+
source: string;
|
|
1140
|
+
directory?: string | undefined;
|
|
1141
|
+
}) & (string | string[] | {
|
|
1142
|
+
source: string;
|
|
1143
|
+
directory?: string | undefined;
|
|
1144
|
+
} | undefined);
|
|
1145
|
+
icon?: string | {
|
|
1146
|
+
name: string;
|
|
1147
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
hidden?: boolean | undefined;
|
|
1150
|
+
root?: string | undefined;
|
|
1019
1151
|
} | {
|
|
1020
1152
|
group: string;
|
|
1021
1153
|
pages: any[];
|
|
@@ -1046,6 +1178,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1046
1178
|
source: string;
|
|
1047
1179
|
directory?: string | undefined;
|
|
1048
1180
|
} | undefined;
|
|
1181
|
+
asyncapi?: string | string[] | {
|
|
1182
|
+
source: string;
|
|
1183
|
+
directory?: string | undefined;
|
|
1184
|
+
} | undefined;
|
|
1049
1185
|
playground?: {
|
|
1050
1186
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1051
1187
|
proxy?: boolean | undefined;
|
|
@@ -1244,6 +1380,21 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1244
1380
|
} | undefined;
|
|
1245
1381
|
hidden?: boolean | undefined;
|
|
1246
1382
|
root?: string | undefined;
|
|
1383
|
+
} | {
|
|
1384
|
+
group: string;
|
|
1385
|
+
asyncapi: (string | string[] | {
|
|
1386
|
+
source: string;
|
|
1387
|
+
directory?: string | undefined;
|
|
1388
|
+
}) & (string | string[] | {
|
|
1389
|
+
source: string;
|
|
1390
|
+
directory?: string | undefined;
|
|
1391
|
+
} | undefined);
|
|
1392
|
+
icon?: string | {
|
|
1393
|
+
name: string;
|
|
1394
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
hidden?: boolean | undefined;
|
|
1397
|
+
root?: string | undefined;
|
|
1247
1398
|
} | {
|
|
1248
1399
|
group: string;
|
|
1249
1400
|
pages: any[];
|
|
@@ -1289,6 +1440,21 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1289
1440
|
} | undefined;
|
|
1290
1441
|
hidden?: boolean | undefined;
|
|
1291
1442
|
root?: string | undefined;
|
|
1443
|
+
} | {
|
|
1444
|
+
group: string;
|
|
1445
|
+
asyncapi: (string | string[] | {
|
|
1446
|
+
source: string;
|
|
1447
|
+
directory?: string | undefined;
|
|
1448
|
+
}) & (string | string[] | {
|
|
1449
|
+
source: string;
|
|
1450
|
+
directory?: string | undefined;
|
|
1451
|
+
} | undefined);
|
|
1452
|
+
icon?: string | {
|
|
1453
|
+
name: string;
|
|
1454
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1455
|
+
} | undefined;
|
|
1456
|
+
hidden?: boolean | undefined;
|
|
1457
|
+
root?: string | undefined;
|
|
1292
1458
|
} | {
|
|
1293
1459
|
group: string;
|
|
1294
1460
|
pages: any[];
|
|
@@ -1320,6 +1486,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1320
1486
|
source: string;
|
|
1321
1487
|
directory?: string | undefined;
|
|
1322
1488
|
} | undefined;
|
|
1489
|
+
asyncapi?: string | string[] | {
|
|
1490
|
+
source: string;
|
|
1491
|
+
directory?: string | undefined;
|
|
1492
|
+
} | undefined;
|
|
1323
1493
|
playground?: {
|
|
1324
1494
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1325
1495
|
proxy?: boolean | undefined;
|