@scayle/storefront-nuxt 7.79.1 → 7.80.0
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 +11 -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 +1 -1
- package/dist/rpc.d.mts +1 -1
- package/dist/rpc.d.ts +1 -1
- package/dist/runtime/composables/core/useIDP.d.ts +2 -2
- package/dist/runtime/composables/core/useUser.d.ts +2 -2
- package/dist/runtime/composables/storefront/useBasket.d.ts +4 -4
- package/dist/runtime/composables/storefront/useCategories.d.ts +2 -2
- package/dist/runtime/composables/storefront/useFacet.d.ts +8 -8
- package/dist/runtime/composables/storefront/useOrder.d.ts +2 -2
- package/dist/runtime/composables/storefront/useOrderConfirmation.d.ts +2 -2
- package/dist/runtime/composables/storefront/useWishlist.d.ts +2 -2
- package/dist/runtime/server/middleware/bootstrap.mjs +45 -38
- package/dist/runtime/utils/zodSchema.d.ts +9 -9
- package/dist/runtime/utils/zodSchema.mjs +3 -1
- package/dist/shared/{storefront-nuxt.2c3f3a8a.d.mts → storefront-nuxt.282cc1d9.d.mts} +216 -216
- package/dist/shared/{storefront-nuxt.2c3f3a8a.d.ts → storefront-nuxt.282cc1d9.d.ts} +216 -216
- package/package.json +8 -8
|
@@ -23,13 +23,13 @@ declare const RedisConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
23
23
|
prefix: z.ZodOptional<z.ZodString>;
|
|
24
24
|
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
port?: number | undefined;
|
|
27
26
|
host?: string | undefined;
|
|
27
|
+
port?: number | undefined;
|
|
28
28
|
prefix?: string | undefined;
|
|
29
29
|
sslTransit?: boolean | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
port?: number | undefined;
|
|
32
31
|
host?: string | undefined;
|
|
32
|
+
port?: number | undefined;
|
|
33
33
|
prefix?: string | undefined;
|
|
34
34
|
sslTransit?: boolean | undefined;
|
|
35
35
|
}>, z.ZodObject<{
|
|
@@ -42,15 +42,15 @@ declare const RedisConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
user: string;
|
|
44
44
|
password: string;
|
|
45
|
-
port?: number | undefined;
|
|
46
45
|
host?: string | undefined;
|
|
46
|
+
port?: number | undefined;
|
|
47
47
|
prefix?: string | undefined;
|
|
48
48
|
sslTransit?: boolean | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
user: string;
|
|
51
51
|
password: string;
|
|
52
|
-
port?: number | undefined;
|
|
53
52
|
host?: string | undefined;
|
|
53
|
+
port?: number | undefined;
|
|
54
54
|
prefix?: string | undefined;
|
|
55
55
|
sslTransit?: boolean | undefined;
|
|
56
56
|
}>]>;
|
|
@@ -77,27 +77,27 @@ declare const SessionSchema: z.ZodObject<{
|
|
|
77
77
|
*/
|
|
78
78
|
domain: z.ZodOptional<z.ZodString>;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
domain?: string | undefined;
|
|
81
|
+
secret?: string | string[] | undefined;
|
|
80
82
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
81
83
|
maxAge?: number | undefined;
|
|
82
84
|
cookieName?: string | undefined;
|
|
83
|
-
secret?: string | string[] | undefined;
|
|
84
|
-
domain?: string | undefined;
|
|
85
85
|
}, {
|
|
86
|
+
domain?: string | undefined;
|
|
87
|
+
secret?: string | string[] | undefined;
|
|
86
88
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
87
89
|
maxAge?: number | undefined;
|
|
88
90
|
cookieName?: string | undefined;
|
|
89
|
-
secret?: string | string[] | undefined;
|
|
90
|
-
domain?: string | undefined;
|
|
91
91
|
}>;
|
|
92
92
|
declare const BapiSchema: z.ZodObject<{
|
|
93
93
|
host: z.ZodString;
|
|
94
94
|
token: z.ZodString;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
host: string;
|
|
97
96
|
token: string;
|
|
98
|
-
}, {
|
|
99
97
|
host: string;
|
|
98
|
+
}, {
|
|
100
99
|
token: string;
|
|
100
|
+
host: string;
|
|
101
101
|
}>;
|
|
102
102
|
declare const IdpSchema: z.ZodObject<{
|
|
103
103
|
enabled: z.ZodBoolean;
|
|
@@ -125,24 +125,24 @@ declare const StorageSchema: z.ZodObject<{
|
|
|
125
125
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
driver: "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";
|
|
128
|
-
|
|
129
|
-
host?: string | undefined;
|
|
130
|
-
password?: string | undefined;
|
|
128
|
+
url?: string | undefined;
|
|
131
129
|
token?: string | undefined;
|
|
130
|
+
host?: string | undefined;
|
|
132
131
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
133
|
-
|
|
132
|
+
port?: number | undefined;
|
|
134
133
|
username?: string | undefined;
|
|
134
|
+
password?: string | undefined;
|
|
135
135
|
tls?: boolean | undefined;
|
|
136
136
|
ttl?: number | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
driver: "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";
|
|
139
|
-
|
|
140
|
-
host?: string | undefined;
|
|
141
|
-
password?: string | undefined;
|
|
139
|
+
url?: string | undefined;
|
|
142
140
|
token?: string | undefined;
|
|
141
|
+
host?: string | undefined;
|
|
143
142
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
144
|
-
|
|
143
|
+
port?: number | undefined;
|
|
145
144
|
username?: string | undefined;
|
|
145
|
+
password?: string | undefined;
|
|
146
146
|
tls?: boolean | undefined;
|
|
147
147
|
ttl?: number | undefined;
|
|
148
148
|
}>;
|
|
@@ -153,16 +153,16 @@ declare const CheckoutShopConfigSchema: z.ZodObject<{
|
|
|
153
153
|
user: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
154
154
|
cbdExpiration: z.ZodOptional<z.ZodNumber>;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
token: string;
|
|
157
|
+
secret: string;
|
|
156
158
|
host: string;
|
|
157
159
|
user: string | number;
|
|
158
|
-
secret: string;
|
|
159
|
-
token: string;
|
|
160
160
|
cbdExpiration?: number | undefined;
|
|
161
161
|
}, {
|
|
162
|
+
token: string;
|
|
163
|
+
secret: string;
|
|
162
164
|
host: string;
|
|
163
165
|
user: string | number;
|
|
164
|
-
secret: string;
|
|
165
|
-
token: string;
|
|
166
166
|
cbdExpiration?: number | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
declare const ShopConfigSchema: z.ZodObject<{
|
|
@@ -200,16 +200,16 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
200
200
|
user: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
201
201
|
cbdExpiration: z.ZodOptional<z.ZodNumber>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
token: string;
|
|
204
|
+
secret: string;
|
|
203
205
|
host: string;
|
|
204
206
|
user: string | number;
|
|
205
|
-
secret: string;
|
|
206
|
-
token: string;
|
|
207
207
|
cbdExpiration?: number | undefined;
|
|
208
208
|
}, {
|
|
209
|
+
token: string;
|
|
210
|
+
secret: string;
|
|
209
211
|
host: string;
|
|
210
212
|
user: string | number;
|
|
211
|
-
secret: string;
|
|
212
|
-
token: string;
|
|
213
213
|
cbdExpiration?: number | undefined;
|
|
214
214
|
}>;
|
|
215
215
|
appKeys: z.ZodOptional<z.ZodObject<{
|
|
@@ -250,27 +250,27 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
250
250
|
*/
|
|
251
251
|
domain: z.ZodOptional<z.ZodString>;
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
domain?: string | undefined;
|
|
254
|
+
secret?: string | string[] | undefined;
|
|
253
255
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
254
256
|
maxAge?: number | undefined;
|
|
255
257
|
cookieName?: string | undefined;
|
|
256
|
-
secret?: string | string[] | undefined;
|
|
257
|
-
domain?: string | undefined;
|
|
258
258
|
}, {
|
|
259
|
+
domain?: string | undefined;
|
|
260
|
+
secret?: string | string[] | undefined;
|
|
259
261
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
260
262
|
maxAge?: number | undefined;
|
|
261
263
|
cookieName?: string | undefined;
|
|
262
|
-
secret?: string | string[] | undefined;
|
|
263
|
-
domain?: string | undefined;
|
|
264
264
|
}>>;
|
|
265
265
|
bapi: z.ZodOptional<z.ZodObject<{
|
|
266
266
|
host: z.ZodString;
|
|
267
267
|
token: z.ZodString;
|
|
268
268
|
}, "strip", z.ZodTypeAny, {
|
|
269
|
-
host: string;
|
|
270
269
|
token: string;
|
|
271
|
-
}, {
|
|
272
270
|
host: string;
|
|
271
|
+
}, {
|
|
273
272
|
token: string;
|
|
273
|
+
host: string;
|
|
274
274
|
}>>;
|
|
275
275
|
storage: z.ZodOptional<z.ZodObject<{
|
|
276
276
|
session: z.ZodOptional<z.ZodObject<{
|
|
@@ -286,24 +286,24 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
286
286
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
288
|
driver: "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";
|
|
289
|
-
|
|
290
|
-
host?: string | undefined;
|
|
291
|
-
password?: string | undefined;
|
|
289
|
+
url?: string | undefined;
|
|
292
290
|
token?: string | undefined;
|
|
291
|
+
host?: string | undefined;
|
|
293
292
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
294
|
-
|
|
293
|
+
port?: number | undefined;
|
|
295
294
|
username?: string | undefined;
|
|
295
|
+
password?: string | undefined;
|
|
296
296
|
tls?: boolean | undefined;
|
|
297
297
|
ttl?: number | undefined;
|
|
298
298
|
}, {
|
|
299
299
|
driver: "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";
|
|
300
|
-
|
|
301
|
-
host?: string | undefined;
|
|
302
|
-
password?: string | undefined;
|
|
300
|
+
url?: string | undefined;
|
|
303
301
|
token?: string | undefined;
|
|
302
|
+
host?: string | undefined;
|
|
304
303
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
305
|
-
|
|
304
|
+
port?: number | undefined;
|
|
306
305
|
username?: string | undefined;
|
|
306
|
+
password?: string | undefined;
|
|
307
307
|
tls?: boolean | undefined;
|
|
308
308
|
ttl?: number | undefined;
|
|
309
309
|
}>>;
|
|
@@ -320,74 +320,74 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
320
320
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
322
|
driver: "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";
|
|
323
|
-
|
|
324
|
-
host?: string | undefined;
|
|
325
|
-
password?: string | undefined;
|
|
323
|
+
url?: string | undefined;
|
|
326
324
|
token?: string | undefined;
|
|
325
|
+
host?: string | undefined;
|
|
327
326
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
328
|
-
|
|
327
|
+
port?: number | undefined;
|
|
329
328
|
username?: string | undefined;
|
|
329
|
+
password?: string | undefined;
|
|
330
330
|
tls?: boolean | undefined;
|
|
331
331
|
ttl?: number | undefined;
|
|
332
332
|
}, {
|
|
333
333
|
driver: "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";
|
|
334
|
-
|
|
335
|
-
host?: string | undefined;
|
|
336
|
-
password?: string | undefined;
|
|
334
|
+
url?: string | undefined;
|
|
337
335
|
token?: string | undefined;
|
|
336
|
+
host?: string | undefined;
|
|
338
337
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
339
|
-
|
|
338
|
+
port?: number | undefined;
|
|
340
339
|
username?: string | undefined;
|
|
340
|
+
password?: string | undefined;
|
|
341
341
|
tls?: boolean | undefined;
|
|
342
342
|
ttl?: number | undefined;
|
|
343
343
|
}>>;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
345
|
session?: {
|
|
346
346
|
driver: "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";
|
|
347
|
-
|
|
348
|
-
host?: string | undefined;
|
|
349
|
-
password?: string | undefined;
|
|
347
|
+
url?: string | undefined;
|
|
350
348
|
token?: string | undefined;
|
|
349
|
+
host?: string | undefined;
|
|
351
350
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
352
|
-
|
|
351
|
+
port?: number | undefined;
|
|
353
352
|
username?: string | undefined;
|
|
353
|
+
password?: string | undefined;
|
|
354
354
|
tls?: boolean | undefined;
|
|
355
355
|
ttl?: number | undefined;
|
|
356
356
|
} | undefined;
|
|
357
357
|
cache?: {
|
|
358
358
|
driver: "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
|
-
|
|
360
|
-
host?: string | undefined;
|
|
361
|
-
password?: string | undefined;
|
|
359
|
+
url?: string | undefined;
|
|
362
360
|
token?: string | undefined;
|
|
361
|
+
host?: string | undefined;
|
|
363
362
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
364
|
-
|
|
363
|
+
port?: number | undefined;
|
|
365
364
|
username?: string | undefined;
|
|
365
|
+
password?: string | undefined;
|
|
366
366
|
tls?: boolean | undefined;
|
|
367
367
|
ttl?: number | undefined;
|
|
368
368
|
} | undefined;
|
|
369
369
|
}, {
|
|
370
370
|
session?: {
|
|
371
371
|
driver: "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
|
-
|
|
373
|
-
host?: string | undefined;
|
|
374
|
-
password?: string | undefined;
|
|
372
|
+
url?: string | undefined;
|
|
375
373
|
token?: string | undefined;
|
|
374
|
+
host?: string | undefined;
|
|
376
375
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
377
|
-
|
|
376
|
+
port?: number | undefined;
|
|
378
377
|
username?: string | undefined;
|
|
378
|
+
password?: string | undefined;
|
|
379
379
|
tls?: boolean | undefined;
|
|
380
380
|
ttl?: number | undefined;
|
|
381
381
|
} | undefined;
|
|
382
382
|
cache?: {
|
|
383
383
|
driver: "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
|
-
|
|
385
|
-
host?: string | undefined;
|
|
386
|
-
password?: string | undefined;
|
|
384
|
+
url?: string | undefined;
|
|
387
385
|
token?: string | undefined;
|
|
386
|
+
host?: string | undefined;
|
|
388
387
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
389
|
-
|
|
388
|
+
port?: number | undefined;
|
|
390
389
|
username?: string | undefined;
|
|
390
|
+
password?: string | undefined;
|
|
391
391
|
tls?: boolean | undefined;
|
|
392
392
|
ttl?: number | undefined;
|
|
393
393
|
} | undefined;
|
|
@@ -400,13 +400,13 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
400
400
|
prefix: z.ZodOptional<z.ZodString>;
|
|
401
401
|
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
port?: number | undefined;
|
|
404
403
|
host?: string | undefined;
|
|
404
|
+
port?: number | undefined;
|
|
405
405
|
prefix?: string | undefined;
|
|
406
406
|
sslTransit?: boolean | undefined;
|
|
407
407
|
}, {
|
|
408
|
-
port?: number | undefined;
|
|
409
408
|
host?: string | undefined;
|
|
409
|
+
port?: number | undefined;
|
|
410
410
|
prefix?: string | undefined;
|
|
411
411
|
sslTransit?: boolean | undefined;
|
|
412
412
|
}>, z.ZodObject<{
|
|
@@ -419,15 +419,15 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
420
|
user: string;
|
|
421
421
|
password: string;
|
|
422
|
-
port?: number | undefined;
|
|
423
422
|
host?: string | undefined;
|
|
423
|
+
port?: number | undefined;
|
|
424
424
|
prefix?: string | undefined;
|
|
425
425
|
sslTransit?: boolean | undefined;
|
|
426
426
|
}, {
|
|
427
427
|
user: string;
|
|
428
428
|
password: string;
|
|
429
|
-
port?: number | undefined;
|
|
430
429
|
host?: string | undefined;
|
|
430
|
+
port?: number | undefined;
|
|
431
431
|
prefix?: string | undefined;
|
|
432
432
|
sslTransit?: boolean | undefined;
|
|
433
433
|
}>]>>;
|
|
@@ -439,33 +439,20 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
439
439
|
};
|
|
440
440
|
currency: string;
|
|
441
441
|
checkout: {
|
|
442
|
+
token: string;
|
|
443
|
+
secret: string;
|
|
442
444
|
host: string;
|
|
443
445
|
user: string | number;
|
|
444
|
-
secret: string;
|
|
445
|
-
token: string;
|
|
446
446
|
cbdExpiration?: number | undefined;
|
|
447
447
|
};
|
|
448
448
|
path?: string | string[] | undefined;
|
|
449
|
-
domain?: string | undefined;
|
|
450
|
-
redis?: {
|
|
451
|
-
port?: number | undefined;
|
|
452
|
-
host?: string | undefined;
|
|
453
|
-
prefix?: string | undefined;
|
|
454
|
-
sslTransit?: boolean | undefined;
|
|
455
|
-
} | {
|
|
456
|
-
user: string;
|
|
457
|
-
password: string;
|
|
458
|
-
port?: number | undefined;
|
|
459
|
-
host?: string | undefined;
|
|
460
|
-
prefix?: string | undefined;
|
|
461
|
-
sslTransit?: boolean | undefined;
|
|
462
|
-
} | undefined;
|
|
463
449
|
idp?: {
|
|
464
450
|
enabled: boolean;
|
|
465
451
|
idpKeys: string[];
|
|
466
452
|
idpRedirectURL: string;
|
|
467
453
|
} | undefined;
|
|
468
454
|
apiBasePath?: string | undefined;
|
|
455
|
+
domain?: string | undefined;
|
|
469
456
|
storeCampaignKeyword?: string | undefined;
|
|
470
457
|
appKeys?: {
|
|
471
458
|
wishlistKey: string;
|
|
@@ -475,38 +462,51 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
475
462
|
currencyFractionDigits?: number | undefined;
|
|
476
463
|
isEnabled?: boolean | undefined;
|
|
477
464
|
sessionConfig?: {
|
|
465
|
+
domain?: string | undefined;
|
|
466
|
+
secret?: string | string[] | undefined;
|
|
478
467
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
479
468
|
maxAge?: number | undefined;
|
|
480
469
|
cookieName?: string | undefined;
|
|
481
|
-
secret?: string | string[] | undefined;
|
|
482
|
-
domain?: string | undefined;
|
|
483
470
|
} | undefined;
|
|
484
471
|
bapi?: {
|
|
485
|
-
host: string;
|
|
486
472
|
token: string;
|
|
473
|
+
host: string;
|
|
474
|
+
} | undefined;
|
|
475
|
+
redis?: {
|
|
476
|
+
host?: string | undefined;
|
|
477
|
+
port?: number | undefined;
|
|
478
|
+
prefix?: string | undefined;
|
|
479
|
+
sslTransit?: boolean | undefined;
|
|
480
|
+
} | {
|
|
481
|
+
user: string;
|
|
482
|
+
password: string;
|
|
483
|
+
host?: string | undefined;
|
|
484
|
+
port?: number | undefined;
|
|
485
|
+
prefix?: string | undefined;
|
|
486
|
+
sslTransit?: boolean | undefined;
|
|
487
487
|
} | undefined;
|
|
488
488
|
storage?: {
|
|
489
489
|
session?: {
|
|
490
490
|
driver: "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";
|
|
491
|
-
|
|
492
|
-
host?: string | undefined;
|
|
493
|
-
password?: string | undefined;
|
|
491
|
+
url?: string | undefined;
|
|
494
492
|
token?: string | undefined;
|
|
493
|
+
host?: string | undefined;
|
|
495
494
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
496
|
-
|
|
495
|
+
port?: number | undefined;
|
|
497
496
|
username?: string | undefined;
|
|
497
|
+
password?: string | undefined;
|
|
498
498
|
tls?: boolean | undefined;
|
|
499
499
|
ttl?: number | undefined;
|
|
500
500
|
} | undefined;
|
|
501
501
|
cache?: {
|
|
502
502
|
driver: "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";
|
|
503
|
-
|
|
504
|
-
host?: string | undefined;
|
|
505
|
-
password?: string | undefined;
|
|
503
|
+
url?: string | undefined;
|
|
506
504
|
token?: string | undefined;
|
|
505
|
+
host?: string | undefined;
|
|
507
506
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
508
|
-
|
|
507
|
+
port?: number | undefined;
|
|
509
508
|
username?: string | undefined;
|
|
509
|
+
password?: string | undefined;
|
|
510
510
|
tls?: boolean | undefined;
|
|
511
511
|
ttl?: number | undefined;
|
|
512
512
|
} | undefined;
|
|
@@ -520,33 +520,20 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
520
520
|
};
|
|
521
521
|
currency: string;
|
|
522
522
|
checkout: {
|
|
523
|
+
token: string;
|
|
524
|
+
secret: string;
|
|
523
525
|
host: string;
|
|
524
526
|
user: string | number;
|
|
525
|
-
secret: string;
|
|
526
|
-
token: string;
|
|
527
527
|
cbdExpiration?: number | undefined;
|
|
528
528
|
};
|
|
529
529
|
path?: string | string[] | undefined;
|
|
530
|
-
domain?: string | undefined;
|
|
531
|
-
redis?: {
|
|
532
|
-
port?: number | undefined;
|
|
533
|
-
host?: string | undefined;
|
|
534
|
-
prefix?: string | undefined;
|
|
535
|
-
sslTransit?: boolean | undefined;
|
|
536
|
-
} | {
|
|
537
|
-
user: string;
|
|
538
|
-
password: string;
|
|
539
|
-
port?: number | undefined;
|
|
540
|
-
host?: string | undefined;
|
|
541
|
-
prefix?: string | undefined;
|
|
542
|
-
sslTransit?: boolean | undefined;
|
|
543
|
-
} | undefined;
|
|
544
530
|
idp?: {
|
|
545
531
|
enabled: boolean;
|
|
546
532
|
idpKeys: string[];
|
|
547
533
|
idpRedirectURL: string;
|
|
548
534
|
} | undefined;
|
|
549
535
|
apiBasePath?: string | undefined;
|
|
536
|
+
domain?: string | undefined;
|
|
550
537
|
storeCampaignKeyword?: string | undefined;
|
|
551
538
|
appKeys?: {
|
|
552
539
|
wishlistKey: string;
|
|
@@ -556,38 +543,51 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
556
543
|
currencyFractionDigits?: number | undefined;
|
|
557
544
|
isEnabled?: boolean | undefined;
|
|
558
545
|
sessionConfig?: {
|
|
546
|
+
domain?: string | undefined;
|
|
547
|
+
secret?: string | string[] | undefined;
|
|
559
548
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
560
549
|
maxAge?: number | undefined;
|
|
561
550
|
cookieName?: string | undefined;
|
|
562
|
-
secret?: string | string[] | undefined;
|
|
563
|
-
domain?: string | undefined;
|
|
564
551
|
} | undefined;
|
|
565
552
|
bapi?: {
|
|
566
|
-
host: string;
|
|
567
553
|
token: string;
|
|
554
|
+
host: string;
|
|
555
|
+
} | undefined;
|
|
556
|
+
redis?: {
|
|
557
|
+
host?: string | undefined;
|
|
558
|
+
port?: number | undefined;
|
|
559
|
+
prefix?: string | undefined;
|
|
560
|
+
sslTransit?: boolean | undefined;
|
|
561
|
+
} | {
|
|
562
|
+
user: string;
|
|
563
|
+
password: string;
|
|
564
|
+
host?: string | undefined;
|
|
565
|
+
port?: number | undefined;
|
|
566
|
+
prefix?: string | undefined;
|
|
567
|
+
sslTransit?: boolean | undefined;
|
|
568
568
|
} | undefined;
|
|
569
569
|
storage?: {
|
|
570
570
|
session?: {
|
|
571
571
|
driver: "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";
|
|
572
|
-
|
|
573
|
-
host?: string | undefined;
|
|
574
|
-
password?: string | undefined;
|
|
572
|
+
url?: string | undefined;
|
|
575
573
|
token?: string | undefined;
|
|
574
|
+
host?: string | undefined;
|
|
576
575
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
577
|
-
|
|
576
|
+
port?: number | undefined;
|
|
578
577
|
username?: string | undefined;
|
|
578
|
+
password?: string | undefined;
|
|
579
579
|
tls?: boolean | undefined;
|
|
580
580
|
ttl?: number | undefined;
|
|
581
581
|
} | undefined;
|
|
582
582
|
cache?: {
|
|
583
583
|
driver: "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";
|
|
584
|
-
|
|
585
|
-
host?: string | undefined;
|
|
586
|
-
password?: string | undefined;
|
|
584
|
+
url?: string | undefined;
|
|
587
585
|
token?: string | undefined;
|
|
586
|
+
host?: string | undefined;
|
|
588
587
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
589
|
-
|
|
588
|
+
port?: number | undefined;
|
|
590
589
|
username?: string | undefined;
|
|
590
|
+
password?: string | undefined;
|
|
591
591
|
tls?: boolean | undefined;
|
|
592
592
|
ttl?: number | undefined;
|
|
593
593
|
} | undefined;
|
|
@@ -595,6 +595,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
595
595
|
isDefault?: string | boolean | undefined;
|
|
596
596
|
}>;
|
|
597
597
|
declare const ShopSelectorSchema: z.ZodEnum<["path", "domain", "path_or_default"]>;
|
|
598
|
+
type ShopConfigType = z.infer<typeof ShopConfigSchema>;
|
|
598
599
|
declare const StorefrontConfigSchema: z.ZodObject<{
|
|
599
600
|
session: z.ZodOptional<z.ZodObject<{
|
|
600
601
|
/**
|
|
@@ -619,27 +620,27 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
619
620
|
*/
|
|
620
621
|
domain: z.ZodOptional<z.ZodString>;
|
|
621
622
|
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
domain?: string | undefined;
|
|
624
|
+
secret?: string | string[] | undefined;
|
|
622
625
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
623
626
|
maxAge?: number | undefined;
|
|
624
627
|
cookieName?: string | undefined;
|
|
625
|
-
secret?: string | string[] | undefined;
|
|
626
|
-
domain?: string | undefined;
|
|
627
628
|
}, {
|
|
629
|
+
domain?: string | undefined;
|
|
630
|
+
secret?: string | string[] | undefined;
|
|
628
631
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
629
632
|
maxAge?: number | undefined;
|
|
630
633
|
cookieName?: string | undefined;
|
|
631
|
-
secret?: string | string[] | undefined;
|
|
632
|
-
domain?: string | undefined;
|
|
633
634
|
}>>;
|
|
634
635
|
bapi: z.ZodObject<{
|
|
635
636
|
host: z.ZodString;
|
|
636
637
|
token: z.ZodString;
|
|
637
638
|
}, "strip", z.ZodTypeAny, {
|
|
638
|
-
host: string;
|
|
639
639
|
token: string;
|
|
640
|
-
}, {
|
|
641
640
|
host: string;
|
|
641
|
+
}, {
|
|
642
642
|
token: string;
|
|
643
|
+
host: string;
|
|
643
644
|
}>;
|
|
644
645
|
storage: z.ZodOptional<z.ZodObject<{
|
|
645
646
|
session: z.ZodOptional<z.ZodObject<{
|
|
@@ -655,24 +656,24 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
655
656
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
656
657
|
}, "strip", z.ZodTypeAny, {
|
|
657
658
|
driver: "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";
|
|
658
|
-
|
|
659
|
-
host?: string | undefined;
|
|
660
|
-
password?: string | undefined;
|
|
659
|
+
url?: string | undefined;
|
|
661
660
|
token?: string | undefined;
|
|
661
|
+
host?: string | undefined;
|
|
662
662
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
663
|
-
|
|
663
|
+
port?: number | undefined;
|
|
664
664
|
username?: string | undefined;
|
|
665
|
+
password?: string | undefined;
|
|
665
666
|
tls?: boolean | undefined;
|
|
666
667
|
ttl?: number | undefined;
|
|
667
668
|
}, {
|
|
668
669
|
driver: "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";
|
|
669
|
-
|
|
670
|
-
host?: string | undefined;
|
|
671
|
-
password?: string | undefined;
|
|
670
|
+
url?: string | undefined;
|
|
672
671
|
token?: string | undefined;
|
|
672
|
+
host?: string | undefined;
|
|
673
673
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
674
|
-
|
|
674
|
+
port?: number | undefined;
|
|
675
675
|
username?: string | undefined;
|
|
676
|
+
password?: string | undefined;
|
|
676
677
|
tls?: boolean | undefined;
|
|
677
678
|
ttl?: number | undefined;
|
|
678
679
|
}>>;
|
|
@@ -689,74 +690,74 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
689
690
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
690
691
|
}, "strip", z.ZodTypeAny, {
|
|
691
692
|
driver: "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";
|
|
692
|
-
|
|
693
|
-
host?: string | undefined;
|
|
694
|
-
password?: string | undefined;
|
|
693
|
+
url?: string | undefined;
|
|
695
694
|
token?: string | undefined;
|
|
695
|
+
host?: string | undefined;
|
|
696
696
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
697
|
-
|
|
697
|
+
port?: number | undefined;
|
|
698
698
|
username?: string | undefined;
|
|
699
|
+
password?: string | undefined;
|
|
699
700
|
tls?: boolean | undefined;
|
|
700
701
|
ttl?: number | undefined;
|
|
701
702
|
}, {
|
|
702
703
|
driver: "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";
|
|
703
|
-
|
|
704
|
-
host?: string | undefined;
|
|
705
|
-
password?: string | undefined;
|
|
704
|
+
url?: string | undefined;
|
|
706
705
|
token?: string | undefined;
|
|
706
|
+
host?: string | undefined;
|
|
707
707
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
708
|
-
|
|
708
|
+
port?: number | undefined;
|
|
709
709
|
username?: string | undefined;
|
|
710
|
+
password?: string | undefined;
|
|
710
711
|
tls?: boolean | undefined;
|
|
711
712
|
ttl?: number | undefined;
|
|
712
713
|
}>>;
|
|
713
714
|
}, "strip", z.ZodTypeAny, {
|
|
714
715
|
session?: {
|
|
715
716
|
driver: "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";
|
|
716
|
-
|
|
717
|
-
host?: string | undefined;
|
|
718
|
-
password?: string | undefined;
|
|
717
|
+
url?: string | undefined;
|
|
719
718
|
token?: string | undefined;
|
|
719
|
+
host?: string | undefined;
|
|
720
720
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
721
|
-
|
|
721
|
+
port?: number | undefined;
|
|
722
722
|
username?: string | undefined;
|
|
723
|
+
password?: string | undefined;
|
|
723
724
|
tls?: boolean | undefined;
|
|
724
725
|
ttl?: number | undefined;
|
|
725
726
|
} | undefined;
|
|
726
727
|
cache?: {
|
|
727
728
|
driver: "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";
|
|
728
|
-
|
|
729
|
-
host?: string | undefined;
|
|
730
|
-
password?: string | undefined;
|
|
729
|
+
url?: string | undefined;
|
|
731
730
|
token?: string | undefined;
|
|
731
|
+
host?: string | undefined;
|
|
732
732
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
733
|
-
|
|
733
|
+
port?: number | undefined;
|
|
734
734
|
username?: string | undefined;
|
|
735
|
+
password?: string | undefined;
|
|
735
736
|
tls?: boolean | undefined;
|
|
736
737
|
ttl?: number | undefined;
|
|
737
738
|
} | undefined;
|
|
738
739
|
}, {
|
|
739
740
|
session?: {
|
|
740
741
|
driver: "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";
|
|
741
|
-
|
|
742
|
-
host?: string | undefined;
|
|
743
|
-
password?: string | undefined;
|
|
742
|
+
url?: string | undefined;
|
|
744
743
|
token?: string | undefined;
|
|
744
|
+
host?: string | undefined;
|
|
745
745
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
746
|
-
|
|
746
|
+
port?: number | undefined;
|
|
747
747
|
username?: string | undefined;
|
|
748
|
+
password?: string | undefined;
|
|
748
749
|
tls?: boolean | undefined;
|
|
749
750
|
ttl?: number | undefined;
|
|
750
751
|
} | undefined;
|
|
751
752
|
cache?: {
|
|
752
753
|
driver: "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";
|
|
753
|
-
|
|
754
|
-
host?: string | undefined;
|
|
755
|
-
password?: string | undefined;
|
|
754
|
+
url?: string | undefined;
|
|
756
755
|
token?: string | undefined;
|
|
756
|
+
host?: string | undefined;
|
|
757
757
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
758
|
-
|
|
758
|
+
port?: number | undefined;
|
|
759
759
|
username?: string | undefined;
|
|
760
|
+
password?: string | undefined;
|
|
760
761
|
tls?: boolean | undefined;
|
|
761
762
|
ttl?: number | undefined;
|
|
762
763
|
} | undefined;
|
|
@@ -793,27 +794,27 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
793
794
|
username: z.ZodString;
|
|
794
795
|
password: z.ZodString;
|
|
795
796
|
}, "strip", z.ZodTypeAny, {
|
|
796
|
-
password: string;
|
|
797
797
|
username: string;
|
|
798
|
-
}, {
|
|
799
798
|
password: string;
|
|
799
|
+
}, {
|
|
800
800
|
username: string;
|
|
801
|
+
password: string;
|
|
801
802
|
}>;
|
|
802
803
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
803
804
|
}, "strip", z.ZodTypeAny, {
|
|
804
805
|
auth: {
|
|
805
|
-
password: string;
|
|
806
806
|
username: string;
|
|
807
|
+
password: string;
|
|
807
808
|
};
|
|
808
809
|
enabled?: boolean | undefined;
|
|
809
810
|
}, {
|
|
810
811
|
auth: {
|
|
811
|
-
password: string;
|
|
812
812
|
username: string;
|
|
813
|
+
password: string;
|
|
813
814
|
};
|
|
814
815
|
enabled?: boolean | undefined;
|
|
815
816
|
}>>;
|
|
816
|
-
publicShopData: z.ZodOptional<z.ZodArray<z.
|
|
817
|
+
publicShopData: z.ZodOptional<z.ZodArray<z.ZodType<("shopId" | "locale" | "auth" | "currency" | "checkout") | ("path" | "idp" | "apiBasePath" | "domain" | "storeCampaignKeyword" | "appKeys" | "currencyFractionDigits" | "isEnabled" | "sessionConfig" | "bapi" | "redis" | "storage" | "isDefault"), z.ZodTypeDef, ("shopId" | "locale" | "auth" | "currency" | "checkout") | ("path" | "idp" | "apiBasePath" | "domain" | "storeCampaignKeyword" | "appKeys" | "currencyFractionDigits" | "isEnabled" | "sessionConfig" | "bapi" | "redis" | "storage" | "isDefault")>, "many">>;
|
|
817
818
|
idp: z.ZodOptional<z.ZodObject<{
|
|
818
819
|
enabled: z.ZodBoolean;
|
|
819
820
|
idpKeys: z.ZodArray<z.ZodString, "many">;
|
|
@@ -834,13 +835,13 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
834
835
|
prefix: z.ZodOptional<z.ZodString>;
|
|
835
836
|
sslTransit: z.ZodOptional<z.ZodBoolean>;
|
|
836
837
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
port?: number | undefined;
|
|
838
838
|
host?: string | undefined;
|
|
839
|
+
port?: number | undefined;
|
|
839
840
|
prefix?: string | undefined;
|
|
840
841
|
sslTransit?: boolean | undefined;
|
|
841
842
|
}, {
|
|
842
|
-
port?: number | undefined;
|
|
843
843
|
host?: string | undefined;
|
|
844
|
+
port?: number | undefined;
|
|
844
845
|
prefix?: string | undefined;
|
|
845
846
|
sslTransit?: boolean | undefined;
|
|
846
847
|
}>, z.ZodObject<{
|
|
@@ -853,15 +854,15 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
853
854
|
}, "strip", z.ZodTypeAny, {
|
|
854
855
|
user: string;
|
|
855
856
|
password: string;
|
|
856
|
-
port?: number | undefined;
|
|
857
857
|
host?: string | undefined;
|
|
858
|
+
port?: number | undefined;
|
|
858
859
|
prefix?: string | undefined;
|
|
859
860
|
sslTransit?: boolean | undefined;
|
|
860
861
|
}, {
|
|
861
862
|
user: string;
|
|
862
863
|
password: string;
|
|
863
|
-
port?: number | undefined;
|
|
864
864
|
host?: string | undefined;
|
|
865
|
+
port?: number | undefined;
|
|
865
866
|
prefix?: string | undefined;
|
|
866
867
|
sslTransit?: boolean | undefined;
|
|
867
868
|
}>]>>;
|
|
@@ -872,74 +873,74 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
872
873
|
hashAlgorithm: string;
|
|
873
874
|
};
|
|
874
875
|
bapi: {
|
|
875
|
-
host: string;
|
|
876
876
|
token: string;
|
|
877
|
+
host: string;
|
|
877
878
|
};
|
|
878
879
|
oauth: {
|
|
879
880
|
apiHost: string;
|
|
880
881
|
clientId: string | number;
|
|
881
882
|
clientSecret: string;
|
|
882
883
|
};
|
|
884
|
+
idp?: {
|
|
885
|
+
enabled: boolean;
|
|
886
|
+
idpKeys: string[];
|
|
887
|
+
idpRedirectURL: string;
|
|
888
|
+
} | undefined;
|
|
889
|
+
apiBasePath?: string | undefined;
|
|
883
890
|
redis?: {
|
|
884
|
-
port?: number | undefined;
|
|
885
891
|
host?: string | undefined;
|
|
892
|
+
port?: number | undefined;
|
|
886
893
|
prefix?: string | undefined;
|
|
887
894
|
sslTransit?: boolean | undefined;
|
|
888
895
|
} | {
|
|
889
896
|
user: string;
|
|
890
897
|
password: string;
|
|
891
|
-
port?: number | undefined;
|
|
892
898
|
host?: string | undefined;
|
|
899
|
+
port?: number | undefined;
|
|
893
900
|
prefix?: string | undefined;
|
|
894
901
|
sslTransit?: boolean | undefined;
|
|
895
902
|
} | undefined;
|
|
896
|
-
idp?: {
|
|
897
|
-
enabled: boolean;
|
|
898
|
-
idpKeys: string[];
|
|
899
|
-
idpRedirectURL: string;
|
|
900
|
-
} | undefined;
|
|
901
|
-
apiBasePath?: string | undefined;
|
|
902
903
|
session?: {
|
|
904
|
+
domain?: string | undefined;
|
|
905
|
+
secret?: string | string[] | undefined;
|
|
903
906
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
904
907
|
maxAge?: number | undefined;
|
|
905
908
|
cookieName?: string | undefined;
|
|
906
|
-
secret?: string | string[] | undefined;
|
|
907
|
-
domain?: string | undefined;
|
|
908
909
|
} | undefined;
|
|
909
910
|
cache?: {
|
|
910
911
|
auth: {
|
|
911
|
-
password: string;
|
|
912
912
|
username: string;
|
|
913
|
+
password: string;
|
|
913
914
|
};
|
|
914
915
|
enabled?: boolean | undefined;
|
|
915
916
|
} | undefined;
|
|
916
917
|
storage?: {
|
|
917
918
|
session?: {
|
|
918
919
|
driver: "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";
|
|
919
|
-
|
|
920
|
-
host?: string | undefined;
|
|
921
|
-
password?: string | undefined;
|
|
920
|
+
url?: string | undefined;
|
|
922
921
|
token?: string | undefined;
|
|
922
|
+
host?: string | undefined;
|
|
923
923
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
924
|
-
|
|
924
|
+
port?: number | undefined;
|
|
925
925
|
username?: string | undefined;
|
|
926
|
+
password?: string | undefined;
|
|
926
927
|
tls?: boolean | undefined;
|
|
927
928
|
ttl?: number | undefined;
|
|
928
929
|
} | undefined;
|
|
929
930
|
cache?: {
|
|
930
931
|
driver: "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";
|
|
931
|
-
|
|
932
|
-
host?: string | undefined;
|
|
933
|
-
password?: string | undefined;
|
|
932
|
+
url?: string | undefined;
|
|
934
933
|
token?: string | undefined;
|
|
934
|
+
host?: string | undefined;
|
|
935
935
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
936
|
-
|
|
936
|
+
port?: number | undefined;
|
|
937
937
|
username?: string | undefined;
|
|
938
|
+
password?: string | undefined;
|
|
938
939
|
tls?: boolean | undefined;
|
|
939
940
|
ttl?: number | undefined;
|
|
940
941
|
} | undefined;
|
|
941
942
|
} | undefined;
|
|
942
|
-
publicShopData?:
|
|
943
|
+
publicShopData?: (("shopId" | "locale" | "auth" | "currency" | "checkout") | ("path" | "idp" | "apiBasePath" | "domain" | "storeCampaignKeyword" | "appKeys" | "currencyFractionDigits" | "isEnabled" | "sessionConfig" | "bapi" | "redis" | "storage" | "isDefault"))[] | undefined;
|
|
943
944
|
}, {
|
|
944
945
|
appKeys: {
|
|
945
946
|
wishlistKey: string;
|
|
@@ -947,102 +948,101 @@ declare const StorefrontConfigSchema: z.ZodObject<{
|
|
|
947
948
|
hashAlgorithm: string;
|
|
948
949
|
};
|
|
949
950
|
bapi: {
|
|
950
|
-
host: string;
|
|
951
951
|
token: string;
|
|
952
|
+
host: string;
|
|
952
953
|
};
|
|
953
954
|
oauth: {
|
|
954
955
|
apiHost: string;
|
|
955
956
|
clientId: string | number;
|
|
956
957
|
clientSecret: string;
|
|
957
958
|
};
|
|
959
|
+
idp?: {
|
|
960
|
+
enabled: boolean;
|
|
961
|
+
idpKeys: string[];
|
|
962
|
+
idpRedirectURL: string;
|
|
963
|
+
} | undefined;
|
|
964
|
+
apiBasePath?: string | undefined;
|
|
958
965
|
redis?: {
|
|
959
|
-
port?: number | undefined;
|
|
960
966
|
host?: string | undefined;
|
|
967
|
+
port?: number | undefined;
|
|
961
968
|
prefix?: string | undefined;
|
|
962
969
|
sslTransit?: boolean | undefined;
|
|
963
970
|
} | {
|
|
964
971
|
user: string;
|
|
965
972
|
password: string;
|
|
966
|
-
port?: number | undefined;
|
|
967
973
|
host?: string | undefined;
|
|
974
|
+
port?: number | undefined;
|
|
968
975
|
prefix?: string | undefined;
|
|
969
976
|
sslTransit?: boolean | undefined;
|
|
970
977
|
} | undefined;
|
|
971
|
-
idp?: {
|
|
972
|
-
enabled: boolean;
|
|
973
|
-
idpKeys: string[];
|
|
974
|
-
idpRedirectURL: string;
|
|
975
|
-
} | undefined;
|
|
976
|
-
apiBasePath?: string | undefined;
|
|
977
978
|
session?: {
|
|
979
|
+
domain?: string | undefined;
|
|
980
|
+
secret?: string | string[] | undefined;
|
|
978
981
|
sameSite?: "lax" | "strict" | "none" | undefined;
|
|
979
982
|
maxAge?: number | undefined;
|
|
980
983
|
cookieName?: string | undefined;
|
|
981
|
-
secret?: string | string[] | undefined;
|
|
982
|
-
domain?: string | undefined;
|
|
983
984
|
} | undefined;
|
|
984
985
|
cache?: {
|
|
985
986
|
auth: {
|
|
986
|
-
password: string;
|
|
987
987
|
username: string;
|
|
988
|
+
password: string;
|
|
988
989
|
};
|
|
989
990
|
enabled?: boolean | undefined;
|
|
990
991
|
} | undefined;
|
|
991
992
|
storage?: {
|
|
992
993
|
session?: {
|
|
993
994
|
driver: "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";
|
|
994
|
-
|
|
995
|
-
host?: string | undefined;
|
|
996
|
-
password?: string | undefined;
|
|
995
|
+
url?: string | undefined;
|
|
997
996
|
token?: string | undefined;
|
|
997
|
+
host?: string | undefined;
|
|
998
998
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
999
|
-
|
|
999
|
+
port?: number | undefined;
|
|
1000
1000
|
username?: string | undefined;
|
|
1001
|
+
password?: string | undefined;
|
|
1001
1002
|
tls?: boolean | undefined;
|
|
1002
1003
|
ttl?: number | undefined;
|
|
1003
1004
|
} | undefined;
|
|
1004
1005
|
cache?: {
|
|
1005
1006
|
driver: "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";
|
|
1006
|
-
|
|
1007
|
-
host?: string | undefined;
|
|
1008
|
-
password?: string | undefined;
|
|
1007
|
+
url?: string | undefined;
|
|
1009
1008
|
token?: string | undefined;
|
|
1009
|
+
host?: string | undefined;
|
|
1010
1010
|
compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
|
|
1011
|
-
|
|
1011
|
+
port?: number | undefined;
|
|
1012
1012
|
username?: string | undefined;
|
|
1013
|
+
password?: string | undefined;
|
|
1013
1014
|
tls?: boolean | undefined;
|
|
1014
1015
|
ttl?: number | undefined;
|
|
1015
1016
|
} | undefined;
|
|
1016
1017
|
} | undefined;
|
|
1017
|
-
publicShopData?:
|
|
1018
|
+
publicShopData?: (("shopId" | "locale" | "auth" | "currency" | "checkout") | ("path" | "idp" | "apiBasePath" | "domain" | "storeCampaignKeyword" | "appKeys" | "currencyFractionDigits" | "isEnabled" | "sessionConfig" | "bapi" | "redis" | "storage" | "isDefault"))[] | undefined;
|
|
1018
1019
|
}>;
|
|
1019
1020
|
declare const PublicRuntimeConfigSchema: z.ZodObject<{
|
|
1020
1021
|
log: z.ZodObject<{
|
|
1021
1022
|
name: z.ZodString;
|
|
1022
1023
|
level: z.ZodType<LogLevel, z.ZodTypeDef, LogLevel>;
|
|
1023
1024
|
}, "strip", z.ZodTypeAny, {
|
|
1024
|
-
name: string;
|
|
1025
1025
|
level: LogLevel;
|
|
1026
|
-
}, {
|
|
1027
1026
|
name: string;
|
|
1027
|
+
}, {
|
|
1028
1028
|
level: LogLevel;
|
|
1029
|
+
name: string;
|
|
1029
1030
|
}>;
|
|
1030
1031
|
}, "strip", z.ZodTypeAny, {
|
|
1031
1032
|
log: {
|
|
1032
|
-
name: string;
|
|
1033
1033
|
level: LogLevel;
|
|
1034
|
+
name: string;
|
|
1034
1035
|
};
|
|
1035
1036
|
}, {
|
|
1036
1037
|
log: {
|
|
1037
|
-
name: string;
|
|
1038
1038
|
level: LogLevel;
|
|
1039
|
+
name: string;
|
|
1039
1040
|
};
|
|
1040
1041
|
}>;
|
|
1041
1042
|
type CheckoutShopConfigType = z.infer<typeof CheckoutShopConfigSchema>;
|
|
1042
1043
|
type SessionType = z.infer<typeof SessionSchema>;
|
|
1043
1044
|
type StorageType = z.infer<typeof StorageSchema>;
|
|
1044
1045
|
type BapiConfigType = z.infer<typeof BapiSchema>;
|
|
1045
|
-
type ShopConfigType = z.infer<typeof ShopConfigSchema>;
|
|
1046
1046
|
type StorefrontConfigType = z.infer<typeof StorefrontConfigSchema>;
|
|
1047
1047
|
type ShopSelectorType = z.infer<typeof ShopSelectorSchema>;
|
|
1048
1048
|
type RedirectType = z.infer<typeof RedirectsSchema>;
|