You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-06-16 03:40:33 +02:00
feat: adding photo & video storage space to server stats (#14125)
* expose detailed user storage stats + display them in the storage per user table * chore: openapi & sql * fix: fix test stubs * fix: formatting errors, e2e test and server test * fix: upper lower case typo in spec file --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@ -969,6 +969,8 @@ export type UsageByUserDto = {
|
||||
photos: number;
|
||||
quotaSizeInBytes: number | null;
|
||||
usage: number;
|
||||
usagePhotos: number;
|
||||
usageVideos: number;
|
||||
userId: string;
|
||||
userName: string;
|
||||
videos: number;
|
||||
@ -977,6 +979,8 @@ export type ServerStatsResponseDto = {
|
||||
photos: number;
|
||||
usage: number;
|
||||
usageByUser: UsageByUserDto[];
|
||||
usagePhotos: number;
|
||||
usageVideos: number;
|
||||
videos: number;
|
||||
};
|
||||
export type ServerStorageResponseDto = {
|
||||
|
Reference in New Issue
Block a user