@tsed/terminus 6.95.8 → 6.96.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/terminus",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.96.1",
|
|
4
4
|
"description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.",
|
|
5
5
|
"author": "Romain Lenzotti",
|
|
6
6
|
"private": false,
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"tslib": "2.2.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tsed/core": "6.
|
|
28
|
-
"@tsed/di": "6.
|
|
29
|
-
"@tsed/openspec": "6.
|
|
30
|
-
"@tsed/schema": "6.
|
|
27
|
+
"@tsed/core": "6.96.1",
|
|
28
|
+
"@tsed/di": "6.96.1",
|
|
29
|
+
"@tsed/openspec": "6.96.1",
|
|
30
|
+
"@tsed/schema": "6.96.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@tsed/core": "^6.
|
|
34
|
-
"@tsed/di": "^6.
|
|
35
|
-
"@tsed/openspec": "^6.
|
|
36
|
-
"@tsed/schema": "^6.
|
|
33
|
+
"@tsed/core": "^6.96.1",
|
|
34
|
+
"@tsed/di": "^6.96.1",
|
|
35
|
+
"@tsed/openspec": "^6.96.1",
|
|
36
|
+
"@tsed/schema": "^6.96.1"
|
|
37
37
|
},
|
|
38
38
|
"repository": "https://github.com/tsedio/tsed",
|
|
39
39
|
"bugs": {
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@tsed/di";
|
|
2
|
-
export declare class TerminusModule implements OnInit {
|
|
3
|
-
private configuration;
|
|
4
|
-
private injector;
|
|
5
|
-
private httpServer;
|
|
6
|
-
private httpsServer;
|
|
7
|
-
$onInit(): void;
|
|
8
|
-
private mount;
|
|
9
|
-
private getProviders;
|
|
10
|
-
private getStore;
|
|
11
|
-
private getHealths;
|
|
12
|
-
private execShutdown;
|
|
13
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create a readiness / liveness checks.
|
|
3
|
-
*
|
|
4
|
-
* ```ts
|
|
5
|
-
* import { Health } from "@tsed/terminus";
|
|
6
|
-
*
|
|
7
|
-
* @Controller("/mongo")
|
|
8
|
-
* class MongoCtrl {
|
|
9
|
-
* @Health("/health")
|
|
10
|
-
* health() {
|
|
11
|
-
* // Here check the mongo health
|
|
12
|
-
* return Promise.resolve();
|
|
13
|
-
* }
|
|
14
|
-
* }
|
|
15
|
-
*
|
|
16
|
-
* @param name
|
|
17
|
-
* @decorator
|
|
18
|
-
* @terminus
|
|
19
|
-
*/
|
|
20
|
-
export declare function Health(name: string): MethodDecorator;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Listen the `beforeShutdown` terminus event.
|
|
3
|
-
*
|
|
4
|
-
* @decorator
|
|
5
|
-
* @terminus
|
|
6
|
-
*/
|
|
7
|
-
export declare function BeforeShutdown(): MethodDecorator;
|
|
8
|
-
/**
|
|
9
|
-
* Listen the `onSignal` terminus event.
|
|
10
|
-
*
|
|
11
|
-
* @decorator
|
|
12
|
-
* @terminus
|
|
13
|
-
*/
|
|
14
|
-
export declare function OnSignal(): MethodDecorator;
|
|
15
|
-
/**
|
|
16
|
-
* Listen the `onShutdown` terminus event.
|
|
17
|
-
*
|
|
18
|
-
* @decorator
|
|
19
|
-
* @terminus
|
|
20
|
-
*/
|
|
21
|
-
export declare function OnShutdown(): MethodDecorator;
|
|
22
|
-
/**
|
|
23
|
-
* Listen the `onSendFailureDuringShutdown` terminus event.
|
|
24
|
-
*
|
|
25
|
-
* @decorator
|
|
26
|
-
* @terminus
|
|
27
|
-
*/
|
|
28
|
-
export declare function OnSendFailureDuringShutdown(): MethodDecorator;
|
package/lib/cjs/index.d.ts
DELETED