mirror of
https://github.com/immich-app/immich.git
synced 2025-12-26 09:14:58 +03:00
* refactor: user repository * refactor: user module * refactor: move database into infra * refactor(cli): use user core * chore: import path * chore: tests
37 lines
674 B
TypeScript
37 lines
674 B
TypeScript
import { AssetEntity } from '@app/infra';
|
|
|
|
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;
|