Skip to content

Commit

Permalink
ULMS-3199 Added new entity events
Browse files Browse the repository at this point in the history
  • Loading branch information
dkvovik committed Jul 26, 2024
1 parent abebb19 commit edec1a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/api-clients",
"version": "7.9.7",
"version": "7.9.8-dev.0-ULMS-3199",
"description": "JavaScript API clients for ULMS platform",
"keywords": [],
"homepage": "https://github.com/foxford/ulms-api-clients-js#readme",
Expand Down
8 changes: 8 additions & 0 deletions src/broker.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import Codec from './codec'
const entityEventsEnum = {
AGENT_UPDATE: 'agent.update',
AGENT_WRITER_CONFIG_UPDATE: 'agent_writer_config.update',
CLASSROOM_CLOSE: 'classroom.close',
CLASSROOM_ENTER: 'classroom.enter',
CLASSROOM_LEAVE: 'classroom.leave',
CLASSROOM_UPDATE: 'classroom.update',
CONFERENCE_ROOM_CLOSE: 'conference_room.close',
CONFERENCE_ROOM_ENTER: 'conference_room.enter',
CONFERENCE_ROOM_LEAVE: 'conference_room.leave',
Expand All @@ -44,6 +48,10 @@ class Broker {
* @returns {{
* AGENT_UPDATE: string,
* AGENT_WRITER_CONFIG_UPDATE: string,
* CLASSROOM_CLOSE: string,
* CLASSROOM_ENTER: string,
* CLASSROOM_LEAVE: string,
* CLASSROOM_UPDATE: string,
* CONFERENCE_ROOM_CLOSE: string,
* CONFERENCE_ROOM_ENTER: string,
* CONFERENCE_ROOM_LEAVE: string,
Expand Down

0 comments on commit edec1a0

Please sign in to comment.