mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-30 18:22:37 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			548 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			548 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:immich_mobile/entities/album.entity.dart';
 | |
| import 'package:immich_mobile/entities/asset.entity.dart';
 | |
| 
 | |
| abstract interface class IAlbumMediaRepository {
 | |
|   Future<List<Album>> getAll();
 | |
| 
 | |
|   Future<List<String>> getAssetIds(String albumId);
 | |
| 
 | |
|   Future<int> getAssetCount(String albumId);
 | |
| 
 | |
|   Future<List<Asset>> getAssets(
 | |
|     String albumId, {
 | |
|     int start = 0,
 | |
|     int end = 0x7fffffffffffffff,
 | |
|     DateTime? modifiedFrom,
 | |
|     DateTime? modifiedUntil,
 | |
|     bool orderByModificationDate = false,
 | |
|   });
 | |
| 
 | |
|   Future<Album> get(String id);
 | |
| }
 |