More stuff

This commit is contained in:
Torben Pi Jensen
2023-11-09 19:30:55 +01:00
parent f8104ffbfe
commit 2da7f2f1c9
7 changed files with 165 additions and 53 deletions
+34 -1
View File
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
};
})();
exports.__esModule = true;
exports.CurrentQueue = exports.QueueSong = exports.SearchSongResult = exports.SearchSong = exports.ChatMessage = exports.SendChatMessage = exports.ListenerList = exports.ListenerLeft = exports.ListenerJoined = exports.Join = exports.StuenMessage = void 0;
exports.ReorderSong = exports.UnqueueSong = exports.CurrentSong = exports.CurrentQueue = exports.QueueSong = exports.SearchSongResult = exports.SearchSong = exports.ChatMessage = exports.SendChatMessage = exports.ListenerList = exports.ListenerLeft = exports.ListenerJoined = exports.Join = exports.StuenMessage = void 0;
var StuenMessage = /** @class */ (function () {
function StuenMessage(type) {
this.type = type;
@@ -124,3 +124,36 @@ var CurrentQueue = /** @class */ (function (_super) {
return CurrentQueue;
}(StuenMessage));
exports.CurrentQueue = CurrentQueue;
var CurrentSong = /** @class */ (function (_super) {
__extends(CurrentSong, _super);
function CurrentSong(song) {
var _this = _super.call(this, 'CurrentSong') || this;
_this.song = song;
return _this;
}
return CurrentSong;
}(StuenMessage));
exports.CurrentSong = CurrentSong;
var UnqueueSong = /** @class */ (function (_super) {
__extends(UnqueueSong, _super);
function UnqueueSong(position, all) {
if (all === void 0) { all = false; }
var _this = _super.call(this, 'UnqueueSong') || this;
_this.position = position;
_this.all = all;
return _this;
}
return UnqueueSong;
}(StuenMessage));
exports.UnqueueSong = UnqueueSong;
var ReorderSong = /** @class */ (function (_super) {
__extends(ReorderSong, _super);
function ReorderSong(positionToMove, placePosition) {
var _this = _super.call(this, 'ReorderSong') || this;
_this.positionToMove = positionToMove;
_this.placePosition = placePosition;
return _this;
}
return ReorderSong;
}(StuenMessage));
exports.ReorderSong = ReorderSong;