UNPKG

unleash-server

Version:

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

12 lines (11 loc) 474 B
import { IFeatureType, IFeatureTypeStore } from '../../lib/types/stores/feature-type-store'; export default class FakeFeatureTypeStore implements IFeatureTypeStore { featureTypes: IFeatureType[]; delete(key: string): Promise<void>; deleteAll(): Promise<void>; destroy(): void; exists(key: string): Promise<boolean>; get(key: string): Promise<IFeatureType>; getAll(): Promise<IFeatureType[]>; getByName(name: string): Promise<IFeatureType>; }