mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
14 lines
381 B
JavaScript
14 lines
381 B
JavaScript
// Custom Setting
|
|
|
|
var customSetting = {
|
|
propertyName: 'customSetting',
|
|
propertySchema: {
|
|
type: String,
|
|
optional: true,
|
|
autoform: {
|
|
group: 'customGroup', // assign custom group (fieldset) in Settings form
|
|
private: true // mark as private (not published to client)
|
|
}
|
|
}
|
|
}
|
|
Settings.addToSchema(customSetting);
|