mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05: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,
 | 
						|
  });
 | 
						|
}
 |