Added playlist

This commit is contained in:
Torben Pi Jensen
2024-02-03 14:42:42 +01:00
parent 829e9c599b
commit 04253f753a
6 changed files with 53 additions and 8 deletions
+9 -1
View File
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
};
})();
exports.__esModule = true;
exports.Playlist = exports.PlayingSong = exports.QueuedSong = exports.Song = exports.SongType = void 0;
exports.PlaylistDescription = exports.Playlist = exports.PlayingSong = exports.QueuedSong = exports.Song = exports.SongType = void 0;
var SongType;
(function (SongType) {
SongType[SongType["YouTube"] = 0] = "YouTube";
@@ -61,3 +61,11 @@ var Playlist = /** @class */ (function () {
return Playlist;
}());
exports.Playlist = Playlist;
var PlaylistDescription = /** @class */ (function () {
function PlaylistDescription(title, listener) {
this.title = title;
this.listener = listener;
}
return PlaylistDescription;
}());
exports.PlaylistDescription = PlaylistDescription;