@nocobase/actions 0.8.1-alpha.4 → 0.9.0-alpha.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.
@@ -1,2 +1,2 @@
1
- import { Context } from '..';
1
+ import { Context } from '../index';
2
2
  export declare function destroy(ctx: Context, next: any): Promise<void>;
@@ -115,8 +115,10 @@ function _list() {
115
115
 
116
116
  if (paginate === false || paginate === 'false') {
117
117
  yield listWithNonPaged(ctx);
118
+ ctx.paginate = false;
118
119
  } else {
119
120
  yield listWithPagination(ctx);
121
+ ctx.paginate = true;
120
122
  }
121
123
 
122
124
  yield next();
package/package.json CHANGED
@@ -1,25 +1,19 @@
1
1
  {
2
2
  "name": "@nocobase/actions",
3
- "version": "0.8.1-alpha.4",
3
+ "version": "0.9.0-alpha.1",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
- "licenses": [
7
- {
8
- "type": "Apache-2.0",
9
- "url": "http://www.apache.org/licenses/LICENSE-2.0"
10
- }
11
- ],
12
6
  "main": "./lib/index.js",
13
7
  "types": "./lib/index.d.ts",
14
8
  "dependencies": {
15
- "@nocobase/cache": "0.8.1-alpha.4",
16
- "@nocobase/database": "0.8.1-alpha.4",
17
- "@nocobase/resourcer": "0.8.1-alpha.4"
9
+ "@nocobase/cache": "0.9.0-alpha.1",
10
+ "@nocobase/database": "0.9.0-alpha.1",
11
+ "@nocobase/resourcer": "0.9.0-alpha.1"
18
12
  },
19
13
  "repository": {
20
14
  "type": "git",
21
15
  "url": "git+https://github.com/nocobase/nocobase.git",
22
16
  "directory": "packages/actions"
23
17
  },
24
- "gitHead": "22ccdf7bd7fcbd16aeefd5250db237a4bd1ccff1"
18
+ "gitHead": "d84c2a47c42c2ffec4fbf317d53268952fbd58d7"
25
19
  }