@tsed/terminus 7.0.0-rc.1 → 7.0.0-rc.4

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/lib/cjs/index.js CHANGED
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const tslib_1 = require("tslib");
7
7
  tslib_1.__exportStar(require("./TerminusModule"), exports);
8
8
  tslib_1.__exportStar(require("./decorators/health"), exports);
9
- tslib_1.__exportStar(require("./decorators/shutdown"), exports);
10
9
  tslib_1.__exportStar(require("./interfaces/TerminusSettings"), exports);
11
10
  tslib_1.__exportStar(require("./interfaces/interfaces"), exports);
12
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,2DAAiC;AACjC,8DAAoC;AACpC,gEAAsC;AACtC,wEAA8C;AAC9C,kEAAwC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./TerminusModule\";\nexport * from \"./decorators/health\";\nexport * from \"./decorators/shutdown\";\nexport * from \"./interfaces/TerminusSettings\";\nexport * from \"./interfaces/interfaces\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,2DAAiC;AACjC,8DAAoC;AACpC,wEAA8C;AAC9C,kEAAwC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./TerminusModule\";\nexport * from \"./decorators/health\";\nexport * from \"./interfaces/TerminusSettings\";\nexport * from \"./interfaces/interfaces\";\n"]}
package/lib/esm/index.js CHANGED
@@ -3,7 +3,6 @@
3
3
  */
4
4
  export * from "./TerminusModule.js";
5
5
  export * from "./decorators/health.js";
6
- export * from "./decorators/shutdown.js";
7
6
  export * from "./interfaces/TerminusSettings.js";
8
7
  export * from "./interfaces/interfaces.js";
9
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./TerminusModule\";\nexport * from \"./decorators/health\";\nexport * from \"./decorators/shutdown\";\nexport * from \"./interfaces/TerminusSettings\";\nexport * from \"./interfaces/interfaces\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./TerminusModule\";\nexport * from \"./decorators/health\";\nexport * from \"./interfaces/TerminusSettings\";\nexport * from \"./interfaces/interfaces\";\n"]}
@@ -3,6 +3,5 @@
3
3
  */
4
4
  export * from "./TerminusModule";
5
5
  export * from "./decorators/health";
6
- export * from "./decorators/shutdown";
7
6
  export * from "./interfaces/TerminusSettings";
8
7
  export * from "./interfaces/interfaces";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/terminus",
3
- "version": "7.0.0-rc.1",
3
+ "version": "7.0.0-rc.4",
4
4
  "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.",
5
5
  "author": "Romain Lenzotti",
6
6
  "private": false,
@@ -27,15 +27,15 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@godaddy/terminus": "^4.7.1",
30
- "@tsed/core": "7.0.0-rc.1",
31
- "@tsed/di": "7.0.0-rc.1",
32
- "@tsed/schema": "7.0.0-rc.1"
30
+ "@tsed/core": "7.0.0-rc.4",
31
+ "@tsed/di": "7.0.0-rc.4",
32
+ "@tsed/schema": "7.0.0-rc.4"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@godaddy/terminus": "^4.7.1",
36
- "@tsed/core": "^7.0.0-rc.1",
37
- "@tsed/di": "^7.0.0-rc.1",
38
- "@tsed/schema": "^7.0.0-rc.1"
36
+ "@tsed/core": "^7.0.0-rc.4",
37
+ "@tsed/di": "^7.0.0-rc.4",
38
+ "@tsed/schema": "^7.0.0-rc.4"
39
39
  },
40
40
  "peerDependenciesMeta": {
41
41
  "@godaddy/terminus": {
package/readme.md CHANGED
@@ -192,9 +192,9 @@ class RedisCtrl {
192
192
 
193
193
  ## Contributors
194
194
 
195
- Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html).
195
+ Please read [contributing guidelines here](https://tsed.io/contributing.html).
196
196
 
197
- <a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
197
+ <a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
198
198
 
199
199
  ## Backers
200
200
 
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OnSendFailureDuringShutdown = exports.OnShutdown = exports.OnSignal = exports.BeforeShutdown = exports.register = void 0;
4
- function register(event) {
5
- return (target, propertyKey, description) => {
6
- Object.defineProperty(target, `$${event}`, {
7
- value: description.value
8
- });
9
- };
10
- }
11
- exports.register = register;
12
- /**
13
- * Listen the `beforeShutdown` terminus event.
14
- *
15
- * @decorator
16
- * @terminus
17
- * @deprecated Use $BeforeShutdown hook
18
- */
19
- function BeforeShutdown() {
20
- return register("beforeShutdown");
21
- }
22
- exports.BeforeShutdown = BeforeShutdown;
23
- /**
24
- * Listen the `onSignal` terminus event.
25
- *
26
- * @decorator
27
- * @terminus
28
- * @deprecated Use $onSignal hook
29
- */
30
- function OnSignal() {
31
- return register("onSignal");
32
- }
33
- exports.OnSignal = OnSignal;
34
- /**
35
- * Listen the `onShutdown` terminus event.
36
- *
37
- * @decorator
38
- * @terminus
39
- * @deprecated Use $onShutdown hook
40
- */
41
- function OnShutdown() {
42
- return register("onShutdown");
43
- }
44
- exports.OnShutdown = OnShutdown;
45
- /**
46
- * Listen the `onSendFailureDuringShutdown` terminus event.
47
- *
48
- * @decorator
49
- * @terminus
50
- * @deprecated Use $onSendFailureDuringShutdown hook
51
- */
52
- function OnSendFailureDuringShutdown() {
53
- return register("OnSendFailureDuringShutdown");
54
- }
55
- exports.OnSendFailureDuringShutdown = OnSendFailureDuringShutdown;
56
- //# sourceMappingURL=shutdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shutdown.js","sourceRoot":"","sources":["../../../src/decorators/shutdown.ts"],"names":[],"mappings":";;;AAAA,SAAgB,QAAQ,CAAC,KAAa;IACpC,OAAO,CAAW,MAAc,EAAE,WAAmB,EAAE,WAA+B,EAAE,EAAE;QACxF,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,KAAK,EAAE,EAAE;YACzC,KAAK,EAAE,WAAW,CAAC,KAAK;SACzB,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAND,4BAMC;AAED;;;;;;GAMG;AACH,SAAgB,cAAc;IAC5B,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AACpC,CAAC;AAFD,wCAEC;AAED;;;;;;GAMG;AACH,SAAgB,QAAQ;IACtB,OAAO,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAFD,4BAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU;IACxB,OAAO,QAAQ,CAAC,YAAY,CAAC,CAAC;AAChC,CAAC;AAFD,gCAEC;AAED;;;;;;GAMG;AACH,SAAgB,2BAA2B;IACzC,OAAO,QAAQ,CAAC,6BAA6B,CAAC,CAAC;AACjD,CAAC;AAFD,kEAEC","sourcesContent":["export function register(event: string) {\n return <Function>(target: Object, propertyKey: string, description: PropertyDescriptor) => {\n Object.defineProperty(target, `$${event}`, {\n value: description.value\n });\n };\n}\n\n/**\n * Listen the `beforeShutdown` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $BeforeShutdown hook\n */\nexport function BeforeShutdown(): MethodDecorator {\n return register(\"beforeShutdown\");\n}\n\n/**\n * Listen the `onSignal` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $onSignal hook\n */\nexport function OnSignal(): MethodDecorator {\n return register(\"onSignal\");\n}\n\n/**\n * Listen the `onShutdown` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $onShutdown hook\n */\nexport function OnShutdown(): MethodDecorator {\n return register(\"onShutdown\");\n}\n\n/**\n * Listen the `onSendFailureDuringShutdown` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $onSendFailureDuringShutdown hook\n */\nexport function OnSendFailureDuringShutdown(): MethodDecorator {\n return register(\"OnSendFailureDuringShutdown\");\n}\n"]}
@@ -1,48 +0,0 @@
1
- export function register(event) {
2
- return (target, propertyKey, description) => {
3
- Object.defineProperty(target, `$${event}`, {
4
- value: description.value
5
- });
6
- };
7
- }
8
- /**
9
- * Listen the `beforeShutdown` terminus event.
10
- *
11
- * @decorator
12
- * @terminus
13
- * @deprecated Use $BeforeShutdown hook
14
- */
15
- export function BeforeShutdown() {
16
- return register("beforeShutdown");
17
- }
18
- /**
19
- * Listen the `onSignal` terminus event.
20
- *
21
- * @decorator
22
- * @terminus
23
- * @deprecated Use $onSignal hook
24
- */
25
- export function OnSignal() {
26
- return register("onSignal");
27
- }
28
- /**
29
- * Listen the `onShutdown` terminus event.
30
- *
31
- * @decorator
32
- * @terminus
33
- * @deprecated Use $onShutdown hook
34
- */
35
- export function OnShutdown() {
36
- return register("onShutdown");
37
- }
38
- /**
39
- * Listen the `onSendFailureDuringShutdown` terminus event.
40
- *
41
- * @decorator
42
- * @terminus
43
- * @deprecated Use $onSendFailureDuringShutdown hook
44
- */
45
- export function OnSendFailureDuringShutdown() {
46
- return register("OnSendFailureDuringShutdown");
47
- }
48
- //# sourceMappingURL=shutdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shutdown.js","sourceRoot":"","sources":["../../../src/decorators/shutdown.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,QAAQ,CAAC,KAAa;IACpC,OAAO,CAAW,MAAc,EAAE,WAAmB,EAAE,WAA+B,EAAE,EAAE;QACxF,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,KAAK,EAAE,EAAE;YACzC,KAAK,EAAE,WAAW,CAAC,KAAK;SACzB,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AACpC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ;IACtB,OAAO,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,UAAU;IACxB,OAAO,QAAQ,CAAC,YAAY,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,2BAA2B;IACzC,OAAO,QAAQ,CAAC,6BAA6B,CAAC,CAAC;AACjD,CAAC","sourcesContent":["export function register(event: string) {\n return <Function>(target: Object, propertyKey: string, description: PropertyDescriptor) => {\n Object.defineProperty(target, `$${event}`, {\n value: description.value\n });\n };\n}\n\n/**\n * Listen the `beforeShutdown` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $BeforeShutdown hook\n */\nexport function BeforeShutdown(): MethodDecorator {\n return register(\"beforeShutdown\");\n}\n\n/**\n * Listen the `onSignal` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $onSignal hook\n */\nexport function OnSignal(): MethodDecorator {\n return register(\"onSignal\");\n}\n\n/**\n * Listen the `onShutdown` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $onShutdown hook\n */\nexport function OnShutdown(): MethodDecorator {\n return register(\"onShutdown\");\n}\n\n/**\n * Listen the `onSendFailureDuringShutdown` terminus event.\n *\n * @decorator\n * @terminus\n * @deprecated Use $onSendFailureDuringShutdown hook\n */\nexport function OnSendFailureDuringShutdown(): MethodDecorator {\n return register(\"OnSendFailureDuringShutdown\");\n}\n"]}
@@ -1,33 +0,0 @@
1
- export declare function register(event: string): <Function_1>(target: Object, propertyKey: string, description: PropertyDescriptor) => void;
2
- /**
3
- * Listen the `beforeShutdown` terminus event.
4
- *
5
- * @decorator
6
- * @terminus
7
- * @deprecated Use $BeforeShutdown hook
8
- */
9
- export declare function BeforeShutdown(): MethodDecorator;
10
- /**
11
- * Listen the `onSignal` terminus event.
12
- *
13
- * @decorator
14
- * @terminus
15
- * @deprecated Use $onSignal hook
16
- */
17
- export declare function OnSignal(): MethodDecorator;
18
- /**
19
- * Listen the `onShutdown` terminus event.
20
- *
21
- * @decorator
22
- * @terminus
23
- * @deprecated Use $onShutdown hook
24
- */
25
- export declare function OnShutdown(): MethodDecorator;
26
- /**
27
- * Listen the `onSendFailureDuringShutdown` terminus event.
28
- *
29
- * @decorator
30
- * @terminus
31
- * @deprecated Use $onSendFailureDuringShutdown hook
32
- */
33
- export declare function OnSendFailureDuringShutdown(): MethodDecorator;