mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
refactor: use action property for setting maint. mode
This commit is contained in:
parent
bdb53dba32
commit
aad47ce45a
15 changed files with 142 additions and 29 deletions
|
|
@ -41,7 +41,7 @@ export type ActivityStatisticsResponseDto = {
|
|||
likes: number;
|
||||
};
|
||||
export type SetMaintenanceModeDto = {
|
||||
maintenanceMode: boolean;
|
||||
action: MaintenanceAction;
|
||||
};
|
||||
export type MaintenanceLoginDto = {
|
||||
token?: string;
|
||||
|
|
@ -4881,6 +4881,10 @@ export enum UserAvatarColor {
|
|||
Gray = "gray",
|
||||
Amber = "amber"
|
||||
}
|
||||
export enum MaintenanceAction {
|
||||
Start = "start",
|
||||
End = "end"
|
||||
}
|
||||
export enum NotificationLevel {
|
||||
Success = "success",
|
||||
Error = "error",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue