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({
|
2016-12-02 09:19:41 +01:00
|
|
|
fieldName: 'isDummy',
|
2015-05-10 14:36:47 +09:00
|
|
|
fieldSchema: {
|
2015-05-08 11:45:09 +09:00
|
|
|
type: Boolean,
|
|
|
|
optional: true,
|
2016-11-18 10:03:01 +01:00
|
|
|
hidden: true // never show this
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
2015-05-08 11:45:09 +09:00
|
|
|
});
|
2015-04-22 07:50:11 +09:00
|
|
|
|
2015-05-17 15:38:02 +09:00
|
|
|
Posts.addField({
|
2015-05-10 14:36:47 +09:00
|
|
|
fieldName: 'dummySlug',
|
|
|
|
fieldSchema: {
|
2015-05-08 11:45:09 +09:00
|
|
|
type: String,
|
|
|
|
optional: true,
|
2016-11-18 10:03:01 +01:00
|
|
|
hidden: true // never show this
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
2015-05-08 11:45:09 +09:00
|
|
|
});
|
2015-04-22 07:50:11 +09:00
|
|
|
|
2015-05-17 15:38:02 +09:00
|
|
|
Posts.addField({
|
2015-05-10 14:36:47 +09:00
|
|
|
fieldName: 'isDummy',
|
|
|
|
fieldSchema: {
|
2015-05-08 11:45:09 +09:00
|
|
|
type: Boolean,
|
|
|
|
optional: true,
|
2016-11-18 10:03:01 +01:00
|
|
|
hidden: true // never show this
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
2015-05-08 11:45:09 +09:00
|
|
|
});
|
|
|
|
|
2015-05-17 15:38:02 +09:00
|
|
|
Comments.addField({
|
2016-11-08 13:49:41 +01:00
|
|
|
fieldName: 'isDummy',
|
|
|
|
fieldSchema: {
|
|
|
|
type: Boolean,
|
|
|
|
optional: true,
|
2016-11-18 10:03:01 +01:00
|
|
|
hidden: true // never show this
|
2015-05-08 11:45:09 +09:00
|
|
|
}
|
|
|
|
});
|