* create comment * reply to comment thread * edit comment * delete comment * resolve comment
9 lines
140 B
TypeScript
9 lines
140 B
TypeScript
import { IsJSON, IsUUID } from 'class-validator';
|
|
|
|
export class UpdateCommentDto {
|
|
@IsUUID()
|
|
id: string;
|
|
|
|
@IsJSON()
|
|
content: any;
|
|
}
|