Add plays, cutoff, tagfrequency messages
This commit is contained in:
Vendored
+14
-3
@@ -9,16 +9,22 @@ export declare class Song {
|
||||
image: string;
|
||||
tags: string[];
|
||||
inAutoPlay: boolean;
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], inAutoPlay: boolean);
|
||||
plays: number;
|
||||
cutOff: number | null;
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], inAutoPlay: boolean, plays: number, cutOff: number | null);
|
||||
}
|
||||
export declare class QueuedSong extends Song {
|
||||
listener: string;
|
||||
inAutoPlay: boolean;
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], listener: string, inAutoPlay: boolean);
|
||||
plays: number;
|
||||
cutOff: number | null;
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], listener: string, inAutoPlay: boolean, plays: number, cutOff: number | null);
|
||||
}
|
||||
export declare class PlayingSong extends QueuedSong {
|
||||
inAutoPlay: boolean;
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], listener: string, inAutoPlay: boolean);
|
||||
plays: number;
|
||||
cutOff: number | null;
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], listener: string, inAutoPlay: boolean, plays: number, cutOff: number | null);
|
||||
}
|
||||
export declare class PlayerControl {
|
||||
type: SongType;
|
||||
@@ -40,3 +46,8 @@ export declare class PlaylistDescription {
|
||||
type: SongType;
|
||||
constructor(title: string, listener: string, type: SongType);
|
||||
}
|
||||
export declare class TagFrequency {
|
||||
tag: string;
|
||||
frequency: number;
|
||||
constructor(tag: string, frequency: number);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user