refactor: clean up album and auth handlers by removing unused structs and imports

This commit is contained in:
2025-11-04 06:02:10 +01:00
parent eaf4c90fa8
commit 4f7b93a8b0
6 changed files with 83 additions and 89 deletions

View File

@@ -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,