mirror of
https://github.com/immich-app/immich.git
synced 2025-08-11 09:16:31 -04:00
* show beta sync stats * show status next to jobs * use drift devtools reset database impl * dcm fixes * fix: hash count * styling --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
20 lines
517 B
Dart
20 lines
517 B
Dart
import 'package:immich_mobile/domain/models/memory.model.dart';
|
|
import 'package:immich_mobile/infrastructure/repositories/memory.repository.dart';
|
|
import 'package:logging/logging.dart';
|
|
|
|
class DriftMemoryService {
|
|
final log = Logger("DriftMemoryService");
|
|
|
|
final DriftMemoryRepository _repository;
|
|
|
|
DriftMemoryService(this._repository);
|
|
|
|
Future<List<DriftMemory>> getMemoryLane(String ownerId) {
|
|
return _repository.getAll(ownerId);
|
|
}
|
|
|
|
Future<int> getCount() {
|
|
return _repository.getCount();
|
|
}
|
|
}
|