common/dist/dataTypes.d.ts
Torben Pi Jensen 6a3eb21439 More stuff
2023-11-09 19:36:18 +01:00

16 lines
422 B
TypeScript

export declare enum SongType {
YouTube = 0,
Spotify = 1
}
export declare class Song {
type: SongType;
title: string;
songId: string;
image: string;
constructor(type: SongType, title: string, songId: string, image: string);
}
export declare class PlayingSong extends Song {
position: number;
constructor(type: SongType, title: string, songId: string, image: string, position: number);
}