File

src/wallet/dto/update-wallet.dto.ts

Index

Properties

Properties

walletLabel
Type : string
Decorators :
@ApiProperty({type: 'string', required: true})
@IsString()
@IsNotEmpty()
@MinLength(1)
@MaxLength(300)
import { ApiProperty } from "@nestjs/swagger";
import { IsString, IsNotEmpty, MinLength, MaxLength } from "class-validator";

export class UpdateWalletDto {
  @ApiProperty({
    type: "string",
    required: true,
  })
  @IsString()
  @IsNotEmpty()
  @MinLength(1)
  @MaxLength(300)
  walletLabel: string;
}

results matching ""

    No results matching ""