Skip to content

Scheduling infrastructure for absolutely everyone.

335 B
Raw Blame
import { ApiProperty } from "@nestjs/swagger";
import { Expose } from "class-transformer";
import { IsEmail } from "class-validator";

export class RequestEmailVerificationInput {
  @ApiProperty({
    type: String,
    description: "Email to verify.",
    example: "[email protected]",
  })
  @IsEmail()
  @Expose()
  email!: string;
}