@eggjs/core-decorator 1.4.3 → 3.0.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/src/model/QualifierInfo.d.ts +7 -7
- package/package.json +2 -2
- package/CHANGELOG.md +0 -22
|
@@ -13,22 +13,22 @@ export type QualifierValue = string | number;
|
|
|
13
13
|
* hello(name: string): Promise<void>;
|
|
14
14
|
* }
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* \@ContextProto({ name: 'helloService' })
|
|
17
|
+
* \@HelloService(HelloServiceType.Email)
|
|
18
18
|
* class EmailHelloService implement HelloService {
|
|
19
19
|
* ...
|
|
20
20
|
* }
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
22
|
+
* \@ContextProto({ name: 'helloService' })
|
|
23
|
+
* \@HelloService(HelloServiceType.Message)
|
|
24
24
|
* class MessageHelloService implement HelloService {
|
|
25
25
|
* ...
|
|
26
26
|
* }
|
|
27
27
|
*
|
|
28
|
-
*
|
|
28
|
+
* \@ContextProto()
|
|
29
29
|
* class HelloFacade {
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* \@Inject
|
|
31
|
+
* \@HelloService(HelloServiceType.Message)
|
|
32
32
|
* helloService: HelloService;
|
|
33
33
|
* }
|
|
34
34
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/core-decorator",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "tegg core decorator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "942c516999e5380bd3f2b30de1dfd28569525da4"
|
|
46
46
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [1.3.0](https://github.com/eggjs/tegg/compare/v1.2.0...v1.3.0) (2022-07-01)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Features
|
|
10
|
-
|
|
11
|
-
* allow inject proto and name ([#40](https://github.com/eggjs/tegg/issues/40)) ([abd1766](https://github.com/eggjs/tegg/commit/abd17665af2528c4c2e33f4c6b0fceddd8a4e76b))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# [0.2.0](https://github.com/eggjs/tegg/compare/v0.1.19...v0.2.0) (2022-01-20)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Features
|
|
21
|
-
|
|
22
|
-
* impl aop ([c53df00](https://github.com/eggjs/tegg/commit/c53df001d1455a0a105689694775d880541d9d2f))
|