unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
13 lines • 711 B
TypeScript
import type { IUnleashStores } from '../types/stores.js';
import type { IUnleashConfig } from '../types/option.js';
import type { IUser } from '../types/user.js';
import type { IUserSplash } from '../types/stores/user-splash-store.js';
export default class UserSplashService {
private userSplashStore;
private logger;
constructor({ userSplashStore }: Pick<IUnleashStores, 'userSplashStore'>, { getLogger }: Pick<IUnleashConfig, 'getLogger'>);
getAllUserSplashes(user: IUser): Promise<Record<string, boolean>>;
getSplash(user_id: number, splash_id: string): Promise<IUserSplash>;
updateSplash(splash: IUserSplash): Promise<IUserSplash>;
}
//# sourceMappingURL=user-splash-service.d.ts.map