unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
15 lines • 729 B
TypeScript
import type { IFeaturesReadModel } from '../types/features-read-model-type.js';
export declare class FakeFeaturesReadModel implements IFeaturesReadModel {
private existsValue;
private existsInProjectValue;
private sameProjectValue;
constructor({ featureExists, featureExistsInProject, featuresInTheSameProject, }?: {
featureExists?: boolean;
featureExistsInProject?: boolean;
featuresInTheSameProject?: boolean;
});
featureExists(): Promise<boolean>;
featureExistsInProject(_featureName: string, _projectId: string): Promise<boolean>;
featuresInTheSameProject(_featureA: string, _featureB: string): Promise<boolean>;
}
//# sourceMappingURL=fake-features-read-model.d.ts.map