ncrudify
Version:
Configurable CRUD module for NestJS and Mongoose.
22 lines (21 loc) • 471 B
TypeScript
export declare class HealthService {
checkDatabase(): Promise<{
database: string;
error?: undefined;
} | {
database: string;
error: any;
}>;
getHealthStatus(): Promise<{
status: string;
services: {
database: {
database: string;
error?: undefined;
} | {
database: string;
error: any;
};
};
}>;
}