mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +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
|
|
@ -23,8 +23,8 @@ class SmartInfoResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is SmartInfoResponseDto &&
|
||||
_deepEquality.equals(other.objects, objects) &&
|
||||
_deepEquality.equals(other.tags, tags);
|
||||
other.objects == objects &&
|
||||
other.tags == tags;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -58,11 +58,11 @@ class SmartInfoResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return SmartInfoResponseDto(
|
||||
objects: json[r'objects'] is Iterable
|
||||
? (json[r'objects'] as Iterable).cast<String>().toList(growable: false)
|
||||
objects: json[r'objects'] is List
|
||||
? (json[r'objects'] as List).cast<String>()
|
||||
: const [],
|
||||
tags: json[r'tags'] is Iterable
|
||||
? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
|
||||
tags: json[r'tags'] is List
|
||||
? (json[r'tags'] as List).cast<String>()
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue