refactor(editor): remove deprecated editor slot (#9908)

This commit is contained in:
Saul-Mirone
2025-02-04 12:56:40 +00:00
parent 3834699c68
commit 0553ae72b5
4 changed files with 2 additions and 54 deletions
-8
View File
@@ -4,19 +4,11 @@ import type {
DocMode,
GroupElementModel,
} from '@blocksuite/affine-model';
import type { Slot } from '@blocksuite/global/utils';
import type { Store } from '@blocksuite/store';
/** Common context interface definition for block models. */
type EditorSlots = {
docUpdated: Slot<{ newDocId: string }>;
};
export type AbstractEditor = {
doc: Store;
mode: DocMode;
readonly slots: EditorSlots;
} & HTMLElement;
export type Connectable = Exclude<