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:
Alex
2022-08-10 22:48:25 -05:00
committed by GitHub
parent bd5ed1b684
commit 5c78f707fe
13 changed files with 107 additions and 91 deletions

View File

@@ -8,6 +8,7 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assetCount** | **int** | |
**id** | **String** | |
**ownerId** | **String** | |
**albumName** | **String** | |