mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04:00
* refactor: entity imports * refactor: rename user repository token * chore: merge imports * refactor: rename album repository token * refactor: rename asset repository token * refactor: rename tag repository token
37 lines
677 B
TypeScript
37 lines
677 B
TypeScript
import { AssetEntity } from '@app/database';
|
|
|
|
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;
|