UBERF-7513: Improve notifications model to allow external notifications channels (#6037)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-07-12 19:07:11 +07:00
committed by GitHub
parent 0fc0115c99
commit e4192b27fc
78 changed files with 1696 additions and 931 deletions
+4
View File
@@ -15,6 +15,7 @@
import { Plugin, Resource, plugin } from '@hcengineering/platform'
import type { TriggerFunc } from '@hcengineering/server-core'
import { NotificationContentProvider } from '@hcengineering/server-notification'
export * from './types'
export * from './utils'
@@ -33,5 +34,8 @@ export default plugin(serverActivityId, {
OnDocRemoved: '' as Resource<TriggerFunc>,
OnReactionChanged: '' as Resource<TriggerFunc>,
ReferenceTrigger: '' as Resource<TriggerFunc>
},
function: {
ReactionNotificationContentProvider: '' as Resource<NotificationContentProvider>
}
})