mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 18:08:48 -07:00
983473261b
* build(mobile): add riverpod_lint * refactor(mobile): riverpod_generator for providers * test(mobile): fix integration test helper * refactor: ApiService to riverpod codegen * refactor(mobile): return curatedcontent instead of people dto * refactor: person provider to asyncnotifier * mobile: update service providers to use lambda * mobile: update scaffoldbody default error icon * remove logger mixin --------- Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
8 lines
243 B
Dart
8 lines
243 B
Dart
import 'package:immich_mobile/shared/services/api.service.dart';
|
|
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|
|
|
part 'api.provider.g.dart';
|
|
|
|
@Riverpod(keepAlive: true)
|
|
ApiService apiService(ApiServiceRef ref) => ApiService();
|