File

src/star-search/dtos/update-thread.dto.ts

Index

Properties

Properties

Optional archive
Type : boolean
Decorators :
@IsOptional()
@IsBoolean()
Optional title
Type : string
Decorators :
@IsOptional()
@IsString()
import { IsBoolean, IsOptional, IsString } from "class-validator";

export class UpdateStarSearchThreadDto {
  @IsOptional()
  @IsString()
  title?: string;

  @IsOptional()
  @IsBoolean()
  archive?: boolean;
}

results matching ""

    No results matching ""