mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 12:45:55 +08:00
feat(core): init organize (#7456)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import type { Framework } from '../../framework';
|
||||
import { WorkspaceScope, WorkspaceService } from '../workspace';
|
||||
import { DBService } from './services/db';
|
||||
|
||||
export { AFFiNE_DB_SCHEMA } from './schema';
|
||||
export { DBService } from './services/db';
|
||||
|
||||
export function configureDBModule(framework: Framework) {
|
||||
framework.scope(WorkspaceScope).service(DBService, [WorkspaceService]);
|
||||
}
|
||||
Reference in New Issue
Block a user