mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
48 lines
No EOL
877 B
JavaScript
48 lines
No EOL
877 B
JavaScript
Posts.addField([
|
|
{
|
|
fieldName: 'originalThumbnailUrl',
|
|
fieldSchema: {
|
|
type: String,
|
|
optional: true
|
|
}
|
|
}
|
|
]);
|
|
|
|
if (typeof Settings !== "undefined") {
|
|
Settings.addField([
|
|
{
|
|
fieldName: 'cloudinaryCloudName',
|
|
fieldSchema: {
|
|
type: String,
|
|
optional: true,
|
|
autoform: {
|
|
group: 'cloudinary'
|
|
}
|
|
}
|
|
},
|
|
{
|
|
fieldName: 'cloudinaryAPIKey',
|
|
fieldSchema: {
|
|
type: String,
|
|
optional: true,
|
|
private: true,
|
|
autoform: {
|
|
group: 'cloudinary',
|
|
class: 'private-field'
|
|
}
|
|
}
|
|
},
|
|
{
|
|
fieldName: 'cloudinaryAPISecret',
|
|
fieldSchema: {
|
|
type: String,
|
|
optional: true,
|
|
private: true,
|
|
autoform: {
|
|
group: 'cloudinary',
|
|
class: 'private-field'
|
|
}
|
|
}
|
|
}
|
|
]);
|
|
} |