@ikas/storefront-api 4.0.0-beta.17 → 4.0.0-beta.19
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.
|
@@ -7,6 +7,7 @@ export declare type QueryParams = {
|
|
|
7
7
|
categoryIds?: string[] | null;
|
|
8
8
|
dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
|
|
9
9
|
limit?: number | null;
|
|
10
|
+
locale?: string | null;
|
|
10
11
|
priceListId?: string | null;
|
|
11
12
|
productId: string;
|
|
12
13
|
salesChannelId?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as r,fetchQuery as i}from"@ikas/fe-api-client";var
|
|
1
|
+
import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as r,fetchQuery as i}from"@ikas/fe-api-client";var a=function(a,s){return t(void 0,void 0,void 0,(function(){var t,d,c,o;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,i({operationName:"getRelatedProducts",config:s,variables:a,query:"\n\t\t\t\tquery getRelatedProducts (\n\t\t\t\t\t$brandIds: [String!],\n\t\t\t\t\t$categoryIds: [String!],\n\t\t\t\t\t$dynamicCurrencySettings: SearchDynamicCurrencySettings,\n\t\t\t\t\t$limit: Float,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$priceListId: String,\n\t\t\t\t\t$productId: String!,\n\t\t\t\t\t$salesChannelId: String,\n\t\t\t\t\t$tagIds: [String!],\n\t\t\t\t) {\n\t\t\t\t\tgetRelatedProducts (\n\t\t\t\t\t\tbrandIds: $brandIds,\n\t\t\t\t\t\tcategoryIds: $categoryIds,\n\t\t\t\t\t\tdynamicCurrencySettings: $dynamicCurrencySettings,\n\t\t\t\t\t\tlimit: $limit,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\tpriceListId: $priceListId,\n\t\t\t\t\t\tproductId: $productId,\n\t\t\t\t\t\tsalesChannelId: $salesChannelId,\n\t\t\t\t\t\ttagIds: $tagIds,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=n.sent(),d=t.data,c=t.errors,[2,new r(null==d?void 0:d.getRelatedProducts,c)];case 2:return o=n.sent(),[2,e(o)];case 3:return[2]}}))}))};export{a as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-api",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.19",
|
|
4
4
|
"author": "ikas",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "API functions that returns models from the ikas-storefront-models package.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
20
|
-
"@ikas/storefront-config": "^4.0.0-beta.
|
|
21
|
-
"@ikas/storefront-models": "^4.0.0-beta.
|
|
20
|
+
"@ikas/storefront-config": "^4.0.0-beta.19",
|
|
21
|
+
"@ikas/storefront-models": "^4.0.0-beta.19",
|
|
22
22
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
23
23
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
24
24
|
"prettier": "^2.2.1",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@ikas/fe-api-client": "^1.0.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@ikas/storefront-config": "^4.0.0-beta.
|
|
38
|
-
"@ikas/storefront-models": "^4.0.0-beta.
|
|
37
|
+
"@ikas/storefront-config": "^4.0.0-beta.19",
|
|
38
|
+
"@ikas/storefront-models": "^4.0.0-beta.19",
|
|
39
39
|
"@ikas/fe-api-client": "^1.0.19",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|