refactor: clean up album and auth handlers by removing unused structs and imports
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
use serde::Serialize;
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::models::AlbumPermission;
|
||||
|
||||
pub struct UploadMediaData<'a> {
|
||||
@@ -46,13 +43,6 @@ pub struct ShareAlbumData {
|
||||
pub permission: AlbumPermission,
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
pub struct UserResponse {
|
||||
pub id: Uuid,
|
||||
pub username: String,
|
||||
pub email: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum SortOrder {
|
||||
Asc,
|
||||
|
||||
Reference in New Issue
Block a user