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 Future upsert(Album album); /// Fetch all albums Future> getAll({bool localOnly, bool remoteOnly}); /// Removes album with the given [id] Future deleteId(int id); /// Removes all albums Future deleteAll(); }