mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
20 lines
350 B
JavaScript
20 lines
350 B
JavaScript
![]() |
import { createCollection, getDefaultResolvers, getDefaultMutations } from 'meteor/vulcan:core';
|
||
|
import schema from './schema.js';
|
||
|
|
||
|
const Votes = createCollection({
|
||
|
|
||
|
collectionName: 'Votes',
|
||
|
|
||
|
typeName: 'Vote',
|
||
|
|
||
|
schema,
|
||
|
|
||
|
// resolvers: getDefaultResolvers('Votes'),
|
||
|
|
||
|
// mutations: getDefaultMutations('Votes'),
|
||
|
|
||
|
});
|
||
|
|
||
|
|
||
|
export default Votes;
|