mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 12:15:47 -04:00
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,
|
|
});
|
|
}
|