metamaps--metamaps/realtime/rooms.js

7 lines
178 B
JavaScript
Raw Normal View History

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