import 'dart:async'; import 'package:immich_mobile/domain/models/asset.model.dart'; abstract interface class IAlbumToAssetRepository { /// Link a list of assetIds to the given albumId FutureOr addAssetIds(int albumId, Iterable assetIds); /// Returns assets that are only part of the given album and nothing else FutureOr> getAssetIdsOnlyInAlbum(int albumId); /// Returns the assets for the given [albumId] FutureOr> getAssetsForAlbum(int albumId); /// Removes album with the given [albumId] FutureOr deleteAlbumId(int albumId); }