AcadeDoc/server/src/core/comment/dto/update-comment.dto.ts
Philipinho 4cb7a56f65 feat: comments
* create comment
* reply to comment thread
* edit comment
* delete comment
* resolve comment
2023-11-09 16:52:34 +00:00

9 lines
140 B
TypeScript

import { IsJSON, IsUUID } from 'class-validator';
export class UpdateCommentDto {
@IsUUID()
id: string;
@IsJSON()
content: any;
}