Explorar o código

[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 hai 6 meses
pai
achega
e5a82e47ce
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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
 }
 
+export type CommentReopenedEvent = {
+  projectId: string
+  userId: string
+  threadId: string
+}
+
 export type ProjectModifiedEvent = {
   projectId: string
   timestamp: number