More stuff

This commit is contained in:
Torben Pi Jensen
2023-11-09 22:12:28 +01:00
parent a11237f70d
commit 4d3834be1d
6 changed files with 36 additions and 14 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import {Song, PlayingSong} from "./dataTypes";
import {Song, PlayingSong, QueuedSong} from "./dataTypes";
export type StuenMessages = ListenerLeft | ListenerList | ListenerJoined | SendChatMessage | SearchSong | SearchSongResult | Join | QueueSong | CurrentQueue | CurrentSong | UnqueueSong | ReorderSong;
export abstract class StuenMessage {
@@ -62,7 +62,7 @@ export class QueueSong extends StuenMessage {
}
export class CurrentQueue extends StuenMessage {
constructor(public songs: Song[]) {
constructor(public songs: QueuedSong[]) {
super('CurrentQueue');
}
}