@celosiajs/file-upload
Version:
CelosiaJS File Upload. A framework for REST API based on Express.js
9 lines (8 loc) • 471 B
TypeScript
import { CelosiaRequest, CelosiaResponse, type EmptyObject, Middleware, type NextFunction } from '@celosiajs/core';
import { FileUploadOptions } from './Types';
declare class FileUpload extends Middleware<CelosiaRequest, CelosiaResponse> {
options: Required<FileUploadOptions>;
constructor(options?: FileUploadOptions);
index(_: EmptyObject, request: CelosiaRequest, response: CelosiaResponse, next: NextFunction): Promise<void>;
}
export default FileUpload;