* chore(mobile): static Store to unify and streamline reactivity * Add tests of caching and new stores * Don't instantiate PeopleDbRepository * Slight DB rename and fix throwing store methods
10 lines
322 B
Dart
10 lines
322 B
Dart
import 'package:immich_mobile/data/store/activity.dart';
|
|
import 'package:immich_mobile/data/store/person.dart';
|
|
|
|
/// Global data layer, providing access to Drift and HTTP APIs, scoped by entity
|
|
abstract final class Store {
|
|
static final people = PersonStore.instance;
|
|
|
|
static final activity = ActivityStore.instance;
|
|
}
|