@eggjs/tegg-types 3.50.0 → 3.51.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.
|
@@ -14,6 +14,10 @@ export interface InjectObjectProto {
|
|
|
14
14
|
* inject qualifiers
|
|
15
15
|
*/
|
|
16
16
|
qualifiers: QualifierInfo[];
|
|
17
|
+
/**
|
|
18
|
+
* optional inject
|
|
19
|
+
*/
|
|
20
|
+
optional?: boolean;
|
|
17
21
|
/**
|
|
18
22
|
* inject prototype
|
|
19
23
|
*/
|
|
@@ -36,6 +40,10 @@ export interface InjectConstructorProto {
|
|
|
36
40
|
* inject qualifiers
|
|
37
41
|
*/
|
|
38
42
|
qualifiers: QualifierInfo[];
|
|
43
|
+
/**
|
|
44
|
+
* optional inject
|
|
45
|
+
*/
|
|
46
|
+
optional?: boolean;
|
|
39
47
|
/**
|
|
40
48
|
* inject prototype
|
|
41
49
|
*/
|
|
@@ -55,6 +63,10 @@ export interface InjectObject {
|
|
|
55
63
|
* if null same as current obj
|
|
56
64
|
*/
|
|
57
65
|
initType?: ObjectInitTypeLike;
|
|
66
|
+
/**
|
|
67
|
+
* optional inject
|
|
68
|
+
*/
|
|
69
|
+
optional?: boolean;
|
|
58
70
|
}
|
|
59
71
|
export interface InjectConstructor {
|
|
60
72
|
/**
|
|
@@ -74,6 +86,10 @@ export interface InjectConstructor {
|
|
|
74
86
|
* if null same as current obj
|
|
75
87
|
*/
|
|
76
88
|
initType?: ObjectInitTypeLike;
|
|
89
|
+
/**
|
|
90
|
+
* optional inject
|
|
91
|
+
*/
|
|
92
|
+
optional?: boolean;
|
|
77
93
|
}
|
|
78
94
|
export type EggPrototypeClass = new (...args: any[]) => EggPrototype;
|
|
79
95
|
export interface EggPrototypeLifecycleContext extends LifecycleContext {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/tegg-types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.51.0",
|
|
4
4
|
"description": "tegg types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"ts-node": "^10.9.1",
|
|
45
45
|
"typescript": "^5.0.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8bf78784bf883348d71ba199ab0a29adba148ece"
|
|
48
48
|
}
|