import { UserPropertiesKey } from '../UserProperties'; import { ILeaderboardReward } from './ILeaderboardReward'; export interface ILeaderboardConfig { id: string; enabled: boolean; tierProperty?: UserPropertiesKey; scoreProperty: UserPropertiesKey; rotationIntervalInMinutes?: number; rewards: ILeaderboardReward[]; lastRotationAt: Date; firstActionAt?: Date; onClickRedirect?: string; scoreLabel: string; createdAt: Date; updatedAt: Date; }