pub(crate) mod db; pub mod worker; use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Job { pub id: String, pub job_type: String, pub status: String, pub input: serde_json::Value, pub progress: serde_json::Value, pub result: Option, pub error: Option, pub created_by: String, pub started_at: Option, pub completed_at: Option, pub created_at: String, pub inherit_auth: bool, }