unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
14 lines • 690 B
TypeScript
import type { Request, Response } from 'express';
import type { IUnleashConfig } from '../types/option.js';
import type { IUnleashServices } from '../services/index.js';
import type { Db } from '../db/db.js';
import Controller from './controller.js';
import type { ReadyCheckSchema } from '../openapi/spec/ready-check-schema.js';
export declare class ReadyCheckController extends Controller {
private logger;
private db?;
constructor(config: IUnleashConfig, { openApiService }: Pick<IUnleashServices, 'openApiService'>, db?: Db);
getReady(_: Request, res: Response<ReadyCheckSchema>): Promise<void>;
private runReadinessQuery;
}
//# sourceMappingURL=ready-check.d.ts.map