mirror of
https://github.com/samsonjs/immich.git
synced 2026-06-23 04:54:50 +00:00
* Remove thumbnail generation on mobile * Remove tconditions for missing thumbnail on the backend * Remove console.log * Refactor queue systems * Convert queue and processor name to constant * Added corresponding interface to job queue
17 lines
419 B
TypeScript
17 lines
419 B
TypeScript
import { AssetEntity } from '@app/database/entities/asset.entity';
|
|
|
|
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;
|