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
+4 -2
View File
@@ -57,18 +57,20 @@ var PlayingSong = /** @class */ (function (_super) {
}(QueuedSong));
exports.PlayingSong = PlayingSong;
var Playlist = /** @class */ (function () {
function Playlist(title, listener, songs) {
function Playlist(title, listener, type, songs) {
this.title = title;
this.listener = listener;
this.type = type;
this.songs = songs;
}
return Playlist;
}());
exports.Playlist = Playlist;
var PlaylistDescription = /** @class */ (function () {
function PlaylistDescription(title, listener) {
function PlaylistDescription(title, listener, type) {
this.title = title;
this.listener = listener;
this.type = type;
}
return PlaylistDescription;
}());