module.exports = [
  {
    "type": "heading",
    "defaultValue": "Bike Companion Configuration"
  },
  {
    "type": "text",
    "defaultValue": "This is not used for now, no action will be executed with these info."
  },
  {
  "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":255
        }
      }
    ]
  },
  {
    "type": "submit",
    "defaultValue": "Save Settings"
  }
];