Vulcan/packages/custom/lib/settings.js

16 lines
408 B
JavaScript
Raw Normal View History

2015-01-01 18:47:11 +09:00
// Custom Setting
var customSetting = {
propertyName: "customSetting",
2015-01-01 18:47:11 +09:00
propertySchema: {
type: String,
optional: true,
private: true // mark as private (not published to client)
2015-01-01 18:47:11 +09:00
autoform: {
group: "customGroup", // assign custom group (fieldset) in Settings form
class: "private-field"
2015-01-01 18:47:11 +09:00
}
}
}
2015-03-28 18:30:26 +09:00
Settings.addToSchema(customSetting);