Skip to content

Commit

Permalink
Backport PR #282: Add the awareness in the shared document interface (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet authored Oct 17, 2024
1 parent b50bf8e commit e8c0e18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions javascript/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -95,6 +96,11 @@ export interface ISharedDocument extends ISharedBase {
*/
readonly state: JSONObject;

/**
* Document awareness
*/
readonly awareness: IAwareness;

/**
* Get the value for a state attribute
*
Expand Down

0 comments on commit e8c0e18

Please sign in to comment.