// // 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: { OnDocDeleted: '' as Resource, OnDocPlannedEffectiveDateChanged: '' as Resource, OnDocApprovalRequestApproved: '' as Resource, OnDocHasBecomeEffective: '' as Resource, OnWorkspaceOwnerAdded: '' as Resource }, function: { ControlledDocumentTextPresenter: '' as Resource } })