@mintlify/validation 0.1.645 → 0.1.647
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 +0 -260
- 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/integrations.d.ts +4 -22
- package/dist/mint-config/schemas/v2/properties/integrations.js +2 -2
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +0 -18
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +0 -26
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +0 -26
- package/dist/mint-config/validateConfig.d.ts +0 -72
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/deployment/index.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1164,16 +1164,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1164
1164
|
value?: string | undefined;
|
|
1165
1165
|
key?: string | undefined;
|
|
1166
1166
|
}>>;
|
|
1167
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1168
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1169
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1170
|
-
}, "strip", z.ZodTypeAny, {
|
|
1171
|
-
src: string;
|
|
1172
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
-
}, {
|
|
1174
|
-
src: string;
|
|
1175
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1176
|
-
}>, "many">>;
|
|
1177
1167
|
}, "strict", z.ZodTypeAny, {
|
|
1178
1168
|
adobe?: {
|
|
1179
1169
|
launchUrl: string;
|
|
@@ -1244,10 +1234,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1244
1234
|
value?: string | undefined;
|
|
1245
1235
|
key?: string | undefined;
|
|
1246
1236
|
} | undefined;
|
|
1247
|
-
customScripts?: {
|
|
1248
|
-
src: string;
|
|
1249
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1250
|
-
}[] | undefined;
|
|
1251
1237
|
}, {
|
|
1252
1238
|
adobe?: {
|
|
1253
1239
|
launchUrl: string;
|
|
@@ -1318,10 +1304,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1318
1304
|
value?: string | undefined;
|
|
1319
1305
|
key?: string | undefined;
|
|
1320
1306
|
} | undefined;
|
|
1321
|
-
customScripts?: {
|
|
1322
|
-
src: string;
|
|
1323
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1324
|
-
}[] | undefined;
|
|
1325
1307
|
}>>;
|
|
1326
1308
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1327
1309
|
content: z.ZodString;
|
|
@@ -1756,10 +1738,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1756
1738
|
value?: string | undefined;
|
|
1757
1739
|
key?: string | undefined;
|
|
1758
1740
|
} | undefined;
|
|
1759
|
-
customScripts?: {
|
|
1760
|
-
src: string;
|
|
1761
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1762
|
-
}[] | undefined;
|
|
1763
1741
|
} | undefined;
|
|
1764
1742
|
search?: {
|
|
1765
1743
|
prompt?: string | undefined;
|
|
@@ -2113,10 +2091,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2113
2091
|
value?: string | undefined;
|
|
2114
2092
|
key?: string | undefined;
|
|
2115
2093
|
} | undefined;
|
|
2116
|
-
customScripts?: {
|
|
2117
|
-
src: string;
|
|
2118
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2119
|
-
}[] | undefined;
|
|
2120
2094
|
} | undefined;
|
|
2121
2095
|
search?: {
|
|
2122
2096
|
prompt?: string | undefined;
|
|
@@ -3416,16 +3390,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3416
3390
|
value?: string | undefined;
|
|
3417
3391
|
key?: string | undefined;
|
|
3418
3392
|
}>>;
|
|
3419
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3420
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3421
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
3422
|
-
}, "strip", z.ZodTypeAny, {
|
|
3423
|
-
src: string;
|
|
3424
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
3425
|
-
}, {
|
|
3426
|
-
src: string;
|
|
3427
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
3428
|
-
}>, "many">>;
|
|
3429
3393
|
}, "strict", z.ZodTypeAny, {
|
|
3430
3394
|
adobe?: {
|
|
3431
3395
|
launchUrl: string;
|
|
@@ -3496,10 +3460,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3496
3460
|
value?: string | undefined;
|
|
3497
3461
|
key?: string | undefined;
|
|
3498
3462
|
} | undefined;
|
|
3499
|
-
customScripts?: {
|
|
3500
|
-
src: string;
|
|
3501
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
3502
|
-
}[] | undefined;
|
|
3503
3463
|
}, {
|
|
3504
3464
|
adobe?: {
|
|
3505
3465
|
launchUrl: string;
|
|
@@ -3570,10 +3530,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3570
3530
|
value?: string | undefined;
|
|
3571
3531
|
key?: string | undefined;
|
|
3572
3532
|
} | undefined;
|
|
3573
|
-
customScripts?: {
|
|
3574
|
-
src: string;
|
|
3575
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
3576
|
-
}[] | undefined;
|
|
3577
3533
|
}>>;
|
|
3578
3534
|
banner: z.ZodOptional<z.ZodObject<{
|
|
3579
3535
|
content: z.ZodString;
|
|
@@ -4008,10 +3964,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4008
3964
|
value?: string | undefined;
|
|
4009
3965
|
key?: string | undefined;
|
|
4010
3966
|
} | undefined;
|
|
4011
|
-
customScripts?: {
|
|
4012
|
-
src: string;
|
|
4013
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
4014
|
-
}[] | undefined;
|
|
4015
3967
|
} | undefined;
|
|
4016
3968
|
search?: {
|
|
4017
3969
|
prompt?: string | undefined;
|
|
@@ -4365,10 +4317,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4365
4317
|
value?: string | undefined;
|
|
4366
4318
|
key?: string | undefined;
|
|
4367
4319
|
} | undefined;
|
|
4368
|
-
customScripts?: {
|
|
4369
|
-
src: string;
|
|
4370
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
4371
|
-
}[] | undefined;
|
|
4372
4320
|
} | undefined;
|
|
4373
4321
|
search?: {
|
|
4374
4322
|
prompt?: string | undefined;
|
|
@@ -5668,16 +5616,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5668
5616
|
value?: string | undefined;
|
|
5669
5617
|
key?: string | undefined;
|
|
5670
5618
|
}>>;
|
|
5671
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5672
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5673
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
5674
|
-
}, "strip", z.ZodTypeAny, {
|
|
5675
|
-
src: string;
|
|
5676
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
5677
|
-
}, {
|
|
5678
|
-
src: string;
|
|
5679
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
5680
|
-
}>, "many">>;
|
|
5681
5619
|
}, "strict", z.ZodTypeAny, {
|
|
5682
5620
|
adobe?: {
|
|
5683
5621
|
launchUrl: string;
|
|
@@ -5748,10 +5686,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5748
5686
|
value?: string | undefined;
|
|
5749
5687
|
key?: string | undefined;
|
|
5750
5688
|
} | undefined;
|
|
5751
|
-
customScripts?: {
|
|
5752
|
-
src: string;
|
|
5753
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
5754
|
-
}[] | undefined;
|
|
5755
5689
|
}, {
|
|
5756
5690
|
adobe?: {
|
|
5757
5691
|
launchUrl: string;
|
|
@@ -5822,10 +5756,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5822
5756
|
value?: string | undefined;
|
|
5823
5757
|
key?: string | undefined;
|
|
5824
5758
|
} | undefined;
|
|
5825
|
-
customScripts?: {
|
|
5826
|
-
src: string;
|
|
5827
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
5828
|
-
}[] | undefined;
|
|
5829
5759
|
}>>;
|
|
5830
5760
|
banner: z.ZodOptional<z.ZodObject<{
|
|
5831
5761
|
content: z.ZodString;
|
|
@@ -6260,10 +6190,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6260
6190
|
value?: string | undefined;
|
|
6261
6191
|
key?: string | undefined;
|
|
6262
6192
|
} | undefined;
|
|
6263
|
-
customScripts?: {
|
|
6264
|
-
src: string;
|
|
6265
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
6266
|
-
}[] | undefined;
|
|
6267
6193
|
} | undefined;
|
|
6268
6194
|
search?: {
|
|
6269
6195
|
prompt?: string | undefined;
|
|
@@ -6617,10 +6543,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6617
6543
|
value?: string | undefined;
|
|
6618
6544
|
key?: string | undefined;
|
|
6619
6545
|
} | undefined;
|
|
6620
|
-
customScripts?: {
|
|
6621
|
-
src: string;
|
|
6622
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
6623
|
-
}[] | undefined;
|
|
6624
6546
|
} | undefined;
|
|
6625
6547
|
search?: {
|
|
6626
6548
|
prompt?: string | undefined;
|
|
@@ -7920,16 +7842,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
7920
7842
|
value?: string | undefined;
|
|
7921
7843
|
key?: string | undefined;
|
|
7922
7844
|
}>>;
|
|
7923
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7924
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
7925
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
7926
|
-
}, "strip", z.ZodTypeAny, {
|
|
7927
|
-
src: string;
|
|
7928
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
7929
|
-
}, {
|
|
7930
|
-
src: string;
|
|
7931
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
7932
|
-
}>, "many">>;
|
|
7933
7845
|
}, "strict", z.ZodTypeAny, {
|
|
7934
7846
|
adobe?: {
|
|
7935
7847
|
launchUrl: string;
|
|
@@ -8000,10 +7912,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8000
7912
|
value?: string | undefined;
|
|
8001
7913
|
key?: string | undefined;
|
|
8002
7914
|
} | undefined;
|
|
8003
|
-
customScripts?: {
|
|
8004
|
-
src: string;
|
|
8005
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8006
|
-
}[] | undefined;
|
|
8007
7915
|
}, {
|
|
8008
7916
|
adobe?: {
|
|
8009
7917
|
launchUrl: string;
|
|
@@ -8074,10 +7982,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8074
7982
|
value?: string | undefined;
|
|
8075
7983
|
key?: string | undefined;
|
|
8076
7984
|
} | undefined;
|
|
8077
|
-
customScripts?: {
|
|
8078
|
-
src: string;
|
|
8079
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8080
|
-
}[] | undefined;
|
|
8081
7985
|
}>>;
|
|
8082
7986
|
banner: z.ZodOptional<z.ZodObject<{
|
|
8083
7987
|
content: z.ZodString;
|
|
@@ -8512,10 +8416,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8512
8416
|
value?: string | undefined;
|
|
8513
8417
|
key?: string | undefined;
|
|
8514
8418
|
} | undefined;
|
|
8515
|
-
customScripts?: {
|
|
8516
|
-
src: string;
|
|
8517
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8518
|
-
}[] | undefined;
|
|
8519
8419
|
} | undefined;
|
|
8520
8420
|
search?: {
|
|
8521
8421
|
prompt?: string | undefined;
|
|
@@ -8869,10 +8769,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8869
8769
|
value?: string | undefined;
|
|
8870
8770
|
key?: string | undefined;
|
|
8871
8771
|
} | undefined;
|
|
8872
|
-
customScripts?: {
|
|
8873
|
-
src: string;
|
|
8874
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8875
|
-
}[] | undefined;
|
|
8876
8772
|
} | undefined;
|
|
8877
8773
|
search?: {
|
|
8878
8774
|
prompt?: string | undefined;
|
|
@@ -10172,16 +10068,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10172
10068
|
value?: string | undefined;
|
|
10173
10069
|
key?: string | undefined;
|
|
10174
10070
|
}>>;
|
|
10175
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10176
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
10177
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
10178
|
-
}, "strip", z.ZodTypeAny, {
|
|
10179
|
-
src: string;
|
|
10180
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10181
|
-
}, {
|
|
10182
|
-
src: string;
|
|
10183
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10184
|
-
}>, "many">>;
|
|
10185
10071
|
}, "strict", z.ZodTypeAny, {
|
|
10186
10072
|
adobe?: {
|
|
10187
10073
|
launchUrl: string;
|
|
@@ -10252,10 +10138,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10252
10138
|
value?: string | undefined;
|
|
10253
10139
|
key?: string | undefined;
|
|
10254
10140
|
} | undefined;
|
|
10255
|
-
customScripts?: {
|
|
10256
|
-
src: string;
|
|
10257
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10258
|
-
}[] | undefined;
|
|
10259
10141
|
}, {
|
|
10260
10142
|
adobe?: {
|
|
10261
10143
|
launchUrl: string;
|
|
@@ -10326,10 +10208,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10326
10208
|
value?: string | undefined;
|
|
10327
10209
|
key?: string | undefined;
|
|
10328
10210
|
} | undefined;
|
|
10329
|
-
customScripts?: {
|
|
10330
|
-
src: string;
|
|
10331
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10332
|
-
}[] | undefined;
|
|
10333
10211
|
}>>;
|
|
10334
10212
|
banner: z.ZodOptional<z.ZodObject<{
|
|
10335
10213
|
content: z.ZodString;
|
|
@@ -10764,10 +10642,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10764
10642
|
value?: string | undefined;
|
|
10765
10643
|
key?: string | undefined;
|
|
10766
10644
|
} | undefined;
|
|
10767
|
-
customScripts?: {
|
|
10768
|
-
src: string;
|
|
10769
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10770
|
-
}[] | undefined;
|
|
10771
10645
|
} | undefined;
|
|
10772
10646
|
search?: {
|
|
10773
10647
|
prompt?: string | undefined;
|
|
@@ -11121,10 +10995,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11121
10995
|
value?: string | undefined;
|
|
11122
10996
|
key?: string | undefined;
|
|
11123
10997
|
} | undefined;
|
|
11124
|
-
customScripts?: {
|
|
11125
|
-
src: string;
|
|
11126
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
11127
|
-
}[] | undefined;
|
|
11128
10998
|
} | undefined;
|
|
11129
10999
|
search?: {
|
|
11130
11000
|
prompt?: string | undefined;
|
|
@@ -12424,16 +12294,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12424
12294
|
value?: string | undefined;
|
|
12425
12295
|
key?: string | undefined;
|
|
12426
12296
|
}>>;
|
|
12427
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12428
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
12429
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
12430
|
-
}, "strip", z.ZodTypeAny, {
|
|
12431
|
-
src: string;
|
|
12432
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
12433
|
-
}, {
|
|
12434
|
-
src: string;
|
|
12435
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
12436
|
-
}>, "many">>;
|
|
12437
12297
|
}, "strict", z.ZodTypeAny, {
|
|
12438
12298
|
adobe?: {
|
|
12439
12299
|
launchUrl: string;
|
|
@@ -12504,10 +12364,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12504
12364
|
value?: string | undefined;
|
|
12505
12365
|
key?: string | undefined;
|
|
12506
12366
|
} | undefined;
|
|
12507
|
-
customScripts?: {
|
|
12508
|
-
src: string;
|
|
12509
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
12510
|
-
}[] | undefined;
|
|
12511
12367
|
}, {
|
|
12512
12368
|
adobe?: {
|
|
12513
12369
|
launchUrl: string;
|
|
@@ -12578,10 +12434,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12578
12434
|
value?: string | undefined;
|
|
12579
12435
|
key?: string | undefined;
|
|
12580
12436
|
} | undefined;
|
|
12581
|
-
customScripts?: {
|
|
12582
|
-
src: string;
|
|
12583
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
12584
|
-
}[] | undefined;
|
|
12585
12437
|
}>>;
|
|
12586
12438
|
banner: z.ZodOptional<z.ZodObject<{
|
|
12587
12439
|
content: z.ZodString;
|
|
@@ -13016,10 +12868,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13016
12868
|
value?: string | undefined;
|
|
13017
12869
|
key?: string | undefined;
|
|
13018
12870
|
} | undefined;
|
|
13019
|
-
customScripts?: {
|
|
13020
|
-
src: string;
|
|
13021
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
13022
|
-
}[] | undefined;
|
|
13023
12871
|
} | undefined;
|
|
13024
12872
|
search?: {
|
|
13025
12873
|
prompt?: string | undefined;
|
|
@@ -13373,10 +13221,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13373
13221
|
value?: string | undefined;
|
|
13374
13222
|
key?: string | undefined;
|
|
13375
13223
|
} | undefined;
|
|
13376
|
-
customScripts?: {
|
|
13377
|
-
src: string;
|
|
13378
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
13379
|
-
}[] | undefined;
|
|
13380
13224
|
} | undefined;
|
|
13381
13225
|
search?: {
|
|
13382
13226
|
prompt?: string | undefined;
|
|
@@ -14676,16 +14520,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14676
14520
|
value?: string | undefined;
|
|
14677
14521
|
key?: string | undefined;
|
|
14678
14522
|
}>>;
|
|
14679
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14680
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
14681
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
14682
|
-
}, "strip", z.ZodTypeAny, {
|
|
14683
|
-
src: string;
|
|
14684
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
14685
|
-
}, {
|
|
14686
|
-
src: string;
|
|
14687
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
14688
|
-
}>, "many">>;
|
|
14689
14523
|
}, "strict", z.ZodTypeAny, {
|
|
14690
14524
|
adobe?: {
|
|
14691
14525
|
launchUrl: string;
|
|
@@ -14756,10 +14590,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14756
14590
|
value?: string | undefined;
|
|
14757
14591
|
key?: string | undefined;
|
|
14758
14592
|
} | undefined;
|
|
14759
|
-
customScripts?: {
|
|
14760
|
-
src: string;
|
|
14761
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
14762
|
-
}[] | undefined;
|
|
14763
14593
|
}, {
|
|
14764
14594
|
adobe?: {
|
|
14765
14595
|
launchUrl: string;
|
|
@@ -14830,10 +14660,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14830
14660
|
value?: string | undefined;
|
|
14831
14661
|
key?: string | undefined;
|
|
14832
14662
|
} | undefined;
|
|
14833
|
-
customScripts?: {
|
|
14834
|
-
src: string;
|
|
14835
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
14836
|
-
}[] | undefined;
|
|
14837
14663
|
}>>;
|
|
14838
14664
|
banner: z.ZodOptional<z.ZodObject<{
|
|
14839
14665
|
content: z.ZodString;
|
|
@@ -15268,10 +15094,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15268
15094
|
value?: string | undefined;
|
|
15269
15095
|
key?: string | undefined;
|
|
15270
15096
|
} | undefined;
|
|
15271
|
-
customScripts?: {
|
|
15272
|
-
src: string;
|
|
15273
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
15274
|
-
}[] | undefined;
|
|
15275
15097
|
} | undefined;
|
|
15276
15098
|
search?: {
|
|
15277
15099
|
prompt?: string | undefined;
|
|
@@ -15625,10 +15447,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15625
15447
|
value?: string | undefined;
|
|
15626
15448
|
key?: string | undefined;
|
|
15627
15449
|
} | undefined;
|
|
15628
|
-
customScripts?: {
|
|
15629
|
-
src: string;
|
|
15630
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
15631
|
-
}[] | undefined;
|
|
15632
15450
|
} | undefined;
|
|
15633
15451
|
search?: {
|
|
15634
15452
|
prompt?: string | undefined;
|
|
@@ -16928,16 +16746,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
16928
16746
|
value?: string | undefined;
|
|
16929
16747
|
key?: string | undefined;
|
|
16930
16748
|
}>>;
|
|
16931
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16932
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
16933
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
16934
|
-
}, "strip", z.ZodTypeAny, {
|
|
16935
|
-
src: string;
|
|
16936
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
16937
|
-
}, {
|
|
16938
|
-
src: string;
|
|
16939
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
16940
|
-
}>, "many">>;
|
|
16941
16749
|
}, "strict", z.ZodTypeAny, {
|
|
16942
16750
|
adobe?: {
|
|
16943
16751
|
launchUrl: string;
|
|
@@ -17008,10 +16816,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17008
16816
|
value?: string | undefined;
|
|
17009
16817
|
key?: string | undefined;
|
|
17010
16818
|
} | undefined;
|
|
17011
|
-
customScripts?: {
|
|
17012
|
-
src: string;
|
|
17013
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17014
|
-
}[] | undefined;
|
|
17015
16819
|
}, {
|
|
17016
16820
|
adobe?: {
|
|
17017
16821
|
launchUrl: string;
|
|
@@ -17082,10 +16886,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17082
16886
|
value?: string | undefined;
|
|
17083
16887
|
key?: string | undefined;
|
|
17084
16888
|
} | undefined;
|
|
17085
|
-
customScripts?: {
|
|
17086
|
-
src: string;
|
|
17087
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17088
|
-
}[] | undefined;
|
|
17089
16889
|
}>>;
|
|
17090
16890
|
banner: z.ZodOptional<z.ZodObject<{
|
|
17091
16891
|
content: z.ZodString;
|
|
@@ -17520,10 +17320,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17520
17320
|
value?: string | undefined;
|
|
17521
17321
|
key?: string | undefined;
|
|
17522
17322
|
} | undefined;
|
|
17523
|
-
customScripts?: {
|
|
17524
|
-
src: string;
|
|
17525
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17526
|
-
}[] | undefined;
|
|
17527
17323
|
} | undefined;
|
|
17528
17324
|
search?: {
|
|
17529
17325
|
prompt?: string | undefined;
|
|
@@ -17877,10 +17673,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17877
17673
|
value?: string | undefined;
|
|
17878
17674
|
key?: string | undefined;
|
|
17879
17675
|
} | undefined;
|
|
17880
|
-
customScripts?: {
|
|
17881
|
-
src: string;
|
|
17882
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17883
|
-
}[] | undefined;
|
|
17884
17676
|
} | undefined;
|
|
17885
17677
|
search?: {
|
|
17886
17678
|
prompt?: string | undefined;
|
|
@@ -19180,16 +18972,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19180
18972
|
value?: string | undefined;
|
|
19181
18973
|
key?: string | undefined;
|
|
19182
18974
|
}>>;
|
|
19183
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19184
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
19185
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
19186
|
-
}, "strip", z.ZodTypeAny, {
|
|
19187
|
-
src: string;
|
|
19188
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19189
|
-
}, {
|
|
19190
|
-
src: string;
|
|
19191
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19192
|
-
}>, "many">>;
|
|
19193
18975
|
}, "strict", z.ZodTypeAny, {
|
|
19194
18976
|
adobe?: {
|
|
19195
18977
|
launchUrl: string;
|
|
@@ -19260,10 +19042,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19260
19042
|
value?: string | undefined;
|
|
19261
19043
|
key?: string | undefined;
|
|
19262
19044
|
} | undefined;
|
|
19263
|
-
customScripts?: {
|
|
19264
|
-
src: string;
|
|
19265
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19266
|
-
}[] | undefined;
|
|
19267
19045
|
}, {
|
|
19268
19046
|
adobe?: {
|
|
19269
19047
|
launchUrl: string;
|
|
@@ -19334,10 +19112,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19334
19112
|
value?: string | undefined;
|
|
19335
19113
|
key?: string | undefined;
|
|
19336
19114
|
} | undefined;
|
|
19337
|
-
customScripts?: {
|
|
19338
|
-
src: string;
|
|
19339
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19340
|
-
}[] | undefined;
|
|
19341
19115
|
}>>;
|
|
19342
19116
|
banner: z.ZodOptional<z.ZodObject<{
|
|
19343
19117
|
content: z.ZodString;
|
|
@@ -19772,10 +19546,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19772
19546
|
value?: string | undefined;
|
|
19773
19547
|
key?: string | undefined;
|
|
19774
19548
|
} | undefined;
|
|
19775
|
-
customScripts?: {
|
|
19776
|
-
src: string;
|
|
19777
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19778
|
-
}[] | undefined;
|
|
19779
19549
|
} | undefined;
|
|
19780
19550
|
search?: {
|
|
19781
19551
|
prompt?: string | undefined;
|
|
@@ -20129,10 +19899,6 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
20129
19899
|
value?: string | undefined;
|
|
20130
19900
|
key?: string | undefined;
|
|
20131
19901
|
} | undefined;
|
|
20132
|
-
customScripts?: {
|
|
20133
|
-
src: string;
|
|
20134
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
20135
|
-
}[] | undefined;
|
|
20136
19902
|
} | undefined;
|
|
20137
19903
|
search?: {
|
|
20138
19904
|
prompt?: string | undefined;
|
|
@@ -21433,16 +21199,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21433
21199
|
value?: string | undefined;
|
|
21434
21200
|
key?: string | undefined;
|
|
21435
21201
|
}>>;
|
|
21436
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21437
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
21438
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
21439
|
-
}, "strip", z.ZodTypeAny, {
|
|
21440
|
-
src: string;
|
|
21441
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
21442
|
-
}, {
|
|
21443
|
-
src: string;
|
|
21444
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
21445
|
-
}>, "many">>;
|
|
21446
21202
|
}, "strict", z.ZodTypeAny, {
|
|
21447
21203
|
adobe?: {
|
|
21448
21204
|
launchUrl: string;
|
|
@@ -21513,10 +21269,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21513
21269
|
value?: string | undefined;
|
|
21514
21270
|
key?: string | undefined;
|
|
21515
21271
|
} | undefined;
|
|
21516
|
-
customScripts?: {
|
|
21517
|
-
src: string;
|
|
21518
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
21519
|
-
}[] | undefined;
|
|
21520
21272
|
}, {
|
|
21521
21273
|
adobe?: {
|
|
21522
21274
|
launchUrl: string;
|
|
@@ -21587,10 +21339,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21587
21339
|
value?: string | undefined;
|
|
21588
21340
|
key?: string | undefined;
|
|
21589
21341
|
} | undefined;
|
|
21590
|
-
customScripts?: {
|
|
21591
|
-
src: string;
|
|
21592
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
21593
|
-
}[] | undefined;
|
|
21594
21342
|
}>>;
|
|
21595
21343
|
banner: z.ZodOptional<z.ZodObject<{
|
|
21596
21344
|
content: z.ZodString;
|
|
@@ -22025,10 +21773,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
22025
21773
|
value?: string | undefined;
|
|
22026
21774
|
key?: string | undefined;
|
|
22027
21775
|
} | undefined;
|
|
22028
|
-
customScripts?: {
|
|
22029
|
-
src: string;
|
|
22030
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
22031
|
-
}[] | undefined;
|
|
22032
21776
|
} | undefined;
|
|
22033
21777
|
search?: {
|
|
22034
21778
|
prompt?: string | undefined;
|
|
@@ -22382,10 +22126,6 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
22382
22126
|
value?: string | undefined;
|
|
22383
22127
|
key?: string | undefined;
|
|
22384
22128
|
} | undefined;
|
|
22385
|
-
customScripts?: {
|
|
22386
|
-
src: string;
|
|
22387
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
22388
|
-
}[] | undefined;
|
|
22389
22129
|
} | undefined;
|
|
22390
22130
|
search?: {
|
|
22391
22131
|
prompt?: string | undefined;
|
|
@@ -13,5 +13,6 @@ export * from './navigation/products.js';
|
|
|
13
13
|
export * from './redirects.js';
|
|
14
14
|
export * from './reusable/index.js';
|
|
15
15
|
export * from './contextual.js';
|
|
16
|
+
export { customScriptSchema, type CustomScript } from './integrations.js';
|
|
16
17
|
export * from './thumbnails.js';
|
|
17
18
|
export * from './metadata.js';
|
|
@@ -13,5 +13,6 @@ export * from './navigation/products.js';
|
|
|
13
13
|
export * from './redirects.js';
|
|
14
14
|
export * from './reusable/index.js';
|
|
15
15
|
export * from './contextual.js';
|
|
16
|
+
export { customScriptSchema } from './integrations.js';
|
|
16
17
|
export * from './thumbnails.js';
|
|
17
18
|
export * from './metadata.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const customScriptSchema: z.ZodObject<{
|
|
3
3
|
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
4
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
4
|
+
strategy: z.ZodOptional<z.ZodEnum<["beforeInteractive", "afterInteractive", "lazyOnload"]>>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
6
|
src: string;
|
|
7
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
7
|
+
strategy?: "beforeInteractive" | "afterInteractive" | "lazyOnload" | undefined;
|
|
8
8
|
}, {
|
|
9
9
|
src: string;
|
|
10
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10
|
+
strategy?: "beforeInteractive" | "afterInteractive" | "lazyOnload" | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export declare const integrationsSchema: z.ZodObject<{
|
|
13
13
|
adobe: z.ZodOptional<z.ZodObject<{
|
|
@@ -175,16 +175,6 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
175
175
|
value?: string | undefined;
|
|
176
176
|
key?: string | undefined;
|
|
177
177
|
}>>;
|
|
178
|
-
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
179
|
-
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
180
|
-
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
181
|
-
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
src: string;
|
|
183
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
src: string;
|
|
186
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
187
|
-
}>, "many">>;
|
|
188
178
|
}, "strict", z.ZodTypeAny, {
|
|
189
179
|
adobe?: {
|
|
190
180
|
launchUrl: string;
|
|
@@ -255,10 +245,6 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
255
245
|
value?: string | undefined;
|
|
256
246
|
key?: string | undefined;
|
|
257
247
|
} | undefined;
|
|
258
|
-
customScripts?: {
|
|
259
|
-
src: string;
|
|
260
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
261
|
-
}[] | undefined;
|
|
262
248
|
}, {
|
|
263
249
|
adobe?: {
|
|
264
250
|
launchUrl: string;
|
|
@@ -329,10 +315,6 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
329
315
|
value?: string | undefined;
|
|
330
316
|
key?: string | undefined;
|
|
331
317
|
} | undefined;
|
|
332
|
-
customScripts?: {
|
|
333
|
-
src: string;
|
|
334
|
-
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
335
|
-
}[] | undefined;
|
|
336
318
|
}>;
|
|
319
|
+
export { customScriptSchema };
|
|
337
320
|
export type CustomScript = z.infer<typeof customScriptSchema>;
|
|
338
|
-
export {};
|
|
@@ -89,7 +89,7 @@ const customScriptSchema = z.object({
|
|
|
89
89
|
return false;
|
|
90
90
|
}
|
|
91
91
|
}, 'URL must not point to a disallowed file type (e.g. .svg, .exe, .zip)'),
|
|
92
|
-
strategy: z.enum(['afterInteractive', 'lazyOnload']).optional(),
|
|
92
|
+
strategy: z.enum(['beforeInteractive', 'afterInteractive', 'lazyOnload']).optional(),
|
|
93
93
|
});
|
|
94
94
|
export const integrationsSchema = z
|
|
95
95
|
.object({
|
|
@@ -114,7 +114,7 @@ export const integrationsSchema = z
|
|
|
114
114
|
segment: segmentConfigSchema.optional(),
|
|
115
115
|
telemetry: telemetrySchema.optional(),
|
|
116
116
|
cookies: cookieConsentSchema.optional(),
|
|
117
|
-
customScripts: z.array(customScriptSchema).max(20).optional(),
|
|
118
117
|
})
|
|
119
118
|
.strict()
|
|
120
119
|
.describe('Configurations for official integrations');
|
|
120
|
+
export { customScriptSchema };
|