class ParseFilePipeBuilder {
addMaxSizeValidator(options: MaxFileSizeValidatorOptions)
addFileTypeValidator(options: FileTypeValidatorOptions)
addValidator(validator: FileValidator<Record<string, any>>)
build(additionalOptions?: Omit<ParseFileOptions, "validators">): ParseFilePipe
}
Methods
addMaxSizeValidator()
|
addMaxSizeValidator(options: MaxFileSizeValidatorOptions)
Parameters
|
addFileTypeValidator()
|
addFileTypeValidator(options: FileTypeValidatorOptions)
Parameters
|
addValidator()
|
addValidator(validator: FileValidator<Record<string, any>>)
Parameters
|
build()
|
build(additionalOptions?: Omit<ParseFileOptions, "validators">): ParseFilePipe
Parameters
Option |
Type |
Description |
additionalOptions
|
Omit |
Optional. Default is undefined .
|
Returns
ParseFilePipe
|