mirror of
https://github.com/immich-app/immich.git
synced 2025-06-23 15:34:03 -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
18 lines
397 B
TypeScript
18 lines
397 B
TypeScript
import { AssetEntity } from '@app/database';
|
|
|
|
export interface JpegGeneratorProcessor {
|
|
/**
|
|
* The Asset entity that was saved in the database
|
|
*/
|
|
asset: AssetEntity;
|
|
}
|
|
|
|
export interface WebpGeneratorProcessor {
|
|
/**
|
|
* The Asset entity that was saved in the database
|
|
*/
|
|
asset: AssetEntity;
|
|
}
|
|
|
|
export type IThumbnailGenerationJob = JpegGeneratorProcessor | WebpGeneratorProcessor;
|