@scayle/storefront-nuxt 8.62.3 → 8.62.4
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 +21 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/utils/zodSchema.d.ts +0 -196
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 8.62.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `@vercel/nft@1.5.0` to `@vercel/nft@1.10.2`
|
|
8
|
+
- Updated dependency `core-js@^3.37.1` to `core-js@^3.49.0`
|
|
9
|
+
- Updated dependency `jiti@^2.6.1` to `jiti@^2.7.0`
|
|
10
|
+
- Updated dependency `ofetch@^1.3.4` to `ofetch@^1.5.1`
|
|
11
|
+
- Updated dependency `zod@^4.0.0` to `zod@^4.4.3`
|
|
12
|
+
- Updated underlying minor dependencies. No behavior changes.
|
|
13
|
+
|
|
14
|
+
**Dependencies**
|
|
15
|
+
|
|
16
|
+
- Updated dependency to @scayle/h3-session@0.7.2
|
|
17
|
+
|
|
18
|
+
**@scayle/storefront-core v8.62.4**
|
|
19
|
+
|
|
20
|
+
- Patch
|
|
21
|
+
- Updated dependency `slugify@^1.6.8` to `slugify@^1.6.9`
|
|
22
|
+
- Updated underlying minor dependencies. No behavior changes.
|
|
23
|
+
|
|
3
24
|
## 8.62.3
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -9,30 +9,14 @@ export declare const RedirectsSchema: z.ZodMiniObject<{
|
|
|
9
9
|
}>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SessionSchema: z.ZodMiniObject<{
|
|
12
|
-
/**
|
|
13
|
-
* The `sameSite` policy to use for the session cookie
|
|
14
|
-
*/
|
|
15
12
|
sameSite: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
16
13
|
lax: "lax";
|
|
17
14
|
strict: "strict";
|
|
18
15
|
none: "none";
|
|
19
16
|
}>>;
|
|
20
|
-
/**
|
|
21
|
-
* The default `maxAge` (in seconds) set on the session cookie and default TTL for session store
|
|
22
|
-
*/
|
|
23
17
|
maxAge: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
24
|
-
/**
|
|
25
|
-
* The name used for the session cookie
|
|
26
|
-
*/
|
|
27
18
|
cookieName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
28
|
-
/**
|
|
29
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
30
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
31
|
-
*/
|
|
32
19
|
secret: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
33
|
-
/**
|
|
34
|
-
* Controls the domain option on the session cookie
|
|
35
|
-
*/
|
|
36
20
|
domain: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
37
21
|
}, z.core.$strip>;
|
|
38
22
|
declare const SapiSchema: z.ZodMiniObject<{
|
|
@@ -165,39 +149,20 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
|
|
|
165
149
|
currencyFractionDigits: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
166
150
|
isEnabled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
167
151
|
sessionConfig: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
168
|
-
/**
|
|
169
|
-
* The `sameSite` policy to use for the session cookie
|
|
170
|
-
*/
|
|
171
152
|
sameSite: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
172
153
|
lax: "lax";
|
|
173
154
|
strict: "strict";
|
|
174
155
|
none: "none";
|
|
175
156
|
}>>;
|
|
176
|
-
/**
|
|
177
|
-
* The default `maxAge` (in seconds) set on the session cookie and default TTL for session store
|
|
178
|
-
*/
|
|
179
157
|
maxAge: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
180
|
-
/**
|
|
181
|
-
* The name used for the session cookie
|
|
182
|
-
*/
|
|
183
158
|
cookieName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
184
|
-
/**
|
|
185
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
186
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
187
|
-
*/
|
|
188
159
|
secret: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
189
|
-
/**
|
|
190
|
-
* Controls the domain option on the session cookie
|
|
191
|
-
*/
|
|
192
160
|
domain: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
193
161
|
}, z.core.$strip>>;
|
|
194
162
|
sapi: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
195
163
|
host: z.ZodMiniURL;
|
|
196
164
|
token: z.ZodMiniString<string>;
|
|
197
165
|
}, z.core.$strip>>;
|
|
198
|
-
/**
|
|
199
|
-
* @deprecated The `storage` option within `shopConfig` is deprecated. Consider using nuxt storage configuration instead.
|
|
200
|
-
*/
|
|
201
166
|
storage: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
202
167
|
session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
203
168
|
driver: z.ZodMiniEnum<{
|
|
@@ -367,27 +332,11 @@ declare const ShopSelectorSchema: z.ZodMiniEnum<{
|
|
|
367
332
|
}>;
|
|
368
333
|
type ShopConfigType = z.infer<typeof ShopConfigSchema>;
|
|
369
334
|
declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
370
|
-
/**
|
|
371
|
-
* Determines how the application identifies and switches between different shops.
|
|
372
|
-
* It influences how the `domain` and `path` properties are used within the `shops` configuration.
|
|
373
|
-
*
|
|
374
|
-
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/internationalization/configuration#routing-configuration
|
|
375
|
-
*/
|
|
376
335
|
shopSelector: z.ZodMiniEnum<{
|
|
377
336
|
domain: "domain";
|
|
378
337
|
path: "path";
|
|
379
338
|
path_or_default: "path_or_default";
|
|
380
339
|
}>;
|
|
381
|
-
/**
|
|
382
|
-
* Controls how the application handles URL redirects by leveraging the Storefront API,
|
|
383
|
-
* which is synchronized with the SCAYLE Panel. When enabled,
|
|
384
|
-
* the Storefront Core intercepts requests and checks for potential
|
|
385
|
-
* redirects via the Storefront API. If a match is found, a 30x HTTP response
|
|
386
|
-
* is returned with the target in the `Location` header and the appropriate
|
|
387
|
-
* status code.
|
|
388
|
-
*
|
|
389
|
-
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/redirects
|
|
390
|
-
*/
|
|
391
340
|
redirects: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
392
341
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
393
342
|
queryParamWhitelist: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -396,12 +345,6 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
396
345
|
"on-missing": "on-missing";
|
|
397
346
|
}>>;
|
|
398
347
|
}, z.core.$strip>>;
|
|
399
|
-
/**
|
|
400
|
-
* Configures the available shops in the Storefront Application. Each shop represents a specific region or language,
|
|
401
|
-
* with each shop identified by its unique shop ID from the SCAYLE tenant.
|
|
402
|
-
*
|
|
403
|
-
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#shops
|
|
404
|
-
*/
|
|
405
348
|
shops: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
406
349
|
idp: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
407
350
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -436,39 +379,20 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
436
379
|
currencyFractionDigits: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
437
380
|
isEnabled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
438
381
|
sessionConfig: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
439
|
-
/**
|
|
440
|
-
* The `sameSite` policy to use for the session cookie
|
|
441
|
-
*/
|
|
442
382
|
sameSite: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
443
383
|
lax: "lax";
|
|
444
384
|
strict: "strict";
|
|
445
385
|
none: "none";
|
|
446
386
|
}>>;
|
|
447
|
-
/**
|
|
448
|
-
* The default `maxAge` (in seconds) set on the session cookie and default TTL for session store
|
|
449
|
-
*/
|
|
450
387
|
maxAge: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
451
|
-
/**
|
|
452
|
-
* The name used for the session cookie
|
|
453
|
-
*/
|
|
454
388
|
cookieName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
455
|
-
/**
|
|
456
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
457
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
458
|
-
*/
|
|
459
389
|
secret: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
460
|
-
/**
|
|
461
|
-
* Controls the domain option on the session cookie
|
|
462
|
-
*/
|
|
463
390
|
domain: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
464
391
|
}, z.core.$strip>>;
|
|
465
392
|
sapi: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
466
393
|
host: z.ZodMiniURL;
|
|
467
394
|
token: z.ZodMiniString<string>;
|
|
468
395
|
}, z.core.$strip>>;
|
|
469
|
-
/**
|
|
470
|
-
* @deprecated The `storage` option within `shopConfig` is deprecated. Consider using nuxt storage configuration instead.
|
|
471
|
-
*/
|
|
472
396
|
storage: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
473
397
|
session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
474
398
|
driver: z.ZodMiniEnum<{
|
|
@@ -632,35 +556,16 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
632
556
|
isDefault: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
|
|
633
557
|
}, z.core.$strip>>;
|
|
634
558
|
session: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
635
|
-
/**
|
|
636
|
-
* The `sameSite` policy to use for the session cookie
|
|
637
|
-
*/
|
|
638
559
|
sameSite: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
639
560
|
lax: "lax";
|
|
640
561
|
strict: "strict";
|
|
641
562
|
none: "none";
|
|
642
563
|
}>>;
|
|
643
|
-
/**
|
|
644
|
-
* The default `maxAge` (in seconds) set on the session cookie and default TTL for session store
|
|
645
|
-
*/
|
|
646
564
|
maxAge: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
647
|
-
/**
|
|
648
|
-
* The name used for the session cookie
|
|
649
|
-
*/
|
|
650
565
|
cookieName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
651
|
-
/**
|
|
652
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
653
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
654
|
-
*/
|
|
655
566
|
secret: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
656
|
-
/**
|
|
657
|
-
* Controls the domain option on the session cookie
|
|
658
|
-
*/
|
|
659
567
|
domain: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
660
568
|
}, z.core.$strip>>;
|
|
661
|
-
/**
|
|
662
|
-
* @deprecated The `storage` option within `storefront` is deprecated. Consider using nuxt storage configuration instead.
|
|
663
|
-
*/
|
|
664
569
|
storage: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
665
570
|
session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
666
571
|
driver: z.ZodMiniEnum<{
|
|
@@ -852,16 +757,9 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
852
757
|
host: z.ZodMiniURL;
|
|
853
758
|
token: z.ZodMiniString<string>;
|
|
854
759
|
}, z.core.$strip>;
|
|
855
|
-
/**
|
|
856
|
-
* Collection of feature flags regarding legacy features and functionalities.
|
|
857
|
-
*/
|
|
858
760
|
legacy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
859
761
|
enableSessionMigration: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
860
762
|
}, z.core.$strip>>;
|
|
861
|
-
/**
|
|
862
|
-
* @hidden
|
|
863
|
-
* Undocumented property intended for internal usage only
|
|
864
|
-
*/
|
|
865
763
|
internalAccessHeader: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
866
764
|
}, z.core.$strip>;
|
|
867
765
|
declare const StorefrontPublicRuntimeConfigSchema: z.ZodMiniObject<{
|
|
@@ -875,41 +773,18 @@ declare const StorefrontPublicRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
875
773
|
auto: "auto";
|
|
876
774
|
}>>;
|
|
877
775
|
}, z.core.$strip>;
|
|
878
|
-
/** Collection of feature flags regarding legacy features and functionalities */
|
|
879
776
|
legacy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
880
777
|
enableDefaultGetCachedDataOverride: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
881
778
|
}, z.core.$strip>>;
|
|
882
|
-
/**
|
|
883
|
-
* Controls the default lazy loading behavior for useRpc.
|
|
884
|
-
* If set to true,the useRpc composable will not block during data fetching.
|
|
885
|
-
*
|
|
886
|
-
* @default false
|
|
887
|
-
*/
|
|
888
779
|
rpcDefaultLazy: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
889
780
|
}, z.core.$strip>;
|
|
890
781
|
export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
891
782
|
storefront: z.ZodMiniObject<{
|
|
892
|
-
/**
|
|
893
|
-
* Determines how the application identifies and switches between different shops.
|
|
894
|
-
* It influences how the `domain` and `path` properties are used within the `shops` configuration.
|
|
895
|
-
*
|
|
896
|
-
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/internationalization/configuration#routing-configuration
|
|
897
|
-
*/
|
|
898
783
|
shopSelector: z.ZodMiniEnum<{
|
|
899
784
|
domain: "domain";
|
|
900
785
|
path: "path";
|
|
901
786
|
path_or_default: "path_or_default";
|
|
902
787
|
}>;
|
|
903
|
-
/**
|
|
904
|
-
* Controls how the application handles URL redirects by leveraging the Storefront API,
|
|
905
|
-
* which is synchronized with the SCAYLE Panel. When enabled,
|
|
906
|
-
* the Storefront Core intercepts requests and checks for potential
|
|
907
|
-
* redirects via the Storefront API. If a match is found, a 30x HTTP response
|
|
908
|
-
* is returned with the target in the `Location` header and the appropriate
|
|
909
|
-
* status code.
|
|
910
|
-
*
|
|
911
|
-
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/redirects
|
|
912
|
-
*/
|
|
913
788
|
redirects: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
914
789
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
915
790
|
queryParamWhitelist: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -918,12 +793,6 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
918
793
|
"on-missing": "on-missing";
|
|
919
794
|
}>>;
|
|
920
795
|
}, z.core.$strip>>;
|
|
921
|
-
/**
|
|
922
|
-
* Configures the available shops in the Storefront Application. Each shop represents a specific region or language,
|
|
923
|
-
* with each shop identified by its unique shop ID from the SCAYLE tenant.
|
|
924
|
-
*
|
|
925
|
-
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#shops
|
|
926
|
-
*/
|
|
927
796
|
shops: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
928
797
|
idp: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
929
798
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -958,39 +827,20 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
958
827
|
currencyFractionDigits: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
959
828
|
isEnabled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
960
829
|
sessionConfig: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
961
|
-
/**
|
|
962
|
-
* The `sameSite` policy to use for the session cookie
|
|
963
|
-
*/
|
|
964
830
|
sameSite: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
965
831
|
lax: "lax";
|
|
966
832
|
strict: "strict";
|
|
967
833
|
none: "none";
|
|
968
834
|
}>>;
|
|
969
|
-
/**
|
|
970
|
-
* The default `maxAge` (in seconds) set on the session cookie and default TTL for session store
|
|
971
|
-
*/
|
|
972
835
|
maxAge: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
973
|
-
/**
|
|
974
|
-
* The name used for the session cookie
|
|
975
|
-
*/
|
|
976
836
|
cookieName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
977
|
-
/**
|
|
978
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
979
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
980
|
-
*/
|
|
981
837
|
secret: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
982
|
-
/**
|
|
983
|
-
* Controls the domain option on the session cookie
|
|
984
|
-
*/
|
|
985
838
|
domain: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
986
839
|
}, z.core.$strip>>;
|
|
987
840
|
sapi: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
988
841
|
host: z.ZodMiniURL;
|
|
989
842
|
token: z.ZodMiniString<string>;
|
|
990
843
|
}, z.core.$strip>>;
|
|
991
|
-
/**
|
|
992
|
-
* @deprecated The `storage` option within `shopConfig` is deprecated. Consider using nuxt storage configuration instead.
|
|
993
|
-
*/
|
|
994
844
|
storage: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
995
845
|
session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
996
846
|
driver: z.ZodMiniEnum<{
|
|
@@ -1154,35 +1004,16 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
1154
1004
|
isDefault: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
|
|
1155
1005
|
}, z.core.$strip>>;
|
|
1156
1006
|
session: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1157
|
-
/**
|
|
1158
|
-
* The `sameSite` policy to use for the session cookie
|
|
1159
|
-
*/
|
|
1160
1007
|
sameSite: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1161
1008
|
lax: "lax";
|
|
1162
1009
|
strict: "strict";
|
|
1163
1010
|
none: "none";
|
|
1164
1011
|
}>>;
|
|
1165
|
-
/**
|
|
1166
|
-
* The default `maxAge` (in seconds) set on the session cookie and default TTL for session store
|
|
1167
|
-
*/
|
|
1168
1012
|
maxAge: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1169
|
-
/**
|
|
1170
|
-
* The name used for the session cookie
|
|
1171
|
-
*/
|
|
1172
1013
|
cookieName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1173
|
-
/**
|
|
1174
|
-
* The secret used for signing session cookies. If an array is passed, the last
|
|
1175
|
-
* value is used for signing new cookies, but all values are used to verify cookies.
|
|
1176
|
-
*/
|
|
1177
1014
|
secret: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1178
|
-
/**
|
|
1179
|
-
* Controls the domain option on the session cookie
|
|
1180
|
-
*/
|
|
1181
1015
|
domain: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1182
1016
|
}, z.core.$strip>>;
|
|
1183
|
-
/**
|
|
1184
|
-
* @deprecated The `storage` option within `storefront` is deprecated. Consider using nuxt storage configuration instead.
|
|
1185
|
-
*/
|
|
1186
1017
|
storage: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1187
1018
|
session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1188
1019
|
driver: z.ZodMiniEnum<{
|
|
@@ -1374,16 +1205,9 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
1374
1205
|
host: z.ZodMiniURL;
|
|
1375
1206
|
token: z.ZodMiniString<string>;
|
|
1376
1207
|
}, z.core.$strip>;
|
|
1377
|
-
/**
|
|
1378
|
-
* Collection of feature flags regarding legacy features and functionalities.
|
|
1379
|
-
*/
|
|
1380
1208
|
legacy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1381
1209
|
enableSessionMigration: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1382
1210
|
}, z.core.$strip>>;
|
|
1383
|
-
/**
|
|
1384
|
-
* @hidden
|
|
1385
|
-
* Undocumented property intended for internal usage only
|
|
1386
|
-
*/
|
|
1387
1211
|
internalAccessHeader: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1388
1212
|
}, z.core.$strip>;
|
|
1389
1213
|
public: z.ZodMiniObject<{
|
|
@@ -1398,33 +1222,16 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
1398
1222
|
auto: "auto";
|
|
1399
1223
|
}>>;
|
|
1400
1224
|
}, z.core.$strip>;
|
|
1401
|
-
/** Collection of feature flags regarding legacy features and functionalities */
|
|
1402
1225
|
legacy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1403
1226
|
enableDefaultGetCachedDataOverride: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1404
1227
|
}, z.core.$strip>>;
|
|
1405
|
-
/**
|
|
1406
|
-
* Controls the default lazy loading behavior for useRpc.
|
|
1407
|
-
* If set to true,the useRpc composable will not block during data fetching.
|
|
1408
|
-
*
|
|
1409
|
-
* @default false
|
|
1410
|
-
*/
|
|
1411
1228
|
rpcDefaultLazy: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1412
1229
|
}, z.core.$strip>;
|
|
1413
1230
|
}, z.core.$strip>;
|
|
1414
1231
|
}, z.core.$strip>;
|
|
1415
1232
|
declare const ModuleOptionSchema: z.ZodMiniObject<{
|
|
1416
|
-
/**
|
|
1417
|
-
* The RPC directory where the custom application RPCs are defined.
|
|
1418
|
-
* The directory should have an `index.ts` file where all RPCs are exported using their name.
|
|
1419
|
-
* By default this will be `./rpcMethods`.
|
|
1420
|
-
*/
|
|
1421
1233
|
rpcDir: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1422
|
-
/**
|
|
1423
|
-
* The RPC method names which are exported from the `rpcDir`.
|
|
1424
|
-
* Usually this can just be `Object.keys(rpcMethodsDir)`.
|
|
1425
|
-
*/
|
|
1426
1234
|
rpcMethodNames: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1427
|
-
/** Specify explicitly overridden RPC methods that are provided by the Storefront Core package. */
|
|
1428
1235
|
rpcMethodOverrides: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
1429
1236
|
getProductById: "getProductById";
|
|
1430
1237
|
getProductsByIds: "getProductsByIds";
|
|
@@ -1486,9 +1293,6 @@ declare const ModuleOptionSchema: z.ZodMiniObject<{
|
|
|
1486
1293
|
getExternalIdpRedirect: "getExternalIdpRedirect";
|
|
1487
1294
|
handleIDPLoginCallback: "handleIDPLoginCallback";
|
|
1488
1295
|
}>>>;
|
|
1489
|
-
/**
|
|
1490
|
-
* The base path for API routes.
|
|
1491
|
-
*/
|
|
1492
1296
|
apiBasePath: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1493
1297
|
}, z.core.$strip>;
|
|
1494
1298
|
type CheckoutShopConfigType = z.infer<typeof CheckoutShopConfigSchema>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.62.
|
|
4
|
+
"version": "8.62.4",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -79,34 +79,34 @@
|
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@opentelemetry/api": "^1.9.1",
|
|
81
81
|
"@scayle/unstorage-compression-driver": "1.5.0",
|
|
82
|
-
"@vercel/nft": "1.
|
|
82
|
+
"@vercel/nft": "1.10.2",
|
|
83
83
|
"@vueuse/core": "14.3.0",
|
|
84
84
|
"consola": "^3.4.2",
|
|
85
|
-
"core-js": "^3.
|
|
85
|
+
"core-js": "^3.49.0",
|
|
86
86
|
"defu": "^6.1.7",
|
|
87
87
|
"hookable": "^5.5.3",
|
|
88
|
-
"jiti": "^2.
|
|
88
|
+
"jiti": "^2.7.0",
|
|
89
89
|
"jose": "^6.0.8",
|
|
90
90
|
"knitwork": "^1.3.0",
|
|
91
|
-
"ofetch": "^1.
|
|
91
|
+
"ofetch": "^1.5.1",
|
|
92
92
|
"schema-dts": "1.1.5",
|
|
93
93
|
"ufo": "^1.5.4",
|
|
94
94
|
"uncrypto": "^0.1.3",
|
|
95
95
|
"unstorage": "1.17.5",
|
|
96
96
|
"utility-types": "^3.11.0",
|
|
97
97
|
"vue-router": "4.6.4",
|
|
98
|
-
"zod": "^4.
|
|
99
|
-
"@scayle/h3-session": "0.7.
|
|
100
|
-
"@scayle/storefront-core": "8.62.
|
|
98
|
+
"zod": "^4.4.3",
|
|
99
|
+
"@scayle/h3-session": "0.7.2",
|
|
100
|
+
"@scayle/storefront-core": "8.62.4"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@arethetypeswrong/cli": "0.18.2",
|
|
104
104
|
"@nuxt/eslint-config": "1.15.2",
|
|
105
105
|
"@nuxt/kit": "^3.21.7",
|
|
106
|
-
"@nuxtjs/i18n": "10.4.
|
|
106
|
+
"@nuxtjs/i18n": "10.4.1",
|
|
107
107
|
"@nuxt/module-builder": "1.0.2",
|
|
108
108
|
"@nuxt/schema": "^3.21.7",
|
|
109
|
-
"@nuxt/test-utils": "4.0.
|
|
109
|
+
"@nuxt/test-utils": "4.0.3",
|
|
110
110
|
"@scayle/eslint-config-storefront": "^4.8.0",
|
|
111
111
|
"@scayle/eslint-plugin-vue-composable": "^1.1.0",
|
|
112
112
|
"@scayle/unstorage-scayle-kv-driver": "^2.1.0",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"happy-dom": "20.10.6",
|
|
120
120
|
"nitro-test-utils": "0.11.2",
|
|
121
121
|
"nitropack": "2.13.4",
|
|
122
|
-
"node-mocks-http": "1.
|
|
122
|
+
"node-mocks-http": "1.18.1",
|
|
123
123
|
"nuxt": "^3.21.7",
|
|
124
124
|
"publint": "0.3.21",
|
|
125
125
|
"typescript": "6.0.3",
|