relocate special roles to api request

This commit is contained in:
rubikscraft
2022-03-24 19:56:26 +01:00
parent 25b85c00e0
commit 95c8f630f1
33 changed files with 284 additions and 156 deletions

View File

@@ -0,0 +1,10 @@
import { Type } from 'class-transformer';
import { IsDefined, ValidateNested } from 'class-validator';
import { MultiPartFileDto } from './multipart.dto';
export class ImageUploadDto {
@IsDefined()
@ValidateNested()
@Type(() => MultiPartFileDto)
image: MultiPartFileDto;
}