forked from Cutlery/immich
		
	* compare different sha1 implementations * remove openssl sha1 * sync via checksum * hash assets in batches * hash in background, show spinner in tab * undo tmp changes * migrate by clearing assets * ignore duplicate assets * error handling * trigger sync/merge after download and update view * review feedback improvements * hash in background isolate on iOS * rework linking assets with existing from DB * fine-grained errors on unique index violation * hash lenth validation * revert compute in background on iOS * ignore duplicate assets on device * fix bug with batching based on accumulated size --------- Co-authored-by: Fynn Petersen-Frey <zoodyy@users.noreply.github.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			270 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			270 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:immich_mobile/shared/models/device_asset.dart';
 | |
| import 'package:isar/isar.dart';
 | |
| 
 | |
| part 'android_device_asset.g.dart';
 | |
| 
 | |
| @Collection()
 | |
| class AndroidDeviceAsset extends DeviceAsset {
 | |
|   AndroidDeviceAsset({required this.id, required super.hash});
 | |
|   Id id;
 | |
| }
 |