mirror of
https://github.com/immich-app/immich.git
synced 2025-06-03 21:54:21 -04:00
* refactor: user entity * chore: rebase fixes * refactor(mobile): move user service to domain * fix: timeline not visible on album selection page --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
16 lines
389 B
Dart
16 lines
389 B
Dart
import 'dart:typed_data';
|
|
|
|
import 'package:immich_mobile/domain/models/user.model.dart';
|
|
|
|
abstract interface class IUserApiRepository {
|
|
Future<UserDto?> getMyUser();
|
|
|
|
Future<List<UserDto>> getAll();
|
|
|
|
/// Saves the [data] in the server and uses it as the current users profile image
|
|
Future<String> createProfileImage({
|
|
required String name,
|
|
required Uint8List data,
|
|
});
|
|
}
|