FileConstants: {
    MAX_FILE_NAME_LENGTH: 100;
    MAX_FILE_SIZE_BYTES: number;
    OTA_IMAGE_ENTITY_TYPE: "ota_image";
} = ...

An object containing user file upload limits.

Type declaration

  • ReadonlyMAX_FILE_NAME_LENGTH: 100

    Maximum file name length in characters.

  • ReadonlyMAX_FILE_SIZE_BYTES: number

    Maximum file size in bytes (10 MB).

  • ReadonlyOTA_IMAGE_ENTITY_TYPE: "ota_image"

    Entity type requiring entity id on upload request.