1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-05 06:00:24 +02:00

Merge branch 'main' into feat/notification-email-templates

This commit is contained in:
thexeroxbe
2024-11-05 21:12:12 +01:00
220 changed files with 4748 additions and 3935 deletions

View File

@ -535,6 +535,7 @@ export type JobStatusDto = {
};
export type AllJobStatusResponseDto = {
backgroundTask: JobStatusDto;
backupDatabase: JobStatusDto;
duplicateDetection: JobStatusDto;
faceDetection: JobStatusDto;
facialRecognition: JobStatusDto;
@ -1084,6 +1085,14 @@ export type AssetFullSyncDto = {
updatedUntil: string;
userId?: string;
};
export type DatabaseBackupConfig = {
cronExpression: string;
enabled: boolean;
keepLastAmount: number;
};
export type SystemConfigBackupsDto = {
database: DatabaseBackupConfig;
};
export type SystemConfigFFmpegDto = {
accel: TranscodeHWAccel;
accelDecode: boolean;
@ -1095,7 +1104,6 @@ export type SystemConfigFFmpegDto = {
crf: number;
gopSize: number;
maxBitrate: string;
npl: number;
preferredHwDevice: string;
preset: string;
refs: number;
@ -1240,6 +1248,7 @@ export type SystemConfigUserDto = {
deleteDelay: number;
};
export type SystemConfigDto = {
backup: SystemConfigBackupsDto;
ffmpeg: SystemConfigFFmpegDto;
image: SystemConfigImageDto;
job: SystemConfigJobDto;
@ -3454,7 +3463,8 @@ export enum JobName {
Search = "search",
Sidecar = "sidecar",
Library = "library",
Notifications = "notifications"
Notifications = "notifications",
BackupDatabase = "backupDatabase"
}
export enum JobCommand {
Start = "start",