@nocobase/resourcer 0.7.0-alpha.82 → 0.7.1-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/resource.d.ts +2 -2
- package/lib/resource.js +2 -2
- package/package.json +2 -2
package/lib/resource.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Resourcer from './resourcer';
|
|
2
|
-
import Middleware, { MiddlewareType } from './middleware';
|
|
3
1
|
import Action, { ActionName, ActionType } from './action';
|
|
2
|
+
import Middleware, { MiddlewareType } from './middleware';
|
|
3
|
+
import Resourcer from './resourcer';
|
|
4
4
|
export declare type ResourceType = 'single' | 'hasOne' | 'hasMany' | 'belongsTo' | 'belongsToMany';
|
|
5
5
|
export interface ResourceOptions {
|
|
6
6
|
/**
|
package/lib/resource.js
CHANGED
|
@@ -15,10 +15,10 @@ function _lodash() {
|
|
|
15
15
|
return data;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
var _middleware = _interopRequireDefault(require("./middleware"));
|
|
19
|
-
|
|
20
18
|
var _action = _interopRequireDefault(require("./action"));
|
|
21
19
|
|
|
20
|
+
var _middleware = _interopRequireDefault(require("./middleware"));
|
|
21
|
+
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
24
24
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/resourcer",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1-alpha.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
24
24
|
"directory": "packages/resourcer"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "570d039f1904a041729c1967c0637b1109c278a8"
|
|
27
27
|
}
|