mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 20:45:00 +02:00
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:
@@ -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>
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user