@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.
@@ -33,6 +33,7 @@ function _get() {
33
33
  context: ctx
34
34
  });
35
35
  ctx.body = instance || null;
36
+ ctx.status = 200;
36
37
  yield next();
37
38
  });
38
39
  return _get.apply(this, arguments);
@@ -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(findArgs(ctx.action.params));
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.0-alpha.2",
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.0-alpha.2",
10
- "@nocobase/database": "0.9.0-alpha.2",
11
- "@nocobase/resourcer": "0.9.0-alpha.2"
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": "b8f76ad38e60e677c5bb4aab0a4cdb28d98a0f49"
21
+ "gitHead": "d588a68eca4feed4642a4cb317301011266fe5c9"
19
22
  }