infinity-forge
Version:
20 lines (19 loc) • 486 B
TypeScript
import { UploadOptions } from '../../../ui/index.js';
type UploadFileParams = {
files: FileList;
upload?: UploadOptions;
};
export type FileSystemType = {
id: number | string;
url: string;
title: string;
length: string;
fileName?: string;
guid?: string;
fileType: string;
file?: File;
defaultImage?: string;
mobile?: FileSystemType[];
};
export declare function uploadFile(params: UploadFileParams): Promise<FileSystemType[]>;
export {};