@midwayjs/decorator 3.4.0-beta.9 → 3.4.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.
|
@@ -13,5 +13,4 @@ export declare function GrpcMethod(methodOptions?: {
|
|
|
13
13
|
onEnd?: string;
|
|
14
14
|
}): MethodDecorator;
|
|
15
15
|
export declare function DubboMethod(methodName?: string): MethodDecorator;
|
|
16
|
-
export declare function HSFMethod(methodName?: string): MethodDecorator;
|
|
17
16
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DubboMethod = exports.GrpcMethod = exports.GrpcStreamTypeEnum = exports.Provider = void 0;
|
|
4
4
|
const __1 = require("../../");
|
|
5
5
|
const common_1 = require("../common");
|
|
6
6
|
function Provider(type, metadata = {}) {
|
|
@@ -45,13 +45,4 @@ function DubboMethod(methodName) {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
exports.DubboMethod = DubboMethod;
|
|
48
|
-
function HSFMethod(methodName) {
|
|
49
|
-
return (target, propertyName, descriptor) => {
|
|
50
|
-
(0, __1.attachClassMetadata)(__1.MS_HSF_METHOD_KEY, {
|
|
51
|
-
methodName: methodName || propertyName,
|
|
52
|
-
}, target);
|
|
53
|
-
return descriptor;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.HSFMethod = HSFMethod;
|
|
57
48
|
//# sourceMappingURL=provider.js.map
|
package/dist/interface.d.ts
CHANGED
package/dist/interface.js
CHANGED
|
@@ -17,7 +17,6 @@ var MSProviderType;
|
|
|
17
17
|
(function (MSProviderType) {
|
|
18
18
|
MSProviderType["DUBBO"] = "dubbo";
|
|
19
19
|
MSProviderType["GRPC"] = "gRPC";
|
|
20
|
-
MSProviderType["HSF"] = "hsf";
|
|
21
20
|
})(MSProviderType = exports.MSProviderType || (exports.MSProviderType = {}));
|
|
22
21
|
var MSListenerType;
|
|
23
22
|
(function (MSListenerType) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/decorator",
|
|
3
|
-
"version": "3.4.0
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "definition decorator for midway project",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "e48ea9cb52c6e70ab25b68f1188006100eab8184"
|
|
40
40
|
}
|