mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
chore(infra): remove blocksuite from infra (#9353)
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user