common/dist/dataTypes.js
Torben Pi Jensen 2da7f2f1c9 More stuff
2023-11-09 19:30:55 +01:00

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;