common/dist/dataTypes.d.ts
Torben Pi Jensen 2da7f2f1c9 More stuff
2023-11-09 19:30:55 +01:00

24 lines
575 B
TypeScript

export declare enum SongType {
YouTube = 0,
Spotify = 1
}
export declare class SearchResult {
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;
position: number;
constructor(type: SongType, songId: string, title: string, position: number);
}