Updated database reading and filtering capabilities Added exports for readRow consumption

This commit is contained in:
Lyncoln
2026-10-21 11:26:34 -04:00
parent 75dd696bab
commit 4da2fa52b9
7 changed files with 80 additions and 54 deletions
+19 -1
View File
@@ -6,6 +6,15 @@ alias = "uploadavatar"
showstatus = True
resolve = {
"get": {
#"sender": ["messageheaders", "userCard", "id"],
"avatar": ["uploadimage"],
#"username": ["messageheaders", "userCard", "username"],
"avatar_hash": ["useravatar_hash"],
},
}
isrequest = True
method = "POST"
@@ -27,4 +36,13 @@ requestdata = "useravatar"
outputs = {
"uploadimage": "content_uri",
}
}
filters = [
{
"filterkey": "avatar_hash",
"operator": "==",
"filtervalue": {"outputs": "db_avatar_hash"},
"print": f"User avatar up to date. Skipping {name}...",
},
]