mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 14:05:05 +02:00
UBERF-7090: Add QMS plugins (#5716)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// 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 } from '@hcengineering/server-notification'
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export const serverDocumentsId = 'server-documents' as Plugin
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export default plugin(serverDocumentsId, {
|
||||
trigger: {
|
||||
OnCollaborativeSectionDeleted: '' as Resource<TriggerFunc>,
|
||||
OnDocPlannedEffectiveDateChanged: '' as Resource<TriggerFunc>,
|
||||
OnDocApprovalRequestApproved: '' as Resource<TriggerFunc>,
|
||||
OnDocHasBecomeEffective: '' as Resource<TriggerFunc>,
|
||||
OnWorkspaceOwnerAdded: '' as Resource<TriggerFunc>
|
||||
},
|
||||
function: {
|
||||
ControlledDocumentTextPresenter: '' as Resource<Presenter>
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user