metamaps--metamaps/realtime/rooms.js

6 lines
177 B
JavaScript
Raw Normal View History

module.exports = {
mapRoom: mapId => `maps/${mapId}`,
userMapRoom: (mapperId, mapId) => `mappers/${mapperId}/maps/${mapId}`,
userRoom: mapperId => `mappers/${mapperId}`
}