unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
14 lines • 826 B
TypeScript
import type { Request, Response } from 'express';
import Controller from '../../controller.js';
import type { IUnleashServices } from '../../../services/index.js';
import type { IUnleashConfig } from '../../../types/option.js';
import type { IProjectParam } from '../../../types/model.js';
import { type HealthReportSchema } from '../../../openapi/spec/health-report-schema.js';
export default class ProjectHealthReport extends Controller {
private projectHealthService;
private openApiService;
private logger;
constructor(config: IUnleashConfig, { projectHealthService, openApiService, }: Pick<IUnleashServices, 'projectHealthService' | 'openApiService'>);
getProjectHealthReport(req: Request<IProjectParam>, res: Response<HealthReportSchema>): Promise<void>;
}
//# sourceMappingURL=health-report.d.ts.map