-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding awareness event when open and close websockets (#246)
Co-authored-by: Jialin Zhang <[email protected]>
- Loading branch information
1 parent
fab7f19
commit 265df16
Showing
5 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
"$id": https://schema.jupyter.org/jupyter_collaboration/awareness/v1 | ||
"$schema": "http://json-schema.org/draft-07/schema" | ||
version: 1 | ||
title: Collaborative awareness events | ||
personal-data: true | ||
description: | | ||
Awareness events emitted from server-side during a collaborative session. | ||
type: object | ||
required: | ||
- roomid | ||
- username | ||
- action | ||
properties: | ||
roomid: | ||
type: string | ||
description: | | ||
Room ID. Usually composed by the file type, format and ID. | ||
username: | ||
type: string | ||
description: | | ||
The name of the user who joined or left room. | ||
action: | ||
enum: | ||
- join | ||
- leave | ||
description: | | ||
Possible values: | ||
1. join | ||
2. leave | ||
msg: | ||
type: string | ||
description: | | ||
Optional event message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters