feat: add offline library statistics

This commit is contained in:
Jonathan Jogenfors
2026-02-20 23:40:23 +01:00
parent dc4da4b3d6
commit 016c338877
14 changed files with 181 additions and 37 deletions

View File

@@ -18288,6 +18288,11 @@
},
"LibraryStatsResponseDto": {
"properties": {
"offline": {
"default": 0,
"description": "Number of offline assets",
"type": "integer"
},
"photos": {
"default": 0,
"description": "Number of photos",
@@ -18311,6 +18316,7 @@
}
},
"required": [
"offline",
"photos",
"total",
"usage",

View File

@@ -1321,6 +1321,8 @@ export type UpdateLibraryDto = {
name?: string;
};
export type LibraryStatsResponseDto = {
/** Number of offline assets */
offline: number;
/** Number of photos */
photos: number;
/** Total number of assets */