@mintlify/validation 0.1.513 → 0.1.514
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 +133 -0
- package/dist/mint-config/schemas/v2/properties/thumbnails.d.ts +13 -0
- package/dist/mint-config/schemas/v2/properties/thumbnails.js +6 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +13 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +19 -0
- package/dist/mint-config/validateConfig.d.ts +42 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1441,12 +1441,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1441
1441
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1442
1442
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1443
1443
|
background: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1445
|
+
family: z.ZodString;
|
|
1446
|
+
}, "strip", z.ZodTypeAny, {
|
|
1447
|
+
family: string;
|
|
1448
|
+
}, {
|
|
1449
|
+
family: string;
|
|
1450
|
+
}>>;
|
|
1444
1451
|
}, "strip", z.ZodTypeAny, {
|
|
1445
1452
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1453
|
background?: string | undefined;
|
|
1454
|
+
fonts?: {
|
|
1455
|
+
family: string;
|
|
1456
|
+
} | undefined;
|
|
1447
1457
|
}, {
|
|
1448
1458
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1449
1459
|
background?: string | undefined;
|
|
1460
|
+
fonts?: {
|
|
1461
|
+
family: string;
|
|
1462
|
+
} | undefined;
|
|
1450
1463
|
}>>;
|
|
1451
1464
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1452
1465
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1854,6 +1867,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1854
1867
|
thumbnails?: {
|
|
1855
1868
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1856
1869
|
background?: string | undefined;
|
|
1870
|
+
fonts?: {
|
|
1871
|
+
family: string;
|
|
1872
|
+
} | undefined;
|
|
1857
1873
|
} | undefined;
|
|
1858
1874
|
interaction?: {
|
|
1859
1875
|
drilldown?: boolean | undefined;
|
|
@@ -2256,6 +2272,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2256
2272
|
thumbnails?: {
|
|
2257
2273
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2258
2274
|
background?: string | undefined;
|
|
2275
|
+
fonts?: {
|
|
2276
|
+
family: string;
|
|
2277
|
+
} | undefined;
|
|
2259
2278
|
} | undefined;
|
|
2260
2279
|
interaction?: {
|
|
2261
2280
|
drilldown?: boolean | undefined;
|
|
@@ -3699,12 +3718,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3699
3718
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
3700
3719
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
3701
3720
|
background: z.ZodOptional<z.ZodString>;
|
|
3721
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
3722
|
+
family: z.ZodString;
|
|
3723
|
+
}, "strip", z.ZodTypeAny, {
|
|
3724
|
+
family: string;
|
|
3725
|
+
}, {
|
|
3726
|
+
family: string;
|
|
3727
|
+
}>>;
|
|
3702
3728
|
}, "strip", z.ZodTypeAny, {
|
|
3703
3729
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
3704
3730
|
background?: string | undefined;
|
|
3731
|
+
fonts?: {
|
|
3732
|
+
family: string;
|
|
3733
|
+
} | undefined;
|
|
3705
3734
|
}, {
|
|
3706
3735
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
3707
3736
|
background?: string | undefined;
|
|
3737
|
+
fonts?: {
|
|
3738
|
+
family: string;
|
|
3739
|
+
} | undefined;
|
|
3708
3740
|
}>>;
|
|
3709
3741
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
3710
3742
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4112,6 +4144,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4112
4144
|
thumbnails?: {
|
|
4113
4145
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
4114
4146
|
background?: string | undefined;
|
|
4147
|
+
fonts?: {
|
|
4148
|
+
family: string;
|
|
4149
|
+
} | undefined;
|
|
4115
4150
|
} | undefined;
|
|
4116
4151
|
interaction?: {
|
|
4117
4152
|
drilldown?: boolean | undefined;
|
|
@@ -4514,6 +4549,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4514
4549
|
thumbnails?: {
|
|
4515
4550
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
4516
4551
|
background?: string | undefined;
|
|
4552
|
+
fonts?: {
|
|
4553
|
+
family: string;
|
|
4554
|
+
} | undefined;
|
|
4517
4555
|
} | undefined;
|
|
4518
4556
|
interaction?: {
|
|
4519
4557
|
drilldown?: boolean | undefined;
|
|
@@ -5957,12 +5995,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5957
5995
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
5958
5996
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
5959
5997
|
background: z.ZodOptional<z.ZodString>;
|
|
5998
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
5999
|
+
family: z.ZodString;
|
|
6000
|
+
}, "strip", z.ZodTypeAny, {
|
|
6001
|
+
family: string;
|
|
6002
|
+
}, {
|
|
6003
|
+
family: string;
|
|
6004
|
+
}>>;
|
|
5960
6005
|
}, "strip", z.ZodTypeAny, {
|
|
5961
6006
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
5962
6007
|
background?: string | undefined;
|
|
6008
|
+
fonts?: {
|
|
6009
|
+
family: string;
|
|
6010
|
+
} | undefined;
|
|
5963
6011
|
}, {
|
|
5964
6012
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
5965
6013
|
background?: string | undefined;
|
|
6014
|
+
fonts?: {
|
|
6015
|
+
family: string;
|
|
6016
|
+
} | undefined;
|
|
5966
6017
|
}>>;
|
|
5967
6018
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
5968
6019
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6370,6 +6421,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6370
6421
|
thumbnails?: {
|
|
6371
6422
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
6372
6423
|
background?: string | undefined;
|
|
6424
|
+
fonts?: {
|
|
6425
|
+
family: string;
|
|
6426
|
+
} | undefined;
|
|
6373
6427
|
} | undefined;
|
|
6374
6428
|
interaction?: {
|
|
6375
6429
|
drilldown?: boolean | undefined;
|
|
@@ -6772,6 +6826,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6772
6826
|
thumbnails?: {
|
|
6773
6827
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
6774
6828
|
background?: string | undefined;
|
|
6829
|
+
fonts?: {
|
|
6830
|
+
family: string;
|
|
6831
|
+
} | undefined;
|
|
6775
6832
|
} | undefined;
|
|
6776
6833
|
interaction?: {
|
|
6777
6834
|
drilldown?: boolean | undefined;
|
|
@@ -8215,12 +8272,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8215
8272
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
8216
8273
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
8217
8274
|
background: z.ZodOptional<z.ZodString>;
|
|
8275
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
8276
|
+
family: z.ZodString;
|
|
8277
|
+
}, "strip", z.ZodTypeAny, {
|
|
8278
|
+
family: string;
|
|
8279
|
+
}, {
|
|
8280
|
+
family: string;
|
|
8281
|
+
}>>;
|
|
8218
8282
|
}, "strip", z.ZodTypeAny, {
|
|
8219
8283
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
8220
8284
|
background?: string | undefined;
|
|
8285
|
+
fonts?: {
|
|
8286
|
+
family: string;
|
|
8287
|
+
} | undefined;
|
|
8221
8288
|
}, {
|
|
8222
8289
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
8223
8290
|
background?: string | undefined;
|
|
8291
|
+
fonts?: {
|
|
8292
|
+
family: string;
|
|
8293
|
+
} | undefined;
|
|
8224
8294
|
}>>;
|
|
8225
8295
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
8226
8296
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8628,6 +8698,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8628
8698
|
thumbnails?: {
|
|
8629
8699
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
8630
8700
|
background?: string | undefined;
|
|
8701
|
+
fonts?: {
|
|
8702
|
+
family: string;
|
|
8703
|
+
} | undefined;
|
|
8631
8704
|
} | undefined;
|
|
8632
8705
|
interaction?: {
|
|
8633
8706
|
drilldown?: boolean | undefined;
|
|
@@ -9030,6 +9103,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9030
9103
|
thumbnails?: {
|
|
9031
9104
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
9032
9105
|
background?: string | undefined;
|
|
9106
|
+
fonts?: {
|
|
9107
|
+
family: string;
|
|
9108
|
+
} | undefined;
|
|
9033
9109
|
} | undefined;
|
|
9034
9110
|
interaction?: {
|
|
9035
9111
|
drilldown?: boolean | undefined;
|
|
@@ -10473,12 +10549,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10473
10549
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
10474
10550
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
10475
10551
|
background: z.ZodOptional<z.ZodString>;
|
|
10552
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
10553
|
+
family: z.ZodString;
|
|
10554
|
+
}, "strip", z.ZodTypeAny, {
|
|
10555
|
+
family: string;
|
|
10556
|
+
}, {
|
|
10557
|
+
family: string;
|
|
10558
|
+
}>>;
|
|
10476
10559
|
}, "strip", z.ZodTypeAny, {
|
|
10477
10560
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
10478
10561
|
background?: string | undefined;
|
|
10562
|
+
fonts?: {
|
|
10563
|
+
family: string;
|
|
10564
|
+
} | undefined;
|
|
10479
10565
|
}, {
|
|
10480
10566
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
10481
10567
|
background?: string | undefined;
|
|
10568
|
+
fonts?: {
|
|
10569
|
+
family: string;
|
|
10570
|
+
} | undefined;
|
|
10482
10571
|
}>>;
|
|
10483
10572
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
10484
10573
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10886,6 +10975,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10886
10975
|
thumbnails?: {
|
|
10887
10976
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
10888
10977
|
background?: string | undefined;
|
|
10978
|
+
fonts?: {
|
|
10979
|
+
family: string;
|
|
10980
|
+
} | undefined;
|
|
10889
10981
|
} | undefined;
|
|
10890
10982
|
interaction?: {
|
|
10891
10983
|
drilldown?: boolean | undefined;
|
|
@@ -11288,6 +11380,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11288
11380
|
thumbnails?: {
|
|
11289
11381
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
11290
11382
|
background?: string | undefined;
|
|
11383
|
+
fonts?: {
|
|
11384
|
+
family: string;
|
|
11385
|
+
} | undefined;
|
|
11291
11386
|
} | undefined;
|
|
11292
11387
|
interaction?: {
|
|
11293
11388
|
drilldown?: boolean | undefined;
|
|
@@ -12731,12 +12826,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12731
12826
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
12732
12827
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
12733
12828
|
background: z.ZodOptional<z.ZodString>;
|
|
12829
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
12830
|
+
family: z.ZodString;
|
|
12831
|
+
}, "strip", z.ZodTypeAny, {
|
|
12832
|
+
family: string;
|
|
12833
|
+
}, {
|
|
12834
|
+
family: string;
|
|
12835
|
+
}>>;
|
|
12734
12836
|
}, "strip", z.ZodTypeAny, {
|
|
12735
12837
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
12736
12838
|
background?: string | undefined;
|
|
12839
|
+
fonts?: {
|
|
12840
|
+
family: string;
|
|
12841
|
+
} | undefined;
|
|
12737
12842
|
}, {
|
|
12738
12843
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
12739
12844
|
background?: string | undefined;
|
|
12845
|
+
fonts?: {
|
|
12846
|
+
family: string;
|
|
12847
|
+
} | undefined;
|
|
12740
12848
|
}>>;
|
|
12741
12849
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
12742
12850
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13144,6 +13252,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13144
13252
|
thumbnails?: {
|
|
13145
13253
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
13146
13254
|
background?: string | undefined;
|
|
13255
|
+
fonts?: {
|
|
13256
|
+
family: string;
|
|
13257
|
+
} | undefined;
|
|
13147
13258
|
} | undefined;
|
|
13148
13259
|
interaction?: {
|
|
13149
13260
|
drilldown?: boolean | undefined;
|
|
@@ -13546,6 +13657,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13546
13657
|
thumbnails?: {
|
|
13547
13658
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
13548
13659
|
background?: string | undefined;
|
|
13660
|
+
fonts?: {
|
|
13661
|
+
family: string;
|
|
13662
|
+
} | undefined;
|
|
13549
13663
|
} | undefined;
|
|
13550
13664
|
interaction?: {
|
|
13551
13665
|
drilldown?: boolean | undefined;
|
|
@@ -14989,12 +15103,25 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14989
15103
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
14990
15104
|
appearance: z.ZodOptional<z.ZodEnum<[import("./properties/thumbnails.js").ThumbnailAppearance.Light, import("./properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
14991
15105
|
background: z.ZodOptional<z.ZodString>;
|
|
15106
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
15107
|
+
family: z.ZodString;
|
|
15108
|
+
}, "strip", z.ZodTypeAny, {
|
|
15109
|
+
family: string;
|
|
15110
|
+
}, {
|
|
15111
|
+
family: string;
|
|
15112
|
+
}>>;
|
|
14992
15113
|
}, "strip", z.ZodTypeAny, {
|
|
14993
15114
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
14994
15115
|
background?: string | undefined;
|
|
15116
|
+
fonts?: {
|
|
15117
|
+
family: string;
|
|
15118
|
+
} | undefined;
|
|
14995
15119
|
}, {
|
|
14996
15120
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
14997
15121
|
background?: string | undefined;
|
|
15122
|
+
fonts?: {
|
|
15123
|
+
family: string;
|
|
15124
|
+
} | undefined;
|
|
14998
15125
|
}>>;
|
|
14999
15126
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
15000
15127
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15402,6 +15529,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15402
15529
|
thumbnails?: {
|
|
15403
15530
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
15404
15531
|
background?: string | undefined;
|
|
15532
|
+
fonts?: {
|
|
15533
|
+
family: string;
|
|
15534
|
+
} | undefined;
|
|
15405
15535
|
} | undefined;
|
|
15406
15536
|
interaction?: {
|
|
15407
15537
|
drilldown?: boolean | undefined;
|
|
@@ -15804,6 +15934,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15804
15934
|
thumbnails?: {
|
|
15805
15935
|
appearance?: import("./properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
15806
15936
|
background?: string | undefined;
|
|
15937
|
+
fonts?: {
|
|
15938
|
+
family: string;
|
|
15939
|
+
} | undefined;
|
|
15807
15940
|
} | undefined;
|
|
15808
15941
|
interaction?: {
|
|
15809
15942
|
drilldown?: boolean | undefined;
|
|
@@ -6,11 +6,24 @@ export declare enum ThumbnailAppearance {
|
|
|
6
6
|
export declare const thumbnailsSchema: z.ZodObject<{
|
|
7
7
|
appearance: z.ZodOptional<z.ZodEnum<[ThumbnailAppearance.Light, ThumbnailAppearance.Dark]>>;
|
|
8
8
|
background: z.ZodOptional<z.ZodString>;
|
|
9
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
family: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
family: string;
|
|
13
|
+
}, {
|
|
14
|
+
family: string;
|
|
15
|
+
}>>;
|
|
9
16
|
}, "strip", z.ZodTypeAny, {
|
|
10
17
|
appearance?: ThumbnailAppearance | undefined;
|
|
11
18
|
background?: string | undefined;
|
|
19
|
+
fonts?: {
|
|
20
|
+
family: string;
|
|
21
|
+
} | undefined;
|
|
12
22
|
}, {
|
|
13
23
|
appearance?: ThumbnailAppearance | undefined;
|
|
14
24
|
background?: string | undefined;
|
|
25
|
+
fonts?: {
|
|
26
|
+
family: string;
|
|
27
|
+
} | undefined;
|
|
15
28
|
}>;
|
|
16
29
|
export type ThumbnailsConfig = z.infer<typeof thumbnailsSchema>;
|
|
@@ -4,6 +4,11 @@ export var ThumbnailAppearance;
|
|
|
4
4
|
ThumbnailAppearance["Light"] = "light";
|
|
5
5
|
ThumbnailAppearance["Dark"] = "dark";
|
|
6
6
|
})(ThumbnailAppearance || (ThumbnailAppearance = {}));
|
|
7
|
+
const thumbnailFontSchema = z
|
|
8
|
+
.object({
|
|
9
|
+
family: z.string().describe('The font family, such as "Open Sans", "Playfair Display"'),
|
|
10
|
+
})
|
|
11
|
+
.describe('The font to be used for thumbnails. Only family name is supported for Google Fonts.');
|
|
7
12
|
export const thumbnailsSchema = z.object({
|
|
8
13
|
appearance: z
|
|
9
14
|
.enum([ThumbnailAppearance.Light, ThumbnailAppearance.Dark])
|
|
@@ -13,4 +18,5 @@ export const thumbnailsSchema = z.object({
|
|
|
13
18
|
.string()
|
|
14
19
|
.optional()
|
|
15
20
|
.describe('Background image for the thumbnail. Can be an absolute URL or relative path.'),
|
|
21
|
+
fonts: thumbnailFontSchema.optional(),
|
|
16
22
|
});
|
|
@@ -1438,12 +1438,25 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1438
1438
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1439
1439
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1440
1440
|
background: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
family: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
family: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
family: string;
|
|
1447
|
+
}>>;
|
|
1441
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1449
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1443
1450
|
background?: string | undefined;
|
|
1451
|
+
fonts?: {
|
|
1452
|
+
family: string;
|
|
1453
|
+
} | undefined;
|
|
1444
1454
|
}, {
|
|
1445
1455
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1456
|
background?: string | undefined;
|
|
1457
|
+
fonts?: {
|
|
1458
|
+
family: string;
|
|
1459
|
+
} | undefined;
|
|
1447
1460
|
}>>;
|
|
1448
1461
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1449
1462
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,6 +1864,9 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1851
1864
|
thumbnails?: {
|
|
1852
1865
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1853
1866
|
background?: string | undefined;
|
|
1867
|
+
fonts?: {
|
|
1868
|
+
family: string;
|
|
1869
|
+
} | undefined;
|
|
1854
1870
|
} | undefined;
|
|
1855
1871
|
interaction?: {
|
|
1856
1872
|
drilldown?: boolean | undefined;
|
|
@@ -2253,6 +2269,9 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2253
2269
|
thumbnails?: {
|
|
2254
2270
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2255
2271
|
background?: string | undefined;
|
|
2272
|
+
fonts?: {
|
|
2273
|
+
family: string;
|
|
2274
|
+
} | undefined;
|
|
2256
2275
|
} | undefined;
|
|
2257
2276
|
interaction?: {
|
|
2258
2277
|
drilldown?: boolean | undefined;
|
|
@@ -1438,12 +1438,25 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1438
1438
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1439
1439
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1440
1440
|
background: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
family: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
family: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
family: string;
|
|
1447
|
+
}>>;
|
|
1441
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1449
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1443
1450
|
background?: string | undefined;
|
|
1451
|
+
fonts?: {
|
|
1452
|
+
family: string;
|
|
1453
|
+
} | undefined;
|
|
1444
1454
|
}, {
|
|
1445
1455
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1456
|
background?: string | undefined;
|
|
1457
|
+
fonts?: {
|
|
1458
|
+
family: string;
|
|
1459
|
+
} | undefined;
|
|
1447
1460
|
}>>;
|
|
1448
1461
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1449
1462
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,6 +1864,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1851
1864
|
thumbnails?: {
|
|
1852
1865
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1853
1866
|
background?: string | undefined;
|
|
1867
|
+
fonts?: {
|
|
1868
|
+
family: string;
|
|
1869
|
+
} | undefined;
|
|
1854
1870
|
} | undefined;
|
|
1855
1871
|
interaction?: {
|
|
1856
1872
|
drilldown?: boolean | undefined;
|
|
@@ -2253,6 +2269,9 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2253
2269
|
thumbnails?: {
|
|
2254
2270
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2255
2271
|
background?: string | undefined;
|
|
2272
|
+
fonts?: {
|
|
2273
|
+
family: string;
|
|
2274
|
+
} | undefined;
|
|
2256
2275
|
} | undefined;
|
|
2257
2276
|
interaction?: {
|
|
2258
2277
|
drilldown?: boolean | undefined;
|
|
@@ -1438,12 +1438,25 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1438
1438
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1439
1439
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1440
1440
|
background: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
family: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
family: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
family: string;
|
|
1447
|
+
}>>;
|
|
1441
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1449
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1443
1450
|
background?: string | undefined;
|
|
1451
|
+
fonts?: {
|
|
1452
|
+
family: string;
|
|
1453
|
+
} | undefined;
|
|
1444
1454
|
}, {
|
|
1445
1455
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1456
|
background?: string | undefined;
|
|
1457
|
+
fonts?: {
|
|
1458
|
+
family: string;
|
|
1459
|
+
} | undefined;
|
|
1447
1460
|
}>>;
|
|
1448
1461
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1449
1462
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,6 +1864,9 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1851
1864
|
thumbnails?: {
|
|
1852
1865
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1853
1866
|
background?: string | undefined;
|
|
1867
|
+
fonts?: {
|
|
1868
|
+
family: string;
|
|
1869
|
+
} | undefined;
|
|
1854
1870
|
} | undefined;
|
|
1855
1871
|
interaction?: {
|
|
1856
1872
|
drilldown?: boolean | undefined;
|
|
@@ -2253,6 +2269,9 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2253
2269
|
thumbnails?: {
|
|
2254
2270
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2255
2271
|
background?: string | undefined;
|
|
2272
|
+
fonts?: {
|
|
2273
|
+
family: string;
|
|
2274
|
+
} | undefined;
|
|
2256
2275
|
} | undefined;
|
|
2257
2276
|
interaction?: {
|
|
2258
2277
|
drilldown?: boolean | undefined;
|
|
@@ -1438,12 +1438,25 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1438
1438
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1439
1439
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1440
1440
|
background: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
family: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
family: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
family: string;
|
|
1447
|
+
}>>;
|
|
1441
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1449
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1443
1450
|
background?: string | undefined;
|
|
1451
|
+
fonts?: {
|
|
1452
|
+
family: string;
|
|
1453
|
+
} | undefined;
|
|
1444
1454
|
}, {
|
|
1445
1455
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1456
|
background?: string | undefined;
|
|
1457
|
+
fonts?: {
|
|
1458
|
+
family: string;
|
|
1459
|
+
} | undefined;
|
|
1447
1460
|
}>>;
|
|
1448
1461
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1449
1462
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,6 +1864,9 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1851
1864
|
thumbnails?: {
|
|
1852
1865
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1853
1866
|
background?: string | undefined;
|
|
1867
|
+
fonts?: {
|
|
1868
|
+
family: string;
|
|
1869
|
+
} | undefined;
|
|
1854
1870
|
} | undefined;
|
|
1855
1871
|
interaction?: {
|
|
1856
1872
|
drilldown?: boolean | undefined;
|
|
@@ -2253,6 +2269,9 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
2253
2269
|
thumbnails?: {
|
|
2254
2270
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2255
2271
|
background?: string | undefined;
|
|
2272
|
+
fonts?: {
|
|
2273
|
+
family: string;
|
|
2274
|
+
} | undefined;
|
|
2256
2275
|
} | undefined;
|
|
2257
2276
|
interaction?: {
|
|
2258
2277
|
drilldown?: boolean | undefined;
|
|
@@ -1438,12 +1438,25 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1438
1438
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1439
1439
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1440
1440
|
background: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
family: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
family: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
family: string;
|
|
1447
|
+
}>>;
|
|
1441
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1449
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1443
1450
|
background?: string | undefined;
|
|
1451
|
+
fonts?: {
|
|
1452
|
+
family: string;
|
|
1453
|
+
} | undefined;
|
|
1444
1454
|
}, {
|
|
1445
1455
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1456
|
background?: string | undefined;
|
|
1457
|
+
fonts?: {
|
|
1458
|
+
family: string;
|
|
1459
|
+
} | undefined;
|
|
1447
1460
|
}>>;
|
|
1448
1461
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1449
1462
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,6 +1864,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1851
1864
|
thumbnails?: {
|
|
1852
1865
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1853
1866
|
background?: string | undefined;
|
|
1867
|
+
fonts?: {
|
|
1868
|
+
family: string;
|
|
1869
|
+
} | undefined;
|
|
1854
1870
|
} | undefined;
|
|
1855
1871
|
interaction?: {
|
|
1856
1872
|
drilldown?: boolean | undefined;
|
|
@@ -2253,6 +2269,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2253
2269
|
thumbnails?: {
|
|
2254
2270
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2255
2271
|
background?: string | undefined;
|
|
2272
|
+
fonts?: {
|
|
2273
|
+
family: string;
|
|
2274
|
+
} | undefined;
|
|
2256
2275
|
} | undefined;
|
|
2257
2276
|
interaction?: {
|
|
2258
2277
|
drilldown?: boolean | undefined;
|
|
@@ -1438,12 +1438,25 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1438
1438
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1439
1439
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1440
1440
|
background: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
1442
|
+
family: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
family: string;
|
|
1445
|
+
}, {
|
|
1446
|
+
family: string;
|
|
1447
|
+
}>>;
|
|
1441
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1449
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1443
1450
|
background?: string | undefined;
|
|
1451
|
+
fonts?: {
|
|
1452
|
+
family: string;
|
|
1453
|
+
} | undefined;
|
|
1444
1454
|
}, {
|
|
1445
1455
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1446
1456
|
background?: string | undefined;
|
|
1457
|
+
fonts?: {
|
|
1458
|
+
family: string;
|
|
1459
|
+
} | undefined;
|
|
1447
1460
|
}>>;
|
|
1448
1461
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
1449
1462
|
drilldown: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,6 +1864,9 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1851
1864
|
thumbnails?: {
|
|
1852
1865
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1853
1866
|
background?: string | undefined;
|
|
1867
|
+
fonts?: {
|
|
1868
|
+
family: string;
|
|
1869
|
+
} | undefined;
|
|
1854
1870
|
} | undefined;
|
|
1855
1871
|
interaction?: {
|
|
1856
1872
|
drilldown?: boolean | undefined;
|
|
@@ -2253,6 +2269,9 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
2253
2269
|
thumbnails?: {
|
|
2254
2270
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2255
2271
|
background?: string | undefined;
|
|
2272
|
+
fonts?: {
|
|
2273
|
+
family: string;
|
|
2274
|
+
} | undefined;
|
|
2256
2275
|
} | undefined;
|
|
2257
2276
|
interaction?: {
|
|
2258
2277
|
drilldown?: boolean | undefined;
|
|
@@ -1437,12 +1437,25 @@ export declare const standardConfigSchema: {
|
|
|
1437
1437
|
thumbnails: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1438
1438
|
appearance: import("zod").ZodOptional<import("zod").ZodEnum<[import("../../properties/thumbnails.js").ThumbnailAppearance.Light, import("../../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1439
1439
|
background: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1440
|
+
fonts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1441
|
+
family: import("zod").ZodString;
|
|
1442
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1443
|
+
family: string;
|
|
1444
|
+
}, {
|
|
1445
|
+
family: string;
|
|
1446
|
+
}>>;
|
|
1440
1447
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1441
1448
|
appearance?: import("../../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1442
1449
|
background?: string | undefined;
|
|
1450
|
+
fonts?: {
|
|
1451
|
+
family: string;
|
|
1452
|
+
} | undefined;
|
|
1443
1453
|
}, {
|
|
1444
1454
|
appearance?: import("../../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1445
1455
|
background?: string | undefined;
|
|
1456
|
+
fonts?: {
|
|
1457
|
+
family: string;
|
|
1458
|
+
} | undefined;
|
|
1446
1459
|
}>>;
|
|
1447
1460
|
interaction: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1448
1461
|
drilldown: import("zod").ZodOptional<import("zod").ZodBoolean>;
|