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

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
}
});