feat: add functionality to remove media from album, including API integration and UI context menu
This commit is contained in:
@@ -59,6 +59,12 @@ pub trait AlbumService: Send + Sync {
|
||||
user_id: Uuid,
|
||||
) -> CoreResult<()>;
|
||||
async fn get_album_media(&self, album_id: Uuid, user_id: Uuid) -> CoreResult<Vec<Media>>;
|
||||
async fn remove_media_from_album(
|
||||
&self,
|
||||
album_id: Uuid,
|
||||
media_ids: &[Uuid],
|
||||
user_id: Uuid,
|
||||
) -> CoreResult<()>;
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
|
||||
Reference in New Issue
Block a user