@loopback/health 0.11.5 → 0.11.6
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/types.d.ts +4 -4
- package/package.json +10 -10
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Options for health component
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type HealthOptions = {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
healthPath: string;
|
|
7
7
|
readyPath: string;
|
|
@@ -11,13 +11,13 @@ export declare type HealthOptions = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Configuration for health component with optional properties
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type HealthConfig = Partial<HealthOptions>;
|
|
15
15
|
export declare const DEFAULT_HEALTH_OPTIONS: HealthOptions;
|
|
16
16
|
/**
|
|
17
17
|
* Functions for liveness check
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type LiveCheck = () => Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* Functions for readiness check
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type ReadyCheck = () => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/health",
|
|
3
3
|
"description": "An extension exposes health check related endpoints with LoopBack 4",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"LoopBack",
|
|
7
7
|
"Cloud Native",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"!*/__tests__"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@loopback/core": "^4.0.
|
|
42
|
-
"@loopback/rest": "^12.0.
|
|
41
|
+
"@loopback/core": "^4.0.6",
|
|
42
|
+
"@loopback/rest": "^12.0.6"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@cloudnative/health": "^2.1.2",
|
|
46
46
|
"tslib": "^2.4.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@loopback/build": "^9.0.
|
|
50
|
-
"@loopback/core": "^4.0.
|
|
51
|
-
"@loopback/eslint-config": "^13.0.
|
|
52
|
-
"@loopback/rest": "^12.0.
|
|
53
|
-
"@loopback/testlab": "^5.0.
|
|
54
|
-
"@types/node": "^14.18.
|
|
49
|
+
"@loopback/build": "^9.0.6",
|
|
50
|
+
"@loopback/core": "^4.0.6",
|
|
51
|
+
"@loopback/eslint-config": "^13.0.6",
|
|
52
|
+
"@loopback/rest": "^12.0.6",
|
|
53
|
+
"@loopback/testlab": "^5.0.6",
|
|
54
|
+
"@types/node": "^14.18.34"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "709a5ecd1ffddeb02262cecabf7b663c7b4d7e47"
|
|
57
57
|
}
|