mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor(mobile): more repositories (#12879)
* ExifInfoRepository * ActivityApiRepository * initial AssetApiRepository
This commit is contained in:
parent
56f680ce04
commit
e0fa3cdbc7
20 changed files with 392 additions and 193 deletions
16
mobile/lib/interfaces/asset_api.interface.dart
Normal file
16
mobile/lib/interfaces/asset_api.interface.dart
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import 'package:immich_mobile/entities/asset.entity.dart';
|
||||
|
||||
abstract interface class IAssetApiRepository {
|
||||
// Future<Asset> get(String id);
|
||||
|
||||
// Future<List<Asset>> getAll();
|
||||
|
||||
// Future<Asset> create(Asset asset);
|
||||
|
||||
Future<Asset> update(
|
||||
String id, {
|
||||
String? description,
|
||||
});
|
||||
|
||||
// Future<void> delete(String id);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue