refactor(mobile): more repositories (#12879)

* ExifInfoRepository
 * ActivityApiRepository
 * initial AssetApiRepository
This commit is contained in:
Fynn Petersen-Frey 2024-09-24 08:24:48 +02:00 committed by GitHub
parent 56f680ce04
commit e0fa3cdbc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 392 additions and 193 deletions

View 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);
}