Skip to main content

UploadFileHandlerResult

Parameters


isError required boolean

@returns

true if an error occurred

@depreacted

use !isSuccess or !!error instead


error required null | ErrorPayload

Provides details about the error


isUploaded required boolean

Returns true when the file has been successfully uploaded.


id optional string

Returns the id of the file.


bucketId optional string

Returns the bucket id.


name optional string

Returns the name of the file.