mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00

* 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)
12 lines
324 B
JavaScript
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';
|