diff --git a/core/src/library/config.rs b/core/src/library/config.rs index ff7c9af38..51e980cc5 100644 --- a/core/src/library/config.rs +++ b/core/src/library/config.rs @@ -157,13 +157,16 @@ pub struct LibraryStatistics { /// Number of tags created pub tag_count: u32, - /// Number of devices in this library + /// Number of devices in this library (v2 field, defaults to 0 for old configs) + #[serde(default)] pub device_count: u32, - /// Total storage capacity across all volumes (in bytes) + /// Total storage capacity across all volumes in bytes (v2 field, defaults to 0 for old configs) + #[serde(default)] pub total_capacity: u64, - /// Available storage across all volumes (in bytes) + /// Available storage across all volumes in bytes (v2 field, defaults to 0 for old configs) + #[serde(default)] pub available_capacity: u64, /// Number of thumbnails generated diff --git a/packages/interface b/packages/interface index aba14c9ac..c55908ded 160000 --- a/packages/interface +++ b/packages/interface @@ -1 +1 @@ -Subproject commit aba14c9ac835f2a6458ed634bafadfd51a446be4 +Subproject commit c55908dedf0f30222cc394e998617b6b9cc6936f