@tsed/terminus 6.95.7 → 6.96.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/terminus",
3
- "version": "6.95.7",
3
+ "version": "6.96.0",
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.95.7",
28
- "@tsed/di": "6.95.7",
29
- "@tsed/openspec": "6.95.7",
30
- "@tsed/schema": "6.95.7"
27
+ "@tsed/core": "6.96.0",
28
+ "@tsed/di": "6.96.0",
29
+ "@tsed/openspec": "6.96.0",
30
+ "@tsed/schema": "6.96.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@tsed/core": "^6.95.7",
34
- "@tsed/di": "^6.95.7",
35
- "@tsed/openspec": "^6.95.7",
36
- "@tsed/schema": "^6.95.7"
33
+ "@tsed/core": "^6.96.0",
34
+ "@tsed/di": "^6.96.0",
35
+ "@tsed/openspec": "^6.96.0",
36
+ "@tsed/schema": "^6.96.0"
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;
@@ -1,4 +0,0 @@
1
- export * from "./decorators/health";
2
- export * from "./decorators/shutdown";
3
- export * from "./interfaces";
4
- export * from "./TerminusModule";
@@ -1,2 +0,0 @@
1
- import { TerminusOptions } from "@godaddy/terminus";
2
- export declare type TerminusSettings = Omit<TerminusOptions, "healthChecks" | "onSignal" | "onSendFailureDuringShutdown" | "onShutdown" | "beforeShutdown" | "onSigterm">;
@@ -1,9 +0,0 @@
1
- import { TerminusSettings } from "./TerminusSettings";
2
- declare global {
3
- namespace TsED {
4
- interface Configuration {
5
- terminus: TerminusSettings;
6
- }
7
- }
8
- }
9
- export * from "./TerminusSettings";