Deleted unused e2e tests, mocks (`cuid2`, `jose`, `ml-kem`, `sha3`), and their associated jest configurations. Simplified services by ensuring proper dependency imports, resolving circular references, and improving TypeScript type usage for enhanced maintainability and testability. Upgraded Dockerfile base image to match new development standards.
10 lines
272 B
TypeScript
10 lines
272 B
TypeScript
import type { MediaProcessingResult } from "../../common/interfaces/media.interface";
|
|
|
|
export interface IMediaProcessorStrategy {
|
|
canHandle(mimeType: string): boolean;
|
|
process(
|
|
buffer: Buffer,
|
|
options?: Record<string, unknown>,
|
|
): Promise<MediaProcessingResult>;
|
|
}
|