feat: repositories snapshots frontend

This commit is contained in:
Nicolas Meienberger
2025-10-23 20:55:44 +02:00
parent cae8538b2e
commit f7718055eb
12 changed files with 402 additions and 72 deletions

View File

@@ -26,15 +26,15 @@ const backupOutputSchema = type({
});
const snapshotInfoSchema = type({
gid: "number",
gid: "number?",
hostname: "string",
id: "string",
parent: "string?",
paths: "string[]",
program_version: "string",
program_version: "string?",
short_id: "string",
time: "string",
uid: "number",
uid: "number?",
username: "string",
summary: type({
backup_end: "string",
@@ -51,7 +51,7 @@ const snapshotInfoSchema = type({
total_bytes_processed: "number",
total_files_processed: "number",
tree_blobs: "number",
}),
}).optional(),
});
const ensurePassfile = async () => {