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 DownloadArchiveInfo {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is DownloadArchiveInfo &&
|
||||
_deepEquality.equals(other.assetIds, assetIds) &&
|
||||
other.size == size;
|
||||
other.assetIds == assetIds &&
|
||||
other.size == size;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -50,8 +50,8 @@ class DownloadArchiveInfo {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return DownloadArchiveInfo(
|
||||
assetIds: json[r'assetIds'] is Iterable
|
||||
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
assetIds: json[r'assetIds'] is List
|
||||
? (json[r'assetIds'] as List).cast<String>()
|
||||
: const [],
|
||||
size: mapValueOfType<int>(json, r'size')!,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue