@wmfs/tymly-rankings-plugin
Version:
Plugin which handles ranking of data for Tymly framework
27 lines • 581 B
JSON
{
"Comment": "State machine to take an object of weights and refresh a ranking.",
"version": "1.0",
"StartAt": "SetRegistryKey",
"States": {
"SetRegistryKey": {
"Type": "Task",
"Resource": "module:setRegistryKey",
"InputPath": "$.setRegistryKey",
"Next": "RefreshRanking"
},
"RefreshRanking": {
"Type": "Task",
"Resource": "module:refreshRanking",
"InputPath": "$.refreshRanking",
"End": true
}
},
"restrictions": [
{
"roleId": "$authenticated",
"allows": [
"*"
]
}
]
}