@scayle/storefront-nuxt 7.95.4 → 8.0.1
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/CHANGELOG.md +484 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/module.d.mts +2 -2
- package/dist/module.d.ts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -6
- package/dist/runtime/api/rpcHandler.d.ts +4 -6
- package/dist/runtime/campaignKey.d.ts +1 -2
- package/dist/runtime/campaignKey.js +3 -9
- package/dist/runtime/composables/core/useIDP.d.ts +2 -4
- package/dist/runtime/composables/core/useIDP.js +1 -8
- package/dist/runtime/composables/core/useRpc.d.ts +4 -17
- package/dist/runtime/composables/core/useRpc.js +11 -20
- package/dist/runtime/composables/core/useSession.d.ts +1 -1
- package/dist/runtime/composables/core/useUser.d.ts +2 -4
- package/dist/runtime/composables/core/useUser.js +3 -12
- package/dist/runtime/composables/index.d.ts +0 -3
- package/dist/runtime/composables/index.js +0 -3
- package/dist/runtime/composables/storefront/useBasket.d.ts +6 -4
- package/dist/runtime/composables/storefront/useBasket.js +68 -38
- package/dist/runtime/composables/storefront/useBrand.d.ts +2 -4
- package/dist/runtime/composables/storefront/useBrand.js +3 -4
- package/dist/runtime/composables/storefront/useBrands.d.ts +2 -4
- package/dist/runtime/composables/storefront/useBrands.js +3 -4
- package/dist/runtime/composables/storefront/useCategories.d.ts +3 -5
- package/dist/runtime/composables/storefront/useCategories.js +3 -8
- package/dist/runtime/composables/storefront/useCategoryById.d.ts +2 -4
- package/dist/runtime/composables/storefront/useCategoryById.js +3 -4
- package/dist/runtime/composables/storefront/useCategoryByPath.d.ts +2 -4
- package/dist/runtime/composables/storefront/useCategoryByPath.js +3 -4
- package/dist/runtime/composables/storefront/useCurrentPromotions.d.ts +2 -4
- package/dist/runtime/composables/storefront/useCurrentPromotions.js +3 -4
- package/dist/runtime/composables/storefront/useFilters.d.ts +2 -4
- package/dist/runtime/composables/storefront/useFilters.js +3 -4
- package/dist/runtime/composables/storefront/useNavigationTree.d.ts +3 -11
- package/dist/runtime/composables/storefront/useNavigationTree.js +6 -9
- package/dist/runtime/composables/storefront/useNavigationTrees.d.ts +2 -4
- package/dist/runtime/composables/storefront/useNavigationTrees.js +3 -4
- package/dist/runtime/composables/storefront/useOrder.d.ts +3 -5
- package/dist/runtime/composables/storefront/useOrder.js +3 -5
- package/dist/runtime/composables/storefront/useOrderConfirmation.d.ts +3 -5
- package/dist/runtime/composables/storefront/useOrderConfirmation.js +2 -2
- package/dist/runtime/composables/storefront/useProduct.d.ts +2 -4
- package/dist/runtime/composables/storefront/useProduct.js +3 -4
- package/dist/runtime/composables/storefront/useProducts.d.ts +2 -4
- package/dist/runtime/composables/storefront/useProducts.js +3 -4
- package/dist/runtime/composables/storefront/useProductsByIds.d.ts +2 -4
- package/dist/runtime/composables/storefront/useProductsByIds.js +3 -4
- package/dist/runtime/composables/storefront/useProductsByReferenceKeys.d.ts +2 -4
- package/dist/runtime/composables/storefront/useProductsByReferenceKeys.js +3 -4
- package/dist/runtime/composables/storefront/useProductsCount.d.ts +2 -4
- package/dist/runtime/composables/storefront/useProductsCount.js +3 -4
- package/dist/runtime/composables/storefront/usePromotions.d.ts +2 -4
- package/dist/runtime/composables/storefront/usePromotions.js +3 -4
- package/dist/runtime/composables/storefront/usePromotionsByIds.d.ts +2 -4
- package/dist/runtime/composables/storefront/usePromotionsByIds.js +3 -4
- package/dist/runtime/composables/storefront/useShopConfiguration.d.ts +1 -3
- package/dist/runtime/composables/storefront/useShopConfiguration.js +3 -4
- package/dist/runtime/composables/storefront/useStorefrontSearch.d.ts +5 -3
- package/dist/runtime/composables/storefront/useStorefrontSearch.js +3 -5
- package/dist/runtime/composables/storefront/useUserAddresses.d.ts +1 -3
- package/dist/runtime/composables/storefront/useUserAddresses.js +3 -4
- package/dist/runtime/composables/storefront/useVariant.d.ts +2 -4
- package/dist/runtime/composables/storefront/useVariant.js +3 -4
- package/dist/runtime/composables/storefront/useWishlist.d.ts +2 -3
- package/dist/runtime/composables/storefront/useWishlist.js +12 -21
- package/dist/runtime/context.js +1 -5
- package/dist/runtime/createLog.d.ts +1 -1
- package/dist/runtime/error/handler.d.ts +1 -1
- package/dist/runtime/error/handler.js +1 -28
- package/dist/runtime/nitro/plugins/nitroRuntimeStorageConfig.js +5 -93
- package/dist/runtime/plugin/shop.d.ts +4 -4
- package/dist/runtime/rpc/rpcCall.d.ts +1 -1
- package/dist/runtime/server/middleware/bootstrap-utils.d.ts +1 -5
- package/dist/runtime/server/middleware/bootstrap-utils.js +2 -4
- package/dist/runtime/server/middleware/bootstrap.js +3 -5
- package/dist/runtime/server/utils/cacheStorage.d.ts +1 -1
- package/dist/runtime/server/utils/cacheStorage.js +2 -2
- package/dist/runtime/utils/zodSchema.d.ts +467 -1840
- package/dist/runtime/utils/zodSchema.js +34 -83
- package/dist/shared/{storefront-nuxt.80aa5060.d.ts → storefront-nuxt.a816664e.d.mts} +4 -25
- package/dist/shared/{storefront-nuxt.80aa5060.d.mts → storefront-nuxt.a816664e.d.ts} +4 -25
- package/dist/test/factories.d.mts +1 -1
- package/dist/test/factories.d.ts +1 -1
- package/dist/test/factories.mjs +0 -2
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +9 -9
- package/dist/runtime/composables/storefront/useFacet.d.ts +0 -100
- package/dist/runtime/composables/storefront/useFacet.js +0 -210
- package/dist/runtime/composables/storefront/useQueryFilterState.d.ts +0 -13
- package/dist/runtime/composables/storefront/useQueryFilterState.js +0 -78
- package/dist/runtime/composables/storefront/useSearch.d.ts +0 -14
- package/dist/runtime/composables/storefront/useSearch.js +0 -44
|
@@ -10,46 +10,6 @@ export declare const RedirectsSchema: z.ZodObject<{
|
|
|
10
10
|
enabled: boolean;
|
|
11
11
|
queryParamWhitelist?: string[] | undefined;
|
|
12
12
|
}>;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated
|
|
15
|
-
*/
|
|
16
|
-
declare const RedisConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
17
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
18
|
-
host: z.ZodOptional<z.ZodString>;
|
|
19
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
20
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
port?: number | undefined;
|
|
23
|
-
host?: string | undefined;
|
|
24
|
-
prefix?: string | undefined;
|
|
25
|
-
sslTransit?: boolean | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
port?: number | undefined;
|
|
28
|
-
host?: string | undefined;
|
|
29
|
-
prefix?: string | undefined;
|
|
30
|
-
sslTransit?: boolean | undefined;
|
|
31
|
-
}>, z.ZodObject<{
|
|
32
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
host: z.ZodOptional<z.ZodString>;
|
|
34
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
35
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
user: z.ZodString;
|
|
37
|
-
password: z.ZodString;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
user: string;
|
|
40
|
-
password: string;
|
|
41
|
-
port?: number | undefined;
|
|
42
|
-
host?: string | undefined;
|
|
43
|
-
prefix?: string | undefined;
|
|
44
|
-
sslTransit?: boolean | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
user: string;
|
|
47
|
-
password: string;
|
|
48
|
-
port?: number | undefined;
|
|
49
|
-
host?: string | undefined;
|
|
50
|
-
prefix?: string | undefined;
|
|
51
|
-
sslTransit?: boolean | undefined;
|
|
52
|
-
}>]>;
|
|
53
13
|
declare const SessionSchema: z.ZodObject<{
|
|
54
14
|
/**
|
|
55
15
|
* The sameSite policy to use for the session cookie
|
|
@@ -72,25 +32,18 @@ declare const SessionSchema: z.ZodObject<{
|
|
|
72
32
|
* Controls the domain option on the session cookie
|
|
73
33
|
*/
|
|
74
34
|
domain: z.ZodOptional<z.ZodString>;
|
|
75
|
-
/**
|
|
76
|
-
* The provider to use for the persistent storage.
|
|
77
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
78
|
-
*/
|
|
79
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
80
35
|
}, "strip", z.ZodTypeAny, {
|
|
81
36
|
domain?: string | undefined;
|
|
82
37
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
83
38
|
maxAge?: number | undefined;
|
|
84
39
|
cookieName?: string | undefined;
|
|
85
40
|
secret?: string | string[] | undefined;
|
|
86
|
-
provider?: "redis" | "memory" | undefined;
|
|
87
41
|
}, {
|
|
88
42
|
domain?: string | undefined;
|
|
89
43
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
90
44
|
maxAge?: number | undefined;
|
|
91
45
|
cookieName?: string | undefined;
|
|
92
46
|
secret?: string | string[] | undefined;
|
|
93
|
-
provider?: "redis" | "memory" | undefined;
|
|
94
47
|
}>;
|
|
95
48
|
declare const SapiSchema: z.ZodObject<{
|
|
96
49
|
host: z.ZodString;
|
|
@@ -116,7 +69,7 @@ declare const IdpSchema: z.ZodObject<{
|
|
|
116
69
|
idpRedirectURL: string;
|
|
117
70
|
}>;
|
|
118
71
|
declare const StorageSchema: z.ZodObject<{
|
|
119
|
-
driver: z.ZodEnum<["null" | "
|
|
72
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
120
73
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
121
74
|
url: z.ZodOptional<z.ZodString>;
|
|
122
75
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -127,26 +80,26 @@ declare const StorageSchema: z.ZodObject<{
|
|
|
127
80
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
128
81
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
129
82
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
driver: "null" | "
|
|
83
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
131
84
|
ttl?: number | undefined;
|
|
132
|
-
port?: number | undefined;
|
|
133
85
|
host?: string | undefined;
|
|
134
|
-
password?: string | undefined;
|
|
135
86
|
token?: string | undefined;
|
|
136
87
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
137
88
|
url?: string | undefined;
|
|
89
|
+
port?: number | undefined;
|
|
138
90
|
username?: string | undefined;
|
|
91
|
+
password?: string | undefined;
|
|
139
92
|
tls?: boolean | undefined;
|
|
140
93
|
}, {
|
|
141
|
-
driver: "null" | "
|
|
94
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
142
95
|
ttl?: number | undefined;
|
|
143
|
-
port?: number | undefined;
|
|
144
96
|
host?: string | undefined;
|
|
145
|
-
password?: string | undefined;
|
|
146
97
|
token?: string | undefined;
|
|
147
98
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
148
99
|
url?: string | undefined;
|
|
100
|
+
port?: number | undefined;
|
|
149
101
|
username?: string | undefined;
|
|
102
|
+
password?: string | undefined;
|
|
150
103
|
tls?: boolean | undefined;
|
|
151
104
|
}>;
|
|
152
105
|
declare const CheckoutShopConfigSchema: z.ZodObject<{
|
|
@@ -158,15 +111,15 @@ declare const CheckoutShopConfigSchema: z.ZodObject<{
|
|
|
158
111
|
shopId: z.ZodOptional<z.ZodNumber>;
|
|
159
112
|
}, "strip", z.ZodTypeAny, {
|
|
160
113
|
user: string | number;
|
|
161
|
-
host: string;
|
|
162
114
|
secret: string;
|
|
115
|
+
host: string;
|
|
163
116
|
token: string;
|
|
164
117
|
shopId?: number | undefined;
|
|
165
118
|
cbdExpiration?: number | undefined;
|
|
166
119
|
}, {
|
|
167
120
|
user: string | number;
|
|
168
|
-
host: string;
|
|
169
121
|
secret: string;
|
|
122
|
+
host: string;
|
|
170
123
|
token: string;
|
|
171
124
|
shopId?: number | undefined;
|
|
172
125
|
cbdExpiration?: number | undefined;
|
|
@@ -207,15 +160,15 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
207
160
|
shopId: z.ZodOptional<z.ZodNumber>;
|
|
208
161
|
}, "strip", z.ZodTypeAny, {
|
|
209
162
|
user: string | number;
|
|
210
|
-
host: string;
|
|
211
163
|
secret: string;
|
|
164
|
+
host: string;
|
|
212
165
|
token: string;
|
|
213
166
|
shopId?: number | undefined;
|
|
214
167
|
cbdExpiration?: number | undefined;
|
|
215
168
|
}, {
|
|
216
169
|
user: string | number;
|
|
217
|
-
host: string;
|
|
218
170
|
secret: string;
|
|
171
|
+
host: string;
|
|
219
172
|
token: string;
|
|
220
173
|
shopId?: number | undefined;
|
|
221
174
|
cbdExpiration?: number | undefined;
|
|
@@ -257,25 +210,18 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
257
210
|
* Controls the domain option on the session cookie
|
|
258
211
|
*/
|
|
259
212
|
domain: z.ZodOptional<z.ZodString>;
|
|
260
|
-
/**
|
|
261
|
-
* The provider to use for the persistent storage.
|
|
262
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
263
|
-
*/
|
|
264
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
265
213
|
}, "strip", z.ZodTypeAny, {
|
|
266
214
|
domain?: string | undefined;
|
|
267
215
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
268
216
|
maxAge?: number | undefined;
|
|
269
217
|
cookieName?: string | undefined;
|
|
270
218
|
secret?: string | string[] | undefined;
|
|
271
|
-
provider?: "redis" | "memory" | undefined;
|
|
272
219
|
}, {
|
|
273
220
|
domain?: string | undefined;
|
|
274
221
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
275
222
|
maxAge?: number | undefined;
|
|
276
223
|
cookieName?: string | undefined;
|
|
277
224
|
secret?: string | string[] | undefined;
|
|
278
|
-
provider?: "redis" | "memory" | undefined;
|
|
279
225
|
}>>;
|
|
280
226
|
sapi: z.ZodOptional<z.ZodObject<{
|
|
281
227
|
host: z.ZodString;
|
|
@@ -287,19 +233,9 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
287
233
|
host: string;
|
|
288
234
|
token: string;
|
|
289
235
|
}>>;
|
|
290
|
-
bapi: z.ZodOptional<z.ZodObject<{
|
|
291
|
-
host: z.ZodString;
|
|
292
|
-
token: z.ZodString;
|
|
293
|
-
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
host: string;
|
|
295
|
-
token: string;
|
|
296
|
-
}, {
|
|
297
|
-
host: string;
|
|
298
|
-
token: string;
|
|
299
|
-
}>>;
|
|
300
236
|
storage: z.ZodOptional<z.ZodObject<{
|
|
301
237
|
session: z.ZodOptional<z.ZodObject<{
|
|
302
|
-
driver: z.ZodEnum<["null" | "
|
|
238
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
303
239
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
304
240
|
url: z.ZodOptional<z.ZodString>;
|
|
305
241
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -310,30 +246,30 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
310
246
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
311
247
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
312
248
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
driver: "null" | "
|
|
249
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
314
250
|
ttl?: number | undefined;
|
|
315
|
-
port?: number | undefined;
|
|
316
251
|
host?: string | undefined;
|
|
317
|
-
password?: string | undefined;
|
|
318
252
|
token?: string | undefined;
|
|
319
253
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
320
254
|
url?: string | undefined;
|
|
255
|
+
port?: number | undefined;
|
|
321
256
|
username?: string | undefined;
|
|
257
|
+
password?: string | undefined;
|
|
322
258
|
tls?: boolean | undefined;
|
|
323
259
|
}, {
|
|
324
|
-
driver: "null" | "
|
|
260
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
325
261
|
ttl?: number | undefined;
|
|
326
|
-
port?: number | undefined;
|
|
327
262
|
host?: string | undefined;
|
|
328
|
-
password?: string | undefined;
|
|
329
263
|
token?: string | undefined;
|
|
330
264
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
331
265
|
url?: string | undefined;
|
|
266
|
+
port?: number | undefined;
|
|
332
267
|
username?: string | undefined;
|
|
268
|
+
password?: string | undefined;
|
|
333
269
|
tls?: boolean | undefined;
|
|
334
270
|
}>>;
|
|
335
271
|
cache: z.ZodOptional<z.ZodObject<{
|
|
336
|
-
driver: z.ZodEnum<["null" | "
|
|
272
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
337
273
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
338
274
|
url: z.ZodOptional<z.ZodString>;
|
|
339
275
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -344,128 +280,86 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
344
280
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
345
281
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
346
282
|
}, "strip", z.ZodTypeAny, {
|
|
347
|
-
driver: "null" | "
|
|
283
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
348
284
|
ttl?: number | undefined;
|
|
349
|
-
port?: number | undefined;
|
|
350
285
|
host?: string | undefined;
|
|
351
|
-
password?: string | undefined;
|
|
352
286
|
token?: string | undefined;
|
|
353
287
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
354
288
|
url?: string | undefined;
|
|
289
|
+
port?: number | undefined;
|
|
355
290
|
username?: string | undefined;
|
|
291
|
+
password?: string | undefined;
|
|
356
292
|
tls?: boolean | undefined;
|
|
357
293
|
}, {
|
|
358
|
-
driver: "null" | "
|
|
294
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
359
295
|
ttl?: number | undefined;
|
|
360
|
-
port?: number | undefined;
|
|
361
296
|
host?: string | undefined;
|
|
362
|
-
password?: string | undefined;
|
|
363
297
|
token?: string | undefined;
|
|
364
298
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
365
299
|
url?: string | undefined;
|
|
300
|
+
port?: number | undefined;
|
|
366
301
|
username?: string | undefined;
|
|
302
|
+
password?: string | undefined;
|
|
367
303
|
tls?: boolean | undefined;
|
|
368
304
|
}>>;
|
|
369
305
|
}, "strip", z.ZodTypeAny, {
|
|
370
306
|
session?: {
|
|
371
|
-
driver: "null" | "
|
|
307
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
372
308
|
ttl?: number | undefined;
|
|
373
|
-
port?: number | undefined;
|
|
374
309
|
host?: string | undefined;
|
|
375
|
-
password?: string | undefined;
|
|
376
310
|
token?: string | undefined;
|
|
377
311
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
378
312
|
url?: string | undefined;
|
|
313
|
+
port?: number | undefined;
|
|
379
314
|
username?: string | undefined;
|
|
315
|
+
password?: string | undefined;
|
|
380
316
|
tls?: boolean | undefined;
|
|
381
317
|
} | undefined;
|
|
382
318
|
cache?: {
|
|
383
|
-
driver: "null" | "
|
|
319
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
384
320
|
ttl?: number | undefined;
|
|
385
|
-
port?: number | undefined;
|
|
386
321
|
host?: string | undefined;
|
|
387
|
-
password?: string | undefined;
|
|
388
322
|
token?: string | undefined;
|
|
389
323
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
390
324
|
url?: string | undefined;
|
|
325
|
+
port?: number | undefined;
|
|
391
326
|
username?: string | undefined;
|
|
327
|
+
password?: string | undefined;
|
|
392
328
|
tls?: boolean | undefined;
|
|
393
329
|
} | undefined;
|
|
394
330
|
}, {
|
|
395
331
|
session?: {
|
|
396
|
-
driver: "null" | "
|
|
332
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
397
333
|
ttl?: number | undefined;
|
|
398
|
-
port?: number | undefined;
|
|
399
334
|
host?: string | undefined;
|
|
400
|
-
password?: string | undefined;
|
|
401
335
|
token?: string | undefined;
|
|
402
336
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
403
337
|
url?: string | undefined;
|
|
338
|
+
port?: number | undefined;
|
|
404
339
|
username?: string | undefined;
|
|
340
|
+
password?: string | undefined;
|
|
405
341
|
tls?: boolean | undefined;
|
|
406
342
|
} | undefined;
|
|
407
343
|
cache?: {
|
|
408
|
-
driver: "null" | "
|
|
344
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
409
345
|
ttl?: number | undefined;
|
|
410
|
-
port?: number | undefined;
|
|
411
346
|
host?: string | undefined;
|
|
412
|
-
password?: string | undefined;
|
|
413
347
|
token?: string | undefined;
|
|
414
348
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
415
349
|
url?: string | undefined;
|
|
350
|
+
port?: number | undefined;
|
|
416
351
|
username?: string | undefined;
|
|
352
|
+
password?: string | undefined;
|
|
417
353
|
tls?: boolean | undefined;
|
|
418
354
|
} | undefined;
|
|
419
355
|
}>>;
|
|
420
356
|
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
421
|
-
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
422
|
-
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
423
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
424
|
-
host: z.ZodOptional<z.ZodString>;
|
|
425
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
426
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
-
}, "strip", z.ZodTypeAny, {
|
|
428
|
-
port?: number | undefined;
|
|
429
|
-
host?: string | undefined;
|
|
430
|
-
prefix?: string | undefined;
|
|
431
|
-
sslTransit?: boolean | undefined;
|
|
432
|
-
}, {
|
|
433
|
-
port?: number | undefined;
|
|
434
|
-
host?: string | undefined;
|
|
435
|
-
prefix?: string | undefined;
|
|
436
|
-
sslTransit?: boolean | undefined;
|
|
437
|
-
}>, z.ZodObject<{
|
|
438
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
439
|
-
host: z.ZodOptional<z.ZodString>;
|
|
440
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
441
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
-
user: z.ZodString;
|
|
443
|
-
password: z.ZodString;
|
|
444
|
-
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
user: string;
|
|
446
|
-
password: string;
|
|
447
|
-
port?: number | undefined;
|
|
448
|
-
host?: string | undefined;
|
|
449
|
-
prefix?: string | undefined;
|
|
450
|
-
sslTransit?: boolean | undefined;
|
|
451
|
-
}, {
|
|
452
|
-
user: string;
|
|
453
|
-
password: string;
|
|
454
|
-
port?: number | undefined;
|
|
455
|
-
host?: string | undefined;
|
|
456
|
-
prefix?: string | undefined;
|
|
457
|
-
sslTransit?: boolean | undefined;
|
|
458
|
-
}>]>>;
|
|
459
|
-
/**
|
|
460
|
-
* @deprecated storeCampaignKeyword will be removed in a future release.
|
|
461
|
-
*/
|
|
462
|
-
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
463
357
|
}, "strip", z.ZodTypeAny, {
|
|
464
358
|
locale: string;
|
|
465
359
|
checkout: {
|
|
466
360
|
user: string | number;
|
|
467
|
-
host: string;
|
|
468
361
|
secret: string;
|
|
362
|
+
host: string;
|
|
469
363
|
token: string;
|
|
470
364
|
shopId?: number | undefined;
|
|
471
365
|
cbdExpiration?: number | undefined;
|
|
@@ -476,26 +370,12 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
476
370
|
};
|
|
477
371
|
currency: string;
|
|
478
372
|
domain?: string | undefined;
|
|
479
|
-
storeCampaignKeyword?: string | undefined;
|
|
480
373
|
idp?: {
|
|
481
374
|
enabled: boolean;
|
|
482
375
|
idpKeys: string[];
|
|
483
376
|
idpRedirectURL: string;
|
|
484
377
|
} | undefined;
|
|
485
378
|
path?: string | string[] | undefined;
|
|
486
|
-
redis?: {
|
|
487
|
-
port?: number | undefined;
|
|
488
|
-
host?: string | undefined;
|
|
489
|
-
prefix?: string | undefined;
|
|
490
|
-
sslTransit?: boolean | undefined;
|
|
491
|
-
} | {
|
|
492
|
-
user: string;
|
|
493
|
-
password: string;
|
|
494
|
-
port?: number | undefined;
|
|
495
|
-
host?: string | undefined;
|
|
496
|
-
prefix?: string | undefined;
|
|
497
|
-
sslTransit?: boolean | undefined;
|
|
498
|
-
} | undefined;
|
|
499
379
|
apiBasePath?: string | undefined;
|
|
500
380
|
appKeys?: {
|
|
501
381
|
wishlistKey: string;
|
|
@@ -510,39 +390,34 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
510
390
|
maxAge?: number | undefined;
|
|
511
391
|
cookieName?: string | undefined;
|
|
512
392
|
secret?: string | string[] | undefined;
|
|
513
|
-
provider?: "redis" | "memory" | undefined;
|
|
514
393
|
} | undefined;
|
|
515
394
|
sapi?: {
|
|
516
395
|
host: string;
|
|
517
396
|
token: string;
|
|
518
397
|
} | undefined;
|
|
519
|
-
bapi?: {
|
|
520
|
-
host: string;
|
|
521
|
-
token: string;
|
|
522
|
-
} | undefined;
|
|
523
398
|
storage?: {
|
|
524
399
|
session?: {
|
|
525
|
-
driver: "null" | "
|
|
400
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
526
401
|
ttl?: number | undefined;
|
|
527
|
-
port?: number | undefined;
|
|
528
402
|
host?: string | undefined;
|
|
529
|
-
password?: string | undefined;
|
|
530
403
|
token?: string | undefined;
|
|
531
404
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
532
405
|
url?: string | undefined;
|
|
406
|
+
port?: number | undefined;
|
|
533
407
|
username?: string | undefined;
|
|
408
|
+
password?: string | undefined;
|
|
534
409
|
tls?: boolean | undefined;
|
|
535
410
|
} | undefined;
|
|
536
411
|
cache?: {
|
|
537
|
-
driver: "null" | "
|
|
412
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
538
413
|
ttl?: number | undefined;
|
|
539
|
-
port?: number | undefined;
|
|
540
414
|
host?: string | undefined;
|
|
541
|
-
password?: string | undefined;
|
|
542
415
|
token?: string | undefined;
|
|
543
416
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
544
417
|
url?: string | undefined;
|
|
418
|
+
port?: number | undefined;
|
|
545
419
|
username?: string | undefined;
|
|
420
|
+
password?: string | undefined;
|
|
546
421
|
tls?: boolean | undefined;
|
|
547
422
|
} | undefined;
|
|
548
423
|
} | undefined;
|
|
@@ -551,8 +426,8 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
551
426
|
locale: string;
|
|
552
427
|
checkout: {
|
|
553
428
|
user: string | number;
|
|
554
|
-
host: string;
|
|
555
429
|
secret: string;
|
|
430
|
+
host: string;
|
|
556
431
|
token: string;
|
|
557
432
|
shopId?: number | undefined;
|
|
558
433
|
cbdExpiration?: number | undefined;
|
|
@@ -563,26 +438,12 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
563
438
|
};
|
|
564
439
|
currency: string;
|
|
565
440
|
domain?: string | undefined;
|
|
566
|
-
storeCampaignKeyword?: string | undefined;
|
|
567
441
|
idp?: {
|
|
568
442
|
enabled: boolean;
|
|
569
443
|
idpKeys: string[];
|
|
570
444
|
idpRedirectURL: string;
|
|
571
445
|
} | undefined;
|
|
572
446
|
path?: string | string[] | undefined;
|
|
573
|
-
redis?: {
|
|
574
|
-
port?: number | undefined;
|
|
575
|
-
host?: string | undefined;
|
|
576
|
-
prefix?: string | undefined;
|
|
577
|
-
sslTransit?: boolean | undefined;
|
|
578
|
-
} | {
|
|
579
|
-
user: string;
|
|
580
|
-
password: string;
|
|
581
|
-
port?: number | undefined;
|
|
582
|
-
host?: string | undefined;
|
|
583
|
-
prefix?: string | undefined;
|
|
584
|
-
sslTransit?: boolean | undefined;
|
|
585
|
-
} | undefined;
|
|
586
447
|
apiBasePath?: string | undefined;
|
|
587
448
|
appKeys?: {
|
|
588
449
|
wishlistKey: string;
|
|
@@ -597,39 +458,34 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
597
458
|
maxAge?: number | undefined;
|
|
598
459
|
cookieName?: string | undefined;
|
|
599
460
|
secret?: string | string[] | undefined;
|
|
600
|
-
provider?: "redis" | "memory" | undefined;
|
|
601
461
|
} | undefined;
|
|
602
462
|
sapi?: {
|
|
603
463
|
host: string;
|
|
604
464
|
token: string;
|
|
605
465
|
} | undefined;
|
|
606
|
-
bapi?: {
|
|
607
|
-
host: string;
|
|
608
|
-
token: string;
|
|
609
|
-
} | undefined;
|
|
610
466
|
storage?: {
|
|
611
467
|
session?: {
|
|
612
|
-
driver: "null" | "
|
|
468
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
613
469
|
ttl?: number | undefined;
|
|
614
|
-
port?: number | undefined;
|
|
615
470
|
host?: string | undefined;
|
|
616
|
-
password?: string | undefined;
|
|
617
471
|
token?: string | undefined;
|
|
618
472
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
619
473
|
url?: string | undefined;
|
|
474
|
+
port?: number | undefined;
|
|
620
475
|
username?: string | undefined;
|
|
476
|
+
password?: string | undefined;
|
|
621
477
|
tls?: boolean | undefined;
|
|
622
478
|
} | undefined;
|
|
623
479
|
cache?: {
|
|
624
|
-
driver: "null" | "
|
|
480
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
625
481
|
ttl?: number | undefined;
|
|
626
|
-
port?: number | undefined;
|
|
627
482
|
host?: string | undefined;
|
|
628
|
-
password?: string | undefined;
|
|
629
483
|
token?: string | undefined;
|
|
630
484
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
631
485
|
url?: string | undefined;
|
|
486
|
+
port?: number | undefined;
|
|
632
487
|
username?: string | undefined;
|
|
488
|
+
password?: string | undefined;
|
|
633
489
|
tls?: boolean | undefined;
|
|
634
490
|
} | undefined;
|
|
635
491
|
} | undefined;
|
|
@@ -637,7 +493,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
637
493
|
}>;
|
|
638
494
|
declare const ShopSelectorSchema: z.ZodEnum<["path", "domain", "path_or_default"]>;
|
|
639
495
|
type ShopConfigType = z.infer<typeof ShopConfigSchema>;
|
|
640
|
-
declare const StorefrontConfigSchema: z.
|
|
496
|
+
declare const StorefrontConfigSchema: z.ZodObject<{
|
|
641
497
|
session: z.ZodOptional<z.ZodObject<{
|
|
642
498
|
/**
|
|
643
499
|
* The sameSite policy to use for the session cookie
|
|
@@ -660,29 +516,22 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
660
516
|
* Controls the domain option on the session cookie
|
|
661
517
|
*/
|
|
662
518
|
domain: z.ZodOptional<z.ZodString>;
|
|
663
|
-
/**
|
|
664
|
-
* The provider to use for the persistent storage.
|
|
665
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
666
|
-
*/
|
|
667
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
668
519
|
}, "strip", z.ZodTypeAny, {
|
|
669
520
|
domain?: string | undefined;
|
|
670
521
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
671
522
|
maxAge?: number | undefined;
|
|
672
523
|
cookieName?: string | undefined;
|
|
673
524
|
secret?: string | string[] | undefined;
|
|
674
|
-
provider?: "redis" | "memory" | undefined;
|
|
675
525
|
}, {
|
|
676
526
|
domain?: string | undefined;
|
|
677
527
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
678
528
|
maxAge?: number | undefined;
|
|
679
529
|
cookieName?: string | undefined;
|
|
680
530
|
secret?: string | string[] | undefined;
|
|
681
|
-
provider?: "redis" | "memory" | undefined;
|
|
682
531
|
}>>;
|
|
683
532
|
storage: z.ZodOptional<z.ZodObject<{
|
|
684
533
|
session: z.ZodOptional<z.ZodObject<{
|
|
685
|
-
driver: z.ZodEnum<["null" | "
|
|
534
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
686
535
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
687
536
|
url: z.ZodOptional<z.ZodString>;
|
|
688
537
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -693,30 +542,30 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
693
542
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
694
543
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
695
544
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
driver: "null" | "
|
|
545
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
697
546
|
ttl?: number | undefined;
|
|
698
|
-
port?: number | undefined;
|
|
699
547
|
host?: string | undefined;
|
|
700
|
-
password?: string | undefined;
|
|
701
548
|
token?: string | undefined;
|
|
702
549
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
703
550
|
url?: string | undefined;
|
|
551
|
+
port?: number | undefined;
|
|
704
552
|
username?: string | undefined;
|
|
553
|
+
password?: string | undefined;
|
|
705
554
|
tls?: boolean | undefined;
|
|
706
555
|
}, {
|
|
707
|
-
driver: "null" | "
|
|
556
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
708
557
|
ttl?: number | undefined;
|
|
709
|
-
port?: number | undefined;
|
|
710
558
|
host?: string | undefined;
|
|
711
|
-
password?: string | undefined;
|
|
712
559
|
token?: string | undefined;
|
|
713
560
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
714
561
|
url?: string | undefined;
|
|
562
|
+
port?: number | undefined;
|
|
715
563
|
username?: string | undefined;
|
|
564
|
+
password?: string | undefined;
|
|
716
565
|
tls?: boolean | undefined;
|
|
717
566
|
}>>;
|
|
718
567
|
cache: z.ZodOptional<z.ZodObject<{
|
|
719
|
-
driver: z.ZodEnum<["null" | "
|
|
568
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
720
569
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
721
570
|
url: z.ZodOptional<z.ZodString>;
|
|
722
571
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -727,76 +576,76 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
727
576
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
728
577
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
729
578
|
}, "strip", z.ZodTypeAny, {
|
|
730
|
-
driver: "null" | "
|
|
579
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
731
580
|
ttl?: number | undefined;
|
|
732
|
-
port?: number | undefined;
|
|
733
581
|
host?: string | undefined;
|
|
734
|
-
password?: string | undefined;
|
|
735
582
|
token?: string | undefined;
|
|
736
583
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
737
584
|
url?: string | undefined;
|
|
585
|
+
port?: number | undefined;
|
|
738
586
|
username?: string | undefined;
|
|
587
|
+
password?: string | undefined;
|
|
739
588
|
tls?: boolean | undefined;
|
|
740
589
|
}, {
|
|
741
|
-
driver: "null" | "
|
|
590
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
742
591
|
ttl?: number | undefined;
|
|
743
|
-
port?: number | undefined;
|
|
744
592
|
host?: string | undefined;
|
|
745
|
-
password?: string | undefined;
|
|
746
593
|
token?: string | undefined;
|
|
747
594
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
748
595
|
url?: string | undefined;
|
|
596
|
+
port?: number | undefined;
|
|
749
597
|
username?: string | undefined;
|
|
598
|
+
password?: string | undefined;
|
|
750
599
|
tls?: boolean | undefined;
|
|
751
600
|
}>>;
|
|
752
601
|
}, "strip", z.ZodTypeAny, {
|
|
753
602
|
session?: {
|
|
754
|
-
driver: "null" | "
|
|
603
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
755
604
|
ttl?: number | undefined;
|
|
756
|
-
port?: number | undefined;
|
|
757
605
|
host?: string | undefined;
|
|
758
|
-
password?: string | undefined;
|
|
759
606
|
token?: string | undefined;
|
|
760
607
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
761
608
|
url?: string | undefined;
|
|
609
|
+
port?: number | undefined;
|
|
762
610
|
username?: string | undefined;
|
|
611
|
+
password?: string | undefined;
|
|
763
612
|
tls?: boolean | undefined;
|
|
764
613
|
} | undefined;
|
|
765
614
|
cache?: {
|
|
766
|
-
driver: "null" | "
|
|
615
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
767
616
|
ttl?: number | undefined;
|
|
768
|
-
port?: number | undefined;
|
|
769
617
|
host?: string | undefined;
|
|
770
|
-
password?: string | undefined;
|
|
771
618
|
token?: string | undefined;
|
|
772
619
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
773
620
|
url?: string | undefined;
|
|
621
|
+
port?: number | undefined;
|
|
774
622
|
username?: string | undefined;
|
|
623
|
+
password?: string | undefined;
|
|
775
624
|
tls?: boolean | undefined;
|
|
776
625
|
} | undefined;
|
|
777
626
|
}, {
|
|
778
627
|
session?: {
|
|
779
|
-
driver: "null" | "
|
|
628
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
780
629
|
ttl?: number | undefined;
|
|
781
|
-
port?: number | undefined;
|
|
782
630
|
host?: string | undefined;
|
|
783
|
-
password?: string | undefined;
|
|
784
631
|
token?: string | undefined;
|
|
785
632
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
786
633
|
url?: string | undefined;
|
|
634
|
+
port?: number | undefined;
|
|
787
635
|
username?: string | undefined;
|
|
636
|
+
password?: string | undefined;
|
|
788
637
|
tls?: boolean | undefined;
|
|
789
638
|
} | undefined;
|
|
790
639
|
cache?: {
|
|
791
|
-
driver: "null" | "
|
|
640
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
792
641
|
ttl?: number | undefined;
|
|
793
|
-
port?: number | undefined;
|
|
794
642
|
host?: string | undefined;
|
|
795
|
-
password?: string | undefined;
|
|
796
643
|
token?: string | undefined;
|
|
797
644
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
798
645
|
url?: string | undefined;
|
|
646
|
+
port?: number | undefined;
|
|
799
647
|
username?: string | undefined;
|
|
648
|
+
password?: string | undefined;
|
|
800
649
|
tls?: boolean | undefined;
|
|
801
650
|
} | undefined;
|
|
802
651
|
}>>;
|
|
@@ -832,32 +681,25 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
832
681
|
username: z.ZodString;
|
|
833
682
|
password: z.ZodString;
|
|
834
683
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
password: string;
|
|
836
684
|
username: string;
|
|
837
|
-
}, {
|
|
838
685
|
password: string;
|
|
686
|
+
}, {
|
|
839
687
|
username: string;
|
|
688
|
+
password: string;
|
|
840
689
|
}>>;
|
|
841
690
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
842
|
-
/**
|
|
843
|
-
* The provider to use for the persistent storage.
|
|
844
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
845
|
-
*/
|
|
846
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
847
691
|
}, "strip", z.ZodTypeAny, {
|
|
848
692
|
auth?: {
|
|
849
|
-
password: string;
|
|
850
693
|
username: string;
|
|
694
|
+
password: string;
|
|
851
695
|
} | undefined;
|
|
852
696
|
enabled?: boolean | undefined;
|
|
853
|
-
provider?: "redis" | "memory" | undefined;
|
|
854
697
|
}, {
|
|
855
698
|
auth?: {
|
|
856
|
-
password: string;
|
|
857
699
|
username: string;
|
|
700
|
+
password: string;
|
|
858
701
|
} | undefined;
|
|
859
702
|
enabled?: boolean | undefined;
|
|
860
|
-
provider?: "redis" | "memory" | undefined;
|
|
861
703
|
}>>;
|
|
862
704
|
publicShopData: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
863
705
|
idp: z.ZodOptional<z.ZodObject<{
|
|
@@ -873,44 +715,24 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
873
715
|
idpKeys: string[];
|
|
874
716
|
idpRedirectURL: string;
|
|
875
717
|
}>>;
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
host: z.ZodOptional<z.ZodString>;
|
|
880
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
881
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
+
sapi: z.ZodObject<{
|
|
719
|
+
host: z.ZodString;
|
|
720
|
+
token: z.ZodString;
|
|
882
721
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
prefix?: string | undefined;
|
|
886
|
-
sslTransit?: boolean | undefined;
|
|
722
|
+
host: string;
|
|
723
|
+
token: string;
|
|
887
724
|
}, {
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
host: z.ZodOptional<z.ZodString>;
|
|
895
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
896
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
-
user: z.ZodString;
|
|
898
|
-
password: z.ZodString;
|
|
725
|
+
host: string;
|
|
726
|
+
token: string;
|
|
727
|
+
}>;
|
|
728
|
+
/** Collection of feature flags regarding legacy features and functionalities */
|
|
729
|
+
legacy: z.ZodOptional<z.ZodObject<{
|
|
730
|
+
enableSessionMigration: z.ZodOptional<z.ZodBoolean>;
|
|
899
731
|
}, "strip", z.ZodTypeAny, {
|
|
900
|
-
|
|
901
|
-
password: string;
|
|
902
|
-
port?: number | undefined;
|
|
903
|
-
host?: string | undefined;
|
|
904
|
-
prefix?: string | undefined;
|
|
905
|
-
sslTransit?: boolean | undefined;
|
|
732
|
+
enableSessionMigration?: boolean | undefined;
|
|
906
733
|
}, {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
port?: number | undefined;
|
|
910
|
-
host?: string | undefined;
|
|
911
|
-
prefix?: string | undefined;
|
|
912
|
-
sslTransit?: boolean | undefined;
|
|
913
|
-
}>]>>;
|
|
734
|
+
enableSessionMigration?: boolean | undefined;
|
|
735
|
+
}>>;
|
|
914
736
|
/** Undocumented property intended for internal usage only */
|
|
915
737
|
internalAccessHeader: z.ZodOptional<z.ZodString>;
|
|
916
738
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -924,25 +746,16 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
924
746
|
basketKey: string;
|
|
925
747
|
hashAlgorithm: "none" | "md5" | "sha256";
|
|
926
748
|
};
|
|
749
|
+
sapi: {
|
|
750
|
+
host: string;
|
|
751
|
+
token: string;
|
|
752
|
+
};
|
|
927
753
|
idp?: {
|
|
928
754
|
enabled: boolean;
|
|
929
755
|
idpKeys: string[];
|
|
930
756
|
idpRedirectURL: string;
|
|
931
757
|
} | undefined;
|
|
932
758
|
internalAccessHeader?: string | undefined;
|
|
933
|
-
redis?: {
|
|
934
|
-
port?: number | undefined;
|
|
935
|
-
host?: string | undefined;
|
|
936
|
-
prefix?: string | undefined;
|
|
937
|
-
sslTransit?: boolean | undefined;
|
|
938
|
-
} | {
|
|
939
|
-
user: string;
|
|
940
|
-
password: string;
|
|
941
|
-
port?: number | undefined;
|
|
942
|
-
host?: string | undefined;
|
|
943
|
-
prefix?: string | undefined;
|
|
944
|
-
sslTransit?: boolean | undefined;
|
|
945
|
-
} | undefined;
|
|
946
759
|
apiBasePath?: string | undefined;
|
|
947
760
|
session?: {
|
|
948
761
|
domain?: string | undefined;
|
|
@@ -950,43 +763,44 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
950
763
|
maxAge?: number | undefined;
|
|
951
764
|
cookieName?: string | undefined;
|
|
952
765
|
secret?: string | string[] | undefined;
|
|
953
|
-
provider?: "redis" | "memory" | undefined;
|
|
954
766
|
} | undefined;
|
|
955
767
|
cache?: {
|
|
956
768
|
auth?: {
|
|
957
|
-
password: string;
|
|
958
769
|
username: string;
|
|
770
|
+
password: string;
|
|
959
771
|
} | undefined;
|
|
960
772
|
enabled?: boolean | undefined;
|
|
961
|
-
provider?: "redis" | "memory" | undefined;
|
|
962
773
|
} | undefined;
|
|
963
774
|
storage?: {
|
|
964
775
|
session?: {
|
|
965
|
-
driver: "null" | "
|
|
776
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
966
777
|
ttl?: number | undefined;
|
|
967
|
-
port?: number | undefined;
|
|
968
778
|
host?: string | undefined;
|
|
969
|
-
password?: string | undefined;
|
|
970
779
|
token?: string | undefined;
|
|
971
780
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
972
781
|
url?: string | undefined;
|
|
782
|
+
port?: number | undefined;
|
|
973
783
|
username?: string | undefined;
|
|
784
|
+
password?: string | undefined;
|
|
974
785
|
tls?: boolean | undefined;
|
|
975
786
|
} | undefined;
|
|
976
787
|
cache?: {
|
|
977
|
-
driver: "null" | "
|
|
788
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
978
789
|
ttl?: number | undefined;
|
|
979
|
-
port?: number | undefined;
|
|
980
790
|
host?: string | undefined;
|
|
981
|
-
password?: string | undefined;
|
|
982
791
|
token?: string | undefined;
|
|
983
792
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
984
793
|
url?: string | undefined;
|
|
794
|
+
port?: number | undefined;
|
|
985
795
|
username?: string | undefined;
|
|
796
|
+
password?: string | undefined;
|
|
986
797
|
tls?: boolean | undefined;
|
|
987
798
|
} | undefined;
|
|
988
799
|
} | undefined;
|
|
989
800
|
publicShopData?: string[] | undefined;
|
|
801
|
+
legacy?: {
|
|
802
|
+
enableSessionMigration?: boolean | undefined;
|
|
803
|
+
} | undefined;
|
|
990
804
|
}, {
|
|
991
805
|
oauth: {
|
|
992
806
|
apiHost: string;
|
|
@@ -998,25 +812,16 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
998
812
|
basketKey: string;
|
|
999
813
|
hashAlgorithm: "none" | "md5" | "sha256";
|
|
1000
814
|
};
|
|
815
|
+
sapi: {
|
|
816
|
+
host: string;
|
|
817
|
+
token: string;
|
|
818
|
+
};
|
|
1001
819
|
idp?: {
|
|
1002
820
|
enabled: boolean;
|
|
1003
821
|
idpKeys: string[];
|
|
1004
822
|
idpRedirectURL: string;
|
|
1005
823
|
} | undefined;
|
|
1006
824
|
internalAccessHeader?: string | undefined;
|
|
1007
|
-
redis?: {
|
|
1008
|
-
port?: number | undefined;
|
|
1009
|
-
host?: string | undefined;
|
|
1010
|
-
prefix?: string | undefined;
|
|
1011
|
-
sslTransit?: boolean | undefined;
|
|
1012
|
-
} | {
|
|
1013
|
-
user: string;
|
|
1014
|
-
password: string;
|
|
1015
|
-
port?: number | undefined;
|
|
1016
|
-
host?: string | undefined;
|
|
1017
|
-
prefix?: string | undefined;
|
|
1018
|
-
sslTransit?: boolean | undefined;
|
|
1019
|
-
} | undefined;
|
|
1020
825
|
apiBasePath?: string | undefined;
|
|
1021
826
|
session?: {
|
|
1022
827
|
domain?: string | undefined;
|
|
@@ -1024,95 +829,45 @@ declare const StorefrontConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1024
829
|
maxAge?: number | undefined;
|
|
1025
830
|
cookieName?: string | undefined;
|
|
1026
831
|
secret?: string | string[] | undefined;
|
|
1027
|
-
provider?: "redis" | "memory" | undefined;
|
|
1028
832
|
} | undefined;
|
|
1029
833
|
cache?: {
|
|
1030
834
|
auth?: {
|
|
1031
|
-
password: string;
|
|
1032
835
|
username: string;
|
|
836
|
+
password: string;
|
|
1033
837
|
} | undefined;
|
|
1034
838
|
enabled?: boolean | undefined;
|
|
1035
|
-
provider?: "redis" | "memory" | undefined;
|
|
1036
839
|
} | undefined;
|
|
1037
840
|
storage?: {
|
|
1038
841
|
session?: {
|
|
1039
|
-
driver: "null" | "
|
|
842
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1040
843
|
ttl?: number | undefined;
|
|
1041
|
-
port?: number | undefined;
|
|
1042
844
|
host?: string | undefined;
|
|
1043
|
-
password?: string | undefined;
|
|
1044
845
|
token?: string | undefined;
|
|
1045
846
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1046
847
|
url?: string | undefined;
|
|
848
|
+
port?: number | undefined;
|
|
1047
849
|
username?: string | undefined;
|
|
850
|
+
password?: string | undefined;
|
|
1048
851
|
tls?: boolean | undefined;
|
|
1049
852
|
} | undefined;
|
|
1050
853
|
cache?: {
|
|
1051
|
-
driver: "null" | "
|
|
854
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1052
855
|
ttl?: number | undefined;
|
|
1053
|
-
port?: number | undefined;
|
|
1054
856
|
host?: string | undefined;
|
|
1055
|
-
password?: string | undefined;
|
|
1056
857
|
token?: string | undefined;
|
|
1057
858
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1058
859
|
url?: string | undefined;
|
|
860
|
+
port?: number | undefined;
|
|
1059
861
|
username?: string | undefined;
|
|
862
|
+
password?: string | undefined;
|
|
1060
863
|
tls?: boolean | undefined;
|
|
1061
864
|
} | undefined;
|
|
1062
865
|
} | undefined;
|
|
1063
866
|
publicShopData?: string[] | undefined;
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
}, "strip", z.ZodTypeAny, {
|
|
1069
|
-
host: string;
|
|
1070
|
-
token: string;
|
|
1071
|
-
}, {
|
|
1072
|
-
host: string;
|
|
1073
|
-
token: string;
|
|
1074
|
-
}>;
|
|
1075
|
-
bapi: z.ZodUndefined;
|
|
1076
|
-
}, "strip", z.ZodTypeAny, {
|
|
1077
|
-
sapi: {
|
|
1078
|
-
host: string;
|
|
1079
|
-
token: string;
|
|
1080
|
-
};
|
|
1081
|
-
bapi?: undefined;
|
|
1082
|
-
}, {
|
|
1083
|
-
sapi: {
|
|
1084
|
-
host: string;
|
|
1085
|
-
token: string;
|
|
1086
|
-
};
|
|
1087
|
-
bapi?: undefined;
|
|
1088
|
-
}>, z.ZodObject<{
|
|
1089
|
-
/**
|
|
1090
|
-
* bapi was renamed. Use {@link sapi} instead.
|
|
1091
|
-
*/
|
|
1092
|
-
bapi: z.ZodObject<{
|
|
1093
|
-
host: z.ZodString;
|
|
1094
|
-
token: z.ZodString;
|
|
1095
|
-
}, "strip", z.ZodTypeAny, {
|
|
1096
|
-
host: string;
|
|
1097
|
-
token: string;
|
|
1098
|
-
}, {
|
|
1099
|
-
host: string;
|
|
1100
|
-
token: string;
|
|
1101
|
-
}>;
|
|
1102
|
-
sapi: z.ZodUndefined;
|
|
1103
|
-
}, "strip", z.ZodTypeAny, {
|
|
1104
|
-
bapi: {
|
|
1105
|
-
host: string;
|
|
1106
|
-
token: string;
|
|
1107
|
-
};
|
|
1108
|
-
sapi?: undefined;
|
|
1109
|
-
}, {
|
|
1110
|
-
bapi: {
|
|
1111
|
-
host: string;
|
|
1112
|
-
token: string;
|
|
1113
|
-
};
|
|
1114
|
-
sapi?: undefined;
|
|
1115
|
-
}>]>>;
|
|
867
|
+
legacy?: {
|
|
868
|
+
enableSessionMigration?: boolean | undefined;
|
|
869
|
+
} | undefined;
|
|
870
|
+
}>;
|
|
1116
871
|
declare const PublicRuntimeConfigSchema: z.ZodObject<{
|
|
1117
872
|
log: z.ZodObject<{
|
|
1118
873
|
name: z.ZodString;
|
|
@@ -1124,22 +879,33 @@ declare const PublicRuntimeConfigSchema: z.ZodObject<{
|
|
|
1124
879
|
name: string;
|
|
1125
880
|
level: LogLevel;
|
|
1126
881
|
}>;
|
|
1127
|
-
|
|
882
|
+
/** Collection of feature flags regarding legacy features and functionalities */
|
|
883
|
+
legacy: z.ZodOptional<z.ZodObject<{
|
|
884
|
+
enableDefaultGetCachedDataOverride: z.ZodOptional<z.ZodBoolean>;
|
|
885
|
+
}, "strip", z.ZodTypeAny, {
|
|
886
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
887
|
+
}, {
|
|
888
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
889
|
+
}>>;
|
|
1128
890
|
}, "strip", z.ZodTypeAny, {
|
|
1129
891
|
log: {
|
|
1130
892
|
name: string;
|
|
1131
893
|
level: LogLevel;
|
|
1132
894
|
};
|
|
1133
|
-
|
|
895
|
+
legacy?: {
|
|
896
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
897
|
+
} | undefined;
|
|
1134
898
|
}, {
|
|
1135
899
|
log: {
|
|
1136
900
|
name: string;
|
|
1137
901
|
level: LogLevel;
|
|
1138
902
|
};
|
|
1139
|
-
|
|
903
|
+
legacy?: {
|
|
904
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
905
|
+
} | undefined;
|
|
1140
906
|
}>;
|
|
1141
907
|
export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
1142
|
-
storefront: z.ZodIntersection<z.
|
|
908
|
+
storefront: z.ZodIntersection<z.ZodObject<{
|
|
1143
909
|
shopSelector: z.ZodEnum<["path", "domain", "path_or_default"]>;
|
|
1144
910
|
redirects: z.ZodOptional<z.ZodObject<{
|
|
1145
911
|
enabled: z.ZodBoolean;
|
|
@@ -1151,23 +917,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1151
917
|
enabled: boolean;
|
|
1152
918
|
queryParamWhitelist?: string[] | undefined;
|
|
1153
919
|
}>>;
|
|
1154
|
-
|
|
1155
|
-
shopSelector: "domain" | "path" | "path_or_default";
|
|
1156
|
-
redirects?: {
|
|
1157
|
-
enabled: boolean;
|
|
1158
|
-
queryParamWhitelist?: string[] | undefined;
|
|
1159
|
-
} | undefined;
|
|
1160
|
-
}, {
|
|
1161
|
-
shopSelector: "domain" | "path" | "path_or_default";
|
|
1162
|
-
redirects?: {
|
|
1163
|
-
enabled: boolean;
|
|
1164
|
-
queryParamWhitelist?: string[] | undefined;
|
|
1165
|
-
} | undefined;
|
|
1166
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
1167
|
-
/**
|
|
1168
|
-
* @deprecated stores was renamed. Use {@link shops} instead
|
|
1169
|
-
*/
|
|
1170
|
-
stores: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
920
|
+
shops: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1171
921
|
idp: z.ZodOptional<z.ZodObject<{
|
|
1172
922
|
enabled: z.ZodBoolean;
|
|
1173
923
|
idpKeys: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1203,15 +953,15 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1203
953
|
shopId: z.ZodOptional<z.ZodNumber>;
|
|
1204
954
|
}, "strip", z.ZodTypeAny, {
|
|
1205
955
|
user: string | number;
|
|
1206
|
-
host: string;
|
|
1207
956
|
secret: string;
|
|
957
|
+
host: string;
|
|
1208
958
|
token: string;
|
|
1209
959
|
shopId?: number | undefined;
|
|
1210
960
|
cbdExpiration?: number | undefined;
|
|
1211
961
|
}, {
|
|
1212
962
|
user: string | number;
|
|
1213
|
-
host: string;
|
|
1214
963
|
secret: string;
|
|
964
|
+
host: string;
|
|
1215
965
|
token: string;
|
|
1216
966
|
shopId?: number | undefined;
|
|
1217
967
|
cbdExpiration?: number | undefined;
|
|
@@ -1253,25 +1003,18 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1253
1003
|
* Controls the domain option on the session cookie
|
|
1254
1004
|
*/
|
|
1255
1005
|
domain: z.ZodOptional<z.ZodString>;
|
|
1256
|
-
/**
|
|
1257
|
-
* The provider to use for the persistent storage.
|
|
1258
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
1259
|
-
*/
|
|
1260
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
1261
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1262
1007
|
domain?: string | undefined;
|
|
1263
1008
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1264
1009
|
maxAge?: number | undefined;
|
|
1265
1010
|
cookieName?: string | undefined;
|
|
1266
1011
|
secret?: string | string[] | undefined;
|
|
1267
|
-
provider?: "redis" | "memory" | undefined;
|
|
1268
1012
|
}, {
|
|
1269
1013
|
domain?: string | undefined;
|
|
1270
1014
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1271
1015
|
maxAge?: number | undefined;
|
|
1272
1016
|
cookieName?: string | undefined;
|
|
1273
1017
|
secret?: string | string[] | undefined;
|
|
1274
|
-
provider?: "redis" | "memory" | undefined;
|
|
1275
1018
|
}>>;
|
|
1276
1019
|
sapi: z.ZodOptional<z.ZodObject<{
|
|
1277
1020
|
host: z.ZodString;
|
|
@@ -1283,19 +1026,9 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1283
1026
|
host: string;
|
|
1284
1027
|
token: string;
|
|
1285
1028
|
}>>;
|
|
1286
|
-
bapi: z.ZodOptional<z.ZodObject<{
|
|
1287
|
-
host: z.ZodString;
|
|
1288
|
-
token: z.ZodString;
|
|
1289
|
-
}, "strip", z.ZodTypeAny, {
|
|
1290
|
-
host: string;
|
|
1291
|
-
token: string;
|
|
1292
|
-
}, {
|
|
1293
|
-
host: string;
|
|
1294
|
-
token: string;
|
|
1295
|
-
}>>;
|
|
1296
1029
|
storage: z.ZodOptional<z.ZodObject<{
|
|
1297
1030
|
session: z.ZodOptional<z.ZodObject<{
|
|
1298
|
-
driver: z.ZodEnum<["null" | "
|
|
1031
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1299
1032
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1300
1033
|
url: z.ZodOptional<z.ZodString>;
|
|
1301
1034
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -1306,30 +1039,30 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1306
1039
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1307
1040
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1308
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1309
|
-
driver: "null" | "
|
|
1042
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1310
1043
|
ttl?: number | undefined;
|
|
1311
|
-
port?: number | undefined;
|
|
1312
1044
|
host?: string | undefined;
|
|
1313
|
-
password?: string | undefined;
|
|
1314
1045
|
token?: string | undefined;
|
|
1315
1046
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1316
1047
|
url?: string | undefined;
|
|
1048
|
+
port?: number | undefined;
|
|
1317
1049
|
username?: string | undefined;
|
|
1050
|
+
password?: string | undefined;
|
|
1318
1051
|
tls?: boolean | undefined;
|
|
1319
1052
|
}, {
|
|
1320
|
-
driver: "null" | "
|
|
1053
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1321
1054
|
ttl?: number | undefined;
|
|
1322
|
-
port?: number | undefined;
|
|
1323
1055
|
host?: string | undefined;
|
|
1324
|
-
password?: string | undefined;
|
|
1325
1056
|
token?: string | undefined;
|
|
1326
1057
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1327
1058
|
url?: string | undefined;
|
|
1059
|
+
port?: number | undefined;
|
|
1328
1060
|
username?: string | undefined;
|
|
1061
|
+
password?: string | undefined;
|
|
1329
1062
|
tls?: boolean | undefined;
|
|
1330
1063
|
}>>;
|
|
1331
1064
|
cache: z.ZodOptional<z.ZodObject<{
|
|
1332
|
-
driver: z.ZodEnum<["null" | "
|
|
1065
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1333
1066
|
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1334
1067
|
url: z.ZodOptional<z.ZodString>;
|
|
1335
1068
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -1340,128 +1073,86 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1340
1073
|
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1341
1074
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1342
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1343
|
-
driver: "null" | "
|
|
1076
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1344
1077
|
ttl?: number | undefined;
|
|
1345
|
-
port?: number | undefined;
|
|
1346
1078
|
host?: string | undefined;
|
|
1347
|
-
password?: string | undefined;
|
|
1348
1079
|
token?: string | undefined;
|
|
1349
1080
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1350
1081
|
url?: string | undefined;
|
|
1082
|
+
port?: number | undefined;
|
|
1351
1083
|
username?: string | undefined;
|
|
1084
|
+
password?: string | undefined;
|
|
1352
1085
|
tls?: boolean | undefined;
|
|
1353
1086
|
}, {
|
|
1354
|
-
driver: "null" | "
|
|
1087
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1355
1088
|
ttl?: number | undefined;
|
|
1356
|
-
port?: number | undefined;
|
|
1357
1089
|
host?: string | undefined;
|
|
1358
|
-
password?: string | undefined;
|
|
1359
1090
|
token?: string | undefined;
|
|
1360
1091
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1361
1092
|
url?: string | undefined;
|
|
1093
|
+
port?: number | undefined;
|
|
1362
1094
|
username?: string | undefined;
|
|
1095
|
+
password?: string | undefined;
|
|
1363
1096
|
tls?: boolean | undefined;
|
|
1364
1097
|
}>>;
|
|
1365
1098
|
}, "strip", z.ZodTypeAny, {
|
|
1366
1099
|
session?: {
|
|
1367
|
-
driver: "null" | "
|
|
1100
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1368
1101
|
ttl?: number | undefined;
|
|
1369
|
-
port?: number | undefined;
|
|
1370
1102
|
host?: string | undefined;
|
|
1371
|
-
password?: string | undefined;
|
|
1372
1103
|
token?: string | undefined;
|
|
1373
1104
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1374
1105
|
url?: string | undefined;
|
|
1106
|
+
port?: number | undefined;
|
|
1375
1107
|
username?: string | undefined;
|
|
1108
|
+
password?: string | undefined;
|
|
1376
1109
|
tls?: boolean | undefined;
|
|
1377
1110
|
} | undefined;
|
|
1378
1111
|
cache?: {
|
|
1379
|
-
driver: "null" | "
|
|
1112
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1380
1113
|
ttl?: number | undefined;
|
|
1381
|
-
port?: number | undefined;
|
|
1382
1114
|
host?: string | undefined;
|
|
1383
|
-
password?: string | undefined;
|
|
1384
1115
|
token?: string | undefined;
|
|
1385
1116
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1386
1117
|
url?: string | undefined;
|
|
1118
|
+
port?: number | undefined;
|
|
1387
1119
|
username?: string | undefined;
|
|
1120
|
+
password?: string | undefined;
|
|
1388
1121
|
tls?: boolean | undefined;
|
|
1389
1122
|
} | undefined;
|
|
1390
1123
|
}, {
|
|
1391
1124
|
session?: {
|
|
1392
|
-
driver: "null" | "
|
|
1125
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1393
1126
|
ttl?: number | undefined;
|
|
1394
|
-
port?: number | undefined;
|
|
1395
1127
|
host?: string | undefined;
|
|
1396
|
-
password?: string | undefined;
|
|
1397
1128
|
token?: string | undefined;
|
|
1398
1129
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1399
1130
|
url?: string | undefined;
|
|
1131
|
+
port?: number | undefined;
|
|
1400
1132
|
username?: string | undefined;
|
|
1133
|
+
password?: string | undefined;
|
|
1401
1134
|
tls?: boolean | undefined;
|
|
1402
1135
|
} | undefined;
|
|
1403
1136
|
cache?: {
|
|
1404
|
-
driver: "null" | "
|
|
1137
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1405
1138
|
ttl?: number | undefined;
|
|
1406
|
-
port?: number | undefined;
|
|
1407
1139
|
host?: string | undefined;
|
|
1408
|
-
password?: string | undefined;
|
|
1409
1140
|
token?: string | undefined;
|
|
1410
1141
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1411
1142
|
url?: string | undefined;
|
|
1143
|
+
port?: number | undefined;
|
|
1412
1144
|
username?: string | undefined;
|
|
1145
|
+
password?: string | undefined;
|
|
1413
1146
|
tls?: boolean | undefined;
|
|
1414
1147
|
} | undefined;
|
|
1415
1148
|
}>>;
|
|
1416
1149
|
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
1417
|
-
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
1418
|
-
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1419
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
1420
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1421
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1422
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
1423
|
-
}, "strip", z.ZodTypeAny, {
|
|
1424
|
-
port?: number | undefined;
|
|
1425
|
-
host?: string | undefined;
|
|
1426
|
-
prefix?: string | undefined;
|
|
1427
|
-
sslTransit?: boolean | undefined;
|
|
1428
|
-
}, {
|
|
1429
|
-
port?: number | undefined;
|
|
1430
|
-
host?: string | undefined;
|
|
1431
|
-
prefix?: string | undefined;
|
|
1432
|
-
sslTransit?: boolean | undefined;
|
|
1433
|
-
}>, z.ZodObject<{
|
|
1434
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
1435
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1436
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1437
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
1438
|
-
user: z.ZodString;
|
|
1439
|
-
password: z.ZodString;
|
|
1440
|
-
}, "strip", z.ZodTypeAny, {
|
|
1441
|
-
user: string;
|
|
1442
|
-
password: string;
|
|
1443
|
-
port?: number | undefined;
|
|
1444
|
-
host?: string | undefined;
|
|
1445
|
-
prefix?: string | undefined;
|
|
1446
|
-
sslTransit?: boolean | undefined;
|
|
1447
|
-
}, {
|
|
1448
|
-
user: string;
|
|
1449
|
-
password: string;
|
|
1450
|
-
port?: number | undefined;
|
|
1451
|
-
host?: string | undefined;
|
|
1452
|
-
prefix?: string | undefined;
|
|
1453
|
-
sslTransit?: boolean | undefined;
|
|
1454
|
-
}>]>>;
|
|
1455
|
-
/**
|
|
1456
|
-
* @deprecated storeCampaignKeyword will be removed in a future release.
|
|
1457
|
-
*/
|
|
1458
|
-
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
1459
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1460
1151
|
locale: string;
|
|
1461
1152
|
checkout: {
|
|
1462
1153
|
user: string | number;
|
|
1463
|
-
host: string;
|
|
1464
1154
|
secret: string;
|
|
1155
|
+
host: string;
|
|
1465
1156
|
token: string;
|
|
1466
1157
|
shopId?: number | undefined;
|
|
1467
1158
|
cbdExpiration?: number | undefined;
|
|
@@ -1472,26 +1163,12 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1472
1163
|
};
|
|
1473
1164
|
currency: string;
|
|
1474
1165
|
domain?: string | undefined;
|
|
1475
|
-
storeCampaignKeyword?: string | undefined;
|
|
1476
1166
|
idp?: {
|
|
1477
1167
|
enabled: boolean;
|
|
1478
1168
|
idpKeys: string[];
|
|
1479
1169
|
idpRedirectURL: string;
|
|
1480
1170
|
} | undefined;
|
|
1481
1171
|
path?: string | string[] | undefined;
|
|
1482
|
-
redis?: {
|
|
1483
|
-
port?: number | undefined;
|
|
1484
|
-
host?: string | undefined;
|
|
1485
|
-
prefix?: string | undefined;
|
|
1486
|
-
sslTransit?: boolean | undefined;
|
|
1487
|
-
} | {
|
|
1488
|
-
user: string;
|
|
1489
|
-
password: string;
|
|
1490
|
-
port?: number | undefined;
|
|
1491
|
-
host?: string | undefined;
|
|
1492
|
-
prefix?: string | undefined;
|
|
1493
|
-
sslTransit?: boolean | undefined;
|
|
1494
|
-
} | undefined;
|
|
1495
1172
|
apiBasePath?: string | undefined;
|
|
1496
1173
|
appKeys?: {
|
|
1497
1174
|
wishlistKey: string;
|
|
@@ -1506,39 +1183,34 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1506
1183
|
maxAge?: number | undefined;
|
|
1507
1184
|
cookieName?: string | undefined;
|
|
1508
1185
|
secret?: string | string[] | undefined;
|
|
1509
|
-
provider?: "redis" | "memory" | undefined;
|
|
1510
1186
|
} | undefined;
|
|
1511
1187
|
sapi?: {
|
|
1512
1188
|
host: string;
|
|
1513
1189
|
token: string;
|
|
1514
1190
|
} | undefined;
|
|
1515
|
-
bapi?: {
|
|
1516
|
-
host: string;
|
|
1517
|
-
token: string;
|
|
1518
|
-
} | undefined;
|
|
1519
1191
|
storage?: {
|
|
1520
1192
|
session?: {
|
|
1521
|
-
driver: "null" | "
|
|
1193
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1522
1194
|
ttl?: number | undefined;
|
|
1523
|
-
port?: number | undefined;
|
|
1524
1195
|
host?: string | undefined;
|
|
1525
|
-
password?: string | undefined;
|
|
1526
1196
|
token?: string | undefined;
|
|
1527
1197
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1528
1198
|
url?: string | undefined;
|
|
1199
|
+
port?: number | undefined;
|
|
1529
1200
|
username?: string | undefined;
|
|
1201
|
+
password?: string | undefined;
|
|
1530
1202
|
tls?: boolean | undefined;
|
|
1531
1203
|
} | undefined;
|
|
1532
1204
|
cache?: {
|
|
1533
|
-
driver: "null" | "
|
|
1205
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1534
1206
|
ttl?: number | undefined;
|
|
1535
|
-
port?: number | undefined;
|
|
1536
1207
|
host?: string | undefined;
|
|
1537
|
-
password?: string | undefined;
|
|
1538
1208
|
token?: string | undefined;
|
|
1539
1209
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1540
1210
|
url?: string | undefined;
|
|
1211
|
+
port?: number | undefined;
|
|
1541
1212
|
username?: string | undefined;
|
|
1213
|
+
password?: string | undefined;
|
|
1542
1214
|
tls?: boolean | undefined;
|
|
1543
1215
|
} | undefined;
|
|
1544
1216
|
} | undefined;
|
|
@@ -1547,8 +1219,8 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1547
1219
|
locale: string;
|
|
1548
1220
|
checkout: {
|
|
1549
1221
|
user: string | number;
|
|
1550
|
-
host: string;
|
|
1551
1222
|
secret: string;
|
|
1223
|
+
host: string;
|
|
1552
1224
|
token: string;
|
|
1553
1225
|
shopId?: number | undefined;
|
|
1554
1226
|
cbdExpiration?: number | undefined;
|
|
@@ -1559,26 +1231,12 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1559
1231
|
};
|
|
1560
1232
|
currency: string;
|
|
1561
1233
|
domain?: string | undefined;
|
|
1562
|
-
storeCampaignKeyword?: string | undefined;
|
|
1563
1234
|
idp?: {
|
|
1564
1235
|
enabled: boolean;
|
|
1565
1236
|
idpKeys: string[];
|
|
1566
1237
|
idpRedirectURL: string;
|
|
1567
1238
|
} | undefined;
|
|
1568
1239
|
path?: string | string[] | undefined;
|
|
1569
|
-
redis?: {
|
|
1570
|
-
port?: number | undefined;
|
|
1571
|
-
host?: string | undefined;
|
|
1572
|
-
prefix?: string | undefined;
|
|
1573
|
-
sslTransit?: boolean | undefined;
|
|
1574
|
-
} | {
|
|
1575
|
-
user: string;
|
|
1576
|
-
password: string;
|
|
1577
|
-
port?: number | undefined;
|
|
1578
|
-
host?: string | undefined;
|
|
1579
|
-
prefix?: string | undefined;
|
|
1580
|
-
sslTransit?: boolean | undefined;
|
|
1581
|
-
} | undefined;
|
|
1582
1240
|
apiBasePath?: string | undefined;
|
|
1583
1241
|
appKeys?: {
|
|
1584
1242
|
wishlistKey: string;
|
|
@@ -1593,52 +1251,47 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1593
1251
|
maxAge?: number | undefined;
|
|
1594
1252
|
cookieName?: string | undefined;
|
|
1595
1253
|
secret?: string | string[] | undefined;
|
|
1596
|
-
provider?: "redis" | "memory" | undefined;
|
|
1597
1254
|
} | undefined;
|
|
1598
1255
|
sapi?: {
|
|
1599
1256
|
host: string;
|
|
1600
1257
|
token: string;
|
|
1601
1258
|
} | undefined;
|
|
1602
|
-
bapi?: {
|
|
1603
|
-
host: string;
|
|
1604
|
-
token: string;
|
|
1605
|
-
} | undefined;
|
|
1606
1259
|
storage?: {
|
|
1607
1260
|
session?: {
|
|
1608
|
-
driver: "null" | "
|
|
1261
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1609
1262
|
ttl?: number | undefined;
|
|
1610
|
-
port?: number | undefined;
|
|
1611
1263
|
host?: string | undefined;
|
|
1612
|
-
password?: string | undefined;
|
|
1613
1264
|
token?: string | undefined;
|
|
1614
1265
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1615
1266
|
url?: string | undefined;
|
|
1267
|
+
port?: number | undefined;
|
|
1616
1268
|
username?: string | undefined;
|
|
1269
|
+
password?: string | undefined;
|
|
1617
1270
|
tls?: boolean | undefined;
|
|
1618
1271
|
} | undefined;
|
|
1619
1272
|
cache?: {
|
|
1620
|
-
driver: "null" | "
|
|
1273
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1621
1274
|
ttl?: number | undefined;
|
|
1622
|
-
port?: number | undefined;
|
|
1623
1275
|
host?: string | undefined;
|
|
1624
|
-
password?: string | undefined;
|
|
1625
1276
|
token?: string | undefined;
|
|
1626
1277
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1627
1278
|
url?: string | undefined;
|
|
1279
|
+
port?: number | undefined;
|
|
1628
1280
|
username?: string | undefined;
|
|
1281
|
+
password?: string | undefined;
|
|
1629
1282
|
tls?: boolean | undefined;
|
|
1630
1283
|
} | undefined;
|
|
1631
1284
|
} | undefined;
|
|
1632
1285
|
isDefault?: string | boolean | undefined;
|
|
1633
1286
|
}>>;
|
|
1634
|
-
shops: z.ZodUndefined;
|
|
1635
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1636
|
-
|
|
1288
|
+
shopSelector: "domain" | "path" | "path_or_default";
|
|
1289
|
+
shops: Record<string, {
|
|
1637
1290
|
locale: string;
|
|
1638
1291
|
checkout: {
|
|
1639
1292
|
user: string | number;
|
|
1640
|
-
host: string;
|
|
1641
1293
|
secret: string;
|
|
1294
|
+
host: string;
|
|
1642
1295
|
token: string;
|
|
1643
1296
|
shopId?: number | undefined;
|
|
1644
1297
|
cbdExpiration?: number | undefined;
|
|
@@ -1649,26 +1302,12 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1649
1302
|
};
|
|
1650
1303
|
currency: string;
|
|
1651
1304
|
domain?: string | undefined;
|
|
1652
|
-
storeCampaignKeyword?: string | undefined;
|
|
1653
1305
|
idp?: {
|
|
1654
1306
|
enabled: boolean;
|
|
1655
1307
|
idpKeys: string[];
|
|
1656
1308
|
idpRedirectURL: string;
|
|
1657
1309
|
} | undefined;
|
|
1658
1310
|
path?: string | string[] | undefined;
|
|
1659
|
-
redis?: {
|
|
1660
|
-
port?: number | undefined;
|
|
1661
|
-
host?: string | undefined;
|
|
1662
|
-
prefix?: string | undefined;
|
|
1663
|
-
sslTransit?: boolean | undefined;
|
|
1664
|
-
} | {
|
|
1665
|
-
user: string;
|
|
1666
|
-
password: string;
|
|
1667
|
-
port?: number | undefined;
|
|
1668
|
-
host?: string | undefined;
|
|
1669
|
-
prefix?: string | undefined;
|
|
1670
|
-
sslTransit?: boolean | undefined;
|
|
1671
|
-
} | undefined;
|
|
1672
1311
|
apiBasePath?: string | undefined;
|
|
1673
1312
|
appKeys?: {
|
|
1674
1313
|
wishlistKey: string;
|
|
@@ -1683,52 +1322,51 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1683
1322
|
maxAge?: number | undefined;
|
|
1684
1323
|
cookieName?: string | undefined;
|
|
1685
1324
|
secret?: string | string[] | undefined;
|
|
1686
|
-
provider?: "redis" | "memory" | undefined;
|
|
1687
1325
|
} | undefined;
|
|
1688
1326
|
sapi?: {
|
|
1689
1327
|
host: string;
|
|
1690
1328
|
token: string;
|
|
1691
1329
|
} | undefined;
|
|
1692
|
-
bapi?: {
|
|
1693
|
-
host: string;
|
|
1694
|
-
token: string;
|
|
1695
|
-
} | undefined;
|
|
1696
1330
|
storage?: {
|
|
1697
1331
|
session?: {
|
|
1698
|
-
driver: "null" | "
|
|
1332
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1699
1333
|
ttl?: number | undefined;
|
|
1700
|
-
port?: number | undefined;
|
|
1701
1334
|
host?: string | undefined;
|
|
1702
|
-
password?: string | undefined;
|
|
1703
1335
|
token?: string | undefined;
|
|
1704
1336
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1705
1337
|
url?: string | undefined;
|
|
1338
|
+
port?: number | undefined;
|
|
1706
1339
|
username?: string | undefined;
|
|
1340
|
+
password?: string | undefined;
|
|
1707
1341
|
tls?: boolean | undefined;
|
|
1708
1342
|
} | undefined;
|
|
1709
1343
|
cache?: {
|
|
1710
|
-
driver: "null" | "
|
|
1344
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1711
1345
|
ttl?: number | undefined;
|
|
1712
|
-
port?: number | undefined;
|
|
1713
1346
|
host?: string | undefined;
|
|
1714
|
-
password?: string | undefined;
|
|
1715
1347
|
token?: string | undefined;
|
|
1716
1348
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1717
1349
|
url?: string | undefined;
|
|
1350
|
+
port?: number | undefined;
|
|
1718
1351
|
username?: string | undefined;
|
|
1352
|
+
password?: string | undefined;
|
|
1719
1353
|
tls?: boolean | undefined;
|
|
1720
1354
|
} | undefined;
|
|
1721
1355
|
} | undefined;
|
|
1722
1356
|
isDefault?: boolean | "" | undefined;
|
|
1723
1357
|
}>;
|
|
1724
|
-
|
|
1358
|
+
redirects?: {
|
|
1359
|
+
enabled: boolean;
|
|
1360
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1361
|
+
} | undefined;
|
|
1725
1362
|
}, {
|
|
1726
|
-
|
|
1363
|
+
shopSelector: "domain" | "path" | "path_or_default";
|
|
1364
|
+
shops: Record<string, {
|
|
1727
1365
|
locale: string;
|
|
1728
1366
|
checkout: {
|
|
1729
1367
|
user: string | number;
|
|
1730
|
-
host: string;
|
|
1731
1368
|
secret: string;
|
|
1369
|
+
host: string;
|
|
1732
1370
|
token: string;
|
|
1733
1371
|
shopId?: number | undefined;
|
|
1734
1372
|
cbdExpiration?: number | undefined;
|
|
@@ -1739,26 +1377,12 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1739
1377
|
};
|
|
1740
1378
|
currency: string;
|
|
1741
1379
|
domain?: string | undefined;
|
|
1742
|
-
storeCampaignKeyword?: string | undefined;
|
|
1743
1380
|
idp?: {
|
|
1744
1381
|
enabled: boolean;
|
|
1745
1382
|
idpKeys: string[];
|
|
1746
1383
|
idpRedirectURL: string;
|
|
1747
1384
|
} | undefined;
|
|
1748
1385
|
path?: string | string[] | undefined;
|
|
1749
|
-
redis?: {
|
|
1750
|
-
port?: number | undefined;
|
|
1751
|
-
host?: string | undefined;
|
|
1752
|
-
prefix?: string | undefined;
|
|
1753
|
-
sslTransit?: boolean | undefined;
|
|
1754
|
-
} | {
|
|
1755
|
-
user: string;
|
|
1756
|
-
password: string;
|
|
1757
|
-
port?: number | undefined;
|
|
1758
|
-
host?: string | undefined;
|
|
1759
|
-
prefix?: string | undefined;
|
|
1760
|
-
sslTransit?: boolean | undefined;
|
|
1761
|
-
} | undefined;
|
|
1762
1386
|
apiBasePath?: string | undefined;
|
|
1763
1387
|
appKeys?: {
|
|
1764
1388
|
wishlistKey: string;
|
|
@@ -1773,851 +1397,196 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1773
1397
|
maxAge?: number | undefined;
|
|
1774
1398
|
cookieName?: string | undefined;
|
|
1775
1399
|
secret?: string | string[] | undefined;
|
|
1776
|
-
provider?: "redis" | "memory" | undefined;
|
|
1777
1400
|
} | undefined;
|
|
1778
1401
|
sapi?: {
|
|
1779
1402
|
host: string;
|
|
1780
1403
|
token: string;
|
|
1781
1404
|
} | undefined;
|
|
1782
|
-
bapi?: {
|
|
1783
|
-
host: string;
|
|
1784
|
-
token: string;
|
|
1785
|
-
} | undefined;
|
|
1786
1405
|
storage?: {
|
|
1787
1406
|
session?: {
|
|
1788
|
-
driver: "null" | "
|
|
1407
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1789
1408
|
ttl?: number | undefined;
|
|
1790
|
-
port?: number | undefined;
|
|
1791
1409
|
host?: string | undefined;
|
|
1792
|
-
password?: string | undefined;
|
|
1793
1410
|
token?: string | undefined;
|
|
1794
1411
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1795
1412
|
url?: string | undefined;
|
|
1413
|
+
port?: number | undefined;
|
|
1796
1414
|
username?: string | undefined;
|
|
1415
|
+
password?: string | undefined;
|
|
1797
1416
|
tls?: boolean | undefined;
|
|
1798
1417
|
} | undefined;
|
|
1799
1418
|
cache?: {
|
|
1800
|
-
driver: "null" | "
|
|
1419
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1801
1420
|
ttl?: number | undefined;
|
|
1802
|
-
port?: number | undefined;
|
|
1803
1421
|
host?: string | undefined;
|
|
1804
|
-
password?: string | undefined;
|
|
1805
1422
|
token?: string | undefined;
|
|
1806
1423
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1807
1424
|
url?: string | undefined;
|
|
1425
|
+
port?: number | undefined;
|
|
1808
1426
|
username?: string | undefined;
|
|
1427
|
+
password?: string | undefined;
|
|
1809
1428
|
tls?: boolean | undefined;
|
|
1810
1429
|
} | undefined;
|
|
1811
1430
|
} | undefined;
|
|
1812
1431
|
isDefault?: string | boolean | undefined;
|
|
1813
1432
|
}>;
|
|
1814
|
-
|
|
1433
|
+
redirects?: {
|
|
1434
|
+
enabled: boolean;
|
|
1435
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1436
|
+
} | undefined;
|
|
1815
1437
|
}>, z.ZodObject<{
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1438
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
1439
|
+
/**
|
|
1440
|
+
* The sameSite policy to use for the session cookie
|
|
1441
|
+
*/
|
|
1442
|
+
sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
|
|
1443
|
+
/**
|
|
1444
|
+
* The default maxAge (in seconds) set on the session cookie and default TTL for session store
|
|
1445
|
+
*/
|
|
1446
|
+
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
1447
|
+
/**
|
|
1448
|
+
* The name used for the session cookie
|
|
1449
|
+
*/
|
|
1450
|
+
cookieName: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
/**
|
|
1452
|
+
* The secret used for signing session cookies. If an array is passed, the last
|
|
1453
|
+
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
1454
|
+
*/
|
|
1455
|
+
secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1456
|
+
/**
|
|
1457
|
+
* Controls the domain option on the session cookie
|
|
1458
|
+
*/
|
|
1459
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
}, "strip", z.ZodTypeAny, {
|
|
1461
|
+
domain?: string | undefined;
|
|
1462
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1463
|
+
maxAge?: number | undefined;
|
|
1464
|
+
cookieName?: string | undefined;
|
|
1465
|
+
secret?: string | string[] | undefined;
|
|
1466
|
+
}, {
|
|
1467
|
+
domain?: string | undefined;
|
|
1468
|
+
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1469
|
+
maxAge?: number | undefined;
|
|
1470
|
+
cookieName?: string | undefined;
|
|
1471
|
+
secret?: string | string[] | undefined;
|
|
1472
|
+
}>>;
|
|
1473
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
1474
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
1475
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1476
|
+
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1477
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1481
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1484
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1822
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1486
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1487
|
+
ttl?: number | undefined;
|
|
1488
|
+
host?: string | undefined;
|
|
1489
|
+
token?: string | undefined;
|
|
1490
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1491
|
+
url?: string | undefined;
|
|
1492
|
+
port?: number | undefined;
|
|
1493
|
+
username?: string | undefined;
|
|
1494
|
+
password?: string | undefined;
|
|
1495
|
+
tls?: boolean | undefined;
|
|
1826
1496
|
}, {
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1497
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1498
|
+
ttl?: number | undefined;
|
|
1499
|
+
host?: string | undefined;
|
|
1500
|
+
token?: string | undefined;
|
|
1501
|
+
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1502
|
+
url?: string | undefined;
|
|
1503
|
+
port?: number | undefined;
|
|
1504
|
+
username?: string | undefined;
|
|
1505
|
+
password?: string | undefined;
|
|
1506
|
+
tls?: boolean | undefined;
|
|
1830
1507
|
}>>;
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1508
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
1509
|
+
driver: z.ZodEnum<["null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1510
|
+
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1511
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1512
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1515
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1518
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1838
1519
|
}, "strip", z.ZodTypeAny, {
|
|
1839
|
-
|
|
1840
|
-
}, {
|
|
1841
|
-
resetPasswordUrl: string;
|
|
1842
|
-
}>;
|
|
1843
|
-
currency: z.ZodString;
|
|
1844
|
-
checkout: z.ZodObject<{
|
|
1845
|
-
token: z.ZodString;
|
|
1846
|
-
secret: z.ZodString;
|
|
1847
|
-
host: z.ZodString;
|
|
1848
|
-
user: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1849
|
-
cbdExpiration: z.ZodOptional<z.ZodNumber>;
|
|
1850
|
-
shopId: z.ZodOptional<z.ZodNumber>;
|
|
1851
|
-
}, "strip", z.ZodTypeAny, {
|
|
1852
|
-
user: string | number;
|
|
1853
|
-
host: string;
|
|
1854
|
-
secret: string;
|
|
1855
|
-
token: string;
|
|
1856
|
-
shopId?: number | undefined;
|
|
1857
|
-
cbdExpiration?: number | undefined;
|
|
1858
|
-
}, {
|
|
1859
|
-
user: string | number;
|
|
1860
|
-
host: string;
|
|
1861
|
-
secret: string;
|
|
1862
|
-
token: string;
|
|
1863
|
-
shopId?: number | undefined;
|
|
1864
|
-
cbdExpiration?: number | undefined;
|
|
1865
|
-
}>;
|
|
1866
|
-
appKeys: z.ZodOptional<z.ZodObject<{
|
|
1867
|
-
wishlistKey: z.ZodString;
|
|
1868
|
-
basketKey: z.ZodString;
|
|
1869
|
-
hashAlgorithm: z.ZodEnum<["md5", "sha256", "none"]>;
|
|
1870
|
-
}, "strip", z.ZodTypeAny, {
|
|
1871
|
-
wishlistKey: string;
|
|
1872
|
-
basketKey: string;
|
|
1873
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
1874
|
-
}, {
|
|
1875
|
-
wishlistKey: string;
|
|
1876
|
-
basketKey: string;
|
|
1877
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
1878
|
-
}>>;
|
|
1879
|
-
currencyFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
1880
|
-
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1881
|
-
sessionConfig: z.ZodOptional<z.ZodObject<{
|
|
1882
|
-
/**
|
|
1883
|
-
* The sameSite policy to use for the session cookie
|
|
1884
|
-
*/
|
|
1885
|
-
sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
|
|
1886
|
-
/**
|
|
1887
|
-
* The default maxAge (in seconds) set on the session cookie and default TTL for session store
|
|
1888
|
-
*/
|
|
1889
|
-
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
1890
|
-
/**
|
|
1891
|
-
* The name used for the session cookie
|
|
1892
|
-
*/
|
|
1893
|
-
cookieName: z.ZodOptional<z.ZodString>;
|
|
1894
|
-
/**
|
|
1895
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
1896
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
1897
|
-
*/
|
|
1898
|
-
secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1899
|
-
/**
|
|
1900
|
-
* Controls the domain option on the session cookie
|
|
1901
|
-
*/
|
|
1902
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
1903
|
-
/**
|
|
1904
|
-
* The provider to use for the persistent storage.
|
|
1905
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
1906
|
-
*/
|
|
1907
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
1908
|
-
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
domain?: string | undefined;
|
|
1910
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1911
|
-
maxAge?: number | undefined;
|
|
1912
|
-
cookieName?: string | undefined;
|
|
1913
|
-
secret?: string | string[] | undefined;
|
|
1914
|
-
provider?: "redis" | "memory" | undefined;
|
|
1915
|
-
}, {
|
|
1916
|
-
domain?: string | undefined;
|
|
1917
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
1918
|
-
maxAge?: number | undefined;
|
|
1919
|
-
cookieName?: string | undefined;
|
|
1920
|
-
secret?: string | string[] | undefined;
|
|
1921
|
-
provider?: "redis" | "memory" | undefined;
|
|
1922
|
-
}>>;
|
|
1923
|
-
sapi: z.ZodOptional<z.ZodObject<{
|
|
1924
|
-
host: z.ZodString;
|
|
1925
|
-
token: z.ZodString;
|
|
1926
|
-
}, "strip", z.ZodTypeAny, {
|
|
1927
|
-
host: string;
|
|
1928
|
-
token: string;
|
|
1929
|
-
}, {
|
|
1930
|
-
host: string;
|
|
1931
|
-
token: string;
|
|
1932
|
-
}>>;
|
|
1933
|
-
bapi: z.ZodOptional<z.ZodObject<{
|
|
1934
|
-
host: z.ZodString;
|
|
1935
|
-
token: z.ZodString;
|
|
1936
|
-
}, "strip", z.ZodTypeAny, {
|
|
1937
|
-
host: string;
|
|
1938
|
-
token: string;
|
|
1939
|
-
}, {
|
|
1940
|
-
host: string;
|
|
1941
|
-
token: string;
|
|
1942
|
-
}>>;
|
|
1943
|
-
storage: z.ZodOptional<z.ZodObject<{
|
|
1944
|
-
session: z.ZodOptional<z.ZodObject<{
|
|
1945
|
-
driver: z.ZodEnum<["null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1946
|
-
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1947
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1948
|
-
token: z.ZodOptional<z.ZodString>;
|
|
1949
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1950
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
1951
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1952
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1953
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1954
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1955
|
-
}, "strip", z.ZodTypeAny, {
|
|
1956
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1957
|
-
ttl?: number | undefined;
|
|
1958
|
-
port?: number | undefined;
|
|
1959
|
-
host?: string | undefined;
|
|
1960
|
-
password?: string | undefined;
|
|
1961
|
-
token?: string | undefined;
|
|
1962
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1963
|
-
url?: string | undefined;
|
|
1964
|
-
username?: string | undefined;
|
|
1965
|
-
tls?: boolean | undefined;
|
|
1966
|
-
}, {
|
|
1967
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1968
|
-
ttl?: number | undefined;
|
|
1969
|
-
port?: number | undefined;
|
|
1970
|
-
host?: string | undefined;
|
|
1971
|
-
password?: string | undefined;
|
|
1972
|
-
token?: string | undefined;
|
|
1973
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1974
|
-
url?: string | undefined;
|
|
1975
|
-
username?: string | undefined;
|
|
1976
|
-
tls?: boolean | undefined;
|
|
1977
|
-
}>>;
|
|
1978
|
-
cache: z.ZodOptional<z.ZodObject<{
|
|
1979
|
-
driver: z.ZodEnum<["null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
1980
|
-
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
1981
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1982
|
-
token: z.ZodOptional<z.ZodString>;
|
|
1983
|
-
host: z.ZodOptional<z.ZodString>;
|
|
1984
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
1985
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1986
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1987
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
1988
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1989
|
-
}, "strip", z.ZodTypeAny, {
|
|
1990
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1991
|
-
ttl?: number | undefined;
|
|
1992
|
-
port?: number | undefined;
|
|
1993
|
-
host?: string | undefined;
|
|
1994
|
-
password?: string | undefined;
|
|
1995
|
-
token?: string | undefined;
|
|
1996
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1997
|
-
url?: string | undefined;
|
|
1998
|
-
username?: string | undefined;
|
|
1999
|
-
tls?: boolean | undefined;
|
|
2000
|
-
}, {
|
|
2001
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2002
|
-
ttl?: number | undefined;
|
|
2003
|
-
port?: number | undefined;
|
|
2004
|
-
host?: string | undefined;
|
|
2005
|
-
password?: string | undefined;
|
|
2006
|
-
token?: string | undefined;
|
|
2007
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2008
|
-
url?: string | undefined;
|
|
2009
|
-
username?: string | undefined;
|
|
2010
|
-
tls?: boolean | undefined;
|
|
2011
|
-
}>>;
|
|
2012
|
-
}, "strip", z.ZodTypeAny, {
|
|
2013
|
-
session?: {
|
|
2014
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2015
|
-
ttl?: number | undefined;
|
|
2016
|
-
port?: number | undefined;
|
|
2017
|
-
host?: string | undefined;
|
|
2018
|
-
password?: string | undefined;
|
|
2019
|
-
token?: string | undefined;
|
|
2020
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2021
|
-
url?: string | undefined;
|
|
2022
|
-
username?: string | undefined;
|
|
2023
|
-
tls?: boolean | undefined;
|
|
2024
|
-
} | undefined;
|
|
2025
|
-
cache?: {
|
|
2026
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2027
|
-
ttl?: number | undefined;
|
|
2028
|
-
port?: number | undefined;
|
|
2029
|
-
host?: string | undefined;
|
|
2030
|
-
password?: string | undefined;
|
|
2031
|
-
token?: string | undefined;
|
|
2032
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2033
|
-
url?: string | undefined;
|
|
2034
|
-
username?: string | undefined;
|
|
2035
|
-
tls?: boolean | undefined;
|
|
2036
|
-
} | undefined;
|
|
2037
|
-
}, {
|
|
2038
|
-
session?: {
|
|
2039
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2040
|
-
ttl?: number | undefined;
|
|
2041
|
-
port?: number | undefined;
|
|
2042
|
-
host?: string | undefined;
|
|
2043
|
-
password?: string | undefined;
|
|
2044
|
-
token?: string | undefined;
|
|
2045
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2046
|
-
url?: string | undefined;
|
|
2047
|
-
username?: string | undefined;
|
|
2048
|
-
tls?: boolean | undefined;
|
|
2049
|
-
} | undefined;
|
|
2050
|
-
cache?: {
|
|
2051
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2052
|
-
ttl?: number | undefined;
|
|
2053
|
-
port?: number | undefined;
|
|
2054
|
-
host?: string | undefined;
|
|
2055
|
-
password?: string | undefined;
|
|
2056
|
-
token?: string | undefined;
|
|
2057
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2058
|
-
url?: string | undefined;
|
|
2059
|
-
username?: string | undefined;
|
|
2060
|
-
tls?: boolean | undefined;
|
|
2061
|
-
} | undefined;
|
|
2062
|
-
}>>;
|
|
2063
|
-
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
2064
|
-
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
2065
|
-
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2066
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
2067
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2068
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
2069
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
2070
|
-
}, "strip", z.ZodTypeAny, {
|
|
2071
|
-
port?: number | undefined;
|
|
2072
|
-
host?: string | undefined;
|
|
2073
|
-
prefix?: string | undefined;
|
|
2074
|
-
sslTransit?: boolean | undefined;
|
|
2075
|
-
}, {
|
|
2076
|
-
port?: number | undefined;
|
|
2077
|
-
host?: string | undefined;
|
|
2078
|
-
prefix?: string | undefined;
|
|
2079
|
-
sslTransit?: boolean | undefined;
|
|
2080
|
-
}>, z.ZodObject<{
|
|
2081
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
2082
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2083
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
2084
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
2085
|
-
user: z.ZodString;
|
|
2086
|
-
password: z.ZodString;
|
|
2087
|
-
}, "strip", z.ZodTypeAny, {
|
|
2088
|
-
user: string;
|
|
2089
|
-
password: string;
|
|
2090
|
-
port?: number | undefined;
|
|
2091
|
-
host?: string | undefined;
|
|
2092
|
-
prefix?: string | undefined;
|
|
2093
|
-
sslTransit?: boolean | undefined;
|
|
2094
|
-
}, {
|
|
2095
|
-
user: string;
|
|
2096
|
-
password: string;
|
|
2097
|
-
port?: number | undefined;
|
|
2098
|
-
host?: string | undefined;
|
|
2099
|
-
prefix?: string | undefined;
|
|
2100
|
-
sslTransit?: boolean | undefined;
|
|
2101
|
-
}>]>>;
|
|
2102
|
-
/**
|
|
2103
|
-
* @deprecated storeCampaignKeyword will be removed in a future release.
|
|
2104
|
-
*/
|
|
2105
|
-
storeCampaignKeyword: z.ZodOptional<z.ZodString>;
|
|
2106
|
-
}, "strip", z.ZodTypeAny, {
|
|
2107
|
-
locale: string;
|
|
2108
|
-
checkout: {
|
|
2109
|
-
user: string | number;
|
|
2110
|
-
host: string;
|
|
2111
|
-
secret: string;
|
|
2112
|
-
token: string;
|
|
2113
|
-
shopId?: number | undefined;
|
|
2114
|
-
cbdExpiration?: number | undefined;
|
|
2115
|
-
};
|
|
2116
|
-
shopId: number;
|
|
2117
|
-
auth: {
|
|
2118
|
-
resetPasswordUrl: string;
|
|
2119
|
-
};
|
|
2120
|
-
currency: string;
|
|
2121
|
-
domain?: string | undefined;
|
|
2122
|
-
storeCampaignKeyword?: string | undefined;
|
|
2123
|
-
idp?: {
|
|
2124
|
-
enabled: boolean;
|
|
2125
|
-
idpKeys: string[];
|
|
2126
|
-
idpRedirectURL: string;
|
|
2127
|
-
} | undefined;
|
|
2128
|
-
path?: string | string[] | undefined;
|
|
2129
|
-
redis?: {
|
|
2130
|
-
port?: number | undefined;
|
|
2131
|
-
host?: string | undefined;
|
|
2132
|
-
prefix?: string | undefined;
|
|
2133
|
-
sslTransit?: boolean | undefined;
|
|
2134
|
-
} | {
|
|
2135
|
-
user: string;
|
|
2136
|
-
password: string;
|
|
2137
|
-
port?: number | undefined;
|
|
2138
|
-
host?: string | undefined;
|
|
2139
|
-
prefix?: string | undefined;
|
|
2140
|
-
sslTransit?: boolean | undefined;
|
|
2141
|
-
} | undefined;
|
|
2142
|
-
apiBasePath?: string | undefined;
|
|
2143
|
-
appKeys?: {
|
|
2144
|
-
wishlistKey: string;
|
|
2145
|
-
basketKey: string;
|
|
2146
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
2147
|
-
} | undefined;
|
|
2148
|
-
currencyFractionDigits?: number | undefined;
|
|
2149
|
-
isEnabled?: boolean | undefined;
|
|
2150
|
-
sessionConfig?: {
|
|
2151
|
-
domain?: string | undefined;
|
|
2152
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2153
|
-
maxAge?: number | undefined;
|
|
2154
|
-
cookieName?: string | undefined;
|
|
2155
|
-
secret?: string | string[] | undefined;
|
|
2156
|
-
provider?: "redis" | "memory" | undefined;
|
|
2157
|
-
} | undefined;
|
|
2158
|
-
sapi?: {
|
|
2159
|
-
host: string;
|
|
2160
|
-
token: string;
|
|
2161
|
-
} | undefined;
|
|
2162
|
-
bapi?: {
|
|
2163
|
-
host: string;
|
|
2164
|
-
token: string;
|
|
2165
|
-
} | undefined;
|
|
2166
|
-
storage?: {
|
|
2167
|
-
session?: {
|
|
2168
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2169
|
-
ttl?: number | undefined;
|
|
2170
|
-
port?: number | undefined;
|
|
2171
|
-
host?: string | undefined;
|
|
2172
|
-
password?: string | undefined;
|
|
2173
|
-
token?: string | undefined;
|
|
2174
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2175
|
-
url?: string | undefined;
|
|
2176
|
-
username?: string | undefined;
|
|
2177
|
-
tls?: boolean | undefined;
|
|
2178
|
-
} | undefined;
|
|
2179
|
-
cache?: {
|
|
2180
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2181
|
-
ttl?: number | undefined;
|
|
2182
|
-
port?: number | undefined;
|
|
2183
|
-
host?: string | undefined;
|
|
2184
|
-
password?: string | undefined;
|
|
2185
|
-
token?: string | undefined;
|
|
2186
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2187
|
-
url?: string | undefined;
|
|
2188
|
-
username?: string | undefined;
|
|
2189
|
-
tls?: boolean | undefined;
|
|
2190
|
-
} | undefined;
|
|
2191
|
-
} | undefined;
|
|
2192
|
-
isDefault?: boolean | "" | undefined;
|
|
2193
|
-
}, {
|
|
2194
|
-
locale: string;
|
|
2195
|
-
checkout: {
|
|
2196
|
-
user: string | number;
|
|
2197
|
-
host: string;
|
|
2198
|
-
secret: string;
|
|
2199
|
-
token: string;
|
|
2200
|
-
shopId?: number | undefined;
|
|
2201
|
-
cbdExpiration?: number | undefined;
|
|
2202
|
-
};
|
|
2203
|
-
shopId: number;
|
|
2204
|
-
auth: {
|
|
2205
|
-
resetPasswordUrl: string;
|
|
2206
|
-
};
|
|
2207
|
-
currency: string;
|
|
2208
|
-
domain?: string | undefined;
|
|
2209
|
-
storeCampaignKeyword?: string | undefined;
|
|
2210
|
-
idp?: {
|
|
2211
|
-
enabled: boolean;
|
|
2212
|
-
idpKeys: string[];
|
|
2213
|
-
idpRedirectURL: string;
|
|
2214
|
-
} | undefined;
|
|
2215
|
-
path?: string | string[] | undefined;
|
|
2216
|
-
redis?: {
|
|
2217
|
-
port?: number | undefined;
|
|
2218
|
-
host?: string | undefined;
|
|
2219
|
-
prefix?: string | undefined;
|
|
2220
|
-
sslTransit?: boolean | undefined;
|
|
2221
|
-
} | {
|
|
2222
|
-
user: string;
|
|
2223
|
-
password: string;
|
|
2224
|
-
port?: number | undefined;
|
|
2225
|
-
host?: string | undefined;
|
|
2226
|
-
prefix?: string | undefined;
|
|
2227
|
-
sslTransit?: boolean | undefined;
|
|
2228
|
-
} | undefined;
|
|
2229
|
-
apiBasePath?: string | undefined;
|
|
2230
|
-
appKeys?: {
|
|
2231
|
-
wishlistKey: string;
|
|
2232
|
-
basketKey: string;
|
|
2233
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
2234
|
-
} | undefined;
|
|
2235
|
-
currencyFractionDigits?: number | undefined;
|
|
2236
|
-
isEnabled?: boolean | undefined;
|
|
2237
|
-
sessionConfig?: {
|
|
2238
|
-
domain?: string | undefined;
|
|
2239
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2240
|
-
maxAge?: number | undefined;
|
|
2241
|
-
cookieName?: string | undefined;
|
|
2242
|
-
secret?: string | string[] | undefined;
|
|
2243
|
-
provider?: "redis" | "memory" | undefined;
|
|
2244
|
-
} | undefined;
|
|
2245
|
-
sapi?: {
|
|
2246
|
-
host: string;
|
|
2247
|
-
token: string;
|
|
2248
|
-
} | undefined;
|
|
2249
|
-
bapi?: {
|
|
2250
|
-
host: string;
|
|
2251
|
-
token: string;
|
|
2252
|
-
} | undefined;
|
|
2253
|
-
storage?: {
|
|
2254
|
-
session?: {
|
|
2255
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2256
|
-
ttl?: number | undefined;
|
|
2257
|
-
port?: number | undefined;
|
|
2258
|
-
host?: string | undefined;
|
|
2259
|
-
password?: string | undefined;
|
|
2260
|
-
token?: string | undefined;
|
|
2261
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2262
|
-
url?: string | undefined;
|
|
2263
|
-
username?: string | undefined;
|
|
2264
|
-
tls?: boolean | undefined;
|
|
2265
|
-
} | undefined;
|
|
2266
|
-
cache?: {
|
|
2267
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2268
|
-
ttl?: number | undefined;
|
|
2269
|
-
port?: number | undefined;
|
|
2270
|
-
host?: string | undefined;
|
|
2271
|
-
password?: string | undefined;
|
|
2272
|
-
token?: string | undefined;
|
|
2273
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2274
|
-
url?: string | undefined;
|
|
2275
|
-
username?: string | undefined;
|
|
2276
|
-
tls?: boolean | undefined;
|
|
2277
|
-
} | undefined;
|
|
2278
|
-
} | undefined;
|
|
2279
|
-
isDefault?: string | boolean | undefined;
|
|
2280
|
-
}>>;
|
|
2281
|
-
}, "strip", z.ZodTypeAny, {
|
|
2282
|
-
shops: Record<string, {
|
|
2283
|
-
locale: string;
|
|
2284
|
-
checkout: {
|
|
2285
|
-
user: string | number;
|
|
2286
|
-
host: string;
|
|
2287
|
-
secret: string;
|
|
2288
|
-
token: string;
|
|
2289
|
-
shopId?: number | undefined;
|
|
2290
|
-
cbdExpiration?: number | undefined;
|
|
2291
|
-
};
|
|
2292
|
-
shopId: number;
|
|
2293
|
-
auth: {
|
|
2294
|
-
resetPasswordUrl: string;
|
|
2295
|
-
};
|
|
2296
|
-
currency: string;
|
|
2297
|
-
domain?: string | undefined;
|
|
2298
|
-
storeCampaignKeyword?: string | undefined;
|
|
2299
|
-
idp?: {
|
|
2300
|
-
enabled: boolean;
|
|
2301
|
-
idpKeys: string[];
|
|
2302
|
-
idpRedirectURL: string;
|
|
2303
|
-
} | undefined;
|
|
2304
|
-
path?: string | string[] | undefined;
|
|
2305
|
-
redis?: {
|
|
2306
|
-
port?: number | undefined;
|
|
2307
|
-
host?: string | undefined;
|
|
2308
|
-
prefix?: string | undefined;
|
|
2309
|
-
sslTransit?: boolean | undefined;
|
|
2310
|
-
} | {
|
|
2311
|
-
user: string;
|
|
2312
|
-
password: string;
|
|
2313
|
-
port?: number | undefined;
|
|
2314
|
-
host?: string | undefined;
|
|
2315
|
-
prefix?: string | undefined;
|
|
2316
|
-
sslTransit?: boolean | undefined;
|
|
2317
|
-
} | undefined;
|
|
2318
|
-
apiBasePath?: string | undefined;
|
|
2319
|
-
appKeys?: {
|
|
2320
|
-
wishlistKey: string;
|
|
2321
|
-
basketKey: string;
|
|
2322
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
2323
|
-
} | undefined;
|
|
2324
|
-
currencyFractionDigits?: number | undefined;
|
|
2325
|
-
isEnabled?: boolean | undefined;
|
|
2326
|
-
sessionConfig?: {
|
|
2327
|
-
domain?: string | undefined;
|
|
2328
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2329
|
-
maxAge?: number | undefined;
|
|
2330
|
-
cookieName?: string | undefined;
|
|
2331
|
-
secret?: string | string[] | undefined;
|
|
2332
|
-
provider?: "redis" | "memory" | undefined;
|
|
2333
|
-
} | undefined;
|
|
2334
|
-
sapi?: {
|
|
2335
|
-
host: string;
|
|
2336
|
-
token: string;
|
|
2337
|
-
} | undefined;
|
|
2338
|
-
bapi?: {
|
|
2339
|
-
host: string;
|
|
2340
|
-
token: string;
|
|
2341
|
-
} | undefined;
|
|
2342
|
-
storage?: {
|
|
2343
|
-
session?: {
|
|
2344
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2345
|
-
ttl?: number | undefined;
|
|
2346
|
-
port?: number | undefined;
|
|
2347
|
-
host?: string | undefined;
|
|
2348
|
-
password?: string | undefined;
|
|
2349
|
-
token?: string | undefined;
|
|
2350
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2351
|
-
url?: string | undefined;
|
|
2352
|
-
username?: string | undefined;
|
|
2353
|
-
tls?: boolean | undefined;
|
|
2354
|
-
} | undefined;
|
|
2355
|
-
cache?: {
|
|
2356
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2357
|
-
ttl?: number | undefined;
|
|
2358
|
-
port?: number | undefined;
|
|
2359
|
-
host?: string | undefined;
|
|
2360
|
-
password?: string | undefined;
|
|
2361
|
-
token?: string | undefined;
|
|
2362
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2363
|
-
url?: string | undefined;
|
|
2364
|
-
username?: string | undefined;
|
|
2365
|
-
tls?: boolean | undefined;
|
|
2366
|
-
} | undefined;
|
|
2367
|
-
} | undefined;
|
|
2368
|
-
isDefault?: boolean | "" | undefined;
|
|
2369
|
-
}>;
|
|
2370
|
-
stores?: undefined;
|
|
2371
|
-
}, {
|
|
2372
|
-
shops: Record<string, {
|
|
2373
|
-
locale: string;
|
|
2374
|
-
checkout: {
|
|
2375
|
-
user: string | number;
|
|
2376
|
-
host: string;
|
|
2377
|
-
secret: string;
|
|
2378
|
-
token: string;
|
|
2379
|
-
shopId?: number | undefined;
|
|
2380
|
-
cbdExpiration?: number | undefined;
|
|
2381
|
-
};
|
|
2382
|
-
shopId: number;
|
|
2383
|
-
auth: {
|
|
2384
|
-
resetPasswordUrl: string;
|
|
2385
|
-
};
|
|
2386
|
-
currency: string;
|
|
2387
|
-
domain?: string | undefined;
|
|
2388
|
-
storeCampaignKeyword?: string | undefined;
|
|
2389
|
-
idp?: {
|
|
2390
|
-
enabled: boolean;
|
|
2391
|
-
idpKeys: string[];
|
|
2392
|
-
idpRedirectURL: string;
|
|
2393
|
-
} | undefined;
|
|
2394
|
-
path?: string | string[] | undefined;
|
|
2395
|
-
redis?: {
|
|
2396
|
-
port?: number | undefined;
|
|
2397
|
-
host?: string | undefined;
|
|
2398
|
-
prefix?: string | undefined;
|
|
2399
|
-
sslTransit?: boolean | undefined;
|
|
2400
|
-
} | {
|
|
2401
|
-
user: string;
|
|
2402
|
-
password: string;
|
|
2403
|
-
port?: number | undefined;
|
|
2404
|
-
host?: string | undefined;
|
|
2405
|
-
prefix?: string | undefined;
|
|
2406
|
-
sslTransit?: boolean | undefined;
|
|
2407
|
-
} | undefined;
|
|
2408
|
-
apiBasePath?: string | undefined;
|
|
2409
|
-
appKeys?: {
|
|
2410
|
-
wishlistKey: string;
|
|
2411
|
-
basketKey: string;
|
|
2412
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
2413
|
-
} | undefined;
|
|
2414
|
-
currencyFractionDigits?: number | undefined;
|
|
2415
|
-
isEnabled?: boolean | undefined;
|
|
2416
|
-
sessionConfig?: {
|
|
2417
|
-
domain?: string | undefined;
|
|
2418
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2419
|
-
maxAge?: number | undefined;
|
|
2420
|
-
cookieName?: string | undefined;
|
|
2421
|
-
secret?: string | string[] | undefined;
|
|
2422
|
-
provider?: "redis" | "memory" | undefined;
|
|
2423
|
-
} | undefined;
|
|
2424
|
-
sapi?: {
|
|
2425
|
-
host: string;
|
|
2426
|
-
token: string;
|
|
2427
|
-
} | undefined;
|
|
2428
|
-
bapi?: {
|
|
2429
|
-
host: string;
|
|
2430
|
-
token: string;
|
|
2431
|
-
} | undefined;
|
|
2432
|
-
storage?: {
|
|
2433
|
-
session?: {
|
|
2434
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2435
|
-
ttl?: number | undefined;
|
|
2436
|
-
port?: number | undefined;
|
|
2437
|
-
host?: string | undefined;
|
|
2438
|
-
password?: string | undefined;
|
|
2439
|
-
token?: string | undefined;
|
|
2440
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2441
|
-
url?: string | undefined;
|
|
2442
|
-
username?: string | undefined;
|
|
2443
|
-
tls?: boolean | undefined;
|
|
2444
|
-
} | undefined;
|
|
2445
|
-
cache?: {
|
|
2446
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2447
|
-
ttl?: number | undefined;
|
|
2448
|
-
port?: number | undefined;
|
|
2449
|
-
host?: string | undefined;
|
|
2450
|
-
password?: string | undefined;
|
|
2451
|
-
token?: string | undefined;
|
|
2452
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2453
|
-
url?: string | undefined;
|
|
2454
|
-
username?: string | undefined;
|
|
2455
|
-
tls?: boolean | undefined;
|
|
2456
|
-
} | undefined;
|
|
2457
|
-
} | undefined;
|
|
2458
|
-
isDefault?: string | boolean | undefined;
|
|
2459
|
-
}>;
|
|
2460
|
-
stores?: undefined;
|
|
2461
|
-
}>]>>, z.ZodIntersection<z.ZodObject<{
|
|
2462
|
-
session: z.ZodOptional<z.ZodObject<{
|
|
2463
|
-
/**
|
|
2464
|
-
* The sameSite policy to use for the session cookie
|
|
2465
|
-
*/
|
|
2466
|
-
sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
|
|
2467
|
-
/**
|
|
2468
|
-
* The default maxAge (in seconds) set on the session cookie and default TTL for session store
|
|
2469
|
-
*/
|
|
2470
|
-
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
2471
|
-
/**
|
|
2472
|
-
* The name used for the session cookie
|
|
2473
|
-
*/
|
|
2474
|
-
cookieName: z.ZodOptional<z.ZodString>;
|
|
2475
|
-
/**
|
|
2476
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
2477
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
2478
|
-
*/
|
|
2479
|
-
secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2480
|
-
/**
|
|
2481
|
-
* Controls the domain option on the session cookie
|
|
2482
|
-
*/
|
|
2483
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
2484
|
-
/**
|
|
2485
|
-
* The provider to use for the persistent storage.
|
|
2486
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
2487
|
-
*/
|
|
2488
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
2489
|
-
}, "strip", z.ZodTypeAny, {
|
|
2490
|
-
domain?: string | undefined;
|
|
2491
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2492
|
-
maxAge?: number | undefined;
|
|
2493
|
-
cookieName?: string | undefined;
|
|
2494
|
-
secret?: string | string[] | undefined;
|
|
2495
|
-
provider?: "redis" | "memory" | undefined;
|
|
2496
|
-
}, {
|
|
2497
|
-
domain?: string | undefined;
|
|
2498
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
2499
|
-
maxAge?: number | undefined;
|
|
2500
|
-
cookieName?: string | undefined;
|
|
2501
|
-
secret?: string | string[] | undefined;
|
|
2502
|
-
provider?: "redis" | "memory" | undefined;
|
|
2503
|
-
}>>;
|
|
2504
|
-
storage: z.ZodOptional<z.ZodObject<{
|
|
2505
|
-
session: z.ZodOptional<z.ZodObject<{
|
|
2506
|
-
driver: z.ZodEnum<["null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
2507
|
-
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
2508
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2509
|
-
token: z.ZodOptional<z.ZodString>;
|
|
2510
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2511
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
2512
|
-
username: z.ZodOptional<z.ZodString>;
|
|
2513
|
-
password: z.ZodOptional<z.ZodString>;
|
|
2514
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
2515
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2516
|
-
}, "strip", z.ZodTypeAny, {
|
|
2517
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
1520
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2518
1521
|
ttl?: number | undefined;
|
|
2519
|
-
port?: number | undefined;
|
|
2520
1522
|
host?: string | undefined;
|
|
2521
|
-
password?: string | undefined;
|
|
2522
1523
|
token?: string | undefined;
|
|
2523
1524
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2524
1525
|
url?: string | undefined;
|
|
2525
|
-
username?: string | undefined;
|
|
2526
|
-
tls?: boolean | undefined;
|
|
2527
|
-
}, {
|
|
2528
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2529
|
-
ttl?: number | undefined;
|
|
2530
1526
|
port?: number | undefined;
|
|
2531
|
-
host?: string | undefined;
|
|
2532
|
-
password?: string | undefined;
|
|
2533
|
-
token?: string | undefined;
|
|
2534
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2535
|
-
url?: string | undefined;
|
|
2536
1527
|
username?: string | undefined;
|
|
2537
|
-
tls?: boolean | undefined;
|
|
2538
|
-
}>>;
|
|
2539
|
-
cache: z.ZodOptional<z.ZodObject<{
|
|
2540
|
-
driver: z.ZodEnum<["null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
|
|
2541
|
-
compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
|
|
2542
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2543
|
-
token: z.ZodOptional<z.ZodString>;
|
|
2544
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2545
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
2546
|
-
username: z.ZodOptional<z.ZodString>;
|
|
2547
|
-
password: z.ZodOptional<z.ZodString>;
|
|
2548
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
2549
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2550
|
-
}, "strip", z.ZodTypeAny, {
|
|
2551
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2552
|
-
ttl?: number | undefined;
|
|
2553
|
-
port?: number | undefined;
|
|
2554
|
-
host?: string | undefined;
|
|
2555
1528
|
password?: string | undefined;
|
|
2556
|
-
token?: string | undefined;
|
|
2557
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2558
|
-
url?: string | undefined;
|
|
2559
|
-
username?: string | undefined;
|
|
2560
1529
|
tls?: boolean | undefined;
|
|
2561
1530
|
}, {
|
|
2562
|
-
driver: "null" | "
|
|
1531
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2563
1532
|
ttl?: number | undefined;
|
|
2564
|
-
port?: number | undefined;
|
|
2565
1533
|
host?: string | undefined;
|
|
2566
|
-
password?: string | undefined;
|
|
2567
1534
|
token?: string | undefined;
|
|
2568
1535
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2569
1536
|
url?: string | undefined;
|
|
1537
|
+
port?: number | undefined;
|
|
2570
1538
|
username?: string | undefined;
|
|
1539
|
+
password?: string | undefined;
|
|
2571
1540
|
tls?: boolean | undefined;
|
|
2572
1541
|
}>>;
|
|
2573
1542
|
}, "strip", z.ZodTypeAny, {
|
|
2574
1543
|
session?: {
|
|
2575
|
-
driver: "null" | "
|
|
1544
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2576
1545
|
ttl?: number | undefined;
|
|
2577
|
-
port?: number | undefined;
|
|
2578
1546
|
host?: string | undefined;
|
|
2579
|
-
password?: string | undefined;
|
|
2580
1547
|
token?: string | undefined;
|
|
2581
1548
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2582
1549
|
url?: string | undefined;
|
|
1550
|
+
port?: number | undefined;
|
|
2583
1551
|
username?: string | undefined;
|
|
1552
|
+
password?: string | undefined;
|
|
2584
1553
|
tls?: boolean | undefined;
|
|
2585
1554
|
} | undefined;
|
|
2586
1555
|
cache?: {
|
|
2587
|
-
driver: "null" | "
|
|
1556
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2588
1557
|
ttl?: number | undefined;
|
|
2589
|
-
port?: number | undefined;
|
|
2590
1558
|
host?: string | undefined;
|
|
2591
|
-
password?: string | undefined;
|
|
2592
1559
|
token?: string | undefined;
|
|
2593
1560
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2594
1561
|
url?: string | undefined;
|
|
1562
|
+
port?: number | undefined;
|
|
2595
1563
|
username?: string | undefined;
|
|
1564
|
+
password?: string | undefined;
|
|
2596
1565
|
tls?: boolean | undefined;
|
|
2597
1566
|
} | undefined;
|
|
2598
1567
|
}, {
|
|
2599
1568
|
session?: {
|
|
2600
|
-
driver: "null" | "
|
|
1569
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2601
1570
|
ttl?: number | undefined;
|
|
2602
|
-
port?: number | undefined;
|
|
2603
1571
|
host?: string | undefined;
|
|
2604
|
-
password?: string | undefined;
|
|
2605
1572
|
token?: string | undefined;
|
|
2606
1573
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2607
1574
|
url?: string | undefined;
|
|
1575
|
+
port?: number | undefined;
|
|
2608
1576
|
username?: string | undefined;
|
|
1577
|
+
password?: string | undefined;
|
|
2609
1578
|
tls?: boolean | undefined;
|
|
2610
1579
|
} | undefined;
|
|
2611
1580
|
cache?: {
|
|
2612
|
-
driver: "null" | "
|
|
1581
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2613
1582
|
ttl?: number | undefined;
|
|
2614
|
-
port?: number | undefined;
|
|
2615
1583
|
host?: string | undefined;
|
|
2616
|
-
password?: string | undefined;
|
|
2617
1584
|
token?: string | undefined;
|
|
2618
1585
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2619
1586
|
url?: string | undefined;
|
|
1587
|
+
port?: number | undefined;
|
|
2620
1588
|
username?: string | undefined;
|
|
1589
|
+
password?: string | undefined;
|
|
2621
1590
|
tls?: boolean | undefined;
|
|
2622
1591
|
} | undefined;
|
|
2623
1592
|
}>>;
|
|
@@ -2653,32 +1622,25 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2653
1622
|
username: z.ZodString;
|
|
2654
1623
|
password: z.ZodString;
|
|
2655
1624
|
}, "strip", z.ZodTypeAny, {
|
|
2656
|
-
password: string;
|
|
2657
1625
|
username: string;
|
|
2658
|
-
}, {
|
|
2659
1626
|
password: string;
|
|
1627
|
+
}, {
|
|
2660
1628
|
username: string;
|
|
1629
|
+
password: string;
|
|
2661
1630
|
}>>;
|
|
2662
1631
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2663
|
-
/**
|
|
2664
|
-
* The provider to use for the persistent storage.
|
|
2665
|
-
* @deprecated Storefront Core is now relying on a unified cache configuration. Use the storage option instead.
|
|
2666
|
-
*/
|
|
2667
|
-
provider: z.ZodOptional<z.ZodEnum<["redis", "memory"]>>;
|
|
2668
1632
|
}, "strip", z.ZodTypeAny, {
|
|
2669
1633
|
auth?: {
|
|
2670
|
-
password: string;
|
|
2671
1634
|
username: string;
|
|
1635
|
+
password: string;
|
|
2672
1636
|
} | undefined;
|
|
2673
1637
|
enabled?: boolean | undefined;
|
|
2674
|
-
provider?: "redis" | "memory" | undefined;
|
|
2675
1638
|
}, {
|
|
2676
1639
|
auth?: {
|
|
2677
|
-
password: string;
|
|
2678
1640
|
username: string;
|
|
1641
|
+
password: string;
|
|
2679
1642
|
} | undefined;
|
|
2680
1643
|
enabled?: boolean | undefined;
|
|
2681
|
-
provider?: "redis" | "memory" | undefined;
|
|
2682
1644
|
}>>;
|
|
2683
1645
|
publicShopData: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2684
1646
|
idp: z.ZodOptional<z.ZodObject<{
|
|
@@ -2694,44 +1656,24 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2694
1656
|
idpKeys: string[];
|
|
2695
1657
|
idpRedirectURL: string;
|
|
2696
1658
|
}>>;
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2701
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
2702
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
1659
|
+
sapi: z.ZodObject<{
|
|
1660
|
+
host: z.ZodString;
|
|
1661
|
+
token: z.ZodString;
|
|
2703
1662
|
}, "strip", z.ZodTypeAny, {
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
prefix?: string | undefined;
|
|
2707
|
-
sslTransit?: boolean | undefined;
|
|
1663
|
+
host: string;
|
|
1664
|
+
token: string;
|
|
2708
1665
|
}, {
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2716
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
2717
|
-
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
2718
|
-
user: z.ZodString;
|
|
2719
|
-
password: z.ZodString;
|
|
1666
|
+
host: string;
|
|
1667
|
+
token: string;
|
|
1668
|
+
}>;
|
|
1669
|
+
/** Collection of feature flags regarding legacy features and functionalities */
|
|
1670
|
+
legacy: z.ZodOptional<z.ZodObject<{
|
|
1671
|
+
enableSessionMigration: z.ZodOptional<z.ZodBoolean>;
|
|
2720
1672
|
}, "strip", z.ZodTypeAny, {
|
|
2721
|
-
|
|
2722
|
-
password: string;
|
|
2723
|
-
port?: number | undefined;
|
|
2724
|
-
host?: string | undefined;
|
|
2725
|
-
prefix?: string | undefined;
|
|
2726
|
-
sslTransit?: boolean | undefined;
|
|
1673
|
+
enableSessionMigration?: boolean | undefined;
|
|
2727
1674
|
}, {
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
port?: number | undefined;
|
|
2731
|
-
host?: string | undefined;
|
|
2732
|
-
prefix?: string | undefined;
|
|
2733
|
-
sslTransit?: boolean | undefined;
|
|
2734
|
-
}>]>>;
|
|
1675
|
+
enableSessionMigration?: boolean | undefined;
|
|
1676
|
+
}>>;
|
|
2735
1677
|
/** Undocumented property intended for internal usage only */
|
|
2736
1678
|
internalAccessHeader: z.ZodOptional<z.ZodString>;
|
|
2737
1679
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2745,25 +1687,16 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2745
1687
|
basketKey: string;
|
|
2746
1688
|
hashAlgorithm: "none" | "md5" | "sha256";
|
|
2747
1689
|
};
|
|
1690
|
+
sapi: {
|
|
1691
|
+
host: string;
|
|
1692
|
+
token: string;
|
|
1693
|
+
};
|
|
2748
1694
|
idp?: {
|
|
2749
1695
|
enabled: boolean;
|
|
2750
1696
|
idpKeys: string[];
|
|
2751
1697
|
idpRedirectURL: string;
|
|
2752
1698
|
} | undefined;
|
|
2753
1699
|
internalAccessHeader?: string | undefined;
|
|
2754
|
-
redis?: {
|
|
2755
|
-
port?: number | undefined;
|
|
2756
|
-
host?: string | undefined;
|
|
2757
|
-
prefix?: string | undefined;
|
|
2758
|
-
sslTransit?: boolean | undefined;
|
|
2759
|
-
} | {
|
|
2760
|
-
user: string;
|
|
2761
|
-
password: string;
|
|
2762
|
-
port?: number | undefined;
|
|
2763
|
-
host?: string | undefined;
|
|
2764
|
-
prefix?: string | undefined;
|
|
2765
|
-
sslTransit?: boolean | undefined;
|
|
2766
|
-
} | undefined;
|
|
2767
1700
|
apiBasePath?: string | undefined;
|
|
2768
1701
|
session?: {
|
|
2769
1702
|
domain?: string | undefined;
|
|
@@ -2771,43 +1704,44 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2771
1704
|
maxAge?: number | undefined;
|
|
2772
1705
|
cookieName?: string | undefined;
|
|
2773
1706
|
secret?: string | string[] | undefined;
|
|
2774
|
-
provider?: "redis" | "memory" | undefined;
|
|
2775
1707
|
} | undefined;
|
|
2776
1708
|
cache?: {
|
|
2777
1709
|
auth?: {
|
|
2778
|
-
password: string;
|
|
2779
1710
|
username: string;
|
|
1711
|
+
password: string;
|
|
2780
1712
|
} | undefined;
|
|
2781
1713
|
enabled?: boolean | undefined;
|
|
2782
|
-
provider?: "redis" | "memory" | undefined;
|
|
2783
1714
|
} | undefined;
|
|
2784
1715
|
storage?: {
|
|
2785
1716
|
session?: {
|
|
2786
|
-
driver: "null" | "
|
|
1717
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2787
1718
|
ttl?: number | undefined;
|
|
2788
|
-
port?: number | undefined;
|
|
2789
1719
|
host?: string | undefined;
|
|
2790
|
-
password?: string | undefined;
|
|
2791
1720
|
token?: string | undefined;
|
|
2792
1721
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2793
1722
|
url?: string | undefined;
|
|
1723
|
+
port?: number | undefined;
|
|
2794
1724
|
username?: string | undefined;
|
|
1725
|
+
password?: string | undefined;
|
|
2795
1726
|
tls?: boolean | undefined;
|
|
2796
1727
|
} | undefined;
|
|
2797
1728
|
cache?: {
|
|
2798
|
-
driver: "null" | "
|
|
1729
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2799
1730
|
ttl?: number | undefined;
|
|
2800
|
-
port?: number | undefined;
|
|
2801
1731
|
host?: string | undefined;
|
|
2802
|
-
password?: string | undefined;
|
|
2803
1732
|
token?: string | undefined;
|
|
2804
1733
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2805
1734
|
url?: string | undefined;
|
|
1735
|
+
port?: number | undefined;
|
|
2806
1736
|
username?: string | undefined;
|
|
1737
|
+
password?: string | undefined;
|
|
2807
1738
|
tls?: boolean | undefined;
|
|
2808
1739
|
} | undefined;
|
|
2809
1740
|
} | undefined;
|
|
2810
1741
|
publicShopData?: string[] | undefined;
|
|
1742
|
+
legacy?: {
|
|
1743
|
+
enableSessionMigration?: boolean | undefined;
|
|
1744
|
+
} | undefined;
|
|
2811
1745
|
}, {
|
|
2812
1746
|
oauth: {
|
|
2813
1747
|
apiHost: string;
|
|
@@ -2819,25 +1753,16 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2819
1753
|
basketKey: string;
|
|
2820
1754
|
hashAlgorithm: "none" | "md5" | "sha256";
|
|
2821
1755
|
};
|
|
1756
|
+
sapi: {
|
|
1757
|
+
host: string;
|
|
1758
|
+
token: string;
|
|
1759
|
+
};
|
|
2822
1760
|
idp?: {
|
|
2823
1761
|
enabled: boolean;
|
|
2824
1762
|
idpKeys: string[];
|
|
2825
1763
|
idpRedirectURL: string;
|
|
2826
1764
|
} | undefined;
|
|
2827
1765
|
internalAccessHeader?: string | undefined;
|
|
2828
|
-
redis?: {
|
|
2829
|
-
port?: number | undefined;
|
|
2830
|
-
host?: string | undefined;
|
|
2831
|
-
prefix?: string | undefined;
|
|
2832
|
-
sslTransit?: boolean | undefined;
|
|
2833
|
-
} | {
|
|
2834
|
-
user: string;
|
|
2835
|
-
password: string;
|
|
2836
|
-
port?: number | undefined;
|
|
2837
|
-
host?: string | undefined;
|
|
2838
|
-
prefix?: string | undefined;
|
|
2839
|
-
sslTransit?: boolean | undefined;
|
|
2840
|
-
} | undefined;
|
|
2841
1766
|
apiBasePath?: string | undefined;
|
|
2842
1767
|
session?: {
|
|
2843
1768
|
domain?: string | undefined;
|
|
@@ -2845,242 +1770,112 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2845
1770
|
maxAge?: number | undefined;
|
|
2846
1771
|
cookieName?: string | undefined;
|
|
2847
1772
|
secret?: string | string[] | undefined;
|
|
2848
|
-
provider?: "redis" | "memory" | undefined;
|
|
2849
1773
|
} | undefined;
|
|
2850
1774
|
cache?: {
|
|
2851
1775
|
auth?: {
|
|
2852
|
-
password: string;
|
|
2853
1776
|
username: string;
|
|
1777
|
+
password: string;
|
|
2854
1778
|
} | undefined;
|
|
2855
1779
|
enabled?: boolean | undefined;
|
|
2856
|
-
provider?: "redis" | "memory" | undefined;
|
|
2857
1780
|
} | undefined;
|
|
2858
1781
|
storage?: {
|
|
2859
1782
|
session?: {
|
|
2860
|
-
driver: "null" | "
|
|
1783
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2861
1784
|
ttl?: number | undefined;
|
|
2862
|
-
port?: number | undefined;
|
|
2863
1785
|
host?: string | undefined;
|
|
2864
|
-
password?: string | undefined;
|
|
2865
1786
|
token?: string | undefined;
|
|
2866
1787
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2867
1788
|
url?: string | undefined;
|
|
1789
|
+
port?: number | undefined;
|
|
2868
1790
|
username?: string | undefined;
|
|
1791
|
+
password?: string | undefined;
|
|
2869
1792
|
tls?: boolean | undefined;
|
|
2870
1793
|
} | undefined;
|
|
2871
1794
|
cache?: {
|
|
2872
|
-
driver: "null" | "
|
|
1795
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
2873
1796
|
ttl?: number | undefined;
|
|
2874
|
-
port?: number | undefined;
|
|
2875
1797
|
host?: string | undefined;
|
|
2876
|
-
password?: string | undefined;
|
|
2877
1798
|
token?: string | undefined;
|
|
2878
1799
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
2879
1800
|
url?: string | undefined;
|
|
1801
|
+
port?: number | undefined;
|
|
2880
1802
|
username?: string | undefined;
|
|
1803
|
+
password?: string | undefined;
|
|
2881
1804
|
tls?: boolean | undefined;
|
|
2882
1805
|
} | undefined;
|
|
2883
1806
|
} | undefined;
|
|
2884
1807
|
publicShopData?: string[] | undefined;
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
host: z.ZodString;
|
|
2888
|
-
token: z.ZodString;
|
|
2889
|
-
}, "strip", z.ZodTypeAny, {
|
|
2890
|
-
host: string;
|
|
2891
|
-
token: string;
|
|
2892
|
-
}, {
|
|
2893
|
-
host: string;
|
|
2894
|
-
token: string;
|
|
2895
|
-
}>;
|
|
2896
|
-
bapi: z.ZodUndefined;
|
|
2897
|
-
}, "strip", z.ZodTypeAny, {
|
|
2898
|
-
sapi: {
|
|
2899
|
-
host: string;
|
|
2900
|
-
token: string;
|
|
2901
|
-
};
|
|
2902
|
-
bapi?: undefined;
|
|
2903
|
-
}, {
|
|
2904
|
-
sapi: {
|
|
2905
|
-
host: string;
|
|
2906
|
-
token: string;
|
|
2907
|
-
};
|
|
2908
|
-
bapi?: undefined;
|
|
2909
|
-
}>, z.ZodObject<{
|
|
2910
|
-
/**
|
|
2911
|
-
* bapi was renamed. Use {@link sapi} instead.
|
|
2912
|
-
*/
|
|
2913
|
-
bapi: z.ZodObject<{
|
|
2914
|
-
host: z.ZodString;
|
|
2915
|
-
token: z.ZodString;
|
|
2916
|
-
}, "strip", z.ZodTypeAny, {
|
|
2917
|
-
host: string;
|
|
2918
|
-
token: string;
|
|
2919
|
-
}, {
|
|
2920
|
-
host: string;
|
|
2921
|
-
token: string;
|
|
2922
|
-
}>;
|
|
2923
|
-
sapi: z.ZodUndefined;
|
|
2924
|
-
}, "strip", z.ZodTypeAny, {
|
|
2925
|
-
bapi: {
|
|
2926
|
-
host: string;
|
|
2927
|
-
token: string;
|
|
2928
|
-
};
|
|
2929
|
-
sapi?: undefined;
|
|
2930
|
-
}, {
|
|
2931
|
-
bapi: {
|
|
2932
|
-
host: string;
|
|
2933
|
-
token: string;
|
|
2934
|
-
};
|
|
2935
|
-
sapi?: undefined;
|
|
2936
|
-
}>]>>>;
|
|
2937
|
-
public: z.ZodObject<{
|
|
2938
|
-
storefront: z.ZodObject<{
|
|
2939
|
-
log: z.ZodObject<{
|
|
2940
|
-
name: z.ZodString;
|
|
2941
|
-
level: z.ZodType<LogLevel, z.ZodTypeDef, LogLevel>;
|
|
2942
|
-
}, "strip", z.ZodTypeAny, {
|
|
2943
|
-
name: string;
|
|
2944
|
-
level: LogLevel;
|
|
2945
|
-
}, {
|
|
2946
|
-
name: string;
|
|
2947
|
-
level: LogLevel;
|
|
2948
|
-
}>;
|
|
2949
|
-
disableDefaultGetCachedDataOverride: z.ZodOptional<z.ZodBoolean>;
|
|
2950
|
-
}, "strip", z.ZodTypeAny, {
|
|
2951
|
-
log: {
|
|
2952
|
-
name: string;
|
|
2953
|
-
level: LogLevel;
|
|
2954
|
-
};
|
|
2955
|
-
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2956
|
-
}, {
|
|
2957
|
-
log: {
|
|
2958
|
-
name: string;
|
|
2959
|
-
level: LogLevel;
|
|
2960
|
-
};
|
|
2961
|
-
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2962
|
-
}>;
|
|
2963
|
-
}, "strip", z.ZodTypeAny, {
|
|
2964
|
-
storefront: {
|
|
2965
|
-
log: {
|
|
2966
|
-
name: string;
|
|
2967
|
-
level: LogLevel;
|
|
2968
|
-
};
|
|
2969
|
-
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2970
|
-
};
|
|
2971
|
-
}, {
|
|
2972
|
-
storefront: {
|
|
2973
|
-
log: {
|
|
2974
|
-
name: string;
|
|
2975
|
-
level: LogLevel;
|
|
2976
|
-
};
|
|
2977
|
-
disableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2978
|
-
};
|
|
2979
|
-
}>;
|
|
2980
|
-
}, "strip", z.ZodTypeAny, {
|
|
2981
|
-
storefront: ({
|
|
2982
|
-
shopSelector: "domain" | "path" | "path_or_default";
|
|
2983
|
-
redirects?: {
|
|
2984
|
-
enabled: boolean;
|
|
2985
|
-
queryParamWhitelist?: string[] | undefined;
|
|
1808
|
+
legacy?: {
|
|
1809
|
+
enableSessionMigration?: boolean | undefined;
|
|
2986
1810
|
} | undefined;
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
sslTransit?: boolean | undefined;
|
|
3016
|
-
} | {
|
|
3017
|
-
user: string;
|
|
3018
|
-
password: string;
|
|
3019
|
-
port?: number | undefined;
|
|
3020
|
-
host?: string | undefined;
|
|
3021
|
-
prefix?: string | undefined;
|
|
3022
|
-
sslTransit?: boolean | undefined;
|
|
3023
|
-
} | undefined;
|
|
3024
|
-
apiBasePath?: string | undefined;
|
|
3025
|
-
appKeys?: {
|
|
3026
|
-
wishlistKey: string;
|
|
3027
|
-
basketKey: string;
|
|
3028
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
3029
|
-
} | undefined;
|
|
3030
|
-
currencyFractionDigits?: number | undefined;
|
|
3031
|
-
isEnabled?: boolean | undefined;
|
|
3032
|
-
sessionConfig?: {
|
|
3033
|
-
domain?: string | undefined;
|
|
3034
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
3035
|
-
maxAge?: number | undefined;
|
|
3036
|
-
cookieName?: string | undefined;
|
|
3037
|
-
secret?: string | string[] | undefined;
|
|
3038
|
-
provider?: "redis" | "memory" | undefined;
|
|
1811
|
+
}>>;
|
|
1812
|
+
public: z.ZodObject<{
|
|
1813
|
+
storefront: z.ZodObject<{
|
|
1814
|
+
log: z.ZodObject<{
|
|
1815
|
+
name: z.ZodString;
|
|
1816
|
+
level: z.ZodType<LogLevel, z.ZodTypeDef, LogLevel>;
|
|
1817
|
+
}, "strip", z.ZodTypeAny, {
|
|
1818
|
+
name: string;
|
|
1819
|
+
level: LogLevel;
|
|
1820
|
+
}, {
|
|
1821
|
+
name: string;
|
|
1822
|
+
level: LogLevel;
|
|
1823
|
+
}>;
|
|
1824
|
+
/** Collection of feature flags regarding legacy features and functionalities */
|
|
1825
|
+
legacy: z.ZodOptional<z.ZodObject<{
|
|
1826
|
+
enableDefaultGetCachedDataOverride: z.ZodOptional<z.ZodBoolean>;
|
|
1827
|
+
}, "strip", z.ZodTypeAny, {
|
|
1828
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
1829
|
+
}, {
|
|
1830
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
1831
|
+
}>>;
|
|
1832
|
+
}, "strip", z.ZodTypeAny, {
|
|
1833
|
+
log: {
|
|
1834
|
+
name: string;
|
|
1835
|
+
level: LogLevel;
|
|
1836
|
+
};
|
|
1837
|
+
legacy?: {
|
|
1838
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
3039
1839
|
} | undefined;
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
1840
|
+
}, {
|
|
1841
|
+
log: {
|
|
1842
|
+
name: string;
|
|
1843
|
+
level: LogLevel;
|
|
1844
|
+
};
|
|
1845
|
+
legacy?: {
|
|
1846
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
3043
1847
|
} | undefined;
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
1848
|
+
}>;
|
|
1849
|
+
}, "strip", z.ZodTypeAny, {
|
|
1850
|
+
storefront: {
|
|
1851
|
+
log: {
|
|
1852
|
+
name: string;
|
|
1853
|
+
level: LogLevel;
|
|
1854
|
+
};
|
|
1855
|
+
legacy?: {
|
|
1856
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
3047
1857
|
} | undefined;
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
url?: string | undefined;
|
|
3058
|
-
username?: string | undefined;
|
|
3059
|
-
tls?: boolean | undefined;
|
|
3060
|
-
} | undefined;
|
|
3061
|
-
cache?: {
|
|
3062
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3063
|
-
ttl?: number | undefined;
|
|
3064
|
-
port?: number | undefined;
|
|
3065
|
-
host?: string | undefined;
|
|
3066
|
-
password?: string | undefined;
|
|
3067
|
-
token?: string | undefined;
|
|
3068
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3069
|
-
url?: string | undefined;
|
|
3070
|
-
username?: string | undefined;
|
|
3071
|
-
tls?: boolean | undefined;
|
|
3072
|
-
} | undefined;
|
|
1858
|
+
};
|
|
1859
|
+
}, {
|
|
1860
|
+
storefront: {
|
|
1861
|
+
log: {
|
|
1862
|
+
name: string;
|
|
1863
|
+
level: LogLevel;
|
|
1864
|
+
};
|
|
1865
|
+
legacy?: {
|
|
1866
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
3073
1867
|
} | undefined;
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
1868
|
+
};
|
|
1869
|
+
}>;
|
|
1870
|
+
}, "strip", z.ZodTypeAny, {
|
|
1871
|
+
storefront: {
|
|
1872
|
+
shopSelector: "domain" | "path" | "path_or_default";
|
|
3078
1873
|
shops: Record<string, {
|
|
3079
1874
|
locale: string;
|
|
3080
1875
|
checkout: {
|
|
3081
1876
|
user: string | number;
|
|
3082
|
-
host: string;
|
|
3083
1877
|
secret: string;
|
|
1878
|
+
host: string;
|
|
3084
1879
|
token: string;
|
|
3085
1880
|
shopId?: number | undefined;
|
|
3086
1881
|
cbdExpiration?: number | undefined;
|
|
@@ -3091,26 +1886,12 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3091
1886
|
};
|
|
3092
1887
|
currency: string;
|
|
3093
1888
|
domain?: string | undefined;
|
|
3094
|
-
storeCampaignKeyword?: string | undefined;
|
|
3095
1889
|
idp?: {
|
|
3096
1890
|
enabled: boolean;
|
|
3097
1891
|
idpKeys: string[];
|
|
3098
1892
|
idpRedirectURL: string;
|
|
3099
1893
|
} | undefined;
|
|
3100
1894
|
path?: string | string[] | undefined;
|
|
3101
|
-
redis?: {
|
|
3102
|
-
port?: number | undefined;
|
|
3103
|
-
host?: string | undefined;
|
|
3104
|
-
prefix?: string | undefined;
|
|
3105
|
-
sslTransit?: boolean | undefined;
|
|
3106
|
-
} | {
|
|
3107
|
-
user: string;
|
|
3108
|
-
password: string;
|
|
3109
|
-
port?: number | undefined;
|
|
3110
|
-
host?: string | undefined;
|
|
3111
|
-
prefix?: string | undefined;
|
|
3112
|
-
sslTransit?: boolean | undefined;
|
|
3113
|
-
} | undefined;
|
|
3114
1895
|
apiBasePath?: string | undefined;
|
|
3115
1896
|
appKeys?: {
|
|
3116
1897
|
wishlistKey: string;
|
|
@@ -3125,46 +1906,44 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3125
1906
|
maxAge?: number | undefined;
|
|
3126
1907
|
cookieName?: string | undefined;
|
|
3127
1908
|
secret?: string | string[] | undefined;
|
|
3128
|
-
provider?: "redis" | "memory" | undefined;
|
|
3129
1909
|
} | undefined;
|
|
3130
1910
|
sapi?: {
|
|
3131
1911
|
host: string;
|
|
3132
1912
|
token: string;
|
|
3133
1913
|
} | undefined;
|
|
3134
|
-
bapi?: {
|
|
3135
|
-
host: string;
|
|
3136
|
-
token: string;
|
|
3137
|
-
} | undefined;
|
|
3138
1914
|
storage?: {
|
|
3139
1915
|
session?: {
|
|
3140
|
-
driver: "null" | "
|
|
1916
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3141
1917
|
ttl?: number | undefined;
|
|
3142
|
-
port?: number | undefined;
|
|
3143
1918
|
host?: string | undefined;
|
|
3144
|
-
password?: string | undefined;
|
|
3145
1919
|
token?: string | undefined;
|
|
3146
1920
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3147
1921
|
url?: string | undefined;
|
|
1922
|
+
port?: number | undefined;
|
|
3148
1923
|
username?: string | undefined;
|
|
1924
|
+
password?: string | undefined;
|
|
3149
1925
|
tls?: boolean | undefined;
|
|
3150
1926
|
} | undefined;
|
|
3151
1927
|
cache?: {
|
|
3152
|
-
driver: "null" | "
|
|
1928
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3153
1929
|
ttl?: number | undefined;
|
|
3154
|
-
port?: number | undefined;
|
|
3155
1930
|
host?: string | undefined;
|
|
3156
|
-
password?: string | undefined;
|
|
3157
1931
|
token?: string | undefined;
|
|
3158
1932
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3159
1933
|
url?: string | undefined;
|
|
1934
|
+
port?: number | undefined;
|
|
3160
1935
|
username?: string | undefined;
|
|
1936
|
+
password?: string | undefined;
|
|
3161
1937
|
tls?: boolean | undefined;
|
|
3162
1938
|
} | undefined;
|
|
3163
1939
|
} | undefined;
|
|
3164
1940
|
isDefault?: boolean | "" | undefined;
|
|
3165
1941
|
}>;
|
|
3166
|
-
|
|
3167
|
-
|
|
1942
|
+
redirects?: {
|
|
1943
|
+
enabled: boolean;
|
|
1944
|
+
queryParamWhitelist?: string[] | undefined;
|
|
1945
|
+
} | undefined;
|
|
1946
|
+
} & {
|
|
3168
1947
|
oauth: {
|
|
3169
1948
|
apiHost: string;
|
|
3170
1949
|
clientId: string | number;
|
|
@@ -3175,25 +1954,16 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3175
1954
|
basketKey: string;
|
|
3176
1955
|
hashAlgorithm: "none" | "md5" | "sha256";
|
|
3177
1956
|
};
|
|
1957
|
+
sapi: {
|
|
1958
|
+
host: string;
|
|
1959
|
+
token: string;
|
|
1960
|
+
};
|
|
3178
1961
|
idp?: {
|
|
3179
1962
|
enabled: boolean;
|
|
3180
1963
|
idpKeys: string[];
|
|
3181
1964
|
idpRedirectURL: string;
|
|
3182
1965
|
} | undefined;
|
|
3183
1966
|
internalAccessHeader?: string | undefined;
|
|
3184
|
-
redis?: {
|
|
3185
|
-
port?: number | undefined;
|
|
3186
|
-
host?: string | undefined;
|
|
3187
|
-
prefix?: string | undefined;
|
|
3188
|
-
sslTransit?: boolean | undefined;
|
|
3189
|
-
} | {
|
|
3190
|
-
user: string;
|
|
3191
|
-
password: string;
|
|
3192
|
-
port?: number | undefined;
|
|
3193
|
-
host?: string | undefined;
|
|
3194
|
-
prefix?: string | undefined;
|
|
3195
|
-
sslTransit?: boolean | undefined;
|
|
3196
|
-
} | undefined;
|
|
3197
1967
|
apiBasePath?: string | undefined;
|
|
3198
1968
|
session?: {
|
|
3199
1969
|
domain?: string | undefined;
|
|
@@ -3201,79 +1971,65 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3201
1971
|
maxAge?: number | undefined;
|
|
3202
1972
|
cookieName?: string | undefined;
|
|
3203
1973
|
secret?: string | string[] | undefined;
|
|
3204
|
-
provider?: "redis" | "memory" | undefined;
|
|
3205
1974
|
} | undefined;
|
|
3206
1975
|
cache?: {
|
|
3207
1976
|
auth?: {
|
|
3208
|
-
password: string;
|
|
3209
1977
|
username: string;
|
|
1978
|
+
password: string;
|
|
3210
1979
|
} | undefined;
|
|
3211
1980
|
enabled?: boolean | undefined;
|
|
3212
|
-
provider?: "redis" | "memory" | undefined;
|
|
3213
1981
|
} | undefined;
|
|
3214
1982
|
storage?: {
|
|
3215
1983
|
session?: {
|
|
3216
|
-
driver: "null" | "
|
|
1984
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3217
1985
|
ttl?: number | undefined;
|
|
3218
|
-
port?: number | undefined;
|
|
3219
1986
|
host?: string | undefined;
|
|
3220
|
-
password?: string | undefined;
|
|
3221
1987
|
token?: string | undefined;
|
|
3222
1988
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3223
1989
|
url?: string | undefined;
|
|
1990
|
+
port?: number | undefined;
|
|
3224
1991
|
username?: string | undefined;
|
|
1992
|
+
password?: string | undefined;
|
|
3225
1993
|
tls?: boolean | undefined;
|
|
3226
1994
|
} | undefined;
|
|
3227
1995
|
cache?: {
|
|
3228
|
-
driver: "null" | "
|
|
1996
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3229
1997
|
ttl?: number | undefined;
|
|
3230
|
-
port?: number | undefined;
|
|
3231
1998
|
host?: string | undefined;
|
|
3232
|
-
password?: string | undefined;
|
|
3233
1999
|
token?: string | undefined;
|
|
3234
2000
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3235
2001
|
url?: string | undefined;
|
|
2002
|
+
port?: number | undefined;
|
|
3236
2003
|
username?: string | undefined;
|
|
2004
|
+
password?: string | undefined;
|
|
3237
2005
|
tls?: boolean | undefined;
|
|
3238
2006
|
} | undefined;
|
|
3239
2007
|
} | undefined;
|
|
3240
2008
|
publicShopData?: string[] | undefined;
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
};
|
|
3246
|
-
bapi?: undefined;
|
|
3247
|
-
} | {
|
|
3248
|
-
bapi: {
|
|
3249
|
-
host: string;
|
|
3250
|
-
token: string;
|
|
3251
|
-
};
|
|
3252
|
-
sapi?: undefined;
|
|
3253
|
-
}));
|
|
2009
|
+
legacy?: {
|
|
2010
|
+
enableSessionMigration?: boolean | undefined;
|
|
2011
|
+
} | undefined;
|
|
2012
|
+
};
|
|
3254
2013
|
public: {
|
|
3255
2014
|
storefront: {
|
|
3256
2015
|
log: {
|
|
3257
2016
|
name: string;
|
|
3258
2017
|
level: LogLevel;
|
|
3259
2018
|
};
|
|
3260
|
-
|
|
2019
|
+
legacy?: {
|
|
2020
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2021
|
+
} | undefined;
|
|
3261
2022
|
};
|
|
3262
2023
|
};
|
|
3263
2024
|
}, {
|
|
3264
|
-
storefront:
|
|
2025
|
+
storefront: {
|
|
3265
2026
|
shopSelector: "domain" | "path" | "path_or_default";
|
|
3266
|
-
|
|
3267
|
-
enabled: boolean;
|
|
3268
|
-
queryParamWhitelist?: string[] | undefined;
|
|
3269
|
-
} | undefined;
|
|
3270
|
-
} & ({
|
|
3271
|
-
stores: Record<string, {
|
|
2027
|
+
shops: Record<string, {
|
|
3272
2028
|
locale: string;
|
|
3273
2029
|
checkout: {
|
|
3274
2030
|
user: string | number;
|
|
3275
|
-
host: string;
|
|
3276
2031
|
secret: string;
|
|
2032
|
+
host: string;
|
|
3277
2033
|
token: string;
|
|
3278
2034
|
shopId?: number | undefined;
|
|
3279
2035
|
cbdExpiration?: number | undefined;
|
|
@@ -3284,26 +2040,12 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3284
2040
|
};
|
|
3285
2041
|
currency: string;
|
|
3286
2042
|
domain?: string | undefined;
|
|
3287
|
-
storeCampaignKeyword?: string | undefined;
|
|
3288
2043
|
idp?: {
|
|
3289
2044
|
enabled: boolean;
|
|
3290
2045
|
idpKeys: string[];
|
|
3291
2046
|
idpRedirectURL: string;
|
|
3292
2047
|
} | undefined;
|
|
3293
2048
|
path?: string | string[] | undefined;
|
|
3294
|
-
redis?: {
|
|
3295
|
-
port?: number | undefined;
|
|
3296
|
-
host?: string | undefined;
|
|
3297
|
-
prefix?: string | undefined;
|
|
3298
|
-
sslTransit?: boolean | undefined;
|
|
3299
|
-
} | {
|
|
3300
|
-
user: string;
|
|
3301
|
-
password: string;
|
|
3302
|
-
port?: number | undefined;
|
|
3303
|
-
host?: string | undefined;
|
|
3304
|
-
prefix?: string | undefined;
|
|
3305
|
-
sslTransit?: boolean | undefined;
|
|
3306
|
-
} | undefined;
|
|
3307
2049
|
apiBasePath?: string | undefined;
|
|
3308
2050
|
appKeys?: {
|
|
3309
2051
|
wishlistKey: string;
|
|
@@ -3318,136 +2060,44 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3318
2060
|
maxAge?: number | undefined;
|
|
3319
2061
|
cookieName?: string | undefined;
|
|
3320
2062
|
secret?: string | string[] | undefined;
|
|
3321
|
-
provider?: "redis" | "memory" | undefined;
|
|
3322
2063
|
} | undefined;
|
|
3323
2064
|
sapi?: {
|
|
3324
2065
|
host: string;
|
|
3325
2066
|
token: string;
|
|
3326
2067
|
} | undefined;
|
|
3327
|
-
bapi?: {
|
|
3328
|
-
host: string;
|
|
3329
|
-
token: string;
|
|
3330
|
-
} | undefined;
|
|
3331
2068
|
storage?: {
|
|
3332
2069
|
session?: {
|
|
3333
|
-
driver: "null" | "
|
|
2070
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3334
2071
|
ttl?: number | undefined;
|
|
3335
|
-
port?: number | undefined;
|
|
3336
2072
|
host?: string | undefined;
|
|
3337
|
-
password?: string | undefined;
|
|
3338
2073
|
token?: string | undefined;
|
|
3339
2074
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3340
2075
|
url?: string | undefined;
|
|
3341
|
-
username?: string | undefined;
|
|
3342
|
-
tls?: boolean | undefined;
|
|
3343
|
-
} | undefined;
|
|
3344
|
-
cache?: {
|
|
3345
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3346
|
-
ttl?: number | undefined;
|
|
3347
2076
|
port?: number | undefined;
|
|
3348
|
-
host?: string | undefined;
|
|
3349
|
-
password?: string | undefined;
|
|
3350
|
-
token?: string | undefined;
|
|
3351
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3352
|
-
url?: string | undefined;
|
|
3353
2077
|
username?: string | undefined;
|
|
3354
|
-
tls?: boolean | undefined;
|
|
3355
|
-
} | undefined;
|
|
3356
|
-
} | undefined;
|
|
3357
|
-
isDefault?: string | boolean | undefined;
|
|
3358
|
-
}>;
|
|
3359
|
-
shops?: undefined;
|
|
3360
|
-
} | {
|
|
3361
|
-
shops: Record<string, {
|
|
3362
|
-
locale: string;
|
|
3363
|
-
checkout: {
|
|
3364
|
-
user: string | number;
|
|
3365
|
-
host: string;
|
|
3366
|
-
secret: string;
|
|
3367
|
-
token: string;
|
|
3368
|
-
shopId?: number | undefined;
|
|
3369
|
-
cbdExpiration?: number | undefined;
|
|
3370
|
-
};
|
|
3371
|
-
shopId: number;
|
|
3372
|
-
auth: {
|
|
3373
|
-
resetPasswordUrl: string;
|
|
3374
|
-
};
|
|
3375
|
-
currency: string;
|
|
3376
|
-
domain?: string | undefined;
|
|
3377
|
-
storeCampaignKeyword?: string | undefined;
|
|
3378
|
-
idp?: {
|
|
3379
|
-
enabled: boolean;
|
|
3380
|
-
idpKeys: string[];
|
|
3381
|
-
idpRedirectURL: string;
|
|
3382
|
-
} | undefined;
|
|
3383
|
-
path?: string | string[] | undefined;
|
|
3384
|
-
redis?: {
|
|
3385
|
-
port?: number | undefined;
|
|
3386
|
-
host?: string | undefined;
|
|
3387
|
-
prefix?: string | undefined;
|
|
3388
|
-
sslTransit?: boolean | undefined;
|
|
3389
|
-
} | {
|
|
3390
|
-
user: string;
|
|
3391
|
-
password: string;
|
|
3392
|
-
port?: number | undefined;
|
|
3393
|
-
host?: string | undefined;
|
|
3394
|
-
prefix?: string | undefined;
|
|
3395
|
-
sslTransit?: boolean | undefined;
|
|
3396
|
-
} | undefined;
|
|
3397
|
-
apiBasePath?: string | undefined;
|
|
3398
|
-
appKeys?: {
|
|
3399
|
-
wishlistKey: string;
|
|
3400
|
-
basketKey: string;
|
|
3401
|
-
hashAlgorithm: "none" | "md5" | "sha256";
|
|
3402
|
-
} | undefined;
|
|
3403
|
-
currencyFractionDigits?: number | undefined;
|
|
3404
|
-
isEnabled?: boolean | undefined;
|
|
3405
|
-
sessionConfig?: {
|
|
3406
|
-
domain?: string | undefined;
|
|
3407
|
-
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
3408
|
-
maxAge?: number | undefined;
|
|
3409
|
-
cookieName?: string | undefined;
|
|
3410
|
-
secret?: string | string[] | undefined;
|
|
3411
|
-
provider?: "redis" | "memory" | undefined;
|
|
3412
|
-
} | undefined;
|
|
3413
|
-
sapi?: {
|
|
3414
|
-
host: string;
|
|
3415
|
-
token: string;
|
|
3416
|
-
} | undefined;
|
|
3417
|
-
bapi?: {
|
|
3418
|
-
host: string;
|
|
3419
|
-
token: string;
|
|
3420
|
-
} | undefined;
|
|
3421
|
-
storage?: {
|
|
3422
|
-
session?: {
|
|
3423
|
-
driver: "null" | "redis" | "memory" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3424
|
-
ttl?: number | undefined;
|
|
3425
|
-
port?: number | undefined;
|
|
3426
|
-
host?: string | undefined;
|
|
3427
2078
|
password?: string | undefined;
|
|
3428
|
-
token?: string | undefined;
|
|
3429
|
-
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3430
|
-
url?: string | undefined;
|
|
3431
|
-
username?: string | undefined;
|
|
3432
2079
|
tls?: boolean | undefined;
|
|
3433
2080
|
} | undefined;
|
|
3434
2081
|
cache?: {
|
|
3435
|
-
driver: "null" | "
|
|
2082
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3436
2083
|
ttl?: number | undefined;
|
|
3437
|
-
port?: number | undefined;
|
|
3438
2084
|
host?: string | undefined;
|
|
3439
|
-
password?: string | undefined;
|
|
3440
2085
|
token?: string | undefined;
|
|
3441
2086
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3442
2087
|
url?: string | undefined;
|
|
2088
|
+
port?: number | undefined;
|
|
3443
2089
|
username?: string | undefined;
|
|
2090
|
+
password?: string | undefined;
|
|
3444
2091
|
tls?: boolean | undefined;
|
|
3445
2092
|
} | undefined;
|
|
3446
2093
|
} | undefined;
|
|
3447
2094
|
isDefault?: string | boolean | undefined;
|
|
3448
2095
|
}>;
|
|
3449
|
-
|
|
3450
|
-
|
|
2096
|
+
redirects?: {
|
|
2097
|
+
enabled: boolean;
|
|
2098
|
+
queryParamWhitelist?: string[] | undefined;
|
|
2099
|
+
} | undefined;
|
|
2100
|
+
} & {
|
|
3451
2101
|
oauth: {
|
|
3452
2102
|
apiHost: string;
|
|
3453
2103
|
clientId: string | number;
|
|
@@ -3458,25 +2108,16 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3458
2108
|
basketKey: string;
|
|
3459
2109
|
hashAlgorithm: "none" | "md5" | "sha256";
|
|
3460
2110
|
};
|
|
2111
|
+
sapi: {
|
|
2112
|
+
host: string;
|
|
2113
|
+
token: string;
|
|
2114
|
+
};
|
|
3461
2115
|
idp?: {
|
|
3462
2116
|
enabled: boolean;
|
|
3463
2117
|
idpKeys: string[];
|
|
3464
2118
|
idpRedirectURL: string;
|
|
3465
2119
|
} | undefined;
|
|
3466
2120
|
internalAccessHeader?: string | undefined;
|
|
3467
|
-
redis?: {
|
|
3468
|
-
port?: number | undefined;
|
|
3469
|
-
host?: string | undefined;
|
|
3470
|
-
prefix?: string | undefined;
|
|
3471
|
-
sslTransit?: boolean | undefined;
|
|
3472
|
-
} | {
|
|
3473
|
-
user: string;
|
|
3474
|
-
password: string;
|
|
3475
|
-
port?: number | undefined;
|
|
3476
|
-
host?: string | undefined;
|
|
3477
|
-
prefix?: string | undefined;
|
|
3478
|
-
sslTransit?: boolean | undefined;
|
|
3479
|
-
} | undefined;
|
|
3480
2121
|
apiBasePath?: string | undefined;
|
|
3481
2122
|
session?: {
|
|
3482
2123
|
domain?: string | undefined;
|
|
@@ -3484,63 +2125,54 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
3484
2125
|
maxAge?: number | undefined;
|
|
3485
2126
|
cookieName?: string | undefined;
|
|
3486
2127
|
secret?: string | string[] | undefined;
|
|
3487
|
-
provider?: "redis" | "memory" | undefined;
|
|
3488
2128
|
} | undefined;
|
|
3489
2129
|
cache?: {
|
|
3490
2130
|
auth?: {
|
|
3491
|
-
password: string;
|
|
3492
2131
|
username: string;
|
|
2132
|
+
password: string;
|
|
3493
2133
|
} | undefined;
|
|
3494
2134
|
enabled?: boolean | undefined;
|
|
3495
|
-
provider?: "redis" | "memory" | undefined;
|
|
3496
2135
|
} | undefined;
|
|
3497
2136
|
storage?: {
|
|
3498
2137
|
session?: {
|
|
3499
|
-
driver: "null" | "
|
|
2138
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3500
2139
|
ttl?: number | undefined;
|
|
3501
|
-
port?: number | undefined;
|
|
3502
2140
|
host?: string | undefined;
|
|
3503
|
-
password?: string | undefined;
|
|
3504
2141
|
token?: string | undefined;
|
|
3505
2142
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3506
2143
|
url?: string | undefined;
|
|
2144
|
+
port?: number | undefined;
|
|
3507
2145
|
username?: string | undefined;
|
|
2146
|
+
password?: string | undefined;
|
|
3508
2147
|
tls?: boolean | undefined;
|
|
3509
2148
|
} | undefined;
|
|
3510
2149
|
cache?: {
|
|
3511
|
-
driver: "null" | "
|
|
2150
|
+
driver: "null" | "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
|
|
3512
2151
|
ttl?: number | undefined;
|
|
3513
|
-
port?: number | undefined;
|
|
3514
2152
|
host?: string | undefined;
|
|
3515
|
-
password?: string | undefined;
|
|
3516
2153
|
token?: string | undefined;
|
|
3517
2154
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
3518
2155
|
url?: string | undefined;
|
|
2156
|
+
port?: number | undefined;
|
|
3519
2157
|
username?: string | undefined;
|
|
2158
|
+
password?: string | undefined;
|
|
3520
2159
|
tls?: boolean | undefined;
|
|
3521
2160
|
} | undefined;
|
|
3522
2161
|
} | undefined;
|
|
3523
2162
|
publicShopData?: string[] | undefined;
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
};
|
|
3529
|
-
bapi?: undefined;
|
|
3530
|
-
} | {
|
|
3531
|
-
bapi: {
|
|
3532
|
-
host: string;
|
|
3533
|
-
token: string;
|
|
3534
|
-
};
|
|
3535
|
-
sapi?: undefined;
|
|
3536
|
-
}));
|
|
2163
|
+
legacy?: {
|
|
2164
|
+
enableSessionMigration?: boolean | undefined;
|
|
2165
|
+
} | undefined;
|
|
2166
|
+
};
|
|
3537
2167
|
public: {
|
|
3538
2168
|
storefront: {
|
|
3539
2169
|
log: {
|
|
3540
2170
|
name: string;
|
|
3541
2171
|
level: LogLevel;
|
|
3542
2172
|
};
|
|
3543
|
-
|
|
2173
|
+
legacy?: {
|
|
2174
|
+
enableDefaultGetCachedDataOverride?: boolean | undefined;
|
|
2175
|
+
} | undefined;
|
|
3544
2176
|
};
|
|
3545
2177
|
};
|
|
3546
2178
|
}>;
|
|
@@ -3548,14 +2180,9 @@ type CheckoutShopConfigType = z.infer<typeof CheckoutShopConfigSchema>;
|
|
|
3548
2180
|
type SessionType = z.infer<typeof SessionSchema>;
|
|
3549
2181
|
type StorageType = z.infer<typeof StorageSchema>;
|
|
3550
2182
|
type SapiConfigType = z.infer<typeof SapiSchema>;
|
|
3551
|
-
/**
|
|
3552
|
-
* @deprecated Use {@link SapiConfigType} instead
|
|
3553
|
-
*/
|
|
3554
|
-
type BapiConfigType = z.infer<typeof SapiSchema>;
|
|
3555
2183
|
type StorefrontConfigType = z.infer<typeof StorefrontConfigSchema>;
|
|
3556
2184
|
type ShopSelectorType = z.infer<typeof ShopSelectorSchema>;
|
|
3557
2185
|
type RedirectType = z.infer<typeof RedirectsSchema>;
|
|
3558
2186
|
type IdpType = z.infer<typeof IdpSchema>;
|
|
3559
|
-
type RedisConfigType = z.infer<typeof RedisConfigSchema>;
|
|
3560
2187
|
type ModulePublicRuntimeConfigType = z.infer<typeof PublicRuntimeConfigSchema>;
|
|
3561
|
-
export type { CheckoutShopConfigType, SessionType, StorageType, SapiConfigType,
|
|
2188
|
+
export type { CheckoutShopConfigType, SessionType, StorageType, SapiConfigType, ShopSelectorType, ShopConfigType, StorefrontConfigType, RedirectType, ModulePublicRuntimeConfigType, IdpType, };
|