UNPKG

unleash-server

Version:

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

10 lines (9 loc) 431 B
import { IUnleashStores } from '../types/stores'; import { IUnleashConfig } from '../types/option'; import { IFeatureType } from '../types/stores/feature-type-store'; export default class FeatureTypeService { private featureTypeStore; private logger; constructor({ featureTypeStore }: Pick<IUnleashStores, 'featureTypeStore'>, { getLogger }: Pick<IUnleashConfig, 'getLogger'>); getAll(): Promise<IFeatureType[]>; }