mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user