tsk-62: Use QueuedSong and QueuedCoverArt to replace references to path of Song and CoverArt (#64)
All checks were successful
Rust Build / Check (push) Successful in 37s
Rust Build / Test Suite (push) Successful in 43s
Rust Build / Rustfmt (push) Successful in 37s
Rust Build / Clippy (push) Successful in 40s
Rust Build / build (push) Successful in 47s

Closes #62

Reviewed-on: #64
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit was merged in pull request #64.
This commit is contained in:
2025-10-22 17:42:00 +00:00
committed by phoenix
parent 106867e5ee
commit bd351b1157
6 changed files with 93 additions and 98 deletions

13
src/queued_item.rs Normal file
View File

@@ -0,0 +1,13 @@
#[derive(Clone, Debug, Default)]
pub struct QueuedSong {
pub id: uuid::Uuid,
pub song: icarus_models::song::Song,
pub path: String,
}
#[derive(Clone, Debug, Default)]
pub struct QueuedCoverArt {
pub id: uuid::Uuid,
pub coverart: icarus_models::coverart::CoverArt,
pub path: String,
}