test(mobile): store (#16243)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2025-02-21 20:40:42 +05:30 committed by GitHub
parent 5acf6868b7
commit 94c0e8253a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 399 additions and 14 deletions

View file

@ -1,6 +1,7 @@
import 'package:immich_mobile/domain/interfaces/db.interface.dart';
import 'package:immich_mobile/domain/models/store.model.dart';
abstract interface class IStoreRepository {
abstract interface class IStoreRepository implements IDatabaseRepository {
Future<bool> insert<T>(StoreKey<T> key, T value);
Future<T?> tryGet<T>(StoreKey<T> key);