feat: implement movie listing functionality with pagination and search
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use chrono::NaiveDateTime;
|
||||
use domain::models::{ExportFormat, FieldMapping, FileFormat, UserRole};
|
||||
use domain::models::{FieldMapping, FileFormat, UserRole};
|
||||
use uuid::Uuid;
|
||||
|
||||
pub struct LogReviewCommand {
|
||||
@@ -21,11 +21,6 @@ pub struct SyncPosterCommand {
|
||||
pub external_metadata_id: String,
|
||||
}
|
||||
|
||||
pub struct LoginCommand {
|
||||
pub email: String,
|
||||
pub password: String,
|
||||
}
|
||||
|
||||
pub struct RegisterCommand {
|
||||
pub email: String,
|
||||
pub username: String,
|
||||
@@ -38,11 +33,6 @@ pub struct DeleteReviewCommand {
|
||||
pub requesting_user_id: Uuid,
|
||||
}
|
||||
|
||||
pub struct ExportCommand {
|
||||
pub user_id: Uuid,
|
||||
pub format: ExportFormat,
|
||||
}
|
||||
|
||||
// FileFormat is now in domain::models — no longer defined here
|
||||
|
||||
pub struct CreateImportSessionCommand {
|
||||
@@ -79,3 +69,10 @@ pub struct DeleteImportProfileCommand {
|
||||
pub user_id: Uuid,
|
||||
pub profile_id: Uuid,
|
||||
}
|
||||
|
||||
pub struct UpdateProfileCommand {
|
||||
pub user_id: Uuid,
|
||||
pub bio: Option<String>,
|
||||
pub avatar_bytes: Option<Vec<u8>>,
|
||||
pub avatar_content_type: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user