File

src/insight/dtos/create-insight-member.dto.ts

Index

Properties

Properties

email
Type : string
Decorators :
@ApiProperty({description: 'Insight Team Member Invite Email', type: String, example: 'hello@opensauced.pizza'})
@IsEmail()
import { ApiProperty } from "@nestjs/swagger";
import { IsEmail } from "class-validator";

export class CreateInsightMemberDto {
  @ApiProperty({
    description: "Insight Team Member Invite Email",
    type: String,
    example: "hello@opensauced.pizza",
  })
  @IsEmail()
  email: string;
}

results matching ""

    No results matching ""