UBER-220 TG/GMAIL new message inbox notifications (#3246)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-05-24 13:09:11 +06:00
committed by GitHub
parent 30a0413dc3
commit d8e69eb6bc
25 changed files with 153 additions and 15 deletions
+4
View File
@@ -17,6 +17,7 @@ import { ChannelItem } from '@hcengineering/contact'
import type { Account, AttachedDoc, Class, Doc, Ref, Space, Timestamp } from '@hcengineering/core'
import type { Plugin } from '@hcengineering/platform'
import { Metadata, plugin } from '@hcengineering/platform'
import { NotificationType } from '@hcengineering/notification'
import type { Handler, IntegrationType } from '@hcengineering/setting'
import type { AnyComponent } from '@hcengineering/ui'
@@ -99,6 +100,9 @@ export default plugin(gmailId, {
SharedMessages: '' as Ref<Class<SharedMessages>>,
SharedMessage: '' as Ref<Class<SharedMessage>>
},
ids: {
EmailNotification: '' as Ref<NotificationType>
},
space: {
Gmail: '' as Ref<Space>
},