Bläddra i källkod

[web] add commentEdited and commentDeleted events for dsmp

GitOrigin-RevId: 6e43ffd2d782f35ef8202aeb5ef7edf25c0c3a88
Domagoj Kriskovic 9 månader sedan
förälder
incheckning
c20be33e74
1 ändrade filer med 14 tillägg och 0 borttagningar
  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