refactor(editor): reorg code structure of store package (#9525)

This commit is contained in:
Saul-Mirone
2025-01-05 12:49:02 +00:00
parent 1180e9bc15
commit 3d168ba2d2
55 changed files with 618 additions and 635 deletions

View File

@@ -21,7 +21,6 @@ import { Container, type ServiceProvider } from '@blocksuite/affine/global/di';
import { WithDisposable } from '@blocksuite/affine/global/utils';
import {
type Blocks,
BlockViewType,
type JobMiddleware,
type Query,
type Schema,
@@ -186,7 +185,7 @@ export class TextRenderer extends WithDisposable(ShadowlessElement) {
'affine:code',
'affine:list',
'affine:divider',
].map(flavour => ({ flavour, viewType: BlockViewType.Display })),
].map(flavour => ({ flavour, viewType: 'display' })),
};
private _timer?: ReturnType<typeof setInterval> | null = null;