feat(models): albums and tracks carry the catalog's purchasable flag

Qobuz answers `purchasable` on every album and track object (captured in
the API samples); the models never read it. `Some(false)` is the catalog
saying a release is not sold, absence stays unknown. The exhaustive test
fixtures in qbz-core and qbz-playlist-import spell the field out.

cc
This commit is contained in:
vicrodh committed 2026-09-13 20:26:11 -06:00
1 parent 10fb9eba84
commit 22e064f340
3 files changed
+11

No files matched your search

@@ -393,6 +393,7 @@ mod tests {
fn qobuz_track(id: u64, title: &str, artist: &str) -> Track {
Track {
favorited_at: None,
purchasable: None,
id,
title: title.to_string(),
version: None,