mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
16 lines
450 B
Dart
16 lines
450 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);
|
||
|
|
}
|
||
|
|
}
|