File

libs/dtos/src/auth/request/ConfirmationCode.dto.ts

Index

Properties

Properties

Public Optional code
Type : string
Decorators :
@ApiProperty()
@IsString()
@IsNotEmpty()
Public Optional email
Type : string
Decorators :
@ApiProperty()
@IsString()
@IsNotEmpty()
import { IsNotEmpty, IsString } from 'class-validator'
import { ApiProperty } from '@nestjs/swagger'

export class ConfirmationCodeDto {
  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  public code?: string

  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  public email?: string
}

results matching ""

    No results matching ""