mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
e0fa3cdbc7
* ExifInfoRepository * ActivityApiRepository * initial AssetApiRepository
17 lines
428 B
Dart
17 lines
428 B
Dart
import 'package:immich_mobile/models/activities/activity.model.dart';
|
|
|
|
abstract interface class IActivityApiRepository {
|
|
Future<List<Activity>> getAll(
|
|
String albumId, {
|
|
String? assetId,
|
|
});
|
|
Future<Activity> create(
|
|
String albumId,
|
|
ActivityType type, {
|
|
String? assetId,
|
|
String? comment,
|
|
});
|
|
Future<void> delete(String id);
|
|
Future<ActivityStats> getStats(String albumId, {String? assetId});
|
|
}
|