mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
29 lines
793 B
TypeScript
29 lines
793 B
TypeScript
import type {
|
|
IFeatureLifecycleReadModel,
|
|
StageCount,
|
|
StageCountByProject,
|
|
} from './feature-lifecycle-read-model-type.js';
|
|
import type {
|
|
IFeatureLifecycleStage,
|
|
IProjectLifecycleStageDuration,
|
|
} from '../../types/index.js';
|
|
|
|
export class FakeFeatureLifecycleReadModel
|
|
implements IFeatureLifecycleReadModel
|
|
{
|
|
getAllWithStageDuration(): Promise<IProjectLifecycleStageDuration[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
getStageCount(): Promise<StageCount[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
getStageCountByProject(): Promise<StageCountByProject[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
findCurrentStage(
|
|
feature: string,
|
|
): Promise<IFeatureLifecycleStage | undefined> {
|
|
return Promise.resolve(undefined);
|
|
}
|
|
}
|