import { IsIn, IsOptional, IsString, MaxLength } from 'class-validator';
import { TASK_ACTIVITY_TYPES } from '../task_catalog';

export class ReportTaskActivityDto {
  @IsIn(TASK_ACTIVITY_TYPES)
  activity: typeof TASK_ACTIVITY_TYPES[number];

  @IsOptional()
  @IsString()
  @MaxLength(64)
  target_id?: string;
}
