UNPKG

nestjs-minio-backend

Version:
12 lines (11 loc) 478 B
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; }