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

@ -19,11 +19,11 @@ export class Track {
name: string;
@ManyToOne((type) => Album, (album) => album.tracks)
album: Album;
album?: Album;
@ManyToMany((type) => Artist)
@JoinTable({ name: "track_artists" })
artists: Artist[];
artists?: Artist[];
@Column((type) => SpotifyLibraryDetails)
spotify?: SpotifyLibraryDetails;