unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
14 lines • 791 B
TypeScript
import type { IUnleashStores } from '../types/stores.js';
import type { IUnleashConfig } from '../types/option.js';
import type { IFeatureType } from '../types/stores/feature-type-store.js';
import type EventService from '../features/events/event-service.js';
import { type IAuditUser } from '../types/index.js';
export default class FeatureTypeService {
private featureTypeStore;
private eventService;
private logger;
constructor({ featureTypeStore }: Pick<IUnleashStores, 'featureTypeStore'>, { getLogger }: Pick<IUnleashConfig, 'getLogger'>, eventService: EventService);
getAll(): Promise<IFeatureType[]>;
updateLifetime(id: string, newLifetimeDays: number | null, auditUser: IAuditUser): Promise<IFeatureType>;
}
//# sourceMappingURL=feature-type-service.d.ts.map