Adding songtype to playlists

This commit is contained in:
Thomas Viesmose Birch
2024-05-04 17:31:58 +02:00
parent 58f972156e
commit 5211a4a976
3 changed files with 11 additions and 6 deletions
+3 -2
View File
@@ -23,10 +23,11 @@ export class PlayingSong extends QueuedSong {
}
export class Playlist {
constructor(public title: string, public listener: string, public songs: Song[]) {
constructor(public title: string, public listener: string, public type: SongType, public songs: Song[]) {
}
}
export class PlaylistDescription {
constructor(public title: string, public listener: string) {
constructor(public title: string, public listener: string, public type: SongType) {
}
}