@eggjs/tegg-orm-decorator 3.3.0 → 3.5.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/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -24,10 +24,10 @@ export class App extends Bone {
24
24
  ## Use Model
25
25
 
26
26
  ```ts
27
- import { ContextProto, Inject } from '@eggjs/tegg';
27
+ import { SingletonProto, Inject } from '@eggjs/tegg';
28
28
  import { App } from './model/App';
29
29
 
30
- @ContextProto()
30
+ @SingletonProto()
31
31
  export class AppService {
32
32
  @Inject()
33
33
  App: typeof App;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/tegg-orm-decorator",
3
- "version": "3.3.0",
3
+ "version": "3.5.0",
4
4
  "description": "tegg orm decorator",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -36,9 +36,9 @@
36
36
  "node": ">=14.0.0"
37
37
  },
38
38
  "dependencies": {
39
- "@eggjs/core-decorator": "^3.2.3",
39
+ "@eggjs/core-decorator": "^3.5.0",
40
40
  "@eggjs/tegg-common-util": "^3.2.3",
41
- "@eggjs/tegg-metadata": "^3.2.4",
41
+ "@eggjs/tegg-metadata": "^3.5.0",
42
42
  "lodash": "^4.17.21",
43
43
  "pluralize": "^8.0.0"
44
44
  },
@@ -56,5 +56,5 @@
56
56
  "ts-node": "^10.9.1",
57
57
  "typescript": "^4.9.4"
58
58
  },
59
- "gitHead": "07dccbd7c656c32811bff4f0e7d119a0e1d1a5c4"
59
+ "gitHead": "eead7467030e46fb5349fe60acd5c2f0f317de0f"
60
60
  }