feat: Add drawing annotation functionality to comments, including a new canvas component and API integration for creation, retrieval, and updates.

This commit is contained in:
Yusuf İpek
2026-02-21 20:23:15 +03:00
parent 4cb4089caa
commit d731c9434a
6 changed files with 424 additions and 16 deletions
+3
View File
@@ -266,6 +266,9 @@ model Comment {
// Image attachment (optional)
imageUrl String? // URL to uploaded image file
// Annotation drawing data (JSON string of strokes)
annotationData String? @db.Text
// Threading
parentId String?
parent Comment? @relation("CommentReplies", fields: [parentId], references: [id], onDelete: Cascade)