Initial Pavlok integration
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
module.exports = [
|
||||
{
|
||||
"type": "heading",
|
||||
"defaultValue": "Trigalarm | Settings"
|
||||
},
|
||||
{
|
||||
"type": "section",
|
||||
"items": [
|
||||
{
|
||||
"type": "heading",
|
||||
"size": 3,
|
||||
"defaultValue": "Pavlok Integration"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_enable",
|
||||
"type": "toggle",
|
||||
"messageKey": "PKJS_PAVLOK_ENABLE",
|
||||
"defaultValue": false,
|
||||
"label": "Enabled"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_api_key",
|
||||
"type": "input",
|
||||
"messageKey": "PKJS_PAVLOK_API_KEY",
|
||||
"label": "API Key"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_zap_intensity",
|
||||
"type": "slider",
|
||||
"messageKey": "PKJS_PAVLOK_ZAP_INTENSITY",
|
||||
defaultValue: 30,
|
||||
min: 5,
|
||||
max: 100,
|
||||
step: 5,
|
||||
"label": "Zap Intensity"
|
||||
},
|
||||
{
|
||||
"id": "pavlok_interval",
|
||||
"type": "slider",
|
||||
"messageKey": "PKJS_PAVLOK_INTERVAL",
|
||||
defaultValue: 5,
|
||||
min: 1,
|
||||
max: 60,
|
||||
"label": "Zap Repeat Interval (Seconds - NOT IMPLEMENTED)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "submit",
|
||||
"defaultValue": "Save Settings"
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user