mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-05 11:35:34 +08:00
12 lines
208 B
TypeScript
12 lines
208 B
TypeScript
import type { Doc as YDoc } from 'yjs';
|
|
|
|
export type SubdocEvent = {
|
|
loaded: Set<YDoc>;
|
|
removed: Set<YDoc>;
|
|
added: Set<YDoc>;
|
|
};
|
|
|
|
export interface StackItem {
|
|
meta: Map<'selection-state', unknown>;
|
|
}
|