chore(infra): remove blocksuite from infra (#9353)

This commit is contained in:
liuyi
2024-12-26 21:43:12 +08:00
committed by GitHub
parent 126d576c3e
commit 41c8232472
12 changed files with 30 additions and 21 deletions
@@ -3,13 +3,12 @@ import { Unreachable } from '@affine/env/constant';
import type { DocMode } from '@blocksuite/affine/blocks';
import type { DeltaInsert } from '@blocksuite/affine/inline';
import type { AffineTextAttributes } from '@blocksuite/affine-shared/types';
import { ObjectPool, Service } from '@toeverything/infra';
import {
type DocProps,
initDocFromProps,
ObjectPool,
Service,
} from '@toeverything/infra';
} from '../../../blocksuite/initialization';
import type { Doc } from '../entities/doc';
import { DocPropertyList } from '../entities/property-list';
import { DocRecordList } from '../entities/record-list';
@@ -1,8 +1,11 @@
import { Text } from '@blocksuite/affine/store';
import type { DocProps } from '@toeverything/infra';
import { initDocFromProps, LiveData, Service } from '@toeverything/infra';
import { LiveData, Service } from '@toeverything/infra';
import dayjs from 'dayjs';
import {
type DocProps,
initDocFromProps,
} from '../../../blocksuite/initialization';
import type { DocsService } from '../../doc';
import type { EditorSettingService } from '../../editor-setting';
import type { JournalStore } from '../store/journal';
@@ -1,8 +1,8 @@
import { track } from '@affine/track';
import { Text } from '@blocksuite/affine/store';
import type { DocProps } from '@toeverything/infra';
import { Service } from '@toeverything/infra';
import type { DocProps } from '../../../blocksuite/initialization';
import type { DocsService } from '../../doc';
import { EditorSettingService } from '../../editor-setting';
import type { WorkbenchService } from '../../workbench';