mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
configurable cleanup
This commit is contained in:
parent
883eb15ecb
commit
ae2abb3cfe
14 changed files with 182 additions and 4 deletions
|
|
@ -16824,6 +16824,9 @@
|
|||
"missingThumbnails": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"removeStaleUploads": {
|
||||
"$ref": "#/components/schemas/SystemConfigRemovePartialUploadsDto"
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -16836,6 +16839,7 @@
|
|||
"databaseCleanup",
|
||||
"generateMemories",
|
||||
"missingThumbnails",
|
||||
"removeStaleUploads",
|
||||
"startTime",
|
||||
"syncQuotaUsage"
|
||||
],
|
||||
|
|
@ -16951,6 +16955,22 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SystemConfigRemovePartialUploadsDto": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"hoursAgo": {
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled",
|
||||
"hoursAgo"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SystemConfigReverseGeocodingDto": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
|
|
|
|||
|
|
@ -1425,11 +1425,16 @@ export type SystemConfigMetadataDto = {
|
|||
export type SystemConfigNewVersionCheckDto = {
|
||||
enabled: boolean;
|
||||
};
|
||||
export type SystemConfigRemovePartialUploadsDto = {
|
||||
enabled: boolean;
|
||||
hoursAgo: number;
|
||||
};
|
||||
export type SystemConfigNightlyTasksDto = {
|
||||
clusterNewFaces: boolean;
|
||||
databaseCleanup: boolean;
|
||||
generateMemories: boolean;
|
||||
missingThumbnails: boolean;
|
||||
removeStaleUploads: SystemConfigRemovePartialUploadsDto;
|
||||
startTime: string;
|
||||
syncQuotaUsage: boolean;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue