refactor(core): move infra modules to core (#9207)
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
export { CollectionService } from './services/collection';
|
||||
|
||||
import {
|
||||
type Framework,
|
||||
WorkspaceScope,
|
||||
WorkspaceService,
|
||||
} from '@toeverything/infra';
|
||||
import { type Framework } from '@toeverything/infra';
|
||||
|
||||
import { WorkspaceScope, WorkspaceService } from '../workspace';
|
||||
import { CollectionService } from './services/collection';
|
||||
|
||||
export function configureCollectionModule(framework: Framework) {
|
||||
|
||||
@@ -3,11 +3,12 @@ import type {
|
||||
DeleteCollectionInfo,
|
||||
DeletedCollection,
|
||||
} from '@affine/env/filter';
|
||||
import type { WorkspaceService } from '@toeverything/infra';
|
||||
import { LiveData, Service } from '@toeverything/infra';
|
||||
import { Observable } from 'rxjs';
|
||||
import { Array as YArray } from 'yjs';
|
||||
|
||||
import type { WorkspaceService } from '../../workspace';
|
||||
|
||||
const SETTING_KEY = 'setting';
|
||||
|
||||
const COLLECTIONS_KEY = 'collections';
|
||||
|
||||
Reference in New Issue
Block a user