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

@ -8,7 +8,6 @@ import {
} from "typeorm";
import { SpotifyLibraryDetails } from "../sources/spotify/spotify-library-details.entity";
import { Artist } from "./artist.entity";
import { Genre } from "./genre.entity";
import { Track } from "./track.entity";
@Entity()
@ -26,9 +25,6 @@ export class Album {
@OneToMany(() => Track, (track) => track.album)
tracks?: Track[];
@ManyToMany(() => Genre)
genres?: Genre[];
@Column(() => SpotifyLibraryDetails)
spotify: SpotifyLibraryDetails;
}