@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
|
@@ -73,6 +73,24 @@ const cookieConsentSchema = z.object({
|
|
|
73
73
|
key: z.string().optional(),
|
|
74
74
|
value: z.string().optional(),
|
|
75
75
|
});
|
|
76
|
+
const FORBIDDEN_EXTENSIONS = ['.svg', '.exe', '.zip'];
|
|
77
|
+
const customScriptSchema = z.object({
|
|
78
|
+
src: z
|
|
79
|
+
.string()
|
|
80
|
+
.url('Must be a valid URL')
|
|
81
|
+
.refine((url) => url.startsWith('https://'), 'Must be an HTTPS URL')
|
|
82
|
+
.refine((url) => {
|
|
83
|
+
try {
|
|
84
|
+
const { pathname } = new URL(url);
|
|
85
|
+
const lowerPath = decodeURIComponent(pathname).toLowerCase();
|
|
86
|
+
return !FORBIDDEN_EXTENSIONS.some((ext) => lowerPath.endsWith(ext));
|
|
87
|
+
}
|
|
88
|
+
catch (_a) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
}, 'URL must not point to a disallowed file type (e.g. .svg, .exe, .zip)'),
|
|
92
|
+
strategy: z.enum(['afterInteractive', 'lazyOnload']).optional(),
|
|
93
|
+
});
|
|
76
94
|
export const integrationsSchema = z
|
|
77
95
|
.object({
|
|
78
96
|
adobe: adobeAnalyticsConfigSchema.optional(),
|
|
@@ -96,6 +114,7 @@ export const integrationsSchema = z
|
|
|
96
114
|
segment: segmentConfigSchema.optional(),
|
|
97
115
|
telemetry: telemetrySchema.optional(),
|
|
98
116
|
cookies: cookieConsentSchema.optional(),
|
|
117
|
+
customScripts: z.array(customScriptSchema).max(20).optional(),
|
|
99
118
|
})
|
|
100
119
|
.strict()
|
|
101
120
|
.describe('Configurations for official integrations');
|
|
@@ -1161,6 +1161,16 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1160,6 +1160,16 @@ export declare const standardConfigSchema: {
|
|
|
1160
1160
|
value?: string | undefined;
|
|
1161
1161
|
key?: string | undefined;
|
|
1162
1162
|
}>>;
|
|
1163
|
+
customScripts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1164
|
+
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
1165
|
+
strategy: import("zod").ZodOptional<import("zod").ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1166
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1167
|
+
src: string;
|
|
1168
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1169
|
+
}, {
|
|
1170
|
+
src: string;
|
|
1171
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1172
|
+
}>, "many">>;
|
|
1163
1173
|
}, "strict", import("zod").ZodTypeAny, {
|
|
1164
1174
|
adobe?: {
|
|
1165
1175
|
launchUrl: string;
|
|
@@ -1230,6 +1240,10 @@ export declare const standardConfigSchema: {
|
|
|
1230
1240
|
value?: string | undefined;
|
|
1231
1241
|
key?: string | undefined;
|
|
1232
1242
|
} | undefined;
|
|
1243
|
+
customScripts?: {
|
|
1244
|
+
src: string;
|
|
1245
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1246
|
+
}[] | undefined;
|
|
1233
1247
|
}, {
|
|
1234
1248
|
adobe?: {
|
|
1235
1249
|
launchUrl: string;
|
|
@@ -1300,6 +1314,10 @@ export declare const standardConfigSchema: {
|
|
|
1300
1314
|
value?: string | undefined;
|
|
1301
1315
|
key?: string | undefined;
|
|
1302
1316
|
} | undefined;
|
|
1317
|
+
customScripts?: {
|
|
1318
|
+
src: string;
|
|
1319
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1320
|
+
}[] | undefined;
|
|
1303
1321
|
}>>;
|
|
1304
1322
|
banner: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1305
1323
|
content: import("zod").ZodString;
|
|
@@ -1161,6 +1161,16 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|
|
@@ -1161,6 +1161,16 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1161
1161
|
value?: string | undefined;
|
|
1162
1162
|
key?: string | undefined;
|
|
1163
1163
|
}>>;
|
|
1164
|
+
customScripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1166
|
+
strategy: z.ZodOptional<z.ZodEnum<["afterInteractive", "lazyOnload"]>>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
src: string;
|
|
1169
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
src: string;
|
|
1172
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
1164
1174
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1175
|
adobe?: {
|
|
1166
1176
|
launchUrl: string;
|
|
@@ -1231,6 +1241,10 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1231
1241
|
value?: string | undefined;
|
|
1232
1242
|
key?: string | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1244
|
+
customScripts?: {
|
|
1245
|
+
src: string;
|
|
1246
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1247
|
+
}[] | undefined;
|
|
1234
1248
|
}, {
|
|
1235
1249
|
adobe?: {
|
|
1236
1250
|
launchUrl: string;
|
|
@@ -1301,6 +1315,10 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1301
1315
|
value?: string | undefined;
|
|
1302
1316
|
key?: string | undefined;
|
|
1303
1317
|
} | undefined;
|
|
1318
|
+
customScripts?: {
|
|
1319
|
+
src: string;
|
|
1320
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1304
1322
|
}>>;
|
|
1305
1323
|
banner: z.ZodOptional<z.ZodObject<{
|
|
1306
1324
|
content: z.ZodString;
|
|
@@ -1735,6 +1753,10 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1735
1753
|
value?: string | undefined;
|
|
1736
1754
|
key?: string | undefined;
|
|
1737
1755
|
} | undefined;
|
|
1756
|
+
customScripts?: {
|
|
1757
|
+
src: string;
|
|
1758
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1738
1760
|
} | undefined;
|
|
1739
1761
|
search?: {
|
|
1740
1762
|
prompt?: string | undefined;
|
|
@@ -2088,6 +2110,10 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2088
2110
|
value?: string | undefined;
|
|
2089
2111
|
key?: string | undefined;
|
|
2090
2112
|
} | undefined;
|
|
2113
|
+
customScripts?: {
|
|
2114
|
+
src: string;
|
|
2115
|
+
strategy?: "afterInteractive" | "lazyOnload" | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2091
2117
|
} | undefined;
|
|
2092
2118
|
search?: {
|
|
2093
2119
|
prompt?: string | undefined;
|