More stuff
This commit is contained in:
Vendored
+29
-22
@@ -1,36 +1,43 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
exports.__esModule = true;
|
||||
exports.Song = exports.QueuedSong = exports.SearchResult = exports.SongType = void 0;
|
||||
exports.PlayingSong = exports.Song = exports.SongType = void 0;
|
||||
var SongType;
|
||||
(function (SongType) {
|
||||
SongType[SongType["YouTube"] = 0] = "YouTube";
|
||||
SongType[SongType["Spotify"] = 1] = "Spotify";
|
||||
})(SongType = exports.SongType || (exports.SongType = {}));
|
||||
var SearchResult = /** @class */ (function () {
|
||||
function SearchResult(type, title, songId, image) {
|
||||
this.type = type;
|
||||
this.title = title;
|
||||
this.songId = songId;
|
||||
this.image = image;
|
||||
}
|
||||
return SearchResult;
|
||||
}());
|
||||
exports.SearchResult = SearchResult;
|
||||
var QueuedSong = /** @class */ (function () {
|
||||
function QueuedSong(title, image) {
|
||||
this.title = title;
|
||||
this.image = image;
|
||||
}
|
||||
return QueuedSong;
|
||||
}());
|
||||
exports.QueuedSong = QueuedSong;
|
||||
var Song = /** @class */ (function () {
|
||||
function Song(type, songId, title, position) {
|
||||
function Song(type, title, songId, image) {
|
||||
this.type = type;
|
||||
this.songId = songId;
|
||||
this.title = title;
|
||||
this.position = position;
|
||||
this.songId = songId;
|
||||
this.image = image;
|
||||
}
|
||||
return Song;
|
||||
}());
|
||||
exports.Song = Song;
|
||||
var PlayingSong = /** @class */ (function (_super) {
|
||||
__extends(PlayingSong, _super);
|
||||
function PlayingSong(type, title, songId, image, position) {
|
||||
var _this = _super.call(this, type, title, songId, image) || this;
|
||||
_this.position = position;
|
||||
return _this;
|
||||
}
|
||||
return PlayingSong;
|
||||
}(Song));
|
||||
exports.PlayingSong = PlayingSong;
|
||||
|
||||
Reference in New Issue
Block a user