20 lines
561 B
JavaScript
20 lines
561 B
JavaScript
"use strict";
|
|
exports.__esModule = true;
|
|
exports.SongType = exports.Song = void 0;
|
|
var Song = /** @class */ (function () {
|
|
function Song(type, title, url, image, length) {
|
|
this.type = type;
|
|
this.title = title;
|
|
this.url = url;
|
|
this.image = image;
|
|
this.length = length;
|
|
}
|
|
return Song;
|
|
}());
|
|
exports.Song = Song;
|
|
var SongType;
|
|
(function (SongType) {
|
|
SongType[SongType["YouTube"] = 0] = "YouTube";
|
|
SongType[SongType["Spotify"] = 1] = "Spotify";
|
|
})(SongType = exports.SongType || (exports.SongType = {}));
|