UNPKG
ncrudify
Version:
latest (1.4.1)
1.4.1
1.4.0
1.3.1
1.3.0
1.2.6
1.2.5
1.2.4
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
Configurable CRUD module for NestJS and Mongoose.
github.com/mitinoh/crudify
mitinoh/crudify
ncrudify
/
health
/
health.controller.d.ts
12 lines
(11 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
Connection
}
from
"mongoose"
;
export
declare
class
HealthController
{
private
readonly
connection;
constructor
(
connection
:
Connection
);
checkHealth
(): {
status
:
string
;
database
:
string
;
timestamp
:
string
; };
private
getDatabaseStatus; }