@eggjs/tegg-dynamic-inject 1.3.0 → 1.4.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/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -14,4 +18,4 @@ __exportStar(require("./src/EggObjectFactory"), exports);
14
18
  __exportStar(require("./src/QualifierImplUtil"), exports);
15
19
  __exportStar(require("./src/typing"), exports);
16
20
  __exportStar(require("./src/QualifierImplDecoratorUtil"), exports);
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx5REFBdUM7QUFDdkMsMERBQXdDO0FBQ3hDLCtDQUE2QjtBQUM3QixtRUFBaUQifQ==
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseURBQXVDO0FBQ3ZDLDBEQUF3QztBQUN4QywrQ0FBNkI7QUFDN0IsbUVBQWlEIn0=
@@ -1,9 +1,9 @@
1
1
  import { EggAbstractClazz } from './typing';
2
2
  import { EggProtoImplClass, QualifierAttribute, QualifierValue } from '@eggjs/core-decorator';
3
- export declare type ImplTypeEnum = {
3
+ export type ImplTypeEnum = {
4
4
  [id: string]: QualifierValue;
5
5
  };
6
- export declare type ImplDecorator<T extends object, Enum extends ImplTypeEnum> = (type: Enum[keyof Enum]) => ((clazz: EggProtoImplClass<T>) => void);
6
+ export type ImplDecorator<T extends object, Enum extends ImplTypeEnum> = (type: Enum[keyof Enum]) => ((clazz: EggProtoImplClass<T>) => void);
7
7
  export declare class QualifierImplDecoratorUtil {
8
8
  static generatorDecorator<T extends object, Enum extends ImplTypeEnum>(abstractClazz: EggAbstractClazz<T>, attribute: QualifierAttribute): ImplDecorator<T, Enum>;
9
9
  }
@@ -1,3 +1,3 @@
1
- export declare type EggAbstractClazz<T extends object = object> = Function & {
1
+ export type EggAbstractClazz<T extends object = object> = Function & {
2
2
  prototype: T;
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/tegg-dynamic-inject",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "tegg dyniamic inject",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -39,10 +39,10 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@eggjs/core-decorator": "^1.3.0"
42
+ "@eggjs/core-decorator": "^1.4.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "coffee": "^5.4.0"
46
46
  },
47
- "gitHead": "22ef3a397c05de85ec2457c809c0df330fc24501"
47
+ "gitHead": "6bd085c1c265921d31110811f4d707875dc7acea"
48
48
  }