From b3d709d57101e64aff16ffa9f50869dba81cddea Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Fri, 14 Nov 2025 05:46:44 -0800 Subject: [PATCH] chore: mark subproject commits as dirty for library configuration; update documentation for device and capacity fields --- core/src/library/config.rs | 9 ++++++--- packages/interface | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) 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