Преглед изворни кода

[web] add commentEdited and commentDeleted events for dsmp

GitOrigin-RevId: 6e43ffd2d782f35ef8202aeb5ef7edf25c0c3a88
Domagoj Kriskovic пре 6 месеци
родитељ
комит
c20be33e74
1 измењених фајлова са 14 додато и 0 уклоњено
  1. 14 0
      services/web/types/module-hooks.ts

+ 14 - 0
services/web/types/module-hooks.ts

@@ -21,6 +21,20 @@ export type CommentReopenedEvent = {
   threadId: string
 }
 
+export type CommentEditedEvent = {
+  projectId: string
+  userId: string
+  threadId: string
+  messageId: string
+}
+
+export type CommentDeletedEvent = {
+  projectId: string
+  userId: string
+  threadId: string
+  messageId: string
+}
+
 export type ProjectModifiedEvent = {
   projectId: string
   timestamp: number