UNPKG

@trophyso/node

Version:
21 lines (20 loc) 841 B
import type * as TrophyApi from "../index"; /** * The user's activity summary for the wrapped year. */ export interface WrappedActivity { /** The number of days the user was active during the year. */ daysActive: number; /** The number of weeks the user was active during the year. */ weeksActive: number; /** The number of months the user was active during the year. */ monthsActive: number; /** Data about the user's most active day. */ mostActiveDay: TrophyApi.WrappedMostActiveDay; /** Data about the user's most active week. */ mostActiveWeek: TrophyApi.WrappedMostActiveWeek; /** Data about the user's most active month. */ mostActiveMonth: TrophyApi.WrappedMostActiveMonth; /** Data about the user's activity for the entire year. */ entireYear: TrophyApi.WrappedEntireYear; }