mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 11:24:37 +02:00
202082f62e
* UserService * PartnerService * HashService * MemoryService * PersonService * SearchService * StackService
19 lines
400 B
Dart
19 lines
400 B
Dart
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);
|
|
|
|
Future<List<Asset>> search({List<String> personIds = const []});
|
|
}
|