1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02:00

feat: nightly tasks (#19879)

This commit is contained in:
Jason Rasmussen
2025-07-11 17:32:10 -04:00
committed by GitHub
parent df581cc0d5
commit 47c0dc0d7e
21 changed files with 538 additions and 60 deletions

View File

@ -14318,6 +14318,9 @@
"newVersionCheck": {
"$ref": "#/components/schemas/SystemConfigNewVersionCheckDto"
},
"nightlyTasks": {
"$ref": "#/components/schemas/SystemConfigNightlyTasksDto"
},
"notifications": {
"$ref": "#/components/schemas/SystemConfigNotificationsDto"
},
@ -14360,6 +14363,7 @@
"map",
"metadata",
"newVersionCheck",
"nightlyTasks",
"notifications",
"oauth",
"passwordLogin",
@ -14790,6 +14794,37 @@
],
"type": "object"
},
"SystemConfigNightlyTasksDto": {
"properties": {
"clusterNewFaces": {
"type": "boolean"
},
"databaseCleanup": {
"type": "boolean"
},
"generateMemories": {
"type": "boolean"
},
"missingThumbnails": {
"type": "boolean"
},
"startTime": {
"type": "string"
},
"syncQuotaUsage": {
"type": "boolean"
}
},
"required": [
"clusterNewFaces",
"databaseCleanup",
"generateMemories",
"missingThumbnails",
"startTime",
"syncQuotaUsage"
],
"type": "object"
},
"SystemConfigNotificationsDto": {
"properties": {
"smtp": {

View File

@ -1389,6 +1389,14 @@ export type SystemConfigMetadataDto = {
export type SystemConfigNewVersionCheckDto = {
enabled: boolean;
};
export type SystemConfigNightlyTasksDto = {
clusterNewFaces: boolean;
databaseCleanup: boolean;
generateMemories: boolean;
missingThumbnails: boolean;
startTime: string;
syncQuotaUsage: boolean;
};
export type SystemConfigNotificationsDto = {
smtp: SystemConfigSmtpDto;
};
@ -1457,6 +1465,7 @@ export type SystemConfigDto = {
map: SystemConfigMapDto;
metadata: SystemConfigMetadataDto;
newVersionCheck: SystemConfigNewVersionCheckDto;
nightlyTasks: SystemConfigNightlyTasksDto;
notifications: SystemConfigNotificationsDto;
oauth: SystemConfigOAuthDto;
passwordLogin: SystemConfigPasswordLoginDto;