immich/mobile/lib/infrastructure/entities
Peter Ombodi 8ed81ac3e1
feat(mobile): do not restore locally deleted assets during trash sync (Android) (#24218)
* feat(trash_sync): do not restore assets deleted locally only
small fixes

* feat(trash_sync): revert tag name

* feat(trash_sync): resolve merge conflicts

* refactor(trash_sync): consolidate local asset deletion logic

* feat(mobile): Add TrashOrigin enum
Replace isRestorable to sourse
change related logic in repo

* feat(mobile): fix format

* fix(mobile): fix restoration scope

* fix(mobile): Add coverage for ActionService deleteLocal paths
Update LocalSyncService tests
Set default value for source column

* fix(mobile): db - require trash origin and update drift schema

---------

Co-authored-by: Peter Ombodi <peter.ombodi@gmail.com>
2026-01-12 21:46:36 +05:30
..
asset_face.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
asset_face.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
auth_user.entity.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
auth_user.entity.drift.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
device_asset.entity.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
device_asset.entity.g.dart chore: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
exif.entity.dart fix: exposure info and better readability (#24344) 2025-12-03 20:19:45 +00:00
exif.entity.drift.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
exif.entity.g.dart chore: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
local_album.entity.dart fix: propagate iCloud Shared Album flag (#25060) 2026-01-06 19:46:25 -06:00
local_album.entity.drift.dart feat: album info sync (#21103) 2025-09-04 18:44:10 +00:00
local_album_asset.entity.dart fix: sqlite parameters limit (#22119) 2025-09-19 09:47:56 -04:00
local_album_asset.entity.drift.dart fix: sqlite parameters limit (#22119) 2025-09-19 09:47:56 -04:00
local_asset.entity.dart fix: use adjustment time in iOS for hash reset (#24047) 2025-12-03 21:15:58 -06:00
local_asset.entity.drift.dart fix: use adjustment time in iOS for hash reset (#24047) 2025-12-03 21:15:58 -06:00
log.entity.dart feat: use sqlite for logging (#20414) 2025-08-06 10:49:29 -05:00
log.entity.drift.dart feat: use sqlite for logging (#20414) 2025-08-06 10:49:29 -05:00
memory.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
memory.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
memory_asset.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
memory_asset.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
merged_asset.drift fix: exclude assets from excluded albumbs on main timeline (#20425) 2025-07-30 10:16:23 -05:00
merged_asset.drift.dart fix: exclude assets from excluded albumbs on main timeline (#20425) 2025-07-30 10:16:23 -05:00
partner.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
partner.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
person.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
person.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_album.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
remote_album.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_album_asset.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
remote_album_asset.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_album_user.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
remote_album_user.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_asset.entity.dart fix(mobile): load local thumbnails in album timeline (#22329) 2025-09-26 00:38:19 +05:30
remote_asset.entity.drift.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
stack.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
stack.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
store.entity.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
store.entity.drift.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
store.entity.g.dart chore: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
trashed_local_asset.entity.dart feat(mobile): do not restore locally deleted assets during trash sync (Android) (#24218) 2026-01-12 21:46:36 +05:30
trashed_local_asset.entity.drift.dart feat(mobile): do not restore locally deleted assets during trash sync (Android) (#24218) 2026-01-12 21:46:36 +05:30
user.entity.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
user.entity.drift.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
user.entity.g.dart chore: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
user_metadata.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
user_metadata.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00