chore: open api

fix: missing action in cli.service.ts
This commit is contained in:
izzy
2025-11-18 17:35:12 +00:00
parent 7e7d6af66b
commit b01b63b25a
5 changed files with 35 additions and 6 deletions

View File

@@ -16526,7 +16526,8 @@
"MaintenanceAction": {
"enum": [
"start",
"end"
"end",
"restore_database"
],
"type": "string"
},
@@ -19133,6 +19134,9 @@
"$ref": "#/components/schemas/MaintenanceAction"
}
]
},
"restoreBackupFilename": {
"type": "string"
}
},
"required": [

View File

@@ -42,6 +42,7 @@ export type ActivityStatisticsResponseDto = {
};
export type SetMaintenanceModeDto = {
action: MaintenanceAction;
restoreBackupFilename?: string;
};
export type MaintenanceLoginDto = {
token?: string;
@@ -5053,7 +5054,8 @@ export enum UserAvatarColor {
}
export enum MaintenanceAction {
Start = "start",
End = "end"
End = "end",
RestoreDatabase = "restore_database"
}
export enum NotificationLevel {
Success = "success",