@tachybase/data-source 1.3.25 → 1.3.27
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/data-source.d.ts +1 -1
- package/lib/data-source.js +2 -2
- package/lib/repository.js +1 -1
- package/package.json +7 -10
package/lib/data-source.d.ts
CHANGED
package/lib/data-source.js
CHANGED
|
@@ -31,13 +31,13 @@ __export(data_source_exports, {
|
|
|
31
31
|
DataSource: () => DataSource
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(data_source_exports);
|
|
34
|
-
var
|
|
34
|
+
var import_node_events = __toESM(require("node:events"));
|
|
35
35
|
var import_acl = require("@tachybase/acl");
|
|
36
36
|
var import_resourcer = require("@tachybase/resourcer");
|
|
37
37
|
var import_koa_compose = __toESM(require("koa-compose"));
|
|
38
38
|
var import_load_default_actions = require("./load-default-actions");
|
|
39
39
|
var import_resource_manager = require("./resource-manager");
|
|
40
|
-
const _DataSource = class _DataSource extends
|
|
40
|
+
const _DataSource = class _DataSource extends import_node_events.default {
|
|
41
41
|
constructor(options) {
|
|
42
42
|
super();
|
|
43
43
|
this.options = options;
|
package/lib/repository.js
CHANGED
|
@@ -31,7 +31,7 @@ __export(repository_exports, {
|
|
|
31
31
|
Repository: () => Repository
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(repository_exports);
|
|
34
|
-
var console = __toESM(require("console"));
|
|
34
|
+
var console = __toESM(require("node:console"));
|
|
35
35
|
const _Repository = class _Repository {
|
|
36
36
|
async create(options) {
|
|
37
37
|
console.log("Repository.create....");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/data-source",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.27",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"jsonwebtoken": "^8.5.1",
|
|
12
12
|
"koa-compose": "^4.1.0",
|
|
13
13
|
"lodash": "4.17.21",
|
|
14
|
-
"@tachybase/acl": "1.3.
|
|
15
|
-
"@tachybase/
|
|
16
|
-
"@tachybase/
|
|
17
|
-
"@tachybase/
|
|
18
|
-
"@tachybase/utils": "1.3.
|
|
19
|
-
"@tachybase/
|
|
14
|
+
"@tachybase/acl": "1.3.27",
|
|
15
|
+
"@tachybase/actions": "1.3.27",
|
|
16
|
+
"@tachybase/cache": "1.3.27",
|
|
17
|
+
"@tachybase/resourcer": "1.3.27",
|
|
18
|
+
"@tachybase/utils": "1.3.27",
|
|
19
|
+
"@tachybase/database": "1.3.27"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/koa": "^2.15.0",
|
|
@@ -26,8 +26,5 @@
|
|
|
26
26
|
"koa": "^2.15.3",
|
|
27
27
|
"koa-bodyparser": "4.4.1",
|
|
28
28
|
"supertest": "^7.1.3"
|
|
29
|
-
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tachybase-build --no-dts @tachybase/data-source"
|
|
32
29
|
}
|
|
33
30
|
}
|