🔺GraphQL v0.1 + Devices table rebuild + removal of backend compatible scripts

This commit is contained in:
jokob-sk
2024-11-10 21:22:45 +11:00
parent 3cf3305b8f
commit 0bc8b39cec
76 changed files with 1622 additions and 2878 deletions

View File

@@ -40,17 +40,12 @@
{
"name": "macs",
"type": "sql",
"value": "SELECT dev_MAC from DEVICES"
"value": "SELECT devMac from DEVICES"
},
{
"name": "urls",
"type": "setting",
"value": "WEBMON_urls_to_check"
},
{
"name": "internet_ip",
"type": "setting",
"value": "WEBMON_SQL_internet_ip"
}
],
"database_column_definitions": [
@@ -677,42 +672,6 @@
"string": "Servicios para ver. Ingrese la URL completa, por ejemplo, <code>https://google.com</code>. Los valores de esta configuración se usarán para reemplazar el comodín <code>{urls}</code> en la configuración < code>WEBMON_CMD</code>."
}
]
},
{
"function": "SQL_internet_ip",
"type": {
"dataType": "string",
"elements": [
{
"elementType": "input",
"elementOptions": [{ "readonly": "true" }],
"transformers": []
}
]
},
"default_value": "SELECT dev_LastIP FROM Devices WHERE dev_MAC = 'Internet'",
"options": [],
"localized": ["name", "description"],
"name": [
{
"language_code": "en_us",
"string": "Helper variable"
},
{
"language_code": "es_es",
"string": "Variable de ayuda"
}
],
"description": [
{
"language_code": "en_us",
"string": "Unused setting - for demonstration only. Getting the IP address of the Router / Internet."
},
{
"language_code": "es_es",
"string": "Configuración no utilizada: solo para demostración. Obtener la dirección IP del enrutador / Internet."
}
]
}
]
}