Add zk and hotlink upload create DTOs with batch options.
Split item shapes, array caps from config, and password-protected zk item transform.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { IsMimeType, IsNotEmpty, IsString } from 'class-validator';
|
||||
import { CreateUploadCiphertextItemDto } from './CreateUploadCiphertextItemDto';
|
||||
|
||||
export class CreateHotlinkUploadItemDto extends CreateUploadCiphertextItemDto {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
@IsMimeType()
|
||||
mimeType: string;
|
||||
}
|
||||
Reference in New Issue
Block a user