Ver Fonte

[notifications] Add support for reopened comment notifications (#30679)

* [notifications] Refactor notification handling by using getProject utility function

* [notifications] Add support for reopened comment notifications

* rename to areNotificationsEnabled

* added comment explaining why we are getting users

GitOrigin-RevId: 7263d52e611c66baa39d8737d1d22740e592a3a0
Domagoj Kriskovic há 9 meses atrás
pai
commit
e5a82e47ce
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      services/web/types/module-hooks.ts

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

@@ -15,6 +15,12 @@ export type CommentResolvedEvent = {
   threadId: string
   threadId: string
 }
 }
 
 
+export type CommentReopenedEvent = {
+  projectId: string
+  userId: string
+  threadId: string
+}
+
 export type ProjectModifiedEvent = {
 export type ProjectModifiedEvent = {
   projectId: string
   projectId: string
   timestamp: number
   timestamp: number