unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
15 lines • 854 B
TypeScript
import { type IAuditUser, type IUnleashConfig, type IUnleashStores } from '../../types/index.js';
import type { InactiveUserSchema } from '../../openapi/index.js';
import type { UserService } from '../../services/index.js';
export declare class InactiveUsersService {
private inactiveUsersStore;
private readonly logger;
private userService;
private readonly userInactivityThresholdInDays;
constructor({ inactiveUsersStore }: Pick<IUnleashStores, 'inactiveUsersStore'>, { getLogger, userInactivityThresholdInDays, }: Pick<IUnleashConfig, 'getLogger' | 'userInactivityThresholdInDays'>, services: {
userService: UserService;
});
getInactiveUsers(): Promise<InactiveUserSchema[]>;
deleteInactiveUsers(calledByUser: IAuditUser, userIds: number[]): Promise<void>;
}
//# sourceMappingURL=inactive-users-service.d.ts.map