import 'package:immich_mobile/entities/user.entity.dart'; import 'package:immich_mobile/interfaces/database.interface.dart'; abstract interface class IUserRepository implements IDatabaseRepository { Future get(String id); Future> getByIds(List ids); Future> getAll({bool self = true, UserSort? sortBy}); /// Returns all users whose assets can be accessed (self+partners) Future> getAllAccessible(); Future> upsertAll(List users); Future update(User user); Future deleteById(List ids); Future me(); } enum UserSort { id }