UNPKG

graphql-yoga

Version:
10 lines (9 loc) 378 B
import { YogaLogger } from '../logger.cjs'; import { Plugin } from './types.cjs'; export interface HealthCheckPluginOptions { id?: string; logger?: YogaLogger; healthCheckEndpoint?: string; readinessCheckEndpoint?: string; } export declare function useHealthCheck({ id, logger, healthCheckEndpoint, readinessCheckEndpoint, }?: HealthCheckPluginOptions): Plugin;