Added remove playlist
This commit is contained in:
@@ -17,6 +17,7 @@ export type StuenMessages =
|
||||
| SongLikes
|
||||
| ToggleSongLike
|
||||
| CreatePlaylist
|
||||
| RemovePlaylist
|
||||
| AddSongToPlaylist
|
||||
| RemoveSongFromPlaylist
|
||||
| Playlists
|
||||
@@ -134,6 +135,11 @@ export class CreatePlaylist extends StuenMessage {
|
||||
super('CreatePlaylist');
|
||||
}
|
||||
}
|
||||
export class RemovePlaylist extends StuenMessage {
|
||||
constructor(public title: string) {
|
||||
super('RemovePlaylist');
|
||||
}
|
||||
}
|
||||
|
||||
export class Playlists extends StuenMessage {
|
||||
constructor(public playlists: PlaylistDescription[]) {
|
||||
|
||||
Reference in New Issue
Block a user