This commit is contained in:
Torben Pi Jensen
2023-11-12 13:33:31 +01:00
parent 04011c61b8
commit e436719506
6 changed files with 45 additions and 6 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
import { Song, PlayingSong, QueuedSong } from "./dataTypes";
export declare type StuenMessages = ListenerLeft | ListenerList | ListenerJoined | SendChatMessage | SearchSong | SearchSongResult | Join | QueueSong | CurrentQueue | CurrentSong | UnqueueSong | ReorderSong;
export declare type StuenMessages = ListenerLeft | ListenerList | ListenerJoined | SendChatMessage | SearchSong | SearchSongResult | Join | QueueSong | CurrentQueue | CurrentSong | UnqueueSong | ReorderSong | SkipSong;
export declare abstract class StuenMessage {
type: string;
constructor(type: string);
@@ -59,3 +59,6 @@ export declare class ReorderSong extends StuenMessage {
placePosition: number;
constructor(positionToMove: number, placePosition: number);
}
export declare class SkipSong extends StuenMessage {
constructor();
}