mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
2
mobile/openapi/lib/api/activity_api.dart
generated
2
mobile/openapi/lib/api/activity_api.dart
generated
@@ -177,7 +177,7 @@ class ActivityApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<ActivityResponseDto>') as List)
|
||||
.cast<ActivityResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
6
mobile/openapi/lib/api/album_api.dart
generated
6
mobile/openapi/lib/api/album_api.dart
generated
@@ -73,7 +73,7 @@ class AlbumApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -379,7 +379,7 @@ class AlbumApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AlbumResponseDto>') as List)
|
||||
.cast<AlbumResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -434,7 +434,7 @@ class AlbumApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/api_key_api.dart
generated
2
mobile/openapi/lib/api/api_key_api.dart
generated
@@ -189,7 +189,7 @@ class APIKeyApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<APIKeyResponseDto>') as List)
|
||||
.cast<APIKeyResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
22
mobile/openapi/lib/api/asset_api.dart
generated
22
mobile/openapi/lib/api/asset_api.dart
generated
@@ -408,7 +408,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -464,7 +464,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<String>') as List)
|
||||
.cast<String>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -625,7 +625,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<String>') as List)
|
||||
.cast<String>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -797,7 +797,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<CuratedLocationsResponseDto>') as List)
|
||||
.cast<CuratedLocationsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -841,7 +841,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<CuratedObjectsResponseDto>') as List)
|
||||
.cast<CuratedObjectsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -971,7 +971,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<MapMarkerResponseDto>') as List)
|
||||
.cast<MapMarkerResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1028,7 +1028,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<MemoryLaneResponseDto>') as List)
|
||||
.cast<MemoryLaneResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1082,7 +1082,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1202,7 +1202,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1317,7 +1317,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<TimeBucketResponseDto>') as List)
|
||||
.cast<TimeBucketResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -1755,7 +1755,7 @@ class AssetApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/audit_api.dart
generated
2
mobile/openapi/lib/api/audit_api.dart
generated
@@ -201,7 +201,7 @@ class AuditApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<FileChecksumResponseDto>') as List)
|
||||
.cast<FileChecksumResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/authentication_api.dart
generated
2
mobile/openapi/lib/api/authentication_api.dart
generated
@@ -101,7 +101,7 @@ class AuthenticationApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AuthDeviceResponseDto>') as List)
|
||||
.cast<AuthDeviceResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/face_api.dart
generated
2
mobile/openapi/lib/api/face_api.dart
generated
@@ -62,7 +62,7 @@ class FaceApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetFaceResponseDto>') as List)
|
||||
.cast<AssetFaceResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/library_api.dart
generated
2
mobile/openapi/lib/api/library_api.dart
generated
@@ -141,7 +141,7 @@ class LibraryApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<LibraryResponseDto>') as List)
|
||||
.cast<LibraryResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/partner_api.dart
generated
2
mobile/openapi/lib/api/partner_api.dart
generated
@@ -110,7 +110,7 @@ class PartnerApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<PartnerResponseDto>') as List)
|
||||
.cast<PartnerResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
8
mobile/openapi/lib/api/person_api.dart
generated
8
mobile/openapi/lib/api/person_api.dart
generated
@@ -201,7 +201,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -352,7 +352,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -407,7 +407,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<PersonResponseDto>') as List)
|
||||
.cast<PersonResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -457,7 +457,7 @@ class PersonApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<BulkIdResponseDto>') as List)
|
||||
.cast<BulkIdResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
4
mobile/openapi/lib/api/search_api.dart
generated
4
mobile/openapi/lib/api/search_api.dart
generated
@@ -54,7 +54,7 @@ class SearchApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<SearchExploreResponseDto>') as List)
|
||||
.cast<SearchExploreResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -206,7 +206,7 @@ class SearchApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<PersonResponseDto>') as List)
|
||||
.cast<PersonResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
6
mobile/openapi/lib/api/shared_link_api.dart
generated
6
mobile/openapi/lib/api/shared_link_api.dart
generated
@@ -73,7 +73,7 @@ class SharedLinkApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -164,7 +164,7 @@ class SharedLinkApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<SharedLinkResponseDto>') as List)
|
||||
.cast<SharedLinkResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -380,7 +380,7 @@ class SharedLinkApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
8
mobile/openapi/lib/api/tag_api.dart
generated
8
mobile/openapi/lib/api/tag_api.dart
generated
@@ -141,7 +141,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<TagResponseDto>') as List)
|
||||
.cast<TagResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -192,7 +192,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetResponseDto>') as List)
|
||||
.cast<AssetResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -295,7 +295,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
@@ -350,7 +350,7 @@ class TagApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<AssetIdsResponseDto>') as List)
|
||||
.cast<AssetIdsResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
2
mobile/openapi/lib/api/user_api.dart
generated
2
mobile/openapi/lib/api/user_api.dart
generated
@@ -247,7 +247,7 @@ class UserApi {
|
||||
final responseBody = await _decodeBodyBytes(response);
|
||||
return (await apiClient.deserializeAsync(responseBody, 'List<UserResponseDto>') as List)
|
||||
.cast<UserResponseDto>()
|
||||
.toList();
|
||||
.toList(growable: false);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user