@nocobase/data-source-manager 2.1.0-alpha.12 → 2.1.0-alpha.14
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.
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
+
import coreActions from '@nocobase/actions';
|
|
9
10
|
import { list } from './default-actions/list';
|
|
10
11
|
export declare function loadDefaultActions(): {
|
|
11
12
|
list: typeof list;
|
|
13
|
+
query: typeof coreActions.query;
|
|
12
14
|
};
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
var __create = Object.create;
|
|
10
11
|
var __defProp = Object.defineProperty;
|
|
11
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
13
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
13
15
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
16
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
15
17
|
var __export = (target, all) => {
|
|
@@ -24,12 +26,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
24
26
|
}
|
|
25
27
|
return to;
|
|
26
28
|
};
|
|
29
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
30
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
31
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
32
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
|
+
mod
|
|
36
|
+
));
|
|
27
37
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
38
|
var load_default_actions_exports = {};
|
|
29
39
|
__export(load_default_actions_exports, {
|
|
30
40
|
loadDefaultActions: () => loadDefaultActions
|
|
31
41
|
});
|
|
32
42
|
module.exports = __toCommonJS(load_default_actions_exports);
|
|
43
|
+
var import_actions = __toESM(require("@nocobase/actions"));
|
|
33
44
|
var import_list = require("./default-actions/list");
|
|
34
45
|
var import_proxy_to_repository = require("./default-actions/proxy-to-repository");
|
|
35
46
|
const actions = {
|
|
@@ -97,7 +108,8 @@ function loadDefaultActions() {
|
|
|
97
108
|
carry[key] = (0, import_proxy_to_repository.proxyToRepository)(actions[key].params, actions[key].method);
|
|
98
109
|
return carry;
|
|
99
110
|
}, {}),
|
|
100
|
-
list: import_list.list
|
|
111
|
+
list: import_list.list,
|
|
112
|
+
query: import_actions.default.query
|
|
101
113
|
};
|
|
102
114
|
}
|
|
103
115
|
__name(loadDefaultActions, "loadDefaultActions");
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/data-source-manager",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.14",
|
|
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/actions": "2.1.0-alpha.
|
|
10
|
-
"@nocobase/cache": "2.1.0-alpha.
|
|
11
|
-
"@nocobase/database": "2.1.0-alpha.
|
|
12
|
-
"@nocobase/resourcer": "2.1.0-alpha.
|
|
13
|
-
"@nocobase/utils": "2.1.0-alpha.
|
|
9
|
+
"@nocobase/actions": "2.1.0-alpha.14",
|
|
10
|
+
"@nocobase/cache": "2.1.0-alpha.14",
|
|
11
|
+
"@nocobase/database": "2.1.0-alpha.14",
|
|
12
|
+
"@nocobase/resourcer": "2.1.0-alpha.14",
|
|
13
|
+
"@nocobase/utils": "2.1.0-alpha.14",
|
|
14
14
|
"@types/jsonwebtoken": "^8.5.8",
|
|
15
15
|
"jsonwebtoken": "^9.0.2"
|
|
16
16
|
},
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
20
20
|
"directory": "packages/auth"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "d8735b541de0ff9557bba704de49c799b4962672"
|
|
23
23
|
}
|