UploadFileRestrictions

Configures the restrictions for the files that can be uploaded.

NameTypeDefaultDescription

allowedExtensions?

string[]

The list of the allowed file extensions. Recognizes entries of both .type (for example, .docx, .png, .svg, .xls, and others) and type (for example, docx, png, svg, xls, and others) values.

maxFileSize?

number

Defines the maximum file size in bytes.

minFileSize?

number

Defines the minimum file size in bytes.

In this article

Not finding the help you need?