feat: remove appwrite and add nextjs backend
This commit is contained in:
12
backend/src/share/dto/shareSecurity.dto.ts
Normal file
12
backend/src/share/dto/shareSecurity.dto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { IsNumber, IsOptional, IsString, Length } from "class-validator";
|
||||
|
||||
export class ShareSecurityDTO {
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@Length(3, 30)
|
||||
password: string;
|
||||
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
maxViews: number;
|
||||
}
|
||||
Reference in New Issue
Block a user