@scayle/storefront-nuxt 8.7.0 → 8.7.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
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,2 +1,51 @@
|
|
|
1
|
-
declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<
|
|
1
|
+
declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<string | true | string[] | import("@scayle/storefront-core").ShopUser | Response | import("@scayle/storefront-api").Product | import("@scayle/storefront-api").Product[] | {
|
|
2
|
+
count: number;
|
|
3
|
+
} | {
|
|
4
|
+
filters: import("@scayle/storefront-api").FiltersEndpointResponseData;
|
|
5
|
+
unfilteredCount: number;
|
|
6
|
+
} | {
|
|
7
|
+
products: import("@scayle/storefront-api").Product[];
|
|
8
|
+
pagination: {
|
|
9
|
+
current: number;
|
|
10
|
+
total: number;
|
|
11
|
+
perPage: number;
|
|
12
|
+
page: number;
|
|
13
|
+
first: number;
|
|
14
|
+
prev: number;
|
|
15
|
+
next: number;
|
|
16
|
+
last: number;
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
19
|
+
basket: import("@scayle/storefront-api").BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>;
|
|
20
|
+
} | {
|
|
21
|
+
readonly type: "success";
|
|
22
|
+
readonly basket: import("@scayle/storefront-api").BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>;
|
|
23
|
+
} | {
|
|
24
|
+
readonly type: "failure";
|
|
25
|
+
readonly basket: import("@scayle/storefront-api").BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>;
|
|
26
|
+
readonly errors: import("@scayle/storefront-api").AddOrUpdateItemError[];
|
|
27
|
+
} | import("@scayle/storefront-api").BrandsEndpointResponseData | import("@scayle/storefront-api").Brand | {
|
|
28
|
+
categories: import("@scayle/storefront-api").Category[];
|
|
29
|
+
activeNode: undefined;
|
|
30
|
+
} | import("@scayle/storefront-api").Category | {
|
|
31
|
+
categories: import("@scayle/storefront-api").Category;
|
|
32
|
+
activeNode: import("@scayle/storefront-api").Category;
|
|
33
|
+
} | import("@scayle/storefront-core").Order | import("@scayle/storefront-api").SearchV2SuggestionsEndpointResponseData | import("@scayle/storefront-api").SearchEntity | import("@scayle/storefront-api").ShopConfiguration | {
|
|
34
|
+
user: import("@scayle/storefront-core").ShopUser | undefined;
|
|
35
|
+
} | import("@scayle/storefront-api").Wishlist | import("@scayle/storefront-core").ShopUserAddress[] | {
|
|
36
|
+
accessToken: string;
|
|
37
|
+
checkoutJwt: string;
|
|
38
|
+
} | import("@scayle/storefront-api").VariantDetail[] | import("@scayle/storefront-api").NavigationAllEndpointResponseData | import("@scayle/storefront-api").NavigationTree | {
|
|
39
|
+
success: true;
|
|
40
|
+
} | {
|
|
41
|
+
success: false;
|
|
42
|
+
} | {
|
|
43
|
+
result: true;
|
|
44
|
+
} | {
|
|
45
|
+
result: false;
|
|
46
|
+
} | import("@scayle/storefront-api").PromotionsEndpointResponseData | {
|
|
47
|
+
[k: string]: string;
|
|
48
|
+
} | {
|
|
49
|
+
message: string;
|
|
50
|
+
} | null | undefined>>;
|
|
2
51
|
export default _default;
|
|
@@ -14,5 +14,5 @@ export declare function useStorefrontSearch(searchQuery: Ref<string>, { params }
|
|
|
14
14
|
error: Ref<unknown, unknown>;
|
|
15
15
|
resetSearch: () => void;
|
|
16
16
|
getSearchSuggestions: () => Promise<void>;
|
|
17
|
-
resolveSearch: () => Promise<
|
|
17
|
+
resolveSearch: () => Promise<import("@scayle/storefront-api").SearchEntity | null | undefined>;
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.7.
|
|
4
|
+
"version": "8.7.1",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@opentelemetry/api": "^1.9.0",
|
|
74
74
|
"@scayle/h3-session": "0.6.0",
|
|
75
|
-
"@scayle/storefront-core": "8.3.
|
|
75
|
+
"@scayle/storefront-core": "8.3.2",
|
|
76
76
|
"@scayle/unstorage-compression-driver": "^0.2.3",
|
|
77
77
|
"@vueuse/core": "12.5.0",
|
|
78
78
|
"consola": "^3.2.3",
|