@nuvix/storage
Version:
S3-compatible storage library for Nuvix BaaS platform with support for AWS S3, Wasabi, MinIO, and local storage
15 lines • 442 B
TypeScript
import { Validator } from "./validator";
export declare class Upload extends Validator {
/**
* Get Description
*/
getDescription(): string;
/**
* Check if a file is a valid upload file
*
* @param path - The file path to validate
* @returns Promise that resolves to true if valid upload file, false otherwise
*/
isValid(path: unknown): Promise<boolean>;
}
//# sourceMappingURL=upload.d.ts.map