Added tags
This commit is contained in:
@@ -22,6 +22,7 @@ export type StuenMessages =
|
||||
| Playlists
|
||||
| GetPlaylist
|
||||
| PlaylistSongs
|
||||
| ToggleTag
|
||||
|
||||
export abstract class StuenMessage {
|
||||
constructor(public type: string) {
|
||||
@@ -161,3 +162,9 @@ export class RemoveSongFromPlaylist extends StuenMessage {
|
||||
super('RemoveSongFromPlaylist');
|
||||
}
|
||||
}
|
||||
|
||||
export class ToggleTag extends StuenMessage {
|
||||
constructor(public song: Song, public tag: string) {
|
||||
super('ToggleTag');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user