@serenity-is/corelib / UploadResponse
Interface: UploadResponse
Defined in: src/ui/helpers/uploadhelper.tsx:359
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:379
The image height.
IsImage
IsImage:
boolean
Defined in: src/ui/helpers/uploadhelper.tsx:371
Whether the file is an image.
Size
Size:
number
Defined in: src/ui/helpers/uploadhelper.tsx:367
The file size in bytes.
TemporaryFile
TemporaryFile:
string
Defined in: src/ui/helpers/uploadhelper.tsx:363
The temporary file name.
Width
Width:
number
Defined in: src/ui/helpers/uploadhelper.tsx:375
The image width.