summaryrefslogtreecommitdiff
path: root/src/api/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/index.ts')
-rw-r--r--src/api/index.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/index.ts b/src/api/index.ts
index 1cc3285..df52fee 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,3 +26,13 @@ export const getPathDefaults = callable<
[],
{ home: string; steam_common?: string }
>("get_path_defaults");
+
+export const runManualPatch = callable<
+ [string],
+ { status: string; message?: string; output?: string }
+>("manual_patch_directory");
+
+export const runManualUnpatch = callable<
+ [string],
+ { status: string; message?: string; output?: string }
+>("manual_unpatch_directory");