mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 03:54:57 +02:00
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
33 lines
965 B
TypeScript
33 lines
965 B
TypeScript
//
|
|
// Copyright © 2023 Hardcore Engineering Inc.
|
|
//
|
|
//
|
|
|
|
import type { Plugin, Resource } from '@hcengineering/platform'
|
|
import { plugin } from '@hcengineering/platform'
|
|
import { TriggerFunc } from '@hcengineering/server-core'
|
|
import { Presenter, TypeMatchFunc } from '@hcengineering/server-notification'
|
|
|
|
/**
|
|
* @public
|
|
*/
|
|
export const serverDocumentsId = 'server-documents' as Plugin
|
|
|
|
/**
|
|
* @public
|
|
*/
|
|
export default plugin(serverDocumentsId, {
|
|
trigger: {
|
|
OnDocEnteredNonActionableState: '' as Resource<TriggerFunc>,
|
|
OnDocPlannedEffectiveDateChanged: '' as Resource<TriggerFunc>,
|
|
OnDocApprovalRequestApproved: '' as Resource<TriggerFunc>,
|
|
OnDocHasBecomeEffective: '' as Resource<TriggerFunc>,
|
|
OnDocTitleChanged: '' as Resource<TriggerFunc>
|
|
},
|
|
function: {
|
|
ControlledDocumentTextPresenter: '' as Resource<Presenter>,
|
|
ControlledDocumentHTMLPresenter: '' as Resource<Presenter>,
|
|
CoAuthorsTypeMatch: '' as TypeMatchFunc
|
|
}
|
|
})
|