mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
* fix: nightly reverse geocoding task checking for mapbox * refactor: remove file size from image processor and queue data * feat: add missing exif nightly job * Remove filesize requirement in assetUploadedProcessorName queue insertion Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
37 lines
699 B
TypeScript
37 lines
699 B
TypeScript
import { AssetEntity } from '@app/database/entities/asset.entity';
|
|
|
|
export interface IExifExtractionProcessor {
|
|
/**
|
|
* The Asset entity that was saved in the database
|
|
*/
|
|
asset: AssetEntity;
|
|
|
|
/**
|
|
* Original file name
|
|
*/
|
|
fileName: string;
|
|
}
|
|
|
|
export interface IVideoLengthExtractionProcessor {
|
|
/**
|
|
* The Asset entity that was saved in the database
|
|
*/
|
|
asset: AssetEntity;
|
|
|
|
/**
|
|
* Original file name
|
|
*/
|
|
fileName: string;
|
|
}
|
|
|
|
export interface IReverseGeocodingProcessor {
|
|
exifId: string;
|
|
latitude: number;
|
|
longitude: number;
|
|
}
|
|
|
|
export type IMetadataExtractionJob =
|
|
| IExifExtractionProcessor
|
|
| IVideoLengthExtractionProcessor
|
|
| IReverseGeocodingProcessor;
|