feat: Implement media import functionality with repository and bundle support
This commit is contained in:
@@ -49,6 +49,7 @@ impl From<&str> for MediaMetadataSource {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Media {
|
||||
pub id: uuid::Uuid,
|
||||
pub owner_id: uuid::Uuid,
|
||||
@@ -148,7 +149,6 @@ pub struct AlbumShare {
|
||||
pub permission: AlbumPermission,
|
||||
}
|
||||
|
||||
|
||||
pub struct MediaBundle {
|
||||
pub media: Media,
|
||||
pub metadata: Vec<MediaMetadata>,
|
||||
@@ -188,4 +188,4 @@ pub struct PersonShare {
|
||||
pub person_id: uuid::Uuid,
|
||||
pub user_id: uuid::Uuid,
|
||||
pub permission: PersonPermission,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user