2023-05-17 13:07:17 -04:00
|
|
|
import { BoundingBox } from '../smart-info';
|
2023-03-02 21:47:08 -05:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IFaceThumbnailJob extends IAssetFaceJob {
|
|
|
|
|
imageWidth: number;
|
|
|
|
|
imageHeight: number;
|
|
|
|
|
boundingBox: BoundingBox;
|
|
|
|
|
assetId: string;
|
|
|
|
|
personId: string;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-26 15:43:24 -04:00
|
|
|
export interface IEntityJob extends IBaseJob {
|
|
|
|
|
id: string;
|
2023-05-27 16:49:57 -05:00
|
|
|
source?: string;
|
2023-05-26 15:43:24 -04:00
|
|
|
}
|
|
|
|
|
|
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>;
|
|
|
|
|
}
|