koatty_container
Advanced tools
Comparing version 1.3.7 to 1.3.10
@@ -16,4 +16,2 @@ "use strict"; | ||
const IContainer_1 = require("./IContainer"); | ||
const Value_1 = require("./Value"); | ||
const AOP_1 = require("./AOP"); | ||
/** | ||
@@ -107,6 +105,2 @@ * IOC Container | ||
}); | ||
// inject value | ||
Value_1.injectValue(target, target.prototype, this); | ||
// inject AOP | ||
AOP_1.injectAOP(target, target.prototype, this); | ||
// inject autowired | ||
@@ -113,0 +107,0 @@ Autowired_1.injectAutowired(target, target.prototype, this); |
@@ -10,5 +10,3 @@ /** | ||
export declare const TAGGED_CLS = "INJECT_TAGGED_CLS"; | ||
export declare const TAGGED_ARGS = "INJECT_TAGGED_ARGS"; | ||
export declare const TAGGED_PROP = "INJECT_TAGGED_PROP"; | ||
export declare const TAGGED_AOP = "INJECT_TAGGED_AOP"; | ||
export declare const TAGGED_METHOD = "INJECT_TAGGED_METHOD"; | ||
@@ -15,0 +13,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TAGGED_METHOD = exports.TAGGED_AOP = exports.TAGGED_PROP = exports.TAGGED_ARGS = exports.TAGGED_CLS = void 0; | ||
exports.TAGGED_METHOD = exports.TAGGED_PROP = exports.TAGGED_CLS = void 0; | ||
// used to store class to be injected | ||
exports.TAGGED_CLS = 'INJECT_TAGGED_CLS'; | ||
// used to store arguments tags | ||
exports.TAGGED_ARGS = 'INJECT_TAGGED_ARGS'; | ||
// used to store class properties tags | ||
exports.TAGGED_PROP = 'INJECT_TAGGED_PROP'; | ||
// used to store class AOP tags | ||
exports.TAGGED_AOP = 'INJECT_TAGGED_AOP'; | ||
// used to store class method to be injected | ||
exports.TAGGED_METHOD = 'INJECT_TAGGED_METHOD'; | ||
//# sourceMappingURL=IContainer.js.map |
@@ -8,5 +8,4 @@ /** | ||
export { Autowired } from "./Autowired"; | ||
export { Value, Config } from "./Value"; | ||
export { Aspect, Before, BeforeEach, After, AfterEach } from "./AOP"; | ||
export * from "./Container"; | ||
export * from "./IContainer"; | ||
export * from "./Util"; |
@@ -9,17 +9,9 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AfterEach = exports.After = exports.BeforeEach = exports.Before = exports.Aspect = exports.Config = exports.Value = exports.Autowired = void 0; | ||
exports.Autowired = void 0; | ||
const tslib_1 = require("tslib"); | ||
var Autowired_1 = require("./Autowired"); | ||
Object.defineProperty(exports, "Autowired", { enumerable: true, get: function () { return Autowired_1.Autowired; } }); | ||
var Value_1 = require("./Value"); | ||
Object.defineProperty(exports, "Value", { enumerable: true, get: function () { return Value_1.Value; } }); | ||
Object.defineProperty(exports, "Config", { enumerable: true, get: function () { return Value_1.Config; } }); | ||
var AOP_1 = require("./AOP"); | ||
Object.defineProperty(exports, "Aspect", { enumerable: true, get: function () { return AOP_1.Aspect; } }); | ||
Object.defineProperty(exports, "Before", { enumerable: true, get: function () { return AOP_1.Before; } }); | ||
Object.defineProperty(exports, "BeforeEach", { enumerable: true, get: function () { return AOP_1.BeforeEach; } }); | ||
Object.defineProperty(exports, "After", { enumerable: true, get: function () { return AOP_1.After; } }); | ||
Object.defineProperty(exports, "AfterEach", { enumerable: true, get: function () { return AOP_1.AfterEach; } }); | ||
tslib_1.__exportStar(require("./Container"), exports); | ||
tslib_1.__exportStar(require("./IContainer"), exports); | ||
tslib_1.__exportStar(require("./Util"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -7,5 +7,13 @@ "use strict"; | ||
* @Author: richen | ||
* @Date: 2020-12-21 17:40:24 | ||
* @LastEditors: linyyyang<linyyyang@tencent.com> | ||
* @LastEditTime: 2020-12-21 17:40:25 | ||
* @License: BSD (3-Clause) | ||
* @Copyright (c) - <richenlin(at)gmail.com> | ||
*/ | ||
/* | ||
* @Author: richen | ||
* @Date: 2020-12-17 20:04:07 | ||
* @LastEditors: linyyyang<linyyyang@tencent.com> | ||
* @LastEditTime: 2020-12-21 10:57:54 | ||
* @LastEditTime: 2020-12-21 17:05:08 | ||
* @License: BSD (3-Clause) | ||
@@ -12,0 +20,0 @@ * @Copyright (c) - <richenlin(at)gmail.com> |
{ | ||
"name": "koatty_container", | ||
"version": "1.3.7", | ||
"version": "1.3.10", | ||
"description": "IOC Container for Koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
61242
20
1256