Renaming to GetOtherPlaylists

This commit is contained in:
Thomas Viesmose Birch
2024-05-04 15:27:43 +02:00
parent 7e1136acad
commit 1b31aaf549
6 changed files with 35 additions and 16 deletions
+8 -3
View File
@@ -23,7 +23,7 @@ export type StuenMessages =
| Playlists
| GetPlaylist
| PlaylistSongs
| GetAllPlaylists
| GetOtherPlaylists
| ToggleTag
| Shuffle
| RemoveFromAutoPlay
@@ -161,12 +161,17 @@ export class PlaylistSongs extends StuenMessage {
}
}
export class GetAllPlaylists extends StuenMessage {
export class GetOtherPlaylists extends StuenMessage {
constructor() {
super('GetAllPlaylists');
super('GetOtherPlaylists');
}
}
export class OthersPlaylists extends StuenMessage {
constructor(public playlists: PlaylistDescription[]) {
super('OthersPlaylists');
}
}
export class AddSongToPlaylist extends StuenMessage {
constructor(public song: Song, public playlist: string) {
super('AddSongToPlaylist');