mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02:00
Server Backup Client interface (#1813)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ import {
|
||||
FullTextAdapter,
|
||||
IndexedDoc
|
||||
} from '@anticrm/server-core'
|
||||
import { start as startJsonRpc } from '@anticrm/server-ws'
|
||||
import { ClientSession, start as startJsonRpc } from '@anticrm/server-ws'
|
||||
|
||||
class NullFullTextAdapter implements FullTextAdapter {
|
||||
async index (doc: IndexedDoc): Promise<TxResult> {
|
||||
@@ -78,6 +78,7 @@ export async function start (port: number, host?: string): Promise<void> {
|
||||
}
|
||||
return createPipeline(conf, [])
|
||||
},
|
||||
(token, pipeline, broadcast) => new ClientSession(broadcast, token, pipeline),
|
||||
port,
|
||||
host
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user