import 'dart:async'; import 'package:immich_mobile/domain/models/album.model.dart'; abstract interface class IAlbumRepository { /// Inserts a new album into the DB or updates if existing and returns the updated data FutureOr upsert(Album album); /// Fetch all albums FutureOr> getAll({bool localOnly, bool remoteOnly}); /// Removes album with the given [id] FutureOr deleteId(int id); }