feat: introduce new report "Top Albums"

This commit is contained in:
Julian Tölle 2020-11-15 02:43:23 +01:00
parent 09858076bf
commit 9896ea31ff
16 changed files with 246 additions and 9 deletions

View file

@ -1,7 +1,9 @@
import { Artist } from "./artist";
import { SpotifyInfo } from "./spotify-info";
export interface Album {
id: string;
name: string;
spotify?: SpotifyInfo;
artists?: Artist[];
}

View file

@ -0,0 +1,6 @@
import { Album } from "./album";
export interface TopAlbumsItem {
album: Album;
count: number;
}

View file

@ -0,0 +1,5 @@
import { TimeOptions } from "./time-options";
export interface TopAlbumsOptions {
time: TimeOptions;
}

View file

@ -1,4 +1,3 @@
import { TimePreset } from "./time-preset.enum";
import { TimeOptions } from "./time-options";
export interface TopArtistsOptions {