fix: revert document content field rename (#6955)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2024-10-16 22:52:46 +07:00
committed by GitHub
parent d1bf10b1d9
commit dea31012b5
10 changed files with 136 additions and 53 deletions
+3 -1
View File
@@ -6,6 +6,7 @@
import { Doc } from '@hcengineering/core'
import type { Plugin, Resource } from '@hcengineering/platform'
import { plugin } from '@hcengineering/platform'
import { ObjectDDParticipantFunc } from '@hcengineering/server-core'
import { Presenter } from '@hcengineering/server-notification'
/**
@@ -20,6 +21,7 @@ export default plugin(serverDocumentId, {
function: {
DocumentHTMLPresenter: '' as Resource<Presenter>,
DocumentTextPresenter: '' as Resource<Presenter>,
DocumentLinkIdProvider: '' as Resource<(doc: Doc) => Promise<string>>
DocumentLinkIdProvider: '' as Resource<(doc: Doc) => Promise<string>>,
FindChildDocuments: '' as Resource<ObjectDDParticipantFunc>
}
})