@eggjs/tegg-plugin 3.44.0 → 3.45.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.
Files changed (2) hide show
  1. package/package.json +11 -11
  2. package/typings/index.d.ts +2 -2
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "teggConfig"
7
7
  ]
8
8
  },
9
- "version": "3.44.0",
9
+ "version": "3.45.0",
10
10
  "description": "module plugin for egg",
11
11
  "keywords": [
12
12
  "egg",
@@ -45,19 +45,19 @@
45
45
  "node": ">=14.0.0"
46
46
  },
47
47
  "dependencies": {
48
- "@eggjs/egg-module-common": "^3.44.0",
49
- "@eggjs/tegg": "^3.44.0",
50
- "@eggjs/tegg-background-task": "^3.44.0",
51
- "@eggjs/tegg-common-util": "^3.44.0",
52
- "@eggjs/tegg-dynamic-inject-runtime": "^3.44.0",
53
- "@eggjs/tegg-loader": "^3.44.0",
54
- "@eggjs/tegg-metadata": "^3.44.0",
55
- "@eggjs/tegg-runtime": "^3.44.0",
48
+ "@eggjs/egg-module-common": "^3.45.0",
49
+ "@eggjs/tegg": "^3.45.0",
50
+ "@eggjs/tegg-background-task": "^3.45.0",
51
+ "@eggjs/tegg-common-util": "^3.45.0",
52
+ "@eggjs/tegg-dynamic-inject-runtime": "^3.45.0",
53
+ "@eggjs/tegg-loader": "^3.45.0",
54
+ "@eggjs/tegg-metadata": "^3.45.0",
55
+ "@eggjs/tegg-runtime": "^3.45.0",
56
56
  "extend2": "^1.0.0",
57
57
  "sdk-base": "^4.2.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@eggjs/tegg-config": "^3.44.0",
60
+ "@eggjs/tegg-config": "^3.45.0",
61
61
  "@types/mocha": "^10.0.1",
62
62
  "@types/node": "^20.2.4",
63
63
  "cross-env": "^7.0.3",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "081b4eb91d8d5ab3b29e7467ef0f43859af9c462"
76
+ "gitHead": "96c924170ea0ba3927c30d8558b653ad730e723d"
77
77
  }
@@ -59,7 +59,7 @@ declare module 'egg' {
59
59
  // 兼容现有 module 的定义
60
60
  module: EggModule & EggApplicationModule;
61
61
 
62
- getEggObject<T>(clazz: EggProtoImplClass<T>): Promise<T>;
62
+ getEggObject<T>(clazz: EggProtoImplClass<T>, name?: string, qualifiers?: QualifierInfo | QualifierInfo[]): Promise<T>;
63
63
  getEggObjectFromName<T>(name: string, qualifiers?: QualifierInfo | QualifierInfo[]): Promise<unknown>;
64
64
  }
65
65
 
@@ -68,7 +68,7 @@ declare module 'egg' {
68
68
  // 兼容现有 module 的定义
69
69
  module: EggModule & EggContextModule;
70
70
 
71
- getEggObject<T>(clazz: EggProtoImplClass<T>): Promise<T>;
71
+ getEggObject<T>(clazz: EggProtoImplClass<T>, name?: string, qualifiers?: QualifierInfo | QualifierInfo[]): Promise<T>;
72
72
  }
73
73
 
74
74
  interface Application extends TEggApplication {