Files
neptune-back/src/auth/dto/auth.login.dto.ts
Mathis 8ea217fe9f Normalize quote usage in imports
Standardized the quote style to double quotes across all TypeScript files for consistency. This includes ".ts" and ".dto" files.
2024-11-12 13:37:29 +01:00

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;
}