File

src/admin/dtos/set-registry.dto.ts

Extends

GetRegistryDto

Index

Properties

Properties

dataFieldValue
Decorators :
@ApiProperty({required: true})
@IsNotEmpty()
dataFieldName
Type : string
Decorators :
@ApiProperty({required: true})
@IsString()
Inherited from GetRegistryDto
Defined in GetRegistryDto:42
dataFieldType
Type : DataFieldType
Decorators :
@ApiProperty({required: true, enumName: 'The registry type', enum: undefined})
@IsEnum(DataFieldType)
Inherited from GetRegistryDto
Defined in GetRegistryDto:34
id
Type : string
Decorators :
@ApiProperty({required: true})
@IsString()
Inherited from GetRegistryDto
Defined in GetRegistryDto:38
registryName
Type : RegistryName
Decorators :
@ApiProperty({required: true, enumName: 'The registry name', enum: undefined})
@IsEnum(RegistryName)
Inherited from GetRegistryDto
Defined in GetRegistryDto:18
import { ApiProperty } from "@nestjs/swagger";
import { GetRegistryDto } from "./get-registry.dto";
import { IsNotEmpty } from "class-validator";

export class SetRegistryDto extends GetRegistryDto {
  @ApiProperty({ required: true })
  @IsNotEmpty()
  dataFieldValue: unknown;
}

results matching ""

    No results matching ""