mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 04:07:43 +02:00
1686 fix (#1690)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
import { Class, Doc, DocumentQuery, FindOptions, FindResult, Hierarchy, Ref } from '@anticrm/core'
|
||||
import type { Plugin, Resource } from '@anticrm/platform'
|
||||
import { plugin } from '@anticrm/platform'
|
||||
import { TriggerFunc } from '@anticrm/server-core'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -27,6 +28,9 @@ export const serverGmailId = 'server-gmail' as Plugin
|
||||
* @public
|
||||
*/
|
||||
export default plugin(serverGmailId, {
|
||||
trigger: {
|
||||
OnMessageCreate: '' as Resource<TriggerFunc>
|
||||
},
|
||||
function: {
|
||||
FindMessages: '' as Resource<
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user