Common stuff initial

This commit is contained in:
Torben Pi Jensen
2023-11-05 09:00:32 +01:00
parent e4ed7999de
commit 923c82f832
3 changed files with 85 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
export class Song {
public type: SongType
public title: string;
public url: string;
public image: string;
public length: number;
constructor(type: SongType, title: string, url: string, image: string, length: number) {
this.type = type;
this.title = title;
this.url = url;
this.image = image;
this.length = length;
}
}
export enum SongType {
YouTube,
Spotify
}