mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 09:14:58 +03:00
* refactor(server): system config * fix: jest circular import * chore: ignore migrations in coverage report * chore: tests * chore: tests * chore: todo note * chore: remove vite config backup * chore: fix redis hostname
37 lines
686 B
TypeScript
37 lines
686 B
TypeScript
import { AssetEntity } from '@app/infra/db/entities';
|
|
|
|
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;
|