Vulcan/packages/nova-voting/lib/modules.js
xavcz 36ca34a267 fix upvote.async callback issue on collection.new mutation
* add collection as the last parameter of a collection.async cb,
* when inserting a new document, run upvote.async cb once the document has been inserted (collection.new.async)
* remove pre-meteor 1.3 '/server' folder, put everything in the root (initiated by grouping callbacks in the same file for less confusion)
2017-01-24 11:58:57 +01:00

12 lines
324 B
JavaScript

import './graphql.js';
import './custom_fields.js';
import './permissions.js';
import './resolvers.js';
import './scoring.js';
import './callbacks.js';
import withVote from './containers/withVote.js';
export { withVote };
export { hasUpvoted, hasDownvoted } from './helpers.js';
export { operateOnItem } from './vote.js';