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 Future addAssetIds(int albumId, Iterable assetIds); /// Returns assets that are only part of the given album and nothing else Future> getAssetIdsOnlyInAlbum(int albumId); /// Returns the assets for the given [albumId] Future> getAssetsForAlbum(int albumId); /// Removes album with the given [albumId] Future deleteAlbumId(int albumId); /// Removes all album to asset mappings Future deleteAll(); }