feat: restore to custom location (#78)

* feat: restore to custom location

* refactor: define overwrite mode in shared schema
This commit is contained in:
Nico
2025-11-29 16:53:44 +01:00
committed by GitHub
parent 58708cf35d
commit 3bf3b22b96
8 changed files with 157 additions and 33 deletions

View File

@@ -105,3 +105,12 @@ export const REPOSITORY_STATUS = {
} as const;
export type RepositoryStatus = keyof typeof REPOSITORY_STATUS;
export const OVERWRITE_MODES = {
always: "always",
ifChanged: "if-changed",
ifNewer: "if-newer",
never: "never",
} as const;
export type OverwriteMode = (typeof OVERWRITE_MODES)[keyof typeof OVERWRITE_MODES];