feat: top genres report

This commit is contained in:
Julian Tölle 2021-10-26 20:09:52 +02:00
parent 62119d44b0
commit a0c28e2324
21 changed files with 317 additions and 104 deletions

View file

@ -0,0 +1,4 @@
export interface Genre {
id: string;
name: string;
}

View file

@ -0,0 +1,8 @@
import { Genre } from "./genre";
import { TopArtistsItem } from "./top-artists-item";
export interface TopGenresItem {
genre: Genre;
artists: TopArtistsItem[];
count: number;
}

View file

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