mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
parent
78a2fa8569
commit
2e39243670
195 changed files with 1907 additions and 1545 deletions
6
mobile/openapi/lib/model/asset_ids_dto.dart
generated
6
mobile/openapi/lib/model/asset_ids_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class AssetIdsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetIdsDto &&
|
||||
other.assetIds == assetIds;
|
||||
_deepEquality.equals(other.assetIds, assetIds);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class AssetIdsDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return AssetIdsDto(
|
||||
assetIds: json[r'assetIds'] is List
|
||||
? (json[r'assetIds'] as List).cast<String>()
|
||||
assetIds: json[r'assetIds'] is Iterable
|
||||
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue