Extends CreateValidatorExtensionOptions
Properties
minSize
Min file size in bytes or a natural file size. Defaults to 0
minSize?: string | number
maxSize
Max file size in bytes or a natural file size. Defaults to Infinity
maxSize?: string | number
byteUnits
The natural file size format to use, defaults to 'mega' if no natural file size supplied for minSize or maxSize
byteUnits?: "mega" | "mebi"