@mintlify/validation 0.1.642 → 0.1.644
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/editor-navigation/conversion/tree-to-docsjson.js +11 -2
- package/dist/mint-config/schemas/v2/index.d.ts +260 -0
- package/dist/mint-config/schemas/v2/properties/integrations.d.ts +30 -0
- package/dist/mint-config/schemas/v2/properties/integrations.js +19 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +18 -0
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +26 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +26 -0
- package/dist/mint-config/validateConfig.d.ts +72 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/deployment/deploymentEntitlements.d.ts +1 -1
- package/dist/types/deployment/deploymentEntitlements.js +1 -0
- package/package.json +2 -2
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { isGlobalNode } from '../schema.js';
|
|
2
2
|
import { buildChildrenMap, mapNodesOfType, assignIfPresent, TAB_NODE_DATA_FIELDS, ANCHOR_NODE_DATA_FIELDS, LANGUAGE_NODE_DATA_FIELDS, VERSION_NODE_DATA_FIELDS, DROPDOWN_NODE_DATA_FIELDS, PRODUCT_NODE_DATA_FIELDS, GROUP_NODE_DATA_FIELDS, MENU_ITEM_NODE_DATA_FIELDS, } from './common.js';
|
|
3
|
+
function getGroupPagesChildren(node, childrenMap) {
|
|
4
|
+
const children = childrenMap.get(node.id) || [];
|
|
5
|
+
if (node.type !== 'group')
|
|
6
|
+
return children;
|
|
7
|
+
const rootHref = node.data.root;
|
|
8
|
+
if (!rootHref)
|
|
9
|
+
return children;
|
|
10
|
+
return children.filter((child) => !(child.type === 'page' && child.data.href === rootHref));
|
|
11
|
+
}
|
|
3
12
|
function nodesToPages(nodes, childrenMap) {
|
|
4
13
|
return nodes.map((node) => {
|
|
5
14
|
if (node.type === 'group') {
|
|
6
|
-
const groupChildren =
|
|
15
|
+
const groupChildren = getGroupPagesChildren(node, childrenMap);
|
|
7
16
|
const baseConfig = { group: node.data.group };
|
|
8
17
|
assignIfPresent(baseConfig, node.data, GROUP_NODE_DATA_FIELDS);
|
|
9
18
|
if ((node.data.openapi !== undefined || node.data.asyncapi !== undefined) &&
|
|
@@ -21,7 +30,7 @@ function nodesToPages(nodes, childrenMap) {
|
|
|
21
30
|
}
|
|
22
31
|
function nodesToGroups(nodes, childrenMap) {
|
|
23
32
|
return mapNodesOfType(nodes, 'group', childrenMap, (node, map) => {
|
|
24
|
-
const groupChildren =
|
|
33
|
+
const groupChildren = getGroupPagesChildren(node, map);
|
|
25
34
|
const baseConfig = { group: node.data.group };
|
|
26
35
|
assignIfPresent(baseConfig, node.data, GROUP_NODE_DATA_FIELDS);
|
|
27
36
|
if ((node.data.openapi !== undefined || node.data.asyncapi !== undefined) &&
|
|
@@ -1164,6 +1164,16 @@ 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">>;
|
|
1167
1177
|
}, "strict", z.ZodTypeAny, {
|
|
1168
1178
|
adobe?: {
|
|
1169
1179
|
launchUrl: string;
|
|
@@ -1234,6 +1244,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1234
1244
|
value?: string | undefined;
|
|
1235
1245
|
key?: string | undefined;
|
|
1236
1246
|
} | undefined;
|
|
1247
|
+
customScripts?: {
|
|
1248
|
+
src: string;
|
|
1249
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1250
|
+
}[] | undefined;
|
|
1237
1251
|
}, {
|
|
1238
1252
|
adobe?: {
|
|
1239
1253
|
launchUrl: string;
|
|
@@ -1304,6 +1318,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1304
1318
|
value?: string | undefined;
|
|
1305
1319
|
key?: string | undefined;
|
|
1306
1320
|
} | undefined;
|
|
1321
|
+
customScripts?: {
|
|
1322
|
+
src: string;
|
|
1323
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1324
|
+
}[] | undefined;
|
|
1307
1325
|
}>>;
|
|
1308
1326
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1309
1327
|
content: z.ZodString;
|
|
@@ -1738,6 +1756,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1738
1756
|
value?: string | undefined;
|
|
1739
1757
|
key?: string | undefined;
|
|
1740
1758
|
} | undefined;
|
|
1759
|
+
customScripts?: {
|
|
1760
|
+
src: string;
|
|
1761
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1762
|
+
}[] | undefined;
|
|
1741
1763
|
} | undefined;
|
|
1742
1764
|
search?: {
|
|
1743
1765
|
prompt?: string | undefined;
|
|
@@ -2091,6 +2113,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2091
2113
|
value?: string | undefined;
|
|
2092
2114
|
key?: string | undefined;
|
|
2093
2115
|
} | undefined;
|
|
2116
|
+
customScripts?: {
|
|
2117
|
+
src: string;
|
|
2118
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2119
|
+
}[] | undefined;
|
|
2094
2120
|
} | undefined;
|
|
2095
2121
|
search?: {
|
|
2096
2122
|
prompt?: string | undefined;
|
|
@@ -3390,6 +3416,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3390
3416
|
value?: string | undefined;
|
|
3391
3417
|
key?: string | undefined;
|
|
3392
3418
|
}>>;
|
|
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">>;
|
|
3393
3429
|
}, "strict", z.ZodTypeAny, {
|
|
3394
3430
|
adobe?: {
|
|
3395
3431
|
launchUrl: string;
|
|
@@ -3460,6 +3496,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3460
3496
|
value?: string | undefined;
|
|
3461
3497
|
key?: string | undefined;
|
|
3462
3498
|
} | undefined;
|
|
3499
|
+
customScripts?: {
|
|
3500
|
+
src: string;
|
|
3501
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
3502
|
+
}[] | undefined;
|
|
3463
3503
|
}, {
|
|
3464
3504
|
adobe?: {
|
|
3465
3505
|
launchUrl: string;
|
|
@@ -3530,6 +3570,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3530
3570
|
value?: string | undefined;
|
|
3531
3571
|
key?: string | undefined;
|
|
3532
3572
|
} | undefined;
|
|
3573
|
+
customScripts?: {
|
|
3574
|
+
src: string;
|
|
3575
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
3576
|
+
}[] | undefined;
|
|
3533
3577
|
}>>;
|
|
3534
3578
|
banner: z.ZodOptional<z.ZodObject<{
|
|
3535
3579
|
content: z.ZodString;
|
|
@@ -3964,6 +4008,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3964
4008
|
value?: string | undefined;
|
|
3965
4009
|
key?: string | undefined;
|
|
3966
4010
|
} | undefined;
|
|
4011
|
+
customScripts?: {
|
|
4012
|
+
src: string;
|
|
4013
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
4014
|
+
}[] | undefined;
|
|
3967
4015
|
} | undefined;
|
|
3968
4016
|
search?: {
|
|
3969
4017
|
prompt?: string | undefined;
|
|
@@ -4317,6 +4365,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4317
4365
|
value?: string | undefined;
|
|
4318
4366
|
key?: string | undefined;
|
|
4319
4367
|
} | undefined;
|
|
4368
|
+
customScripts?: {
|
|
4369
|
+
src: string;
|
|
4370
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
4371
|
+
}[] | undefined;
|
|
4320
4372
|
} | undefined;
|
|
4321
4373
|
search?: {
|
|
4322
4374
|
prompt?: string | undefined;
|
|
@@ -5616,6 +5668,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5616
5668
|
value?: string | undefined;
|
|
5617
5669
|
key?: string | undefined;
|
|
5618
5670
|
}>>;
|
|
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">>;
|
|
5619
5681
|
}, "strict", z.ZodTypeAny, {
|
|
5620
5682
|
adobe?: {
|
|
5621
5683
|
launchUrl: string;
|
|
@@ -5686,6 +5748,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5686
5748
|
value?: string | undefined;
|
|
5687
5749
|
key?: string | undefined;
|
|
5688
5750
|
} | undefined;
|
|
5751
|
+
customScripts?: {
|
|
5752
|
+
src: string;
|
|
5753
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
5754
|
+
}[] | undefined;
|
|
5689
5755
|
}, {
|
|
5690
5756
|
adobe?: {
|
|
5691
5757
|
launchUrl: string;
|
|
@@ -5756,6 +5822,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5756
5822
|
value?: string | undefined;
|
|
5757
5823
|
key?: string | undefined;
|
|
5758
5824
|
} | undefined;
|
|
5825
|
+
customScripts?: {
|
|
5826
|
+
src: string;
|
|
5827
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
5828
|
+
}[] | undefined;
|
|
5759
5829
|
}>>;
|
|
5760
5830
|
banner: z.ZodOptional<z.ZodObject<{
|
|
5761
5831
|
content: z.ZodString;
|
|
@@ -6190,6 +6260,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6190
6260
|
value?: string | undefined;
|
|
6191
6261
|
key?: string | undefined;
|
|
6192
6262
|
} | undefined;
|
|
6263
|
+
customScripts?: {
|
|
6264
|
+
src: string;
|
|
6265
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
6266
|
+
}[] | undefined;
|
|
6193
6267
|
} | undefined;
|
|
6194
6268
|
search?: {
|
|
6195
6269
|
prompt?: string | undefined;
|
|
@@ -6543,6 +6617,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6543
6617
|
value?: string | undefined;
|
|
6544
6618
|
key?: string | undefined;
|
|
6545
6619
|
} | undefined;
|
|
6620
|
+
customScripts?: {
|
|
6621
|
+
src: string;
|
|
6622
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
6623
|
+
}[] | undefined;
|
|
6546
6624
|
} | undefined;
|
|
6547
6625
|
search?: {
|
|
6548
6626
|
prompt?: string | undefined;
|
|
@@ -7842,6 +7920,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
7842
7920
|
value?: string | undefined;
|
|
7843
7921
|
key?: string | undefined;
|
|
7844
7922
|
}>>;
|
|
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">>;
|
|
7845
7933
|
}, "strict", z.ZodTypeAny, {
|
|
7846
7934
|
adobe?: {
|
|
7847
7935
|
launchUrl: string;
|
|
@@ -7912,6 +8000,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
7912
8000
|
value?: string | undefined;
|
|
7913
8001
|
key?: string | undefined;
|
|
7914
8002
|
} | undefined;
|
|
8003
|
+
customScripts?: {
|
|
8004
|
+
src: string;
|
|
8005
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8006
|
+
}[] | undefined;
|
|
7915
8007
|
}, {
|
|
7916
8008
|
adobe?: {
|
|
7917
8009
|
launchUrl: string;
|
|
@@ -7982,6 +8074,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
7982
8074
|
value?: string | undefined;
|
|
7983
8075
|
key?: string | undefined;
|
|
7984
8076
|
} | undefined;
|
|
8077
|
+
customScripts?: {
|
|
8078
|
+
src: string;
|
|
8079
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8080
|
+
}[] | undefined;
|
|
7985
8081
|
}>>;
|
|
7986
8082
|
banner: z.ZodOptional<z.ZodObject<{
|
|
7987
8083
|
content: z.ZodString;
|
|
@@ -8416,6 +8512,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8416
8512
|
value?: string | undefined;
|
|
8417
8513
|
key?: string | undefined;
|
|
8418
8514
|
} | undefined;
|
|
8515
|
+
customScripts?: {
|
|
8516
|
+
src: string;
|
|
8517
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8518
|
+
}[] | undefined;
|
|
8419
8519
|
} | undefined;
|
|
8420
8520
|
search?: {
|
|
8421
8521
|
prompt?: string | undefined;
|
|
@@ -8769,6 +8869,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8769
8869
|
value?: string | undefined;
|
|
8770
8870
|
key?: string | undefined;
|
|
8771
8871
|
} | undefined;
|
|
8872
|
+
customScripts?: {
|
|
8873
|
+
src: string;
|
|
8874
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8875
|
+
}[] | undefined;
|
|
8772
8876
|
} | undefined;
|
|
8773
8877
|
search?: {
|
|
8774
8878
|
prompt?: string | undefined;
|
|
@@ -10068,6 +10172,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10068
10172
|
value?: string | undefined;
|
|
10069
10173
|
key?: string | undefined;
|
|
10070
10174
|
}>>;
|
|
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">>;
|
|
10071
10185
|
}, "strict", z.ZodTypeAny, {
|
|
10072
10186
|
adobe?: {
|
|
10073
10187
|
launchUrl: string;
|
|
@@ -10138,6 +10252,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10138
10252
|
value?: string | undefined;
|
|
10139
10253
|
key?: string | undefined;
|
|
10140
10254
|
} | undefined;
|
|
10255
|
+
customScripts?: {
|
|
10256
|
+
src: string;
|
|
10257
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10258
|
+
}[] | undefined;
|
|
10141
10259
|
}, {
|
|
10142
10260
|
adobe?: {
|
|
10143
10261
|
launchUrl: string;
|
|
@@ -10208,6 +10326,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10208
10326
|
value?: string | undefined;
|
|
10209
10327
|
key?: string | undefined;
|
|
10210
10328
|
} | undefined;
|
|
10329
|
+
customScripts?: {
|
|
10330
|
+
src: string;
|
|
10331
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10332
|
+
}[] | undefined;
|
|
10211
10333
|
}>>;
|
|
10212
10334
|
banner: z.ZodOptional<z.ZodObject<{
|
|
10213
10335
|
content: z.ZodString;
|
|
@@ -10642,6 +10764,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10642
10764
|
value?: string | undefined;
|
|
10643
10765
|
key?: string | undefined;
|
|
10644
10766
|
} | undefined;
|
|
10767
|
+
customScripts?: {
|
|
10768
|
+
src: string;
|
|
10769
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
10770
|
+
}[] | undefined;
|
|
10645
10771
|
} | undefined;
|
|
10646
10772
|
search?: {
|
|
10647
10773
|
prompt?: string | undefined;
|
|
@@ -10995,6 +11121,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10995
11121
|
value?: string | undefined;
|
|
10996
11122
|
key?: string | undefined;
|
|
10997
11123
|
} | undefined;
|
|
11124
|
+
customScripts?: {
|
|
11125
|
+
src: string;
|
|
11126
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
11127
|
+
}[] | undefined;
|
|
10998
11128
|
} | undefined;
|
|
10999
11129
|
search?: {
|
|
11000
11130
|
prompt?: string | undefined;
|
|
@@ -12294,6 +12424,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12294
12424
|
value?: string | undefined;
|
|
12295
12425
|
key?: string | undefined;
|
|
12296
12426
|
}>>;
|
|
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">>;
|
|
12297
12437
|
}, "strict", z.ZodTypeAny, {
|
|
12298
12438
|
adobe?: {
|
|
12299
12439
|
launchUrl: string;
|
|
@@ -12364,6 +12504,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12364
12504
|
value?: string | undefined;
|
|
12365
12505
|
key?: string | undefined;
|
|
12366
12506
|
} | undefined;
|
|
12507
|
+
customScripts?: {
|
|
12508
|
+
src: string;
|
|
12509
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
12510
|
+
}[] | undefined;
|
|
12367
12511
|
}, {
|
|
12368
12512
|
adobe?: {
|
|
12369
12513
|
launchUrl: string;
|
|
@@ -12434,6 +12578,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12434
12578
|
value?: string | undefined;
|
|
12435
12579
|
key?: string | undefined;
|
|
12436
12580
|
} | undefined;
|
|
12581
|
+
customScripts?: {
|
|
12582
|
+
src: string;
|
|
12583
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
12584
|
+
}[] | undefined;
|
|
12437
12585
|
}>>;
|
|
12438
12586
|
banner: z.ZodOptional<z.ZodObject<{
|
|
12439
12587
|
content: z.ZodString;
|
|
@@ -12868,6 +13016,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12868
13016
|
value?: string | undefined;
|
|
12869
13017
|
key?: string | undefined;
|
|
12870
13018
|
} | undefined;
|
|
13019
|
+
customScripts?: {
|
|
13020
|
+
src: string;
|
|
13021
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
13022
|
+
}[] | undefined;
|
|
12871
13023
|
} | undefined;
|
|
12872
13024
|
search?: {
|
|
12873
13025
|
prompt?: string | undefined;
|
|
@@ -13221,6 +13373,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13221
13373
|
value?: string | undefined;
|
|
13222
13374
|
key?: string | undefined;
|
|
13223
13375
|
} | undefined;
|
|
13376
|
+
customScripts?: {
|
|
13377
|
+
src: string;
|
|
13378
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
13379
|
+
}[] | undefined;
|
|
13224
13380
|
} | undefined;
|
|
13225
13381
|
search?: {
|
|
13226
13382
|
prompt?: string | undefined;
|
|
@@ -14520,6 +14676,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14520
14676
|
value?: string | undefined;
|
|
14521
14677
|
key?: string | undefined;
|
|
14522
14678
|
}>>;
|
|
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">>;
|
|
14523
14689
|
}, "strict", z.ZodTypeAny, {
|
|
14524
14690
|
adobe?: {
|
|
14525
14691
|
launchUrl: string;
|
|
@@ -14590,6 +14756,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14590
14756
|
value?: string | undefined;
|
|
14591
14757
|
key?: string | undefined;
|
|
14592
14758
|
} | undefined;
|
|
14759
|
+
customScripts?: {
|
|
14760
|
+
src: string;
|
|
14761
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
14762
|
+
}[] | undefined;
|
|
14593
14763
|
}, {
|
|
14594
14764
|
adobe?: {
|
|
14595
14765
|
launchUrl: string;
|
|
@@ -14660,6 +14830,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14660
14830
|
value?: string | undefined;
|
|
14661
14831
|
key?: string | undefined;
|
|
14662
14832
|
} | undefined;
|
|
14833
|
+
customScripts?: {
|
|
14834
|
+
src: string;
|
|
14835
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
14836
|
+
}[] | undefined;
|
|
14663
14837
|
}>>;
|
|
14664
14838
|
banner: z.ZodOptional<z.ZodObject<{
|
|
14665
14839
|
content: z.ZodString;
|
|
@@ -15094,6 +15268,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15094
15268
|
value?: string | undefined;
|
|
15095
15269
|
key?: string | undefined;
|
|
15096
15270
|
} | undefined;
|
|
15271
|
+
customScripts?: {
|
|
15272
|
+
src: string;
|
|
15273
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
15274
|
+
}[] | undefined;
|
|
15097
15275
|
} | undefined;
|
|
15098
15276
|
search?: {
|
|
15099
15277
|
prompt?: string | undefined;
|
|
@@ -15447,6 +15625,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15447
15625
|
value?: string | undefined;
|
|
15448
15626
|
key?: string | undefined;
|
|
15449
15627
|
} | undefined;
|
|
15628
|
+
customScripts?: {
|
|
15629
|
+
src: string;
|
|
15630
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
15631
|
+
}[] | undefined;
|
|
15450
15632
|
} | undefined;
|
|
15451
15633
|
search?: {
|
|
15452
15634
|
prompt?: string | undefined;
|
|
@@ -16746,6 +16928,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
16746
16928
|
value?: string | undefined;
|
|
16747
16929
|
key?: string | undefined;
|
|
16748
16930
|
}>>;
|
|
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">>;
|
|
16749
16941
|
}, "strict", z.ZodTypeAny, {
|
|
16750
16942
|
adobe?: {
|
|
16751
16943
|
launchUrl: string;
|
|
@@ -16816,6 +17008,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
16816
17008
|
value?: string | undefined;
|
|
16817
17009
|
key?: string | undefined;
|
|
16818
17010
|
} | undefined;
|
|
17011
|
+
customScripts?: {
|
|
17012
|
+
src: string;
|
|
17013
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17014
|
+
}[] | undefined;
|
|
16819
17015
|
}, {
|
|
16820
17016
|
adobe?: {
|
|
16821
17017
|
launchUrl: string;
|
|
@@ -16886,6 +17082,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
16886
17082
|
value?: string | undefined;
|
|
16887
17083
|
key?: string | undefined;
|
|
16888
17084
|
} | undefined;
|
|
17085
|
+
customScripts?: {
|
|
17086
|
+
src: string;
|
|
17087
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17088
|
+
}[] | undefined;
|
|
16889
17089
|
}>>;
|
|
16890
17090
|
banner: z.ZodOptional<z.ZodObject<{
|
|
16891
17091
|
content: z.ZodString;
|
|
@@ -17320,6 +17520,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17320
17520
|
value?: string | undefined;
|
|
17321
17521
|
key?: string | undefined;
|
|
17322
17522
|
} | undefined;
|
|
17523
|
+
customScripts?: {
|
|
17524
|
+
src: string;
|
|
17525
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17526
|
+
}[] | undefined;
|
|
17323
17527
|
} | undefined;
|
|
17324
17528
|
search?: {
|
|
17325
17529
|
prompt?: string | undefined;
|
|
@@ -17673,6 +17877,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17673
17877
|
value?: string | undefined;
|
|
17674
17878
|
key?: string | undefined;
|
|
17675
17879
|
} | undefined;
|
|
17880
|
+
customScripts?: {
|
|
17881
|
+
src: string;
|
|
17882
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
17883
|
+
}[] | undefined;
|
|
17676
17884
|
} | undefined;
|
|
17677
17885
|
search?: {
|
|
17678
17886
|
prompt?: string | undefined;
|
|
@@ -18972,6 +19180,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
18972
19180
|
value?: string | undefined;
|
|
18973
19181
|
key?: string | undefined;
|
|
18974
19182
|
}>>;
|
|
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">>;
|
|
18975
19193
|
}, "strict", z.ZodTypeAny, {
|
|
18976
19194
|
adobe?: {
|
|
18977
19195
|
launchUrl: string;
|
|
@@ -19042,6 +19260,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19042
19260
|
value?: string | undefined;
|
|
19043
19261
|
key?: string | undefined;
|
|
19044
19262
|
} | undefined;
|
|
19263
|
+
customScripts?: {
|
|
19264
|
+
src: string;
|
|
19265
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19266
|
+
}[] | undefined;
|
|
19045
19267
|
}, {
|
|
19046
19268
|
adobe?: {
|
|
19047
19269
|
launchUrl: string;
|
|
@@ -19112,6 +19334,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19112
19334
|
value?: string | undefined;
|
|
19113
19335
|
key?: string | undefined;
|
|
19114
19336
|
} | undefined;
|
|
19337
|
+
customScripts?: {
|
|
19338
|
+
src: string;
|
|
19339
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19340
|
+
}[] | undefined;
|
|
19115
19341
|
}>>;
|
|
19116
19342
|
banner: z.ZodOptional<z.ZodObject<{
|
|
19117
19343
|
content: z.ZodString;
|
|
@@ -19546,6 +19772,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19546
19772
|
value?: string | undefined;
|
|
19547
19773
|
key?: string | undefined;
|
|
19548
19774
|
} | undefined;
|
|
19775
|
+
customScripts?: {
|
|
19776
|
+
src: string;
|
|
19777
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
19778
|
+
}[] | undefined;
|
|
19549
19779
|
} | undefined;
|
|
19550
19780
|
search?: {
|
|
19551
19781
|
prompt?: string | undefined;
|
|
@@ -19899,6 +20129,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19899
20129
|
value?: string | undefined;
|
|
19900
20130
|
key?: string | undefined;
|
|
19901
20131
|
} | undefined;
|
|
20132
|
+
customScripts?: {
|
|
20133
|
+
src: string;
|
|
20134
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
20135
|
+
}[] | undefined;
|
|
19902
20136
|
} | undefined;
|
|
19903
20137
|
search?: {
|
|
19904
20138
|
prompt?: string | undefined;
|
|
@@ -21199,6 +21433,16 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21199
21433
|
value?: string | undefined;
|
|
21200
21434
|
key?: string | undefined;
|
|
21201
21435
|
}>>;
|
|
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">>;
|
|
21202
21446
|
}, "strict", z.ZodTypeAny, {
|
|
21203
21447
|
adobe?: {
|
|
21204
21448
|
launchUrl: string;
|
|
@@ -21269,6 +21513,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21269
21513
|
value?: string | undefined;
|
|
21270
21514
|
key?: string | undefined;
|
|
21271
21515
|
} | undefined;
|
|
21516
|
+
customScripts?: {
|
|
21517
|
+
src: string;
|
|
21518
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
21519
|
+
}[] | undefined;
|
|
21272
21520
|
}, {
|
|
21273
21521
|
adobe?: {
|
|
21274
21522
|
launchUrl: string;
|
|
@@ -21339,6 +21587,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21339
21587
|
value?: string | undefined;
|
|
21340
21588
|
key?: string | undefined;
|
|
21341
21589
|
} | undefined;
|
|
21590
|
+
customScripts?: {
|
|
21591
|
+
src: string;
|
|
21592
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
21593
|
+
}[] | undefined;
|
|
21342
21594
|
}>>;
|
|
21343
21595
|
banner: z.ZodOptional<z.ZodObject<{
|
|
21344
21596
|
content: z.ZodString;
|
|
@@ -21773,6 +22025,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21773
22025
|
value?: string | undefined;
|
|
21774
22026
|
key?: string | undefined;
|
|
21775
22027
|
} | undefined;
|
|
22028
|
+
customScripts?: {
|
|
22029
|
+
src: string;
|
|
22030
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
22031
|
+
}[] | undefined;
|
|
21776
22032
|
} | undefined;
|
|
21777
22033
|
search?: {
|
|
21778
22034
|
prompt?: string | undefined;
|
|
@@ -22126,6 +22382,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
22126
22382
|
value?: string | undefined;
|
|
22127
22383
|
key?: string | undefined;
|
|
22128
22384
|
} | undefined;
|
|
22385
|
+
customScripts?: {
|
|
22386
|
+
src: string;
|
|
22387
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
22388
|
+
}[] | undefined;
|
|
22129
22389
|
} | undefined;
|
|
22130
22390
|
search?: {
|
|
22131
22391
|
prompt?: string | undefined;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
declare const customScriptSchema: z.ZodObject<{
|
|
3
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
4
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
src: string;
|
|
7
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
src: string;
|
|
10
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
11
|
+
}>;
|
|
2
12
|
export declare const integrationsSchema: z.ZodObject<{
|
|
3
13
|
adobe: z.ZodOptional<z.ZodObject<{
|
|
4
14
|
launchUrl: z.ZodString;
|
|
@@ -165,6 +175,16 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
165
175
|
value?: string | undefined;
|
|
166
176
|
key?: string | undefined;
|
|
167
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">>;
|
|
168
188
|
}, "strict", z.ZodTypeAny, {
|
|
169
189
|
adobe?: {
|
|
170
190
|
launchUrl: string;
|
|
@@ -235,6 +255,10 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
235
255
|
value?: string | undefined;
|
|
236
256
|
key?: string | undefined;
|
|
237
257
|
} | undefined;
|
|
258
|
+
customScripts?: {
|
|
259
|
+
src: string;
|
|
260
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
261
|
+
}[] | undefined;
|
|
238
262
|
}, {
|
|
239
263
|
adobe?: {
|
|
240
264
|
launchUrl: string;
|
|
@@ -305,4 +329,10 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
305
329
|
value?: string | undefined;
|
|
306
330
|
key?: string | undefined;
|
|
307
331
|
} | undefined;
|
|
332
|
+
customScripts?: {
|
|
333
|
+
src: string;
|
|
334
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
335
|
+
}[] | undefined;
|
|
308
336
|
}>;
|
|
337
|
+
export type CustomScript = z.infer<typeof customScriptSchema>;
|
|
338
|
+
export {};
|