mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 09:59:00 -07:00
202082f62e
* UserService * PartnerService * HashService * MemoryService * PersonService * SearchService * StackService
14 lines
340 B
Dart
14 lines
340 B
Dart
import 'package:immich_mobile/entities/user.entity.dart';
|
|
|
|
abstract interface class IPartnerApiRepository {
|
|
Future<List<User>> getAll(Direction direction);
|
|
Future<User> create(String id);
|
|
Future<User> update(String id, {required bool inTimeline});
|
|
Future<void> delete(String id);
|
|
}
|
|
|
|
enum Direction {
|
|
sharedWithMe,
|
|
sharedByMe,
|
|
}
|