unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
13 lines • 939 B
TypeScript
import { type IAuthRequest, type IUnleashConfig, type IUnleashStores } from '../../types/index.js';
import type { IUnleashServices } from '../../services/index.js';
import Controller from '../../routes/controller.js';
import type { Response } from 'express';
import { type FeatureLifecycleCountSchema } from '../../openapi/spec/feature-lifecycle-count-schema.js';
export default class FeatureLifecycleCountController extends Controller {
private featureLifecycleReadModel;
private openApiService;
private privateProjectChecker;
constructor(config: IUnleashConfig, { openApiService, privateProjectChecker, }: Pick<IUnleashServices, 'openApiService' | 'privateProjectChecker'>, { featureLifecycleReadModel, }: Pick<IUnleashStores, 'featureLifecycleReadModel'>);
getStageCount(req: IAuthRequest, res: Response<FeatureLifecycleCountSchema>): Promise<void>;
}
//# sourceMappingURL=feature-lifecycle-count-controller.d.ts.map