mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-25 04:25:13 +03:00
add new server plugin
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
b6f4a3c1fa
commit
31760542c3
@ -32,6 +32,8 @@
|
|||||||
"@anticrm/server-ws": "~0.6.11",
|
"@anticrm/server-ws": "~0.6.11",
|
||||||
"@anticrm/server-chunter": "~0.6.1",
|
"@anticrm/server-chunter": "~0.6.1",
|
||||||
"@anticrm/server-chunter-resources": "~0.6.0",
|
"@anticrm/server-chunter-resources": "~0.6.0",
|
||||||
|
"@anticrm/server-recruit": "~0.6.0",
|
||||||
|
"@anticrm/server-recruit-resources": "~0.6.0",
|
||||||
"@anticrm/mongo": "~0.6.1",
|
"@anticrm/mongo": "~0.6.1",
|
||||||
"@anticrm/elastic": "~0.6.0"
|
"@anticrm/elastic": "~0.6.0"
|
||||||
}
|
}
|
||||||
|
@ -23,12 +23,14 @@ import type { DbConfiguration } from '@anticrm/server-core'
|
|||||||
|
|
||||||
import { addLocation } from '@anticrm/platform'
|
import { addLocation } from '@anticrm/platform'
|
||||||
import { serverChunterId } from '@anticrm/server-chunter'
|
import { serverChunterId } from '@anticrm/server-chunter'
|
||||||
|
import { serverRecruitId } from '@anticrm/server-recruit'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export async function start (dbUrl: string, fullTextUrl: string, port: number, host?: string): Promise<void> {
|
export async function start (dbUrl: string, fullTextUrl: string, port: number, host?: string): Promise<void> {
|
||||||
addLocation(serverChunterId, () => import('@anticrm/server-chunter-resources'))
|
addLocation(serverChunterId, () => import('@anticrm/server-chunter-resources'))
|
||||||
|
addLocation(serverRecruitId, () => import('@anticrm/server-recruit-resources'))
|
||||||
|
|
||||||
startJsonRpc((workspace: string) => {
|
startJsonRpc((workspace: string) => {
|
||||||
const conf: DbConfiguration = {
|
const conf: DbConfiguration = {
|
||||||
|
Loading…
Reference in New Issue
Block a user