Time-based metrics tracking daily, weekly, and monthly statistics

interface TimeBasedMetrics {
    date: string;
    listeningTimeMs: number;
    tracksPlayed: number;
    tracksSkipped: number;
    uniqueArtists: string[] | Set<string>;
    uniqueTracks: string[] | Set<string>;
}

Hierarchy (View Summary)

Properties

date: string

ISO date string when these metrics were recorded

listeningTimeMs: number

Total listening time in milliseconds

tracksPlayed: number

Number of tracks played

tracksSkipped: number

Number of tracks skipped

uniqueArtists: string[] | Set<string>

Number of unique artists listened to

uniqueTracks: string[] | Set<string>

Number of unique tracks listened to