@mintlify/validation 0.1.523 → 0.1.525
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 +91 -0
- package/dist/mint-config/schemas/v2/properties/index.d.ts +1 -0
- package/dist/mint-config/schemas/v2/properties/index.js +1 -0
- package/dist/mint-config/schemas/v2/properties/metadata.d.ts +9 -0
- package/dist/mint-config/schemas/v2/properties/metadata.js +11 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.js +2 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +13 -0
- package/dist/mint-config/validateConfig.d.ts +42 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1491,6 +1491,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1491
1491
|
}, {
|
|
1492
1492
|
drilldown?: boolean | undefined;
|
|
1493
1493
|
}>>;
|
|
1494
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1495
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1496
|
+
}, "strip", z.ZodTypeAny, {
|
|
1497
|
+
timestamp: boolean;
|
|
1498
|
+
}, {
|
|
1499
|
+
timestamp?: boolean | undefined;
|
|
1500
|
+
}>>>;
|
|
1494
1501
|
theme: z.ZodLiteral<"mint">;
|
|
1495
1502
|
}, "strip", z.ZodTypeAny, {
|
|
1496
1503
|
name: string;
|
|
@@ -1901,6 +1908,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1901
1908
|
interaction?: {
|
|
1902
1909
|
drilldown?: boolean | undefined;
|
|
1903
1910
|
} | undefined;
|
|
1911
|
+
metadata?: {
|
|
1912
|
+
timestamp: boolean;
|
|
1913
|
+
} | undefined;
|
|
1904
1914
|
}, {
|
|
1905
1915
|
name: string;
|
|
1906
1916
|
theme: "mint";
|
|
@@ -2310,6 +2320,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2310
2320
|
interaction?: {
|
|
2311
2321
|
drilldown?: boolean | undefined;
|
|
2312
2322
|
} | undefined;
|
|
2323
|
+
metadata?: {
|
|
2324
|
+
timestamp?: boolean | undefined;
|
|
2325
|
+
} | undefined;
|
|
2313
2326
|
}>, z.ZodObject<{
|
|
2314
2327
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2315
2328
|
name: z.ZodString;
|
|
@@ -3799,6 +3812,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3799
3812
|
}, {
|
|
3800
3813
|
drilldown?: boolean | undefined;
|
|
3801
3814
|
}>>;
|
|
3815
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3816
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3817
|
+
}, "strip", z.ZodTypeAny, {
|
|
3818
|
+
timestamp: boolean;
|
|
3819
|
+
}, {
|
|
3820
|
+
timestamp?: boolean | undefined;
|
|
3821
|
+
}>>>;
|
|
3802
3822
|
theme: z.ZodLiteral<"maple">;
|
|
3803
3823
|
}, "strip", z.ZodTypeAny, {
|
|
3804
3824
|
name: string;
|
|
@@ -4209,6 +4229,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4209
4229
|
interaction?: {
|
|
4210
4230
|
drilldown?: boolean | undefined;
|
|
4211
4231
|
} | undefined;
|
|
4232
|
+
metadata?: {
|
|
4233
|
+
timestamp: boolean;
|
|
4234
|
+
} | undefined;
|
|
4212
4235
|
}, {
|
|
4213
4236
|
name: string;
|
|
4214
4237
|
theme: "maple";
|
|
@@ -4618,6 +4641,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4618
4641
|
interaction?: {
|
|
4619
4642
|
drilldown?: boolean | undefined;
|
|
4620
4643
|
} | undefined;
|
|
4644
|
+
metadata?: {
|
|
4645
|
+
timestamp?: boolean | undefined;
|
|
4646
|
+
} | undefined;
|
|
4621
4647
|
}>, z.ZodObject<{
|
|
4622
4648
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4623
4649
|
name: z.ZodString;
|
|
@@ -6107,6 +6133,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6107
6133
|
}, {
|
|
6108
6134
|
drilldown?: boolean | undefined;
|
|
6109
6135
|
}>>;
|
|
6136
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
6137
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6138
|
+
}, "strip", z.ZodTypeAny, {
|
|
6139
|
+
timestamp: boolean;
|
|
6140
|
+
}, {
|
|
6141
|
+
timestamp?: boolean | undefined;
|
|
6142
|
+
}>>>;
|
|
6110
6143
|
theme: z.ZodLiteral<"palm">;
|
|
6111
6144
|
}, "strip", z.ZodTypeAny, {
|
|
6112
6145
|
name: string;
|
|
@@ -6517,6 +6550,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6517
6550
|
interaction?: {
|
|
6518
6551
|
drilldown?: boolean | undefined;
|
|
6519
6552
|
} | undefined;
|
|
6553
|
+
metadata?: {
|
|
6554
|
+
timestamp: boolean;
|
|
6555
|
+
} | undefined;
|
|
6520
6556
|
}, {
|
|
6521
6557
|
name: string;
|
|
6522
6558
|
theme: "palm";
|
|
@@ -6926,6 +6962,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6926
6962
|
interaction?: {
|
|
6927
6963
|
drilldown?: boolean | undefined;
|
|
6928
6964
|
} | undefined;
|
|
6965
|
+
metadata?: {
|
|
6966
|
+
timestamp?: boolean | undefined;
|
|
6967
|
+
} | undefined;
|
|
6929
6968
|
}>, z.ZodObject<{
|
|
6930
6969
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6931
6970
|
name: z.ZodString;
|
|
@@ -8415,6 +8454,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8415
8454
|
}, {
|
|
8416
8455
|
drilldown?: boolean | undefined;
|
|
8417
8456
|
}>>;
|
|
8457
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
8458
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8459
|
+
}, "strip", z.ZodTypeAny, {
|
|
8460
|
+
timestamp: boolean;
|
|
8461
|
+
}, {
|
|
8462
|
+
timestamp?: boolean | undefined;
|
|
8463
|
+
}>>>;
|
|
8418
8464
|
theme: z.ZodLiteral<"willow">;
|
|
8419
8465
|
}, "strip", z.ZodTypeAny, {
|
|
8420
8466
|
name: string;
|
|
@@ -8825,6 +8871,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8825
8871
|
interaction?: {
|
|
8826
8872
|
drilldown?: boolean | undefined;
|
|
8827
8873
|
} | undefined;
|
|
8874
|
+
metadata?: {
|
|
8875
|
+
timestamp: boolean;
|
|
8876
|
+
} | undefined;
|
|
8828
8877
|
}, {
|
|
8829
8878
|
name: string;
|
|
8830
8879
|
theme: "willow";
|
|
@@ -9234,6 +9283,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9234
9283
|
interaction?: {
|
|
9235
9284
|
drilldown?: boolean | undefined;
|
|
9236
9285
|
} | undefined;
|
|
9286
|
+
metadata?: {
|
|
9287
|
+
timestamp?: boolean | undefined;
|
|
9288
|
+
} | undefined;
|
|
9237
9289
|
}>, z.ZodObject<{
|
|
9238
9290
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9239
9291
|
name: z.ZodString;
|
|
@@ -10723,6 +10775,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10723
10775
|
}, {
|
|
10724
10776
|
drilldown?: boolean | undefined;
|
|
10725
10777
|
}>>;
|
|
10778
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
10779
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10780
|
+
}, "strip", z.ZodTypeAny, {
|
|
10781
|
+
timestamp: boolean;
|
|
10782
|
+
}, {
|
|
10783
|
+
timestamp?: boolean | undefined;
|
|
10784
|
+
}>>>;
|
|
10726
10785
|
theme: z.ZodLiteral<"linden">;
|
|
10727
10786
|
}, "strip", z.ZodTypeAny, {
|
|
10728
10787
|
name: string;
|
|
@@ -11133,6 +11192,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11133
11192
|
interaction?: {
|
|
11134
11193
|
drilldown?: boolean | undefined;
|
|
11135
11194
|
} | undefined;
|
|
11195
|
+
metadata?: {
|
|
11196
|
+
timestamp: boolean;
|
|
11197
|
+
} | undefined;
|
|
11136
11198
|
}, {
|
|
11137
11199
|
name: string;
|
|
11138
11200
|
theme: "linden";
|
|
@@ -11542,6 +11604,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11542
11604
|
interaction?: {
|
|
11543
11605
|
drilldown?: boolean | undefined;
|
|
11544
11606
|
} | undefined;
|
|
11607
|
+
metadata?: {
|
|
11608
|
+
timestamp?: boolean | undefined;
|
|
11609
|
+
} | undefined;
|
|
11545
11610
|
}>, z.ZodObject<{
|
|
11546
11611
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11547
11612
|
name: z.ZodString;
|
|
@@ -13031,6 +13096,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13031
13096
|
}, {
|
|
13032
13097
|
drilldown?: boolean | undefined;
|
|
13033
13098
|
}>>;
|
|
13099
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
13100
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13101
|
+
}, "strip", z.ZodTypeAny, {
|
|
13102
|
+
timestamp: boolean;
|
|
13103
|
+
}, {
|
|
13104
|
+
timestamp?: boolean | undefined;
|
|
13105
|
+
}>>>;
|
|
13034
13106
|
theme: z.ZodLiteral<"almond">;
|
|
13035
13107
|
}, "strip", z.ZodTypeAny, {
|
|
13036
13108
|
name: string;
|
|
@@ -13441,6 +13513,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13441
13513
|
interaction?: {
|
|
13442
13514
|
drilldown?: boolean | undefined;
|
|
13443
13515
|
} | undefined;
|
|
13516
|
+
metadata?: {
|
|
13517
|
+
timestamp: boolean;
|
|
13518
|
+
} | undefined;
|
|
13444
13519
|
}, {
|
|
13445
13520
|
name: string;
|
|
13446
13521
|
theme: "almond";
|
|
@@ -13850,6 +13925,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13850
13925
|
interaction?: {
|
|
13851
13926
|
drilldown?: boolean | undefined;
|
|
13852
13927
|
} | undefined;
|
|
13928
|
+
metadata?: {
|
|
13929
|
+
timestamp?: boolean | undefined;
|
|
13930
|
+
} | undefined;
|
|
13853
13931
|
}>, z.ZodObject<{
|
|
13854
13932
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13855
13933
|
name: z.ZodString;
|
|
@@ -15339,6 +15417,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15339
15417
|
}, {
|
|
15340
15418
|
drilldown?: boolean | undefined;
|
|
15341
15419
|
}>>;
|
|
15420
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
15421
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
15422
|
+
}, "strip", z.ZodTypeAny, {
|
|
15423
|
+
timestamp: boolean;
|
|
15424
|
+
}, {
|
|
15425
|
+
timestamp?: boolean | undefined;
|
|
15426
|
+
}>>>;
|
|
15342
15427
|
theme: z.ZodLiteral<"aspen">;
|
|
15343
15428
|
}, "strip", z.ZodTypeAny, {
|
|
15344
15429
|
name: string;
|
|
@@ -15749,6 +15834,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15749
15834
|
interaction?: {
|
|
15750
15835
|
drilldown?: boolean | undefined;
|
|
15751
15836
|
} | undefined;
|
|
15837
|
+
metadata?: {
|
|
15838
|
+
timestamp: boolean;
|
|
15839
|
+
} | undefined;
|
|
15752
15840
|
}, {
|
|
15753
15841
|
name: string;
|
|
15754
15842
|
theme: "aspen";
|
|
@@ -16158,4 +16246,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
16158
16246
|
interaction?: {
|
|
16159
16247
|
drilldown?: boolean | undefined;
|
|
16160
16248
|
} | undefined;
|
|
16249
|
+
metadata?: {
|
|
16250
|
+
timestamp?: boolean | undefined;
|
|
16251
|
+
} | undefined;
|
|
16161
16252
|
}>]>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const metadataSchema: z.ZodOptional<z.ZodObject<{
|
|
3
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
timestamp: boolean;
|
|
6
|
+
}, {
|
|
7
|
+
timestamp?: boolean | undefined;
|
|
8
|
+
}>>;
|
|
9
|
+
export type MetadataConfig = z.infer<typeof metadataSchema>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const metadataSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
timestamp: z
|
|
5
|
+
.boolean()
|
|
6
|
+
.optional()
|
|
7
|
+
.default(false)
|
|
8
|
+
.describe('When enabled, all pages will display the date the content was last modified. Default is false.'),
|
|
9
|
+
})
|
|
10
|
+
.optional()
|
|
11
|
+
.describe('Metadata configuration for documentation pages');
|
|
@@ -1488,6 +1488,13 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"almond">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "almond";
|
|
@@ -2307,4 +2317,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -1488,6 +1488,13 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"aspen">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "aspen";
|
|
@@ -2307,4 +2317,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -1488,6 +1488,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"linden">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "linden";
|
|
@@ -2307,4 +2317,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -1488,6 +1488,13 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"maple">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "maple";
|
|
@@ -2307,4 +2317,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -1488,6 +1488,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"mint">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "mint";
|
|
@@ -2307,4 +2317,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -1488,6 +1488,13 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"palm">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "palm";
|
|
@@ -2307,4 +2317,7 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -1487,4 +1487,11 @@ export declare const standardConfigSchema: {
|
|
|
1487
1487
|
}, {
|
|
1488
1488
|
drilldown?: boolean | undefined;
|
|
1489
1489
|
}>>;
|
|
1490
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1491
|
+
timestamp: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1492
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1493
|
+
timestamp: boolean;
|
|
1494
|
+
}, {
|
|
1495
|
+
timestamp?: boolean | undefined;
|
|
1496
|
+
}>>>;
|
|
1490
1497
|
};
|
|
@@ -15,6 +15,7 @@ import { iconsSchema } from '../../properties/icons.js';
|
|
|
15
15
|
import { integrationsSchema } from '../../properties/integrations.js';
|
|
16
16
|
import { interactionSchema } from '../../properties/interaction.js';
|
|
17
17
|
import { logoSchema } from '../../properties/logo.js';
|
|
18
|
+
import { metadataSchema } from '../../properties/metadata.js';
|
|
18
19
|
import { nameSchema } from '../../properties/name.js';
|
|
19
20
|
import { navbarSchema } from '../../properties/navbar.js';
|
|
20
21
|
import { navigationSchema } from '../../properties/navigation/index.js';
|
|
@@ -47,4 +48,5 @@ export const standardConfigSchema = {
|
|
|
47
48
|
contextual: contextualSchema.optional(),
|
|
48
49
|
thumbnails: thumbnailsSchema.optional(),
|
|
49
50
|
interaction: interactionSchema.optional(),
|
|
51
|
+
metadata: metadataSchema.optional(),
|
|
50
52
|
};
|
|
@@ -1488,6 +1488,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
drilldown?: boolean | undefined;
|
|
1490
1490
|
}>>;
|
|
1491
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
timestamp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
timestamp: boolean;
|
|
1495
|
+
}, {
|
|
1496
|
+
timestamp?: boolean | undefined;
|
|
1497
|
+
}>>>;
|
|
1491
1498
|
theme: z.ZodLiteral<"willow">;
|
|
1492
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1500
|
name: string;
|
|
@@ -1898,6 +1905,9 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1898
1905
|
interaction?: {
|
|
1899
1906
|
drilldown?: boolean | undefined;
|
|
1900
1907
|
} | undefined;
|
|
1908
|
+
metadata?: {
|
|
1909
|
+
timestamp: boolean;
|
|
1910
|
+
} | undefined;
|
|
1901
1911
|
}, {
|
|
1902
1912
|
name: string;
|
|
1903
1913
|
theme: "willow";
|
|
@@ -2307,4 +2317,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2307
2317
|
interaction?: {
|
|
2308
2318
|
drilldown?: boolean | undefined;
|
|
2309
2319
|
} | undefined;
|
|
2320
|
+
metadata?: {
|
|
2321
|
+
timestamp?: boolean | undefined;
|
|
2322
|
+
} | undefined;
|
|
2310
2323
|
}>;
|
|
@@ -901,6 +901,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
901
901
|
interaction?: {
|
|
902
902
|
drilldown?: boolean | undefined;
|
|
903
903
|
} | undefined;
|
|
904
|
+
metadata?: {
|
|
905
|
+
timestamp?: boolean | undefined;
|
|
906
|
+
} | undefined;
|
|
904
907
|
} | {
|
|
905
908
|
name: string;
|
|
906
909
|
theme: "aspen";
|
|
@@ -1310,6 +1313,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1310
1313
|
interaction?: {
|
|
1311
1314
|
drilldown?: boolean | undefined;
|
|
1312
1315
|
} | undefined;
|
|
1316
|
+
metadata?: {
|
|
1317
|
+
timestamp?: boolean | undefined;
|
|
1318
|
+
} | undefined;
|
|
1313
1319
|
} | {
|
|
1314
1320
|
name: string;
|
|
1315
1321
|
theme: "linden";
|
|
@@ -1719,6 +1725,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1719
1725
|
interaction?: {
|
|
1720
1726
|
drilldown?: boolean | undefined;
|
|
1721
1727
|
} | undefined;
|
|
1728
|
+
metadata?: {
|
|
1729
|
+
timestamp?: boolean | undefined;
|
|
1730
|
+
} | undefined;
|
|
1722
1731
|
} | {
|
|
1723
1732
|
name: string;
|
|
1724
1733
|
theme: "maple";
|
|
@@ -2128,6 +2137,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2128
2137
|
interaction?: {
|
|
2129
2138
|
drilldown?: boolean | undefined;
|
|
2130
2139
|
} | undefined;
|
|
2140
|
+
metadata?: {
|
|
2141
|
+
timestamp?: boolean | undefined;
|
|
2142
|
+
} | undefined;
|
|
2131
2143
|
} | {
|
|
2132
2144
|
name: string;
|
|
2133
2145
|
theme: "mint";
|
|
@@ -2537,6 +2549,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2537
2549
|
interaction?: {
|
|
2538
2550
|
drilldown?: boolean | undefined;
|
|
2539
2551
|
} | undefined;
|
|
2552
|
+
metadata?: {
|
|
2553
|
+
timestamp?: boolean | undefined;
|
|
2554
|
+
} | undefined;
|
|
2540
2555
|
} | {
|
|
2541
2556
|
name: string;
|
|
2542
2557
|
theme: "palm";
|
|
@@ -2946,6 +2961,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2946
2961
|
interaction?: {
|
|
2947
2962
|
drilldown?: boolean | undefined;
|
|
2948
2963
|
} | undefined;
|
|
2964
|
+
metadata?: {
|
|
2965
|
+
timestamp?: boolean | undefined;
|
|
2966
|
+
} | undefined;
|
|
2949
2967
|
} | {
|
|
2950
2968
|
name: string;
|
|
2951
2969
|
theme: "willow";
|
|
@@ -3355,6 +3373,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3355
3373
|
interaction?: {
|
|
3356
3374
|
drilldown?: boolean | undefined;
|
|
3357
3375
|
} | undefined;
|
|
3376
|
+
metadata?: {
|
|
3377
|
+
timestamp?: boolean | undefined;
|
|
3378
|
+
} | undefined;
|
|
3358
3379
|
}> | {
|
|
3359
3380
|
warnings: z.ZodIssue[];
|
|
3360
3381
|
success: true;
|
|
@@ -3767,6 +3788,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3767
3788
|
interaction?: {
|
|
3768
3789
|
drilldown?: boolean | undefined;
|
|
3769
3790
|
} | undefined;
|
|
3791
|
+
metadata?: {
|
|
3792
|
+
timestamp: boolean;
|
|
3793
|
+
} | undefined;
|
|
3770
3794
|
} | {
|
|
3771
3795
|
name: string;
|
|
3772
3796
|
$schema: string;
|
|
@@ -4176,6 +4200,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4176
4200
|
interaction?: {
|
|
4177
4201
|
drilldown?: boolean | undefined;
|
|
4178
4202
|
} | undefined;
|
|
4203
|
+
metadata?: {
|
|
4204
|
+
timestamp: boolean;
|
|
4205
|
+
} | undefined;
|
|
4179
4206
|
} | {
|
|
4180
4207
|
name: string;
|
|
4181
4208
|
$schema: string;
|
|
@@ -4585,6 +4612,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4585
4612
|
interaction?: {
|
|
4586
4613
|
drilldown?: boolean | undefined;
|
|
4587
4614
|
} | undefined;
|
|
4615
|
+
metadata?: {
|
|
4616
|
+
timestamp: boolean;
|
|
4617
|
+
} | undefined;
|
|
4588
4618
|
} | {
|
|
4589
4619
|
name: string;
|
|
4590
4620
|
$schema: string;
|
|
@@ -4994,6 +5024,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4994
5024
|
interaction?: {
|
|
4995
5025
|
drilldown?: boolean | undefined;
|
|
4996
5026
|
} | undefined;
|
|
5027
|
+
metadata?: {
|
|
5028
|
+
timestamp: boolean;
|
|
5029
|
+
} | undefined;
|
|
4997
5030
|
} | {
|
|
4998
5031
|
name: string;
|
|
4999
5032
|
$schema: string;
|
|
@@ -5403,6 +5436,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5403
5436
|
interaction?: {
|
|
5404
5437
|
drilldown?: boolean | undefined;
|
|
5405
5438
|
} | undefined;
|
|
5439
|
+
metadata?: {
|
|
5440
|
+
timestamp: boolean;
|
|
5441
|
+
} | undefined;
|
|
5406
5442
|
} | {
|
|
5407
5443
|
name: string;
|
|
5408
5444
|
$schema: string;
|
|
@@ -5812,6 +5848,9 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5812
5848
|
interaction?: {
|
|
5813
5849
|
drilldown?: boolean | undefined;
|
|
5814
5850
|
} | undefined;
|
|
5851
|
+
metadata?: {
|
|
5852
|
+
timestamp: boolean;
|
|
5853
|
+
} | undefined;
|
|
5815
5854
|
} | {
|
|
5816
5855
|
name: string;
|
|
5817
5856
|
$schema: string;
|
|
@@ -6221,5 +6260,8 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
6221
6260
|
interaction?: {
|
|
6222
6261
|
drilldown?: boolean | undefined;
|
|
6223
6262
|
} | undefined;
|
|
6263
|
+
metadata?: {
|
|
6264
|
+
timestamp: boolean;
|
|
6265
|
+
} | undefined;
|
|
6224
6266
|
};
|
|
6225
6267
|
};
|