From ef65f3aee9da463d0d4f339828f985e93e02a308 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Wed, 26 Oct 2022 16:25:04 +0600 Subject: [PATCH] Add mobile integration id (#2328) Signed-off-by: Denis Bykhov --- plugins/notification/package.json | 1 + plugins/notification/src/index.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/notification/package.json b/plugins/notification/package.json index bd3886689f..8e60cff0a7 100644 --- a/plugins/notification/package.json +++ b/plugins/notification/package.json @@ -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", diff --git a/plugins/notification/src/index.ts b/plugins/notification/src/index.ts index 1b98f8d5fe..3276bafb3a 100644 --- a/plugins/notification/src/index.ts +++ b/plugins/notification/src/index.ts @@ -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, NotificationSettings: '' as Ref }, + integrationType: { + MobileApp: '' as Ref + }, component: { NotificationsPopup: '' as AnyComponent, NotificationPresenter: '' as AnyComponent,