diff --git a/javascript/src/api.ts b/javascript/src/api.ts index 807fd18..2269f44 100644 --- a/javascript/src/api.ts +++ b/javascript/src/api.ts @@ -22,6 +22,7 @@ import type { } from '@lumino/coreutils'; import type { IObservableDisposable } from '@lumino/disposable'; import type { ISignal } from '@lumino/signaling'; +import { IAwareness } from './awareness.js'; /** * Changes on Sequence-like data are expressed as Quill-inspired deltas. @@ -95,6 +96,11 @@ export interface ISharedDocument extends ISharedBase { */ readonly state: JSONObject; + /** + * Document awareness + */ + readonly awareness: IAwareness; + /** * Get the value for a state attribute *