2017-06-29 04:37:45 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
2020-09-21 20:07:36 +08:00
|
|
|
import publishTypedVote from './methods/publishTypedVote';
|
2017-10-06 20:50:01 +08:00
|
|
|
import publishVote from './methods/publishVote';
|
2018-09-25 06:43:54 +08:00
|
|
|
import publishPoll from './methods/publishPoll';
|
2018-09-24 06:20:20 +08:00
|
|
|
import startPoll from './methods/startPoll';
|
2018-09-25 06:43:54 +08:00
|
|
|
import stopPoll from './methods/stopPoll';
|
2017-06-29 04:37:45 +08:00
|
|
|
|
2018-11-06 03:30:37 +08:00
|
|
|
Meteor.methods({
|
2017-06-29 04:37:45 +08:00
|
|
|
publishVote,
|
2020-09-21 20:07:36 +08:00
|
|
|
publishTypedVote,
|
2018-09-25 06:43:54 +08:00
|
|
|
publishPoll,
|
2018-09-24 06:20:20 +08:00
|
|
|
startPoll,
|
2018-09-25 06:43:54 +08:00
|
|
|
stopPoll,
|
2018-11-06 03:30:37 +08:00
|
|
|
});
|