UNPKG

filesrocket

Version:

Filesrocket is a Node.js package that takes care of the file management of any cloud storage service (Local, Cloudinary, Amazon S3)

15 lines (14 loc) 540 B
import { Request } from 'express'; import { ServiceMethods, UploadOptions, OutputEntity, Query } from '../declarations'; import { BaseController } from './base.controller'; interface Params extends UploadOptions { query: { path?: string; } & Query; } export declare class FileController extends BaseController { protected readonly service: Partial<ServiceMethods>; constructor(service: Partial<ServiceMethods>); create(req: Request, params?: Partial<Params>): Promise<OutputEntity[]>; } export {};