summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-10 14:45:27 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-10 14:45:27 -0400
commit1e97e741ae89270801526234e3caaf5c7aacdca7 (patch)
tree7846986332a774ba706291bf0afc6eb321395c36 /src/api
parentd7115074060a3e9e682d511eae3c47a1c64042b8 (diff)
downloaddecky-lsfg-vk-1e97e741ae89270801526234e3caaf5c7aacdca7.tar.gz
decky-lsfg-vk-1e97e741ae89270801526234e3caaf5c7aacdca7.zip
fix: clean Flatpak state from uninstall API
Diffstat (limited to 'src/api')
-rw-r--r--src/api/lsfgApi.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/api/lsfgApi.ts b/src/api/lsfgApi.ts
index cf09ed0..12e284e 100644
--- a/src/api/lsfgApi.ts
+++ b/src/api/lsfgApi.ts
@@ -7,8 +7,17 @@ interface ApiResult {
error?: string | null;
}
+export interface FlatpakCleanupResult extends ApiResult {
+ removed_branches?: string[];
+ preserved_branches?: string[];
+ removed_filesystem_grants?: string[];
+ preserved_filesystem_grants?: string[];
+ ownership_uncertain?: boolean;
+}
+
export interface InstallationResult extends ApiResult {
removed_files?: string[];
+ flatpak_cleanup?: FlatpakCleanupResult;
}
export interface InstallationStatus {