2015-11-18 15:03:17 +09:00
|
|
|
Settings.addField([
|
|
|
|
{
|
|
|
|
fieldName: 'cloudinaryCloudName',
|
|
|
|
fieldSchema: {
|
|
|
|
type: String,
|
|
|
|
optional: true,
|
|
|
|
autoform: {
|
|
|
|
group: 'cloudinary'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
fieldName: 'cloudinaryAPIKey',
|
|
|
|
fieldSchema: {
|
|
|
|
type: String,
|
|
|
|
optional: true,
|
|
|
|
private: true,
|
|
|
|
autoform: {
|
2015-11-20 14:30:13 +09:00
|
|
|
group: 'cloudinary',
|
|
|
|
class: 'private-field'
|
2015-11-18 15:03:17 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
fieldName: 'cloudinaryAPISecret',
|
|
|
|
fieldSchema: {
|
|
|
|
type: String,
|
|
|
|
optional: true,
|
|
|
|
private: true,
|
|
|
|
autoform: {
|
2015-11-20 14:30:13 +09:00
|
|
|
group: 'cloudinary',
|
|
|
|
class: 'private-field'
|
2015-11-18 15:03:17 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 12:24:08 +09:00
|
|
|
]);
|
|
|
|
|
|
|
|
Posts.addField([
|
|
|
|
{
|
|
|
|
fieldName: 'originalThumbnailUrl',
|
|
|
|
fieldSchema: {
|
|
|
|
type: String,
|
|
|
|
optional: true
|
|
|
|
}
|
|
|
|
}
|
2015-11-18 15:03:17 +09:00
|
|
|
]);
|