* refactor(server): system config * fix: jest circular import * chore: ignore migrations in coverage report * chore: tests * chore: tests * chore: todo note * chore: remove vite config backup * chore: fix redis hostname
18 lines
406 B
TypeScript
18 lines
406 B
TypeScript
import { AssetEntity } from '@app/infra/db/entities';
|
|
|
|
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;
|