hunk.code_window:       - immich-database-test
       networks:
         - immich-test-network
     immich-redis-test:
       container_name: immich-redis-test
       image: redis:6.2
       networks:
         - immich-test-network
     immich-database-test:
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:     image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
  
hunk.file_path: docker/docker-compose.test.yml
hunk.type: replace
file: import 'dart:typed_data';
  
  import 'package:photo_manager/photo_manager.dart';
  
  class AvailableAlbum {
    final AssetPathEntity albumEntity;
    final DateTime? lastBackup;
    final Uint8List? thumbnailData;
    AvailableAlbum({
      required this.albumEntity,
      this.lastBackup,
      this.thumbnailData,
    });
  
    AvailableAlbum copyWith({
      AssetPathEntity? albumEntity,
      DateTime? lastBackup,
      Uint8List? thumbnailData,
    }) {
      return AvailableAlbum(
        albumEntity: albumEntity ?? this.albumEntity,
        lastBackup: lastBackup ?? this.lastBackup,
        thumbnailData: thumbnailData ?? this.thumbnailData,
      );
    }
  
    String get name => albumEntity.name;
  
    Future<int> get assetCount => albumEntity.assetCountAsync;
  
    String get id => albumEntity.id;
  
    bool get isAll => albumEntity.isAll;
  
    @override
    String toString() =>
        'AvailableAlbum(albumEntity: $albumEntity, lastBackup: $lastBackup, thumbnailData: $thumbnailData)';
  
    @override
    bool operator ==(Object other) {
      if (identical(this, other)) return true;
  
      return other is AvailableAlbum && other.albumEntity == albumEntity;
    }
  
    @override
    int get hashCode => albumEntity.hashCode;
  }
  