mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
17 lines
281 B
JavaScript
17 lines
281 B
JavaScript
![]() |
import { createCollection, getDefaultResolvers } from 'meteor/vulcan:core';
|
||
|
import schema from './schema.js';
|
||
|
|
||
|
const Events = createCollection({
|
||
|
|
||
|
collectionName: 'Events',
|
||
|
|
||
|
typeName: 'Event',
|
||
|
|
||
|
schema,
|
||
|
|
||
|
resolvers: getDefaultResolvers('Events'),
|
||
|
|
||
|
});
|
||
|
|
||
|
export default Events;
|