Skip to content

Commit b7a1dc0

Browse files
authored
Create awareness interface (#171)
1 parent 9e06e75 commit b7a1dc0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

javascript/src/awareness.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright (c) Jupyter Development Team.
2+
// Distributed under the terms of the Modified BSD License.
3+
4+
import type { Awareness } from 'y-protocols/awareness';
5+
6+
/**
7+
* The awareness interface.
8+
*/
9+
export type IAwareness = Awareness;

javascript/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
export * from './api.js';
1111
export * from './utils.js';
12+
export * from './awareness.js';
1213

1314
export * from './ytext.js';
1415
export * from './ydocument.js';

0 commit comments

Comments
 (0)