2023-03-20 11:55:28 -04:00
|
|
|
export interface IBaseJob {
|
|
|
|
|
force?: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-17 13:07:17 -04:00
|
|
|
export interface IAssetFaceJob extends IBaseJob {
|
|
|
|
|
assetId: string;
|
|
|
|
|
personId: string;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-26 15:43:24 -04:00
|
|
|
export interface IEntityJob extends IBaseJob {
|
|
|
|
|
id: string;
|
2023-06-01 16:07:45 -04:00
|
|
|
source?: 'upload';
|
2023-05-26 15:43:24 -04:00
|
|
|
}
|
|
|
|
|
|
2023-09-20 13:16:33 +02:00
|
|
|
export interface IOfflineLibraryFileJob extends IEntityJob {
|
|
|
|
|
assetPath: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ILibraryFileJob extends IEntityJob {
|
|
|
|
|
ownerId: string;
|
|
|
|
|
assetPath: string;
|
|
|
|
|
forceRefresh: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ILibraryRefreshJob extends IEntityJob {
|
|
|
|
|
refreshModifiedFiles: boolean;
|
|
|
|
|
refreshAllFiles: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-20 11:55:28 -04:00
|
|
|
export interface IBulkEntityJob extends IBaseJob {
|
2023-03-18 08:44:42 -05:00
|
|
|
ids: string[];
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-20 11:55:28 -04:00
|
|
|
export interface IDeleteFilesJob extends IBaseJob {
|
2023-02-25 09:12:03 -05:00
|
|
|
files: Array<string | null | undefined>;
|
|
|
|
|
}
|