Skip to content

Scheduling infrastructure for absolutely everyone.

288 B
Raw Blame
import { ApiProperty } from "@nestjs/swagger";
import { IsEmail, IsString } from "class-validator";

export class VerifyEmailCodeInput {
  @ApiProperty({ example: "[email protected]" })
  @IsEmail()
  email!: string;

  @ApiProperty({ example: "123456" })
  @IsString()
  code!: string;
}