2016-12-13 11:32:23 +09:00
|
|
|
import schema from './schema.js';
|
|
|
|
import mutations from './mutations.js';
|
|
|
|
import resolvers from './resolvers.js';
|
2017-03-23 16:27:59 +09:00
|
|
|
import { createCollection } from 'meteor/vulcan:core';
|
2016-11-08 15:12:23 +09:00
|
|
|
|
2016-06-23 15:00:58 +09:00
|
|
|
|
2016-11-22 18:14:51 -05:00
|
|
|
/**
|
|
|
|
* @summary The global namespace for Categories.
|
|
|
|
* @namespace Categories
|
|
|
|
*/
|
2016-12-12 10:24:34 +09:00
|
|
|
const Categories = createCollection({
|
2016-11-22 18:14:51 -05:00
|
|
|
|
2017-04-15 12:02:16 +09:00
|
|
|
collectionName: 'Categories',
|
2016-11-22 18:14:51 -05:00
|
|
|
|
|
|
|
typeName: 'Category',
|
|
|
|
|
|
|
|
schema,
|
|
|
|
|
|
|
|
resolvers,
|
|
|
|
|
|
|
|
mutations,
|
|
|
|
|
|
|
|
});
|
2016-06-23 15:11:56 +09:00
|
|
|
export default Categories;
|