mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
28 lines
469 B
JavaScript
28 lines
469 B
JavaScript
import Posts from "meteor/vulcan:posts";
|
|
|
|
Posts.addField([
|
|
{
|
|
fieldName: 'cloudinaryId',
|
|
fieldSchema: {
|
|
type: String,
|
|
optional: true,
|
|
viewableBy: ['guests'],
|
|
}
|
|
},
|
|
{
|
|
fieldName: 'cloudinaryUrls',
|
|
fieldSchema: {
|
|
type: Array,
|
|
optional: true,
|
|
viewableBy: ['guests'],
|
|
}
|
|
},
|
|
{
|
|
fieldName: 'cloudinaryUrls.$',
|
|
fieldSchema: {
|
|
type: Object,
|
|
blackbox: true,
|
|
optional: true
|
|
}
|
|
}
|
|
]);
|