37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
"use strict";
|
|
exports.__esModule = true;
|
|
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;
|