feat: naming backup schedules (#103)

* docs: add agents instructions

* feat: naming backup schedules

* fix: wrong table for filtering
This commit is contained in:
Nico
2025-12-04 18:31:00 +01:00
committed by Nicolas Meienberger
parent a0fa043207
commit 2c11b7c7de
20 changed files with 1382 additions and 434 deletions

View File

@@ -17,6 +17,7 @@ export type RetentionPolicy = typeof retentionPolicySchema.infer;
const backupScheduleSchema = type({
id: "number",
name: "string",
volumeId: "number",
repositoryId: "string",
enabled: "boolean",
@@ -120,6 +121,7 @@ export const getBackupScheduleForVolumeDto = describeRoute({
* Create a new backup schedule
*/
export const createBackupScheduleBody = type({
name: "1 <= string <= 32",
volumeId: "number",
repositoryId: "string",
enabled: "boolean",
@@ -156,6 +158,7 @@ export const createBackupScheduleDto = describeRoute({
* Update a backup schedule
*/
export const updateBackupScheduleBody = type({
name: "(1 <= string <= 32)?",
repositoryId: "string",
enabled: "boolean?",
cronExpression: "string",