2018-04-06 03:59:26 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
2021-10-20 04:35:39 +08:00
|
|
|
const collectionOptions = Meteor.isClient ? {
|
|
|
|
connection: null,
|
|
|
|
} : {};
|
|
|
|
|
|
|
|
const PresentationPods = new Mongo.Collection('presentation-pods', collectionOptions);
|
2018-04-06 03:59:26 +08:00
|
|
|
|
|
|
|
if (Meteor.isServer) {
|
|
|
|
// types of queries for the presentation pods:
|
2018-04-11 07:27:11 +08:00
|
|
|
// 1. meetingId, podId ( 4 )
|
|
|
|
|
2023-03-15 03:50:35 +08:00
|
|
|
PresentationPods.createIndexAsync({ meetingId: 1, podId: 1 });
|
2018-04-06 03:59:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default PresentationPods;
|