From 31760542c3b87322250c9f837b860e29a5c511b3 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Tue, 28 Sep 2021 12:18:32 +0200 Subject: [PATCH] add new server plugin Signed-off-by: Andrey Platov --- server/server/package.json | 2 ++ server/server/src/server.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server/server/package.json b/server/server/package.json index c176f5342c..e07d62dee5 100644 --- a/server/server/package.json +++ b/server/server/package.json @@ -32,6 +32,8 @@ "@anticrm/server-ws": "~0.6.11", "@anticrm/server-chunter": "~0.6.1", "@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/elastic": "~0.6.0" } diff --git a/server/server/src/server.ts b/server/server/src/server.ts index 4b6b798a19..bcb5549648 100644 --- a/server/server/src/server.ts +++ b/server/server/src/server.ts @@ -23,12 +23,14 @@ import type { DbConfiguration } from '@anticrm/server-core' import { addLocation } from '@anticrm/platform' import { serverChunterId } from '@anticrm/server-chunter' +import { serverRecruitId } from '@anticrm/server-recruit' /** * @public */ export async function start (dbUrl: string, fullTextUrl: string, port: number, host?: string): Promise { addLocation(serverChunterId, () => import('@anticrm/server-chunter-resources')) + addLocation(serverRecruitId, () => import('@anticrm/server-recruit-resources')) startJsonRpc((workspace: string) => { const conf: DbConfiguration = {