From 79b7733e1e26d80834f77585a587927b9f3360a7 Mon Sep 17 00:00:00 2001 From: DerPenz Date: Tue, 7 Apr 2026 21:01:32 +0200 Subject: [PATCH] fix(backup): updated types gen --- app/client/api-client/types.gen.ts | 10 ++++++++++ app/server/modules/backups/backups.dto.ts | 2 ++ 2 files changed, 12 insertions(+) diff --git a/app/client/api-client/types.gen.ts b/app/client/api-client/types.gen.ts index b9aa2748..6b92a662 100644 --- a/app/client/api-client/types.gen.ts +++ b/app/client/api-client/types.gen.ts @@ -2434,6 +2434,8 @@ export type ListBackupSchedulesResponses = { includePatterns: Array | null; oneFileSystem: boolean; customResticParams: Array | null; + maxRetries: number; + retryDelay: number; lastBackupAt: number | null; lastBackupStatus: 'success' | 'error' | 'in_progress' | 'warning' | null; lastBackupError: string | null; @@ -2743,6 +2745,8 @@ export type CreateBackupScheduleResponses = { includePatterns: Array | null; oneFileSystem: boolean; customResticParams: Array | null; + maxRetries: number; + retryDelay: number; lastBackupAt: number | null; lastBackupStatus: 'success' | 'error' | 'in_progress' | 'warning' | null; lastBackupError: string | null; @@ -2810,6 +2814,8 @@ export type GetBackupScheduleResponses = { includePatterns: Array | null; oneFileSystem: boolean; customResticParams: Array | null; + maxRetries: number; + retryDelay: number; lastBackupAt: number | null; lastBackupStatus: 'success' | 'error' | 'in_progress' | 'warning' | null; lastBackupError: string | null; @@ -3120,6 +3126,8 @@ export type UpdateBackupScheduleResponses = { includePatterns: Array | null; oneFileSystem: boolean; customResticParams: Array | null; + maxRetries: number; + retryDelay: number; lastBackupAt: number | null; lastBackupStatus: 'success' | 'error' | 'in_progress' | 'warning' | null; lastBackupError: string | null; @@ -3167,6 +3175,8 @@ export type GetBackupScheduleForVolumeResponses = { includePatterns: Array | null; oneFileSystem: boolean; customResticParams: Array | null; + maxRetries: number; + retryDelay: number; lastBackupAt: number | null; lastBackupStatus: 'success' | 'error' | 'in_progress' | 'warning' | null; lastBackupError: string | null; diff --git a/app/server/modules/backups/backups.dto.ts b/app/server/modules/backups/backups.dto.ts index bfb352b8..2870d18b 100644 --- a/app/server/modules/backups/backups.dto.ts +++ b/app/server/modules/backups/backups.dto.ts @@ -31,6 +31,8 @@ const backupScheduleSchema = z.object({ includePatterns: z.array(z.string()).nullable(), oneFileSystem: z.boolean(), customResticParams: z.array(z.string()).nullable(), + maxRetries: z.number(), + retryDelay: z.number(), lastBackupAt: z.number().nullable(), lastBackupStatus: z.enum(["success", "error", "in_progress", "warning"]).nullable(), lastBackupError: z.string().nullable(),