More stuff
This commit is contained in:
Vendored
+29
-13
@@ -1,20 +1,36 @@
|
||||
"use strict";
|
||||
exports.__esModule = true;
|
||||
exports.SongType = exports.Song = void 0;
|
||||
var Song = /** @class */ (function () {
|
||||
function Song(type, title, url, image, length) {
|
||||
if (length === void 0) { length = null; }
|
||||
this.type = type;
|
||||
this.title = title;
|
||||
this.url = url;
|
||||
this.image = image;
|
||||
this.length = length;
|
||||
}
|
||||
return Song;
|
||||
}());
|
||||
exports.Song = Song;
|
||||
exports.Song = exports.QueuedSong = exports.SearchResult = 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) {
|
||||
this.type = type;
|
||||
this.songId = songId;
|
||||
this.title = title;
|
||||
this.position = position;
|
||||
}
|
||||
return Song;
|
||||
}());
|
||||
exports.Song = Song;
|
||||
|
||||
Reference in New Issue
Block a user