@eggjs/core-decorator 3.2.3 → 3.7.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.
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export * from './src/decorator/InitTypeQualifier';
|
|
|
4
4
|
export * from './src/decorator/ModuleQualifier';
|
|
5
5
|
export * from './src/decorator/ContextProto';
|
|
6
6
|
export * from './src/decorator/SingletonProto';
|
|
7
|
+
export * from './src/decorator/EggQualifier';
|
|
7
8
|
export * from './src/enum/AccessLevel';
|
|
8
9
|
export * from './src/enum/ObjectInitType';
|
|
10
|
+
export * from './src/enum/EggType';
|
|
9
11
|
export * from './src/model/EggPrototypeInfo';
|
|
10
12
|
export * from './src/model/InjectObjectInfo';
|
|
11
13
|
export * from './src/model/QualifierInfo';
|
package/dist/index.js
CHANGED
|
@@ -20,12 +20,14 @@ __exportStar(require("./src/decorator/InitTypeQualifier"), exports);
|
|
|
20
20
|
__exportStar(require("./src/decorator/ModuleQualifier"), exports);
|
|
21
21
|
__exportStar(require("./src/decorator/ContextProto"), exports);
|
|
22
22
|
__exportStar(require("./src/decorator/SingletonProto"), exports);
|
|
23
|
+
__exportStar(require("./src/decorator/EggQualifier"), exports);
|
|
23
24
|
__exportStar(require("./src/enum/AccessLevel"), exports);
|
|
24
25
|
__exportStar(require("./src/enum/ObjectInitType"), exports);
|
|
26
|
+
__exportStar(require("./src/enum/EggType"), exports);
|
|
25
27
|
__exportStar(require("./src/model/EggPrototypeInfo"), exports);
|
|
26
28
|
__exportStar(require("./src/model/InjectObjectInfo"), exports);
|
|
27
29
|
__exportStar(require("./src/model/QualifierInfo"), exports);
|
|
28
30
|
__exportStar(require("./src/util/MetadataUtil"), exports);
|
|
29
31
|
__exportStar(require("./src/util/PrototypeUtil"), exports);
|
|
30
32
|
__exportStar(require("./src/util/QualifierUtil"), exports);
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseURBQXVDO0FBQ3ZDLDREQUEwQztBQUMxQyxvRUFBa0Q7QUFDbEQsa0VBQWdEO0FBQ2hELCtEQUE2QztBQUM3QyxpRUFBK0M7QUFDL0MsK0RBQTZDO0FBRTdDLHlEQUF1QztBQUN2Qyw0REFBMEM7QUFDMUMscURBQW1DO0FBRW5DLCtEQUE2QztBQUM3QywrREFBNkM7QUFDN0MsNERBQTBDO0FBRTFDLDBEQUF3QztBQUN4QywyREFBeUM7QUFDekMsMkRBQXlDIn0=
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EggQualifier = exports.EggQualifierAttribute = void 0;
|
|
4
|
+
const QualifierUtil_1 = require("../util/QualifierUtil");
|
|
5
|
+
exports.EggQualifierAttribute = Symbol.for('Qualifier.Egg');
|
|
6
|
+
function EggQualifier(eggType) {
|
|
7
|
+
return function (target, propertyKey) {
|
|
8
|
+
QualifierUtil_1.QualifierUtil.addProperQualifier(target.constructor, propertyKey, exports.EggQualifierAttribute, eggType);
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
exports.EggQualifier = EggQualifier;
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRWdnUXVhbGlmaWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2RlY29yYXRvci9FZ2dRdWFsaWZpZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQXNEO0FBSXpDLFFBQUEscUJBQXFCLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxlQUFlLENBQUMsQ0FBQztBQUVqRSxTQUFnQixZQUFZLENBQUMsT0FBZ0I7SUFDM0MsT0FBTyxVQUFTLE1BQVcsRUFBRSxXQUF3QjtRQUNuRCw2QkFBYSxDQUFDLGtCQUFrQixDQUFDLE1BQU0sQ0FBQyxXQUFnQyxFQUFFLFdBQVcsRUFBRSw2QkFBcUIsRUFBRSxPQUFPLENBQUMsQ0FBQztJQUN6SCxDQUFDLENBQUM7QUFDSixDQUFDO0FBSkQsb0NBSUMifQ==
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EggType = void 0;
|
|
4
|
+
var EggType;
|
|
5
|
+
(function (EggType) {
|
|
6
|
+
EggType["APP"] = "APP";
|
|
7
|
+
EggType["CONTEXT"] = "CONTEXT";
|
|
8
|
+
})(EggType = exports.EggType || (exports.EggType = {}));
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRWdnVHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lbnVtL0VnZ1R5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsSUFBWSxPQUdYO0FBSEQsV0FBWSxPQUFPO0lBQ2pCLHNCQUFXLENBQUE7SUFDWCw4QkFBbUIsQ0FBQTtBQUNyQixDQUFDLEVBSFcsT0FBTyxHQUFQLGVBQU8sS0FBUCxlQUFPLFFBR2xCIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/core-decorator",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "tegg core decorator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"node": ">=14.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@eggjs/tegg-common-util": "^3.
|
|
39
|
+
"@eggjs/tegg-common-util": "^3.7.0",
|
|
40
40
|
"reflect-metadata": "^0.1.13"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"ts-node": "^10.9.1",
|
|
51
51
|
"typescript": "^4.9.4"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "c09aba3d398f0ac93f087c82947f736489a064c9"
|
|
54
54
|
}
|