Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-02-15 09:14:20 +06:00
committed by GitHub
parent aa8530d678
commit 199da5077a
71 changed files with 888 additions and 312 deletions
+6 -3
View File
@@ -18,7 +18,7 @@ import type { Plugin } from '@hcengineering/platform'
import { plugin } from '@hcengineering/platform'
import type { Class, Ref, Space } from '@hcengineering/core'
import type { ObjectDDParticipant, Trigger } from './types'
import type { AsyncTrigger, AsyncTriggerState, ObjectDDParticipant, Trigger } from './types'
/**
* @public
@@ -30,13 +30,16 @@ export const serverCoreId = 'server-core' as Plugin
*/
const serverCore = plugin(serverCoreId, {
class: {
Trigger: '' as Ref<Class<Trigger>>
Trigger: '' as Ref<Class<Trigger>>,
AsyncTrigger: '' as Ref<Class<AsyncTrigger>>,
AsyncTriggerState: '' as Ref<Class<AsyncTriggerState>>
},
mixin: {
ObjectDDParticipant: '' as Ref<ObjectDDParticipant>
},
space: {
DocIndexState: '' as Ref<Space>
DocIndexState: '' as Ref<Space>,
TriggerState: '' as Ref<Space>
}
})