Vulcan/packages/vulcan-getting-started/lib/getting_started.js

41 lines
751 B
JavaScript
Raw Normal View History

2017-03-23 16:27:59 +09:00
import Posts from "meteor/vulcan:posts";
import Comments from "meteor/vulcan:comments";
import Users from 'meteor/vulcan:users';
import { addCallback } from 'meteor/vulcan:core';
2016-06-23 11:40:35 +09:00
2015-05-17 15:38:02 +09:00
Users.addField({
fieldName: 'isDummy',
fieldSchema: {
type: Boolean,
optional: true,
hidden: true // never show this
}
});
2015-05-17 15:38:02 +09:00
Posts.addField({
fieldName: 'dummySlug',
fieldSchema: {
type: String,
optional: true,
hidden: true // never show this
}
});
2015-05-17 15:38:02 +09:00
Posts.addField({
fieldName: 'isDummy',
fieldSchema: {
type: Boolean,
optional: true,
hidden: true // never show this
}
});
2015-05-17 15:38:02 +09:00
Comments.addField({
fieldName: 'isDummy',
fieldSchema: {
type: Boolean,
optional: true,
hidden: true // never show this
}
});