@eggjs/core-decorator 0.1.13 → 1.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/CHANGELOG.md
CHANGED
|
@@ -2,3 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [0.2.0](https://github.com/eggjs/tegg/compare/v0.1.19...v0.2.0) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* impl aop ([c53df00](https://github.com/eggjs/tegg/commit/c53df001d1455a0a105689694775d880541d9d2f))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectInitTypeLike } from '../enum/ObjectInitType';
|
|
2
2
|
import { AccessLevel } from '../enum/AccessLevel';
|
|
3
3
|
import { EggProtoImplClass } from '../model/EggPrototypeInfo';
|
|
4
|
-
interface PrototypeParams {
|
|
4
|
+
export interface PrototypeParams {
|
|
5
5
|
name?: string;
|
|
6
6
|
initType?: ObjectInitTypeLike;
|
|
7
7
|
accessLevel?: AccessLevel;
|
|
@@ -9,4 +9,3 @@ interface PrototypeParams {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const DEFAULT_PROTO_IMPL_TYPE = "DEFAULT";
|
|
11
11
|
export declare function Prototype(param?: PrototypeParams): (clazz: EggProtoImplClass) => void;
|
|
12
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/core-decorator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "tegg core decorator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"node": ">=14.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@eggjs/tegg-common-util": "^0.
|
|
39
|
+
"@eggjs/tegg-common-util": "^1.0.0",
|
|
40
40
|
"reflect-metadata": "^0.1.13"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5851321b2488752f6702ff99023b1f70a6541eab"
|
|
46
46
|
}
|