More stuff

This commit is contained in:
Torben Pi Jensen
2023-11-09 19:36:18 +01:00
parent 2da7f2f1c9
commit 6a3eb21439
5 changed files with 55 additions and 83 deletions
+3 -11
View File
@@ -2,22 +2,14 @@ export declare enum SongType {
YouTube = 0,
Spotify = 1
}
export declare class SearchResult {
export declare class Song {
type: SongType;
title: string;
songId: string;
image: string;
constructor(type: SongType, title: string, songId: string, image: string);
}
export declare class QueuedSong {
title: string;
image: string;
constructor(title: string, image: string);
}
export declare class Song {
type: SongType;
songId: string;
title: string;
export declare class PlayingSong extends Song {
position: number;
constructor(type: SongType, songId: string, title: string, position: number);
constructor(type: SongType, title: string, songId: string, image: string, position: number);
}