@things-factory/integration-marketplace 4.3.96 → 4.3.100
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,11 +7,13 @@ function getStoreProductCategories() {
|
|
|
7
7
|
method: 'get',
|
|
8
8
|
path: '/products/categories',
|
|
9
9
|
denormalize(req) {
|
|
10
|
-
return { payload: {
|
|
10
|
+
return { payload: {
|
|
11
|
+
per_page: 100
|
|
12
|
+
} };
|
|
11
13
|
},
|
|
12
14
|
normalize(res, { store }) {
|
|
13
15
|
const { items, totalItems } = res;
|
|
14
|
-
return { results: items, total: totalItems };
|
|
16
|
+
return { results: items, total: parseInt(totalItems) };
|
|
15
17
|
}
|
|
16
18
|
};
|
|
17
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-store-product-categories.js","sourceRoot":"","sources":["../../../../server/controllers/woocommerce/apis/get-store-product-categories.ts"],"names":[],"mappings":";AAAA,uHAAuH;;;AAEvH,SAAgB,yBAAyB;IACvC,OAAO;QACL,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,sBAAsB;QAC5B,WAAW,CAAC,GAAG;YACb,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"get-store-product-categories.js","sourceRoot":"","sources":["../../../../server/controllers/woocommerce/apis/get-store-product-categories.ts"],"names":[],"mappings":";AAAA,uHAAuH;;;AAEvH,SAAgB,yBAAyB;IACvC,OAAO;QACL,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,sBAAsB;QAC5B,WAAW,CAAC,GAAG;YACb,OAAO,EAAE,OAAO,EAAE;oBAChB,QAAQ,EAAE,GAAG;iBACd,EAAE,CAAA;QACL,CAAC;QACD,SAAS,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE;YACtB,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAAG,CAAA;YAEjC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAA;QACxD,CAAC;KACF,CAAA;AACH,CAAC;AAfD,8DAeC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-marketplace",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.100",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"test": "DEBUG=things-factory:* NODE_ENV=development npx mocha -r ts-node/register ./test/**/*spec.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
29
|
-
"@things-factory/auth-ui": "^4.3.
|
|
30
|
-
"@things-factory/biz-base": "^4.3.
|
|
31
|
-
"@things-factory/code-ui": "^4.3.
|
|
32
|
-
"@things-factory/context-ui": "^4.3.
|
|
33
|
-
"@things-factory/grist-ui": "^4.3.
|
|
34
|
-
"@things-factory/i18n-base": "^4.3.
|
|
35
|
-
"@things-factory/integration-lmd": "^4.3.
|
|
36
|
-
"@things-factory/integration-ui": "^4.3.
|
|
37
|
-
"@things-factory/more-ui": "^4.3.
|
|
38
|
-
"@things-factory/resource-ui": "^4.3.
|
|
39
|
-
"@things-factory/setting-ui": "^4.3.
|
|
40
|
-
"@things-factory/system-ui": "^4.3.
|
|
28
|
+
"@things-factory/apptool-ui": "^4.3.99",
|
|
29
|
+
"@things-factory/auth-ui": "^4.3.99",
|
|
30
|
+
"@things-factory/biz-base": "^4.3.99",
|
|
31
|
+
"@things-factory/code-ui": "^4.3.99",
|
|
32
|
+
"@things-factory/context-ui": "^4.3.99",
|
|
33
|
+
"@things-factory/grist-ui": "^4.3.99",
|
|
34
|
+
"@things-factory/i18n-base": "^4.3.99",
|
|
35
|
+
"@things-factory/integration-lmd": "^4.3.99",
|
|
36
|
+
"@things-factory/integration-ui": "^4.3.99",
|
|
37
|
+
"@things-factory/more-ui": "^4.3.99",
|
|
38
|
+
"@things-factory/resource-ui": "^4.3.99",
|
|
39
|
+
"@things-factory/setting-ui": "^4.3.99",
|
|
40
|
+
"@things-factory/system-ui": "^4.3.99",
|
|
41
41
|
"debug": "^4.1.1",
|
|
42
42
|
"node-fetch": "^2.6.0",
|
|
43
43
|
"querystring": "^0.2.1"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"nock": "^13.0.2",
|
|
53
53
|
"should": "^13.2.3"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "1b1d640b6e91ae9e15a158c13ff08cca19e02a83"
|
|
56
56
|
}
|
|
@@ -5,12 +5,14 @@ export function getStoreProductCategories() {
|
|
|
5
5
|
method: 'get',
|
|
6
6
|
path: '/products/categories',
|
|
7
7
|
denormalize(req) {
|
|
8
|
-
return { payload: {
|
|
8
|
+
return { payload: {
|
|
9
|
+
per_page: 100
|
|
10
|
+
} }
|
|
9
11
|
},
|
|
10
12
|
normalize(res, { store }) {
|
|
11
13
|
const { items, totalItems } = res
|
|
12
14
|
|
|
13
|
-
return { results: items, total: totalItems }
|
|
15
|
+
return { results: items, total: parseInt(totalItems) }
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
}
|