Introduced MediaModule with MediaService to handle antivirus scanning using ClamAV and media file processing for images (webp/avif) and videos (webm/av1). Includes media-related interfaces and module exports for broader application integration.
14 lines
225 B
TypeScript
14 lines
225 B
TypeScript
export interface MediaProcessingResult {
|
|
buffer: Buffer;
|
|
mimeType: string;
|
|
extension: string;
|
|
width?: number;
|
|
height?: number;
|
|
size: number;
|
|
}
|
|
|
|
export interface ScanResult {
|
|
isInfected: boolean;
|
|
virusName?: string;
|
|
}
|