2023-09-27 14:33:51 +02:00
|
|
|
import { IDependentFeaturesReadModel } from './dependent-features-read-model-type';
|
2023-09-27 15:07:20 +02:00
|
|
|
import { IDependency } from '../../types';
|
2023-09-27 14:33:51 +02:00
|
|
|
|
|
|
|
export class FakeDependentFeaturesReadModel
|
|
|
|
implements IDependentFeaturesReadModel
|
|
|
|
{
|
|
|
|
getChildren(): Promise<string[]> {
|
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
|
|
|
|
2023-09-27 15:07:20 +02:00
|
|
|
getParents(): Promise<IDependency[]> {
|
2023-09-27 14:33:51 +02:00
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
|
|
|
|
|
|
|
getParentOptions(): Promise<string[]> {
|
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
2023-10-04 12:16:52 +02:00
|
|
|
|
|
|
|
hasDependencies(): Promise<boolean> {
|
|
|
|
return Promise.resolve(false);
|
|
|
|
}
|
2023-10-06 13:39:16 +02:00
|
|
|
|
|
|
|
getOrphanParents(parentsAndChildren: string[]): Promise<string[]> {
|
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
2023-09-27 14:33:51 +02:00
|
|
|
}
|