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