unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
15 lines • 630 B
TypeScript
import type { IFeatureLifecycleStage, IProjectLifecycleStageDuration, StageName } from '../../types/index.js';
export type StageCount = {
stage: StageName;
count: number;
};
export type StageCountByProject = StageCount & {
project: string;
};
export interface IFeatureLifecycleReadModel {
findCurrentStage(feature: string): Promise<IFeatureLifecycleStage | undefined>;
getStageCount(): Promise<StageCount[]>;
getStageCountByProject(): Promise<StageCountByProject[]>;
getAllWithStageDuration(): Promise<IProjectLifecycleStageDuration[]>;
}
//# sourceMappingURL=feature-lifecycle-read-model-type.d.ts.map