mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 01:11:36 +03:00
27 lines
525 B
TypeScript
27 lines
525 B
TypeScript
|
|
import { AssetEntity, UserEntity } from '@app/infra/db/entities';
|
||
|
|
|
||
|
|
export interface IAssetJob {
|
||
|
|
asset: AssetEntity;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IAssetUploadedJob {
|
||
|
|
asset: AssetEntity;
|
||
|
|
fileName: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IDeleteFilesJob {
|
||
|
|
files: Array<string | null | undefined>;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IUserDeletionJob {
|
||
|
|
user: UserEntity;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IReverseGeocodingJob {
|
||
|
|
assetId: string;
|
||
|
|
latitude: number;
|
||
|
|
longitude: number;
|
||
|
|
}
|
||
|
|
|
||
|
|
export type IMetadataExtractionJob = IAssetUploadedJob | IReverseGeocodingJob;
|