This commit is contained in:
2026-01-07 12:13:45 +03:30
parent 27ebf4a7b6
commit f2284c103d
235 changed files with 180468 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
import type { File } from '@nest-lab/fastify-multer';
import { ApiProperty } from '@nestjs/swagger';
export class UploadSingleFileDto {
@ApiProperty({ type: 'string', format: 'binary', nullable: false })
file: File;
}
export class UploadMultipleFileDto {
@ApiProperty({
required: true,
type: 'array',
items: {
type: 'string',
format: 'binary',
},
})
files: File[];
}