feat(mobile): people sync (#19777)

* feat(mobile): drift people sync

* merge main

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Daimolean
2025-07-18 22:21:39 +08:00
committed by GitHub
parent 2e63b9d951
commit 7bae49ebd5
30 changed files with 2197 additions and 63 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ class PersonService {
this._assetRepository,
);
Future<List<Person>> getAllPeople() async {
Future<List<PersonDto>> getAllPeople() async {
try {
return await _personApiRepository.getAll();
} catch (error, stack) {
@@ -48,7 +48,7 @@ class PersonService {
return [];
}
Future<Person?> updateName(String id, String name) async {
Future<PersonDto?> updateName(String id, String name) async {
try {
return await _personApiRepository.update(id, name: name);
} catch (error, stack) {