Spaces:
Paused
Paused
Download node_modules/@nestjs/common/pipes/file/parse-file-options.interface.d.ts from Leon4gr45/augmenttoolkit: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/Leon4gr45/augmenttoolkit/resolve/main/node_modules/%40nestjs/common/pipes/file/parse-file-options.interface.d.ts
- Command line
-
hf download hf://spaces/Leon4gr45/augmenttoolkit/node_modules/@nestjs/common/pipes/file/parse-file-options.interface.d.ts
-
curl -L -o parse-file-options.interface.d.ts https://huggingface.co/spaces/Leon4gr45/augmenttoolkit/resolve/main/node_modules/%40nestjs/common/pipes/file/parse-file-options.interface.d.ts
436 Bytes
| import { ErrorHttpStatusCode } from '../../utils/http-error-by-code.util'; | |
| import { FileValidator } from './file-validator.interface'; | |
| /** | |
| * @publicApi | |
| */ | |
| export interface ParseFileOptions { | |
| validators?: FileValidator[]; | |
| errorHttpStatusCode?: ErrorHttpStatusCode; | |
| exceptionFactory?: (error: string) => any; | |
| /** | |
| * Defines if file parameter is required. | |
| * @default true | |
| */ | |
| fileIsRequired?: boolean; | |
| } | |