import { Meteor } from 'meteor/meteor'; const VoiceCallStates = new Mongo.Collection('voiceCallStates'); if (Meteor.isServer) { // types of queries for the voice users: // 1. intId // 2. meetingId, intId VoiceCallStates.createIndexAsync({ meetingId: 1, userId: 1 }); } export default VoiceCallStates;