mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
TSK-1349 Send notification integration disconnect (#3096)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
import type { Plugin, Resource } from '@hcengineering/platform'
|
||||
import { plugin } from '@hcengineering/platform'
|
||||
import type { TriggerFunc } from '@hcengineering/server-core'
|
||||
import { Presenter } from '@hcengineering/server-notification'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -26,7 +26,8 @@ export const serverSettingId = 'server-setting' as Plugin
|
||||
* @public
|
||||
*/
|
||||
export default plugin(serverSettingId, {
|
||||
trigger: {
|
||||
OnIntegrationDisable: '' as Resource<TriggerFunc>
|
||||
function: {
|
||||
IntegrationHTMLPresenter: '' as Resource<Presenter>,
|
||||
IntegrationTextPresenter: '' as Resource<Presenter>
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user