Add ability to pass custom struct as module & record to script runner
This commit is contained in:
@@ -1508,8 +1508,8 @@
|
||||
{"name": "source", "type": "string", "title": "Script's source code (overrides scriptID parameter)"},
|
||||
{"name": "moduleID", "type": "uint64", "title": "Preload module and pass it to the automation script"},
|
||||
{"name": "recordID", "type": "uint64", "title": "Preload record and pass it to the automation script"},
|
||||
{"name": "module", "type": "interface{}", "title": "Module to pass to the automation script"},
|
||||
{"name": "record", "type": "interface{}", "title": "Record to pass to the automation script"}
|
||||
{"name": "module", "type": "json.RawMessage", "title": "Module to pass to the automation script"},
|
||||
{"name": "record", "type": "json.RawMessage", "title": "Record to pass to the automation script"}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -271,12 +271,12 @@
|
||||
{
|
||||
"name": "module",
|
||||
"title": "Module to pass to the automation script",
|
||||
"type": "interface{}"
|
||||
"type": "json.RawMessage"
|
||||
},
|
||||
{
|
||||
"name": "record",
|
||||
"title": "Record to pass to the automation script",
|
||||
"type": "interface{}"
|
||||
"type": "json.RawMessage"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user