checks retention routes
This commit is contained in:
1 parent
ce97e201c9
commit
08887bbc58
6 files changed
+104
-3
No files matched your search
@@ -646,3 +646,10 @@ export const systemSettingsSchema = z
|
||||
.transform((val) => (typeof val === "string" ? val === "true" : val)),
|
||||
})
|
||||
.strip();
|
||||
|
||||
export const updateRetentionPolicySchema = z.object({
|
||||
checksRetentionDays: z
|
||||
.number()
|
||||
.min(1, "Retention days must be at least 1")
|
||||
.max(365, "Retention days cannot exceed 365 days"),
|
||||
});
|
||||
Reference in new issue
Block a user