@nocobase/actions 0.9.0-alpha.2 → 0.9.1-alpha.2
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/lib/actions/get.js +1 -0
- package/lib/actions/list.js +3 -1
- package/package.json +8 -5
package/lib/actions/get.js
CHANGED
package/lib/actions/list.js
CHANGED
|
@@ -99,7 +99,9 @@ function listWithNonPaged(_x2) {
|
|
|
99
99
|
function _listWithNonPaged() {
|
|
100
100
|
_listWithNonPaged = _asyncToGenerator(function* (ctx) {
|
|
101
101
|
const repository = (0, _utils.getRepositoryFromParams)(ctx);
|
|
102
|
-
const rows = yield repository.find(
|
|
102
|
+
const rows = yield repository.find(_objectSpread({
|
|
103
|
+
context: ctx
|
|
104
|
+
}, findArgs(ctx.action.params)));
|
|
103
105
|
ctx.body = rows;
|
|
104
106
|
});
|
|
105
107
|
return _listWithNonPaged.apply(this, arguments);
|
package/package.json
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/actions",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1-alpha.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/cache": "0.9.
|
|
10
|
-
"@nocobase/database": "0.9.
|
|
11
|
-
"@nocobase/resourcer": "0.9.
|
|
9
|
+
"@nocobase/cache": "0.9.1-alpha.2",
|
|
10
|
+
"@nocobase/database": "0.9.1-alpha.2",
|
|
11
|
+
"@nocobase/resourcer": "0.9.1-alpha.2"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@nocobase/test": "0.9.1-alpha.2"
|
|
12
15
|
},
|
|
13
16
|
"repository": {
|
|
14
17
|
"type": "git",
|
|
15
18
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
16
19
|
"directory": "packages/actions"
|
|
17
20
|
},
|
|
18
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "d588a68eca4feed4642a4cb317301011266fe5c9"
|
|
19
22
|
}
|