remove wrapup video rendering (ffmpeg)
All checks were successful
CI / Check / Test (push) Successful in 15m34s

SPA handles wrapup visuals client-side; server-side
renderer was dead code pulling in ffmpeg + image crates.
This commit is contained in:
2026-06-09 00:36:44 +02:00
parent f4fd915e35
commit 30a6200b5b
31 changed files with 27 additions and 1585 deletions

View File

@@ -152,11 +152,13 @@ impl ImportProfileRepository for SqliteImportProfileRepository {
let ca: String = r.get("created_at");
Ok(ImportProfile {
id: ImportProfileId::from_uuid(
id_str.parse::<uuid::Uuid>()
id_str
.parse::<uuid::Uuid>()
.map_err(|e| DomainError::InfrastructureError(e.to_string()))?,
),
user_id: UserId::from_uuid(
uid_str.parse::<uuid::Uuid>()
uid_str
.parse::<uuid::Uuid>()
.map_err(|e| DomainError::InfrastructureError(e.to_string()))?,
),
name: r.get("name"),

View File

@@ -354,16 +354,14 @@ impl ImportSessionRepository for SqliteImportSessionRepository {
async fn update(&self, s: &ImportSession) -> Result<(), DomainError> {
let id = s.id.value().to_string();
let (_, field_mappings, row_results) = Self::serialize_session(s)?;
sqlx::query(
"UPDATE import_sessions SET field_mappings = ?, row_results = ? WHERE id = ?",
)
.bind(&field_mappings)
.bind(&row_results)
.bind(&id)
.execute(&self.pool)
.await
.map(|_| ())
.map_err(Self::map_err)
sqlx::query("UPDATE import_sessions SET field_mappings = ?, row_results = ? WHERE id = ?")
.bind(&field_mappings)
.bind(&row_results)
.bind(&id)
.execute(&self.pool)
.await
.map(|_| ())
.map_err(Self::map_err)
}
async fn delete(&self, id: &ImportSessionId) -> Result<(), DomainError> {
@@ -377,11 +375,10 @@ impl ImportSessionRepository for SqliteImportSessionRepository {
}
async fn delete_expired(&self) -> Result<u64, DomainError> {
let result =
sqlx::query("DELETE FROM import_sessions WHERE expires_at < datetime('now')")
.execute(&self.pool)
.await
.map_err(Self::map_err)?;
let result = sqlx::query("DELETE FROM import_sessions WHERE expires_at < datetime('now')")
.execute(&self.pool)
.await
.map_err(Self::map_err)?;
Ok(result.rows_affected())
}