petals-ui
Version:
Front-end UI components foundation
16 lines (15 loc) • 421 B
TypeScript
import { FileFormControlValue } from '../../form-control';
declare type UploadFile = FileFormControlValue & {
name: string;
url: string;
};
declare type FileUploadValue = UploadFile[];
declare type FileUploadRequestOption = {
name?: string;
method?: string;
data?: {
[key: string]: any;
};
withCredentials?: boolean;
};
export { UploadFile, FileUploadValue, FileUploadRequestOption };