mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(server): pin openapi genreator patch and regenerate api (#3573)
* fix(server): pin openapi genreator patch and regenerate api * variable
This commit is contained in:
parent
3edb347666
commit
13df619ba9
102 changed files with 1145 additions and 812 deletions
14
mobile/openapi/lib/model/people_response_dto.dart
generated
14
mobile/openapi/lib/model/people_response_dto.dart
generated
|
|
@ -20,15 +20,15 @@ class PeopleResponseDto {
|
|||
|
||||
List<PersonResponseDto> people;
|
||||
|
||||
num total;
|
||||
int total;
|
||||
|
||||
num visible;
|
||||
int visible;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PeopleResponseDto &&
|
||||
_deepEquality.equals(other.people, people) &&
|
||||
other.total == total &&
|
||||
other.visible == visible;
|
||||
other.people == people &&
|
||||
other.total == total &&
|
||||
other.visible == visible;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -57,8 +57,8 @@ class PeopleResponseDto {
|
|||
|
||||
return PeopleResponseDto(
|
||||
people: PersonResponseDto.listFromJson(json[r'people']),
|
||||
total: num.parse('${json[r'total']}'),
|
||||
visible: num.parse('${json[r'visible']}'),
|
||||
total: mapValueOfType<int>(json, r'total')!,
|
||||
visible: mapValueOfType<int>(json, r'visible')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue