@serenity-is/corelib / UploadResponse
Interface: UploadResponse
Defined in: src/ui/helpers/uploadhelper.tsx:358
The response returned by a file upload service.
Extends
Properties
Error?
optionalError:ServiceError
Defined in: src/base/servicetypes.ts:25
Error information when the request failed; undefined on success.
Inherited from
Height
Height:
number
Defined in: src/ui/helpers/uploadhelper.tsx:378
The image height.
IsImage
IsImage:
boolean
Defined in: src/ui/helpers/uploadhelper.tsx:370
Whether the file is an image.
Size
Size:
number
Defined in: src/ui/helpers/uploadhelper.tsx:366
The file size in bytes.
TemporaryFile
TemporaryFile:
string
Defined in: src/ui/helpers/uploadhelper.tsx:362
The temporary file name.
Width
Width:
number
Defined in: src/ui/helpers/uploadhelper.tsx:374
The image width.