summaryrefslogtreecommitdiff
path: root/src/api/lsfgApi.ts
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-10 12:58:44 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-10 12:58:44 -0400
commitde74f0d2499159ed1cf8f628a166302146ae1f13 (patch)
tree7f9d1c26d1815a09a85652d9869b74d3bf92386d /src/api/lsfgApi.ts
parent9902135e53be129bd6096d51d5e510ab298c1ae2 (diff)
downloaddecky-lsfg-vk-de74f0d2499159ed1cf8f628a166302146ae1f13.tar.gz
decky-lsfg-vk-de74f0d2499159ed1cf8f628a166302146ae1f13.zip
fix flatpak disable leftovers
Diffstat (limited to 'src/api/lsfgApi.ts')
-rw-r--r--src/api/lsfgApi.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/api/lsfgApi.ts b/src/api/lsfgApi.ts
index b96acec..567e1ae 100644
--- a/src/api/lsfgApi.ts
+++ b/src/api/lsfgApi.ts
@@ -105,6 +105,19 @@ export interface FileContentResult extends ApiResult {
path?: string;
}
+export interface DebugFileContent {
+ id: string;
+ label: string;
+ path: string;
+ exists: boolean;
+ content?: string | null;
+ error?: string | null;
+}
+
+export interface DebugFileContentsResult extends ApiResult {
+ files?: DebugFileContent[];
+}
+
export interface FlatpakExtensionStatus extends ApiResult {
message: string;
available: boolean;
@@ -143,3 +156,4 @@ export const setWorkaroundState = callable<[
TargetTransport | null | undefined,
], WorkaroundStateResult>("set_workaround_state");
export const removeWorkaroundState = callable<[string], WorkaroundStateResult>("remove_workaround_state");
+export const getDebugFileContents = callable<[], DebugFileContentsResult>("get_debug_file_contents");