Standardized the quote style to double quotes across all TypeScript files for consistency. This includes ".ts" and ".dto" files.
14 lines
344 B
TypeScript
14 lines
344 B
TypeScript
import { ApiProperty } from "@nestjs/swagger";
|
|
import { IsEmail, IsNotEmpty, IsString } from "class-validator";
|
|
export class AuthLoginDto {
|
|
@IsEmail()
|
|
@IsNotEmpty()
|
|
@ApiProperty({ type: String, description: "email" })
|
|
email: string;
|
|
|
|
@ApiProperty({ type: String, description: "password" })
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
password: string;
|
|
}
|