Added playlist
This commit is contained in:
Vendored
+43
-1
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
};
|
||||
})();
|
||||
exports.__esModule = true;
|
||||
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.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;
|
||||
@@ -183,3 +183,45 @@ var SongLikes = /** @class */ (function (_super) {
|
||||
return SongLikes;
|
||||
}(StuenMessage));
|
||||
exports.SongLikes = SongLikes;
|
||||
var CreatePlaylist = /** @class */ (function (_super) {
|
||||
__extends(CreatePlaylist, _super);
|
||||
function CreatePlaylist(title) {
|
||||
var _this = _super.call(this, 'CreatePlaylist') || this;
|
||||
_this.title = title;
|
||||
return _this;
|
||||
}
|
||||
return CreatePlaylist;
|
||||
}(StuenMessage));
|
||||
exports.CreatePlaylist = CreatePlaylist;
|
||||
var Playlists = /** @class */ (function (_super) {
|
||||
__extends(Playlists, _super);
|
||||
function Playlists(playlists) {
|
||||
var _this = _super.call(this, 'Playlists') || this;
|
||||
_this.playlists = playlists;
|
||||
return _this;
|
||||
}
|
||||
return Playlists;
|
||||
}(StuenMessage));
|
||||
exports.Playlists = Playlists;
|
||||
var AddSongToPlaylist = /** @class */ (function (_super) {
|
||||
__extends(AddSongToPlaylist, _super);
|
||||
function AddSongToPlaylist(song, playlist) {
|
||||
var _this = _super.call(this, 'AddSongToPlaylist') || this;
|
||||
_this.song = song;
|
||||
_this.playlist = playlist;
|
||||
return _this;
|
||||
}
|
||||
return AddSongToPlaylist;
|
||||
}(StuenMessage));
|
||||
exports.AddSongToPlaylist = AddSongToPlaylist;
|
||||
var RemoveSongFromPlaylist = /** @class */ (function (_super) {
|
||||
__extends(RemoveSongFromPlaylist, _super);
|
||||
function RemoveSongFromPlaylist(song, playlist) {
|
||||
var _this = _super.call(this, 'RemoveSongToPlaylist') || this;
|
||||
_this.song = song;
|
||||
_this.playlist = playlist;
|
||||
return _this;
|
||||
}
|
||||
return RemoveSongFromPlaylist;
|
||||
}(StuenMessage));
|
||||
exports.RemoveSongFromPlaylist = RemoveSongFromPlaylist;
|
||||
|
||||
Reference in New Issue
Block a user