diff --git a/javascript/src/api.ts b/javascript/src/api.ts index 44c395b..9a44536 100644 --- a/javascript/src/api.ts +++ b/javascript/src/api.ts @@ -23,6 +23,7 @@ import type { import type { IObservableDisposable } from '@lumino/disposable'; import type { ISignal } from '@lumino/signaling'; import * as Y from 'yjs'; +import { IAwareness } from './awareness.js'; /** * Changes on Sequence-like data are expressed as Quill-inspired deltas. @@ -96,6 +97,11 @@ interface ISharedDocumentNoSource extends ISharedBase { */ readonly state: JSONObject; + /** + * Document awareness + */ + readonly awareness: IAwareness; + /** * Get the value for a state attribute *