mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-06 09:47:43 +02:00
Refactor server side notifications (#2327)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hcengineering/core": "^0.6.17",
|
||||
"@hcengineering/server-notification": "^0.6.0",
|
||||
"@hcengineering/platform": "^0.6.7",
|
||||
"@hcengineering/server-core": "~0.6.1"
|
||||
}
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { Doc } from '@hcengineering/core'
|
||||
import type { Plugin, Resource } from '@hcengineering/platform'
|
||||
import { plugin } from '@hcengineering/platform'
|
||||
import { Presenter } from '@hcengineering/server-notification'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -27,7 +27,7 @@ export const serverTaskId = 'server-task' as Plugin
|
||||
*/
|
||||
export default plugin(serverTaskId, {
|
||||
function: {
|
||||
IssueHTMLPresenter: '' as Resource<(doc: Doc) => string>,
|
||||
IssueTextPresenter: '' as Resource<(doc: Doc) => string>
|
||||
IssueHTMLPresenter: '' as Resource<Presenter>,
|
||||
IssueTextPresenter: '' as Resource<Presenter>
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user