mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Modify Album API endpoint to return a count attribute instead of a full assets array (#454)
* Change API to return assets count and change web behavior accordingly * Refactor assets.length * Explicitly declare type of assetCount so Dart SDK understand it * Finished refactoring on mobile
This commit is contained in:
parent
bd5ed1b684
commit
5c78f707fe
13 changed files with 107 additions and 91 deletions
|
|
@ -90,6 +90,12 @@ export interface AdminSignupResponseDto {
|
|||
* @interface AlbumResponseDto
|
||||
*/
|
||||
export interface AlbumResponseDto {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AlbumResponseDto
|
||||
*/
|
||||
'assetCount': number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue