feat(core): doc level awareness (#10646)

This commit is contained in:
EYHN
2025-03-06 06:05:45 +00:00
parent 2b30d756e2
commit 5c8b81581c
14 changed files with 65 additions and 79 deletions

View File

@@ -4,7 +4,6 @@ import type { Awareness } from 'y-protocols/awareness.js';
import type * as Y from 'yjs';
import type { IdGenerator } from '../utils/id-generator.js';
import type { AwarenessStore } from '../yjs/awareness.js';
import type { CreateBlocksOptions, Doc, GetBlocksOptions } from './doc.js';
import type { Store } from './store/store.js';
import type { WorkspaceMeta } from './workspace-meta.js';
@@ -14,7 +13,6 @@ export interface Workspace {
readonly meta: WorkspaceMeta;
readonly idGenerator: IdGenerator;
readonly blobSync: BlobEngine;
readonly awarenessStore: AwarenessStore;
readonly onLoadDoc?: (doc: Y.Doc) => void;
readonly onLoadAwareness?: (awareness: Awareness) => void;