mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03: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
18 lines
419 B
TypeScript
18 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;
|