@eggjs/dal-plugin 4.0.0-beta.36 → 4.0.2-beta.0

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.
@@ -0,0 +1,8 @@
1
+ import { MysqlDataSourceManager } from "../../lib/MysqlDataSourceManager.js";
2
+
3
+ //#region src/app/extend/application.d.ts
4
+ declare const _default: {
5
+ mysqlDataSourceManager: MysqlDataSourceManager;
6
+ };
7
+ //#endregion
8
+ export { _default as default };
@@ -0,0 +1,9 @@
1
+ import { MysqlDataSourceManager } from "../../lib/MysqlDataSourceManager.js";
2
+
3
+ //#region src/app/extend/application.ts
4
+ var application_default = { get mysqlDataSourceManager() {
5
+ return MysqlDataSourceManager.instance;
6
+ } };
7
+
8
+ //#endregion
9
+ export { application_default as default };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
+ import { MysqlDataSourceManager } from "./lib/MysqlDataSourceManager.js";
1
2
  import "./types.js";
2
3
  import { DalModuleLoadUnitHook } from "./lib/DalModuleLoadUnitHook.js";
3
4
  import { DalTableEggPrototypeHook } from "./lib/DalTableEggPrototypeHook.js";
4
5
  import { TransactionalAOP, TransactionalParams } from "./lib/TransactionalAOP.js";
5
6
  import { DataSourceDelegate } from "./lib/DataSource.js";
6
- import { MysqlDataSourceManager } from "./lib/MysqlDataSourceManager.js";
7
7
  import { SqlMapManager } from "./lib/SqlMapManager.js";
8
8
  import { TableModelManager } from "./lib/TableModelManager.js";
9
9
  import { TransactionPrototypeHook } from "./lib/TransactionPrototypeHook.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/dal-plugin",
3
- "version": "4.0.0-beta.36",
3
+ "version": "4.0.2-beta.0",
4
4
  "description": "dal plugin for egg",
5
5
  "keywords": [
6
6
  "dal",
@@ -29,6 +29,7 @@
29
29
  "exports": {
30
30
  ".": "./dist/index.js",
31
31
  "./app": "./dist/app.js",
32
+ "./app/extend/application": "./dist/app/extend/application.js",
32
33
  "./lib/DalModuleLoadUnitHook": "./dist/lib/DalModuleLoadUnitHook.js",
33
34
  "./lib/DalTableEggPrototypeHook": "./dist/lib/DalTableEggPrototypeHook.js",
34
35
  "./lib/DataSource": "./dist/lib/DataSource.js",
@@ -44,32 +45,32 @@
44
45
  "access": "public"
45
46
  },
46
47
  "dependencies": {
47
- "@eggjs/aop-decorator": "4.0.0-beta.36",
48
- "@eggjs/core-decorator": "4.0.0-beta.36",
49
- "@eggjs/dal-decorator": "4.0.0-beta.36",
50
- "@eggjs/metadata": "4.0.0-beta.36",
51
- "@eggjs/lifecycle": "4.0.0-beta.36",
52
- "@eggjs/tegg-common-util": "4.0.0-beta.36",
53
- "@eggjs/dal-runtime": "4.0.0-beta.36",
54
- "@eggjs/tegg-loader": "4.0.0-beta.36",
55
- "@eggjs/tegg-types": "4.0.0-beta.36",
56
- "@eggjs/transaction-decorator": "4.0.0-beta.36"
48
+ "@eggjs/dal-decorator": "4.0.2-beta.0",
49
+ "@eggjs/aop-decorator": "4.0.2-beta.0",
50
+ "@eggjs/core-decorator": "4.0.2-beta.0",
51
+ "@eggjs/dal-runtime": "4.0.2-beta.0",
52
+ "@eggjs/lifecycle": "4.0.2-beta.0",
53
+ "@eggjs/metadata": "4.0.2-beta.0",
54
+ "@eggjs/tegg-common-util": "4.0.2-beta.0",
55
+ "@eggjs/tegg-loader": "4.0.2-beta.0",
56
+ "@eggjs/transaction-decorator": "4.0.2-beta.0",
57
+ "@eggjs/tegg-types": "4.0.2-beta.0"
57
58
  },
58
59
  "devDependencies": {
59
60
  "@types/node": "^24.10.2",
60
61
  "globby": "^11.0.2",
61
62
  "typescript": "^5.9.3",
62
- "@eggjs/aop-plugin": "4.0.0-beta.36",
63
- "@eggjs/tegg": "4.0.0-beta.36",
64
- "@eggjs/tegg-config": "4.0.0-beta.36",
65
- "@eggjs/tracer": "4.0.0-beta.36",
66
- "@eggjs/mock": "7.0.0-beta.36",
67
- "egg": "4.1.0-beta.36",
68
- "@eggjs/tegg-plugin": "4.0.0-beta.36"
63
+ "@eggjs/tegg": "4.0.2-beta.0",
64
+ "@eggjs/tegg-plugin": "4.0.2-beta.0",
65
+ "@eggjs/tracer": "4.0.2-beta.0",
66
+ "@eggjs/aop-plugin": "4.0.2-beta.0",
67
+ "@eggjs/mock": "7.0.2-beta.0",
68
+ "@eggjs/tegg-config": "4.0.2-beta.0",
69
+ "egg": "4.1.2-beta.0"
69
70
  },
70
71
  "peerDependencies": {
71
- "@eggjs/tegg-plugin": "4.0.0-beta.36",
72
- "egg": "4.1.0-beta.36"
72
+ "@eggjs/tegg-plugin": "4.0.2-beta.0",
73
+ "egg": "4.1.2-beta.0"
73
74
  },
74
75
  "engines": {
75
76
  "node": ">=22.18.0"