unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
13 lines • 737 B
TypeScript
import type { Db } from '../../db/db.js';
import type { IFeatureLifecycleReadModel, StageCount, StageCountByProject } from './feature-lifecycle-read-model-type.js';
import type { IFeatureLifecycleStage, IProjectLifecycleStageDuration } from '../../types/index.js';
export declare class FeatureLifecycleReadModel implements IFeatureLifecycleReadModel {
private db;
constructor(db: Db);
getStageCount(): Promise<StageCount[]>;
getStageCountByProject(): Promise<StageCountByProject[]>;
findCurrentStage(feature: string): Promise<IFeatureLifecycleStage | undefined>;
private getAll;
getAllWithStageDuration(): Promise<IProjectLifecycleStageDuration[]>;
}
//# sourceMappingURL=feature-lifecycle-read-model.d.ts.map