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
+3 -2
View File
@@ -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>
}
})