mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 09:15:34 +03:00
* fix: inline mark asset as offline * fix: improve log message * chore: lint * fix: offline asset algorithm * fix: use set comparison to check what to import * fix: only mark new offline files as offline * fix: compare the correct array * fix: set default library concurrency to 5 * fix: remove one db call when scanning new files * chore: remove unused import --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
36 lines
698 B
TypeScript
36 lines
698 B
TypeScript
export interface IBaseJob {
|
|
force?: boolean;
|
|
}
|
|
|
|
export interface IAssetFaceJob extends IBaseJob {
|
|
assetId: string;
|
|
personId: string;
|
|
}
|
|
|
|
export interface IEntityJob extends IBaseJob {
|
|
id: string;
|
|
source?: 'upload';
|
|
}
|
|
|
|
export interface IAssetDeletionJob extends IEntityJob {
|
|
fromExternal?: boolean;
|
|
}
|
|
|
|
export interface ILibraryFileJob extends IEntityJob {
|
|
ownerId: string;
|
|
assetPath: string;
|
|
}
|
|
|
|
export interface ILibraryRefreshJob extends IEntityJob {
|
|
refreshModifiedFiles: boolean;
|
|
refreshAllFiles: boolean;
|
|
}
|
|
|
|
export interface IBulkEntityJob extends IBaseJob {
|
|
ids: string[];
|
|
}
|
|
|
|
export interface IDeleteFilesJob extends IBaseJob {
|
|
files: Array<string | null | undefined>;
|
|
}
|