/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * Configures the restrictions for the files that can be uploaded. */ export interface UploadFileRestrictions { /** * 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. */ allowedExtensions?: Array; /** * Defines the maximum file size in bytes. */ maxFileSize?: number; /** * Defines the minimum file size in bytes. */ minFileSize?: number; }