mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
27 lines
676 B
TypeScript
27 lines
676 B
TypeScript
import { IDependentFeaturesReadModel } from './dependent-features-read-model-type';
|
|
import { IDependency } from '../../types';
|
|
|
|
export class FakeDependentFeaturesReadModel
|
|
implements IDependentFeaturesReadModel
|
|
{
|
|
getChildren(): Promise<string[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
|
|
getParents(): Promise<IDependency[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
|
|
getParentOptions(): Promise<string[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
|
|
hasDependencies(): Promise<boolean> {
|
|
return Promise.resolve(false);
|
|
}
|
|
|
|
getOrphanParents(parentsAndChildren: string[]): Promise<string[]> {
|
|
return Promise.resolve([]);
|
|
}
|
|
}
|