Add mobile integration id (#2328)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2022-10-26 16:25:04 +06:00 committed by GitHub
parent 3a8d1e2bcb
commit ef65f3aee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -34,6 +34,7 @@
"dependencies": {
"@hcengineering/platform": "^0.6.7",
"@hcengineering/core": "^0.6.17",
"@hcengineering/setting": "~0.6.1",
"@hcengineering/ui": "^0.6.2"
},
"repository": "https://github.com/hcengineering/anticrm",

View File

@ -18,7 +18,7 @@ import type { Asset, IntlString, Plugin, Resource } from '@hcengineering/platfor
import { plugin } from '@hcengineering/platform'
import { AnyComponent } from '@hcengineering/ui'
import { Writable } from './types'
import { IntegrationType } from '@hcengineering/setting'
export * from './types'
/**
@ -161,6 +161,9 @@ const notification = plugin(notificationId, {
EmailNotification: '' as Ref<NotificationProvider>,
NotificationSettings: '' as Ref<Doc>
},
integrationType: {
MobileApp: '' as Ref<IntegrationType>
},
component: {
NotificationsPopup: '' as AnyComponent,
NotificationPresenter: '' as AnyComponent,