@midwayjs/decorator 3.9.0 → 3.10.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.d.ts CHANGED
@@ -1,4 +1,88 @@
1
1
  export * from '@midwayjs/core/dist/decorator';
2
2
  export { Types, Utils, sleep, FileUtils, FORMAT } from '@midwayjs/core';
3
- export { MiddlewareParamArray, ObjectIdentifier, GroupModeType, ScopeEnum, InjectModeEnum, IManagedInstance, ObjectDefinitionOptions, TagPropsMetadata, TagClsMetadata, ReflectResult, FaaSMetadata, FrameworkType, MidwayFrameworkType, ServerlessTriggerType, IModuleStore, } from '@midwayjs/core';
3
+ export {
4
+ /**
5
+ * @deprecated
6
+ */
7
+ MiddlewareParamArray,
8
+ /**
9
+ * @deprecated
10
+ */
11
+ ObjectIdentifier,
12
+ /**
13
+ * @deprecated
14
+ */
15
+ GroupModeType,
16
+ /**
17
+ * @deprecated
18
+ */
19
+ ScopeEnum,
20
+ /**
21
+ * @deprecated
22
+ */
23
+ InjectModeEnum,
24
+ /**
25
+ * @deprecated
26
+ */
27
+ IManagedInstance,
28
+ /**
29
+ * @deprecated
30
+ */
31
+ ObjectDefinitionOptions,
32
+ /**
33
+ * @deprecated
34
+ */
35
+ TagPropsMetadata,
36
+ /**
37
+ * @deprecated
38
+ */
39
+ TagClsMetadata,
40
+ /**
41
+ * @deprecated
42
+ */
43
+ ReflectResult,
44
+ /**
45
+ * @deprecated
46
+ */
47
+ MSProviderType,
48
+ /**
49
+ * @deprecated
50
+ */
51
+ MSListenerType,
52
+ /**
53
+ * @deprecated
54
+ */
55
+ ConsumerMetadata,
56
+ /**
57
+ * @deprecated
58
+ */
59
+ GRPCMetadata,
60
+ /**
61
+ * @deprecated
62
+ */
63
+ FaaSMetadata,
64
+ /**
65
+ * @deprecated
66
+ */
67
+ FrameworkType,
68
+ /**
69
+ * @deprecated
70
+ */
71
+ MidwayFrameworkType,
72
+ /**
73
+ * @deprecated
74
+ */
75
+ ServerlessTriggerType,
76
+ /**
77
+ * @deprecated
78
+ */
79
+ IModuleStore,
80
+ /**
81
+ * @deprecated
82
+ */
83
+ IMethodAspect,
84
+ /**
85
+ * @deprecated
86
+ */
87
+ JoinPoint, } from '@midwayjs/core';
4
88
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ServerlessTriggerType = exports.MidwayFrameworkType = exports.FrameworkType = exports.InjectModeEnum = exports.ScopeEnum = exports.FORMAT = exports.FileUtils = exports.sleep = exports.Utils = exports.Types = void 0;
17
+ exports.ServerlessTriggerType = exports.MidwayFrameworkType = exports.FrameworkType = exports.MSListenerType = exports.MSProviderType = exports.InjectModeEnum = exports.ScopeEnum = exports.FORMAT = exports.FileUtils = exports.sleep = exports.Utils = exports.Types = void 0;
18
18
  __exportStar(require("@midwayjs/core/dist/decorator"), exports);
19
19
  var core_1 = require("@midwayjs/core");
20
20
  Object.defineProperty(exports, "Types", { enumerable: true, get: function () { return core_1.Types; } });
@@ -23,9 +23,32 @@ Object.defineProperty(exports, "sleep", { enumerable: true, get: function () { r
23
23
  Object.defineProperty(exports, "FileUtils", { enumerable: true, get: function () { return core_1.FileUtils; } });
24
24
  Object.defineProperty(exports, "FORMAT", { enumerable: true, get: function () { return core_1.FORMAT; } });
25
25
  var core_2 = require("@midwayjs/core");
26
+ /**
27
+ * @deprecated
28
+ */
26
29
  Object.defineProperty(exports, "ScopeEnum", { enumerable: true, get: function () { return core_2.ScopeEnum; } });
30
+ /**
31
+ * @deprecated
32
+ */
27
33
  Object.defineProperty(exports, "InjectModeEnum", { enumerable: true, get: function () { return core_2.InjectModeEnum; } });
34
+ /**
35
+ * @deprecated
36
+ */
37
+ Object.defineProperty(exports, "MSProviderType", { enumerable: true, get: function () { return core_2.MSProviderType; } });
38
+ /**
39
+ * @deprecated
40
+ */
41
+ Object.defineProperty(exports, "MSListenerType", { enumerable: true, get: function () { return core_2.MSListenerType; } });
42
+ /**
43
+ * @deprecated
44
+ */
28
45
  Object.defineProperty(exports, "FrameworkType", { enumerable: true, get: function () { return core_2.FrameworkType; } });
46
+ /**
47
+ * @deprecated
48
+ */
29
49
  Object.defineProperty(exports, "MidwayFrameworkType", { enumerable: true, get: function () { return core_2.MidwayFrameworkType; } });
50
+ /**
51
+ * @deprecated
52
+ */
30
53
  Object.defineProperty(exports, "ServerlessTriggerType", { enumerable: true, get: function () { return core_2.ServerlessTriggerType; } });
31
54
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/decorator",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "definition decorator for midway project",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "link": "npm link"
13
13
  },
14
14
  "dependencies": {
15
- "@midwayjs/core": "^3.9.0"
15
+ "@midwayjs/core": "^3.10.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "mm": "3.2.1"
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "5f6603d2c9606fc6fc7ece71f956e89e394efeee"
39
+ "gitHead": "33d28f1a020963404488e866432916fd15c0952c"
40
40
  }