UNPKG

unleash-server

Version:

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

13 lines 636 B
import type { IFeatureType, IFeatureTypeStore } from '../../lib/types/stores/feature-type-store.js'; 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>; updateLifetime(name: string, newLifetimeDays: number | null): Promise<IFeatureType | undefined>; } //# sourceMappingURL=fake-feature-type-store.d.ts.map