Add field validation for some widgets

This commit is contained in:
Michael Shamoon 2022-10-22 23:11:08 -07:00
parent 21017e4716
commit 1695fd5bee
9 changed files with 41 additions and 0 deletions

View file

@ -7,6 +7,11 @@ const widget = {
mappings: {
"api.php": {
endpoint: "api.php",
validate: [
"dns_queries_today",
"ads_blocked_today",
"domains_being_blocked"
]
},
},
};