feat(frontend): restore whole snapshot

This commit is contained in:
Nicolas Meienberger
2025-10-31 21:52:54 +01:00
parent c7db88fb56
commit ee79fce2aa
8 changed files with 203 additions and 24 deletions

View File

@@ -219,7 +219,6 @@ export const listSnapshotFilesDto = describeRoute({
*/
export const restoreSnapshotBody = type({
snapshotId: "string",
targetPath: "string",
path: "string?",
include: "string[]?",
exclude: "string[]?",
@@ -231,8 +230,7 @@ export const restoreSnapshotResponse = type({
success: "boolean",
message: "string",
filesRestored: "number",
filesUpdated: "number",
totalBytes: "number",
filesSkipped: "number",
});
export type RestoreSnapshotDto = typeof restoreSnapshotResponse.infer;