mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
24 lines
414 B
JavaScript
24 lines
414 B
JavaScript
import schema from './schema.js';
|
|
import mutations from './mutations.js';
|
|
import resolvers from './resolvers.js';
|
|
import { createCollection } from 'meteor/nova:core';
|
|
|
|
|
|
/**
|
|
* @summary The global namespace for Comments.
|
|
* @namespace Comments
|
|
*/
|
|
const Comments = createCollection({
|
|
|
|
collectionName: 'comments',
|
|
|
|
typeName: 'Comment',
|
|
|
|
schema,
|
|
|
|
resolvers,
|
|
|
|
mutations,
|
|
|
|
});
|
|
export default Comments;
|