UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

13 lines 765 B
import type { IFavoriteFeaturesStore } from '../../lib/types/index.js'; import type { IFavoriteFeatureKey } from '../../lib/types/stores/favorite-features.js'; import type { IFavoriteFeature } from '../../lib/types/favorites.js'; export default class FakeFavoriteFeaturesStore implements IFavoriteFeaturesStore { addFavoriteFeature(_favorite: IFavoriteFeatureKey): Promise<IFavoriteFeature | undefined>; delete(_key: IFavoriteFeatureKey): Promise<void>; deleteAll(): Promise<void>; destroy(): void; exists(_key: IFavoriteFeatureKey): Promise<boolean>; get(_key: IFavoriteFeatureKey): Promise<IFavoriteFeature | undefined>; getAll(_query?: Object): Promise<IFavoriteFeature[]>; } //# sourceMappingURL=fake-favorite-features-store.d.ts.map