common/dist/dataTypes.js
2023-11-05 13:50:06 +01:00

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 = {}));