UNPKG

@texagon/nestjs-health

Version:

A comprehensive health monitoring package for NestJS applications with metrics and Kubernetes-ready health checks

9 lines (8 loc) 380 B
import { CanActivate, ExecutionContext } from "@nestjs/common"; import { Observable } from "rxjs"; import { HealthModuleOptions } from "./health.module"; export declare class HealthAuthGuard implements CanActivate { private options; constructor(options: HealthModuleOptions); canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>; }