mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
39 lines
535 B
JavaScript
39 lines
535 B
JavaScript
![]() |
Posts.addToSchema(
|
||
|
{
|
||
|
propertyName: 'dummySlug',
|
||
|
propertySchema: {
|
||
|
type: String,
|
||
|
optional: true,
|
||
|
autoform: {
|
||
|
omit: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
);
|
||
|
|
||
|
Posts.addToSchema(
|
||
|
{
|
||
|
propertyName: 'isDummy',
|
||
|
propertySchema: {
|
||
|
type: Boolean,
|
||
|
optional: true,
|
||
|
autoform: {
|
||
|
omit: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
);
|
||
|
|
||
|
addToCommentsSchema.push(
|
||
|
{
|
||
|
propertyName: 'isDummy',
|
||
|
propertySchema: {
|
||
|
type: Boolean,
|
||
|
optional: true,
|
||
|
autoform: {
|
||
|
omit: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
);
|