mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +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:
@@ -17,7 +17,7 @@
|
||||
import type { Plugin, Resource } from '@hcengineering/platform'
|
||||
import { plugin } from '@hcengineering/platform'
|
||||
import { ObjectDDParticipantFunc, TriggerFunc } from '@hcengineering/server-core'
|
||||
import { TypeMatchFunc } from '@hcengineering/server-notification'
|
||||
import { NotificationProviderFunc, TypeMatchFunc } from '@hcengineering/server-notification'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -33,6 +33,7 @@ export default plugin(serverGmailId, {
|
||||
},
|
||||
function: {
|
||||
IsIncomingMessage: '' as TypeMatchFunc,
|
||||
FindMessages: '' as Resource<ObjectDDParticipantFunc>
|
||||
FindMessages: '' as Resource<ObjectDDParticipantFunc>,
|
||||
SendEmailNotifications: '' as Resource<NotificationProviderFunc>
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user