@midwayjs/sequelize 3.8.0 → 3.8.2
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SequelizeConfiguration as Configuration } from './configuration';
|
|
2
|
-
export { BaseTable, InjectRepository } from './decorator';
|
|
2
|
+
export { BaseTable, InjectRepository, InjectDataSource } from './decorator';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
export * from './dataSourceManager';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -14,12 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.InjectRepository = exports.BaseTable = exports.Configuration = void 0;
|
|
17
|
+
exports.InjectDataSource = exports.InjectRepository = exports.BaseTable = exports.Configuration = void 0;
|
|
18
18
|
var configuration_1 = require("./configuration");
|
|
19
19
|
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.SequelizeConfiguration; } });
|
|
20
20
|
var decorator_1 = require("./decorator");
|
|
21
21
|
Object.defineProperty(exports, "BaseTable", { enumerable: true, get: function () { return decorator_1.BaseTable; } });
|
|
22
22
|
Object.defineProperty(exports, "InjectRepository", { enumerable: true, get: function () { return decorator_1.InjectRepository; } });
|
|
23
|
+
Object.defineProperty(exports, "InjectDataSource", { enumerable: true, get: function () { return decorator_1.InjectDataSource; } });
|
|
23
24
|
__exportStar(require("./interface"), exports);
|
|
24
25
|
__exportStar(require("./dataSourceManager"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/sequelize",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.2",
|
|
4
4
|
"main": "dist/index",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@midwayjs/core": "^3.8.0",
|
|
13
13
|
"@midwayjs/koa": "^3.8.0",
|
|
14
14
|
"@midwayjs/mock": "^3.8.0",
|
|
15
|
-
"sequelize": "6.25.
|
|
15
|
+
"sequelize": "6.25.8",
|
|
16
16
|
"sequelize-typescript": "2.1.5",
|
|
17
17
|
"sqlite3": "5.1.2"
|
|
18
18
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"type": "git",
|
|
39
39
|
"url": "https://github.com/midwayjs/midway.git"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "28121734fba47fa189493c09a58c2673ba60f81e"
|
|
42
42
|
}
|