Bläddra i källkod

[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 6 månader sedan
förälder
incheckning
e5a82e47ce
1 ändrade filer med 6 tillägg och 0 borttagningar
  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