More stuff
This commit is contained in:
Vendored
+14
-4
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
||||
};
|
||||
})();
|
||||
exports.__esModule = true;
|
||||
exports.PlayingSong = exports.Song = exports.SongType = void 0;
|
||||
exports.PlayingSong = exports.QueuedSong = exports.Song = exports.SongType = void 0;
|
||||
var SongType;
|
||||
(function (SongType) {
|
||||
SongType[SongType["YouTube"] = 0] = "YouTube";
|
||||
@@ -31,14 +31,24 @@ var Song = /** @class */ (function () {
|
||||
return Song;
|
||||
}());
|
||||
exports.Song = Song;
|
||||
var QueuedSong = /** @class */ (function (_super) {
|
||||
__extends(QueuedSong, _super);
|
||||
function QueuedSong(type, title, songId, image, listener) {
|
||||
var _this = _super.call(this, type, title, songId, image) || this;
|
||||
_this.listener = listener;
|
||||
return _this;
|
||||
}
|
||||
return QueuedSong;
|
||||
}(Song));
|
||||
exports.QueuedSong = QueuedSong;
|
||||
var PlayingSong = /** @class */ (function (_super) {
|
||||
__extends(PlayingSong, _super);
|
||||
function PlayingSong(type, title, songId, image, length, position) {
|
||||
var _this = _super.call(this, type, title, songId, image) || this;
|
||||
function PlayingSong(type, title, songId, image, listener, length, position) {
|
||||
var _this = _super.call(this, type, title, songId, image, listener) || this;
|
||||
_this.length = length;
|
||||
_this.position = position;
|
||||
return _this;
|
||||
}
|
||||
return PlayingSong;
|
||||
}(Song));
|
||||
}(QueuedSong));
|
||||
exports.PlayingSong = PlayingSong;
|
||||
|
||||
Reference in New Issue
Block a user