mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
15 lines
408 B
JavaScript
15 lines
408 B
JavaScript
// Custom Setting
|
|
|
|
var customSetting = {
|
|
propertyName: "customSetting",
|
|
propertySchema: {
|
|
type: String,
|
|
optional: true,
|
|
private: true // mark as private (not published to client)
|
|
autoform: {
|
|
group: "customGroup", // assign custom group (fieldset) in Settings form
|
|
class: "private-field"
|
|
}
|
|
}
|
|
}
|
|
Settings.addToSchema(customSetting);
|