feat: merge service

This commit is contained in:
DarkSky
2026-02-13 21:52:11 +08:00
parent 4460604dd3
commit 98e5747fdc
14 changed files with 31 additions and 258 deletions
@@ -1,5 +1,6 @@
import { getCurrentUserQuery } from '@affine/graphql';
import { DatabaseDocReader, DocReader } from '../../../core/doc';
import { createApp } from '../create-app';
import { e2e } from '../test';
@@ -52,4 +53,7 @@ e2e('should init front service', async t => {
const res = await app.GET('/info').expect(200);
t.is(res.body.flavor, 'front');
const docReader = app.get(DocReader);
t.true(docReader instanceof DatabaseDocReader);
});