graphql-yoga
Version:
9 lines (8 loc) • 311 B
text/typescript
import type { YogaLogger } from '@graphql-yoga/logger';
import type { Plugin } from './types.cjs';
export interface HealthCheckPluginOptions {
id?: string;
logger?: YogaLogger;
endpoint?: string;
}
export declare function useHealthCheck({ id, logger, endpoint }?: HealthCheckPluginOptions): Plugin;