Add like_dislike field to SongData

This commit is contained in:
Ethan Girouard 2024-07-28 22:40:52 -04:00
parent d45f102be7
commit e5a6e8f44e
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146

View File

@ -26,6 +26,8 @@ pub struct SongData {
/// Path to song image, relative to the root of the web server. /// Path to song image, relative to the root of the web server.
/// For example, `"/assets/images/Song.jpg"` /// For example, `"/assets/images/Song.jpg"`
pub image_path: String, pub image_path: String,
/// Whether the song is liked by the user
pub like_dislike: Option<(bool, bool)>,
} }