module.exports = [{
"type": "heading",
"defaultValue": "DSCam Home Swtich Configuration"
},
{
"type": "text",
"defaultValue": "Set your Synology account and server."
},
{
"type": "section",
"items": [{
"type": "heading",
"defaultValue": "Your synology account"
},
{
"type": "input",
"messageKey": "username",
"label": "Your DSM Username",
"attributes": {
"maxlength": 40
}
},
{
"type": "input",
"messageKey": "password",
"label": "Your DSM Password",
"attributes": {
"type": "password",
"maxlength": 40
}
},
{
"type": "input",
"messageKey": "server",
"label": "Your DSM Server",
"attributes": {
"type": "url",
"maxlength": 100
}
}
]
},
{
"type": "submit",
"defaultValue": "Save Settings"
}
];