11 lines
484 B
JavaScript
11 lines
484 B
JavaScript
|
|
// FIXME: This file should handle the rooms API
|
||
|
|
// Functions may include:
|
||
|
|
// - fetchRoomConfig (get the configuration of a room)
|
||
|
|
// - setCurrentRoomConfig (set the current room configuration and update the DOM accordingly)
|
||
|
|
// - getCurrentRoomConfig (get the current room configuration)
|
||
|
|
// - joinRoom (join a room by its slug)
|
||
|
|
// - listRooms (list all the rooms available)
|
||
|
|
// - createRoom (create a room)
|
||
|
|
// - updateRoom (update a room's configuration)
|
||
|
|
// - deleteRoom (delete a room)
|