File

src/module-manager/dto/module.dto.ts

Index

Properties

Properties

contractAddress
Type : string
Decorators :
@ApiProperty()
@IsString()
@IsNotEmpty()
@Length(42)
import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty, IsString, Length } from "class-validator";

export class ModuleDto {
  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  @Length(42)
  contractAddress: string;
}

results matching ""

    No results matching ""