mirror of
https://github.com/immich-app/immich.git
synced 2025-06-23 15:30:51 -04:00
11 lines
407 B
Dart
11 lines
407 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/infrastructure/repositories/db.repository.dart';
|
|
import 'package:isar/isar.dart';
|
|
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|
|
|
// overwritten in main.dart due to async loading
|
|
final dbProvider = Provider<Isar>((_) => throw UnimplementedError());
|
|
|
|
@Riverpod(keepAlive: true)
|
|
Drift drift(Ref _) => Drift();
|