@eggjs/dal-decorator 3.43.2 → 3.44.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function DataSourceQualifier(dataSourceName: string): (target: any, propertyKey: PropertyKey) => void;
|
|
1
|
+
export declare function DataSourceQualifier(dataSourceName: string): (target: any, propertyKey: PropertyKey, parameterIndex?: number) => void;
|
|
@@ -4,8 +4,8 @@ exports.DataSourceQualifier = DataSourceQualifier;
|
|
|
4
4
|
const tegg_types_1 = require("@eggjs/tegg-types");
|
|
5
5
|
const core_decorator_1 = require("@eggjs/core-decorator");
|
|
6
6
|
function DataSourceQualifier(dataSourceName) {
|
|
7
|
-
return function (target, propertyKey) {
|
|
8
|
-
core_decorator_1.QualifierUtil.
|
|
7
|
+
return function (target, propertyKey, parameterIndex) {
|
|
8
|
+
core_decorator_1.QualifierUtil.addInjectQualifier(target, propertyKey, parameterIndex, tegg_types_1.DataSourceQualifierAttribute, dataSourceName);
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGF0YVNvdXJjZVF1YWxpZmllci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kZWNvcmF0b3IvRGF0YVNvdXJjZVF1YWxpZmllci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUdBLGtEQUlDO0FBUEQsa0RBQWlFO0FBQ2pFLDBEQUFzRDtBQUV0RCxTQUFnQixtQkFBbUIsQ0FBQyxjQUFzQjtJQUN4RCxPQUFPLFVBQVMsTUFBVyxFQUFFLFdBQXdCLEVBQUUsY0FBdUI7UUFDNUUsOEJBQWEsQ0FBQyxrQkFBa0IsQ0FBQyxNQUFNLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSx5Q0FBNEIsRUFBRSxjQUFjLENBQUMsQ0FBQztJQUN0SCxDQUFDLENBQUM7QUFDSixDQUFDIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/dal-decorator",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.44.1",
|
|
4
4
|
"description": "tegg dal decorator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"node": ">=14.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@eggjs/core-decorator": "^3.
|
|
41
|
-
"@eggjs/tegg-common-util": "^3.
|
|
42
|
-
"@eggjs/tegg-types": "^3.
|
|
40
|
+
"@eggjs/core-decorator": "^3.44.1",
|
|
41
|
+
"@eggjs/tegg-common-util": "^3.44.1",
|
|
42
|
+
"@eggjs/tegg-types": "^3.44.1",
|
|
43
43
|
"lodash.snakecase": "^4.1.1",
|
|
44
44
|
"pluralize": "^8.0.0"
|
|
45
45
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"ts-node": "^10.9.1",
|
|
55
55
|
"typescript": "^5.0.4"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "6cbdfc761b577140603060cbb3064fe2748ce74e"
|
|
58
58
|
}
|