Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov
2022-05-07 00:45:59 +07:00
committed by GitHub
parent 50ad39d037
commit 03cb718c72
20 changed files with 212 additions and 23 deletions
+2 -1
View File
@@ -28,6 +28,7 @@
},
"dependencies": {
"@anticrm/core": "~0.6.16",
"@anticrm/platform": "~0.6.6"
"@anticrm/platform": "~0.6.6",
"@anticrm/server-core": "~0.6.1"
}
}
+4
View File
@@ -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<
(