mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
40 lines
751 B
JavaScript
40 lines
751 B
JavaScript
import Posts from "meteor/vulcan:posts";
|
|
import Comments from "meteor/vulcan:comments";
|
|
import Users from 'meteor/vulcan:users';
|
|
import { addCallback } from 'meteor/vulcan:core';
|
|
|
|
Users.addField({
|
|
fieldName: 'isDummy',
|
|
fieldSchema: {
|
|
type: Boolean,
|
|
optional: true,
|
|
hidden: true // never show this
|
|
}
|
|
});
|
|
|
|
Posts.addField({
|
|
fieldName: 'dummySlug',
|
|
fieldSchema: {
|
|
type: String,
|
|
optional: true,
|
|
hidden: true // never show this
|
|
}
|
|
});
|
|
|
|
Posts.addField({
|
|
fieldName: 'isDummy',
|
|
fieldSchema: {
|
|
type: Boolean,
|
|
optional: true,
|
|
hidden: true // never show this
|
|
}
|
|
});
|
|
|
|
Comments.addField({
|
|
fieldName: 'isDummy',
|
|
fieldSchema: {
|
|
type: Boolean,
|
|
optional: true,
|
|
hidden: true // never show this
|
|
}
|
|
});
|