mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 23:35:39 +01:00
9 lines
208 B
TypeScript
9 lines
208 B
TypeScript
|
|
import { IsDefined, ValidateNested } from 'class-validator';
|
||
|
|
import { MultiPartFileDto } from './multipart.dto';
|
||
|
|
|
||
|
|
export class ImageUploadDto {
|
||
|
|
@IsDefined()
|
||
|
|
@ValidateNested()
|
||
|
|
image: MultiPartFileDto;
|
||
|
|
}
|