fileUpload
fileUpload(
uploadType?): (target,key) =>void
Changes file uploading type for a property. If we create a resource with an avatar property with Blob type
by default we can upload multiple files and if we want to allow only one file we can add
@fileUpload(fileUploadType.single). And now you can upload only one file.
Sets {@link PropertyMeta.fileUpload}.
Parameters
uploadType?
FileUploadType
File uploading type.
Returns
(
target,key):void
Parameters
target
object
key
string
Returns
void