Added playlist
This commit is contained in:
Vendored
+22
-2
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
};
|
||||
})();
|
||||
exports.__esModule = true;
|
||||
exports.RemoveSongFromPlaylist = exports.AddSongToPlaylist = exports.Playlists = exports.CreatePlaylist = exports.SongLikes = exports.ToggleSongLike = exports.SkipSong = exports.ReorderSong = exports.UnqueueSong = exports.CurrentSong = exports.CurrentQueue = exports.QueueSong = exports.SearchSongResult = exports.SearchSong = exports.ChatMessage = exports.SendChatMessage = exports.ListenerList = exports.ListenerLeft = exports.ListenerJoined = exports.Join = exports.StuenMessage = void 0;
|
||||
exports.RemoveSongFromPlaylist = exports.AddSongToPlaylist = exports.PlaylistSongs = exports.GetPlaylist = exports.Playlists = exports.CreatePlaylist = exports.SongLikes = exports.ToggleSongLike = exports.SkipSong = exports.ReorderSong = exports.UnqueueSong = exports.CurrentSong = exports.CurrentQueue = exports.QueueSong = exports.SearchSongResult = exports.SearchSong = exports.ChatMessage = exports.SendChatMessage = exports.ListenerList = exports.ListenerLeft = exports.ListenerJoined = exports.Join = exports.StuenMessage = void 0;
|
||||
var StuenMessage = /** @class */ (function () {
|
||||
function StuenMessage(type) {
|
||||
this.type = type;
|
||||
@@ -203,6 +203,26 @@ var Playlists = /** @class */ (function (_super) {
|
||||
return Playlists;
|
||||
}(StuenMessage));
|
||||
exports.Playlists = Playlists;
|
||||
var GetPlaylist = /** @class */ (function (_super) {
|
||||
__extends(GetPlaylist, _super);
|
||||
function GetPlaylist(playlist) {
|
||||
var _this = _super.call(this, 'GetPlaylist') || this;
|
||||
_this.playlist = playlist;
|
||||
return _this;
|
||||
}
|
||||
return GetPlaylist;
|
||||
}(StuenMessage));
|
||||
exports.GetPlaylist = GetPlaylist;
|
||||
var PlaylistSongs = /** @class */ (function (_super) {
|
||||
__extends(PlaylistSongs, _super);
|
||||
function PlaylistSongs(playlist) {
|
||||
var _this = _super.call(this, 'PlaylistSongs') || this;
|
||||
_this.playlist = playlist;
|
||||
return _this;
|
||||
}
|
||||
return PlaylistSongs;
|
||||
}(StuenMessage));
|
||||
exports.PlaylistSongs = PlaylistSongs;
|
||||
var AddSongToPlaylist = /** @class */ (function (_super) {
|
||||
__extends(AddSongToPlaylist, _super);
|
||||
function AddSongToPlaylist(song, playlist) {
|
||||
@@ -217,7 +237,7 @@ exports.AddSongToPlaylist = AddSongToPlaylist;
|
||||
var RemoveSongFromPlaylist = /** @class */ (function (_super) {
|
||||
__extends(RemoveSongFromPlaylist, _super);
|
||||
function RemoveSongFromPlaylist(song, playlist) {
|
||||
var _this = _super.call(this, 'RemoveSongToPlaylist') || this;
|
||||
var _this = _super.call(this, 'RemoveSongFromPlaylist') || this;
|
||||
_this.song = song;
|
||||
_this.playlist = playlist;
|
||||
return _this;
|
||||
|
||||
Reference in New Issue
Block a user