Interface File

Represent an uploaded file

interface File {
    name: string;
    content: string;
    binary: boolean;
}

Properties

Properties

name: string

Name of the file

content: string

Content of file, as string for svg or base64 for others

binary: boolean

Set it to true when sending base64