@nocobase/resourcer 0.9.2-alpha.2 → 0.9.2-alpha.4
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/action.d.ts +1 -1
- package/package.json +3 -3
package/lib/action.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import Resource from './resource';
|
|
|
4
4
|
import { HandlerType } from './resourcer';
|
|
5
5
|
export declare type ActionType = string | HandlerType | ActionOptions;
|
|
6
6
|
export declare type DefaultActionType = 'list' | 'create' | 'get' | 'update' | 'destroy' | 'set' | 'add' | 'remove';
|
|
7
|
-
export declare type ActionName = DefaultActionType | Omit<
|
|
7
|
+
export declare type ActionName = DefaultActionType | Omit<string, DefaultActionType>;
|
|
8
8
|
export interface ActionContext {
|
|
9
9
|
action?: Action;
|
|
10
10
|
[key: string]: any;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/resourcer",
|
|
3
|
-
"version": "0.9.2-alpha.
|
|
3
|
+
"version": "0.9.2-alpha.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/utils": "0.9.2-alpha.
|
|
9
|
+
"@nocobase/utils": "0.9.2-alpha.4",
|
|
10
10
|
"deepmerge": "^4.2.2",
|
|
11
11
|
"koa-compose": "^4.1.0",
|
|
12
12
|
"lodash": "^4.17.21",
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
19
19
|
"directory": "packages/resourcer"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "96cb023f353a4fb099dea074c575be65ebab813f"
|
|
22
22
|
}
|