feat(import-progress): track and expose Immich import progress

This change introduces a cross-language import progress API for Immich
imports and exposes a new query command to report live progress. A
new ImportProgress model captures active state, totals, and bytes
downloaded, allowing consuming code to display import status to users.

- Adds ImportProgress data type and progress tracking during import
- Exposes get_immich_import_progress command in Android and Rust
- Updates permissions and schemas to include allow-get-immich-import-progress
This commit is contained in:
2026-08-21 21:34:01 +02:00
parent 8e5a53ade8
commit 789b58398a
20 changed files with 218 additions and 21 deletions
@@ -20,6 +20,7 @@ Allow the LockScreenWallpaper app to manage its wallpaper collection
- `allow-get-immich-albums`
- `allow-get-immich-assets`
- `allow-import-immich-assets`
- `allow-get-immich-import-progress`
## Permission Table
@@ -267,6 +268,32 @@ Denies the get_immich_connection command without any pre-configured scope.
<tr>
<td>
`wallpaper:allow-get-immich-import-progress`
</td>
<td>
Enables the get_immich_import_progress command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`wallpaper:deny-get-immich-import-progress`
</td>
<td>
Denies the get_immich_import_progress command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`wallpaper:allow-get-state`
</td>