mirror of
https://github.com/immich-app/immich.git
synced 2026-02-13 20:37:51 +03:00
15 lines
479 B
Dart
15 lines
479 B
Dart
import 'dart:async';
|
|
|
|
import 'package:immich_mobile/domain/models/device_asset_hash.model.dart';
|
|
|
|
abstract interface class IDeviceAssetToHashRepository {
|
|
/// Add a new device asset to hash entry
|
|
Future<bool> upsertAll(Iterable<DeviceAssetToHash> assetHash);
|
|
|
|
// Gets the asset with the local ID from the device
|
|
Future<List<DeviceAssetToHash>> getForIds(Iterable<String> localIds);
|
|
|
|
/// Removes assets with the given [ids]
|
|
Future<void> deleteIds(Iterable<int> ids);
|
|
}
|