nestjs-minio-backend
Version:
NestJS module for MinIO integration
12 lines (11 loc) • 478 B
TypeScript
import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common';
import { Observable } from 'rxjs';
import { MinioService } from '../minio.service';
export declare class MinioFileInterceptor implements NestInterceptor {
private readonly minioService;
private readonly logger;
constructor(minioService: MinioService);
intercept(context: ExecutionContext, next: CallHandler): Observable<any>;
private transformUrls;
private validateFile;
}