feat: Add thumbnail management for albums and people, implement face embedding functionality
This commit is contained in:
@@ -279,3 +279,13 @@ pub struct ServeFileQuery {
|
||||
#[serde(default)]
|
||||
pub strip: bool,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct SetThumbnailRequest {
|
||||
pub media_id: Uuid,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct SetPersonThumbnailRequest {
|
||||
pub face_region_id: Uuid,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user