import { IsArray, ValidateNested } from 'class-validator';
import { Type } from 'class-transformer';
import { SyncItemDto } from './sync-item.dto';

export class SyncDto {
  @IsArray()
  @ValidateNested({ each: true })
  @Type(() => SyncItemDto)
  items: SyncItemDto[];
}
