mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
40 lines
No EOL
683 B
JavaScript
40 lines
No EOL
683 B
JavaScript
var thumbnailProperty = {
|
|
propertyName: 'thumbnailUrl',
|
|
propertySchema: {
|
|
type: String,
|
|
optional: true
|
|
}
|
|
}
|
|
addToPostSchema.push(thumbnailProperty);
|
|
|
|
var mediaProperty = {
|
|
propertyName: 'media',
|
|
propertySchema: {
|
|
type: Object,
|
|
optional: true,
|
|
blackbox: true,
|
|
hidden: true,
|
|
autoform: {
|
|
hidden: true
|
|
}
|
|
}
|
|
}
|
|
addToPostSchema.push(mediaProperty);
|
|
|
|
|
|
postModules.push({
|
|
template: 'postThumbnail',
|
|
position: 'center-left'
|
|
});
|
|
|
|
var embedlyKeyProperty = {
|
|
propertyName: 'embedlyKey',
|
|
propertySchema: {
|
|
type: String,
|
|
optional: true,
|
|
autoform: {
|
|
group: 'embedly'
|
|
}
|
|
}
|
|
}
|
|
addToSettingsSchema.push(embedlyKeyProperty); |