You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: toml/schema.json
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -220,6 +220,10 @@
220
220
"name": {
221
221
"$ref": "#/$defs/ConfigName"
222
222
},
223
+
"params": {
224
+
"description": "Custom parameters for the JS function.\nEach entry has a `name` and a WIT `type` (e.g. `string`, `u32`, `list<string>`).\nIf omitted, defaults to a single `(params: list<string>)` parameter.",
225
+
"$ref": "#/$defs/ParamsSpec"
226
+
},
223
227
"retry_exp_backoff": {
224
228
"$ref": "#/$defs/DurationConfig"
225
229
}
@@ -784,6 +788,25 @@
784
788
"description": "Location of a JavaScript source file for JS activities.\nSupports local file paths and `gh://` GitHub release references.\nOCI references are not supported.",
785
789
"type": "string"
786
790
},
791
+
"JsParamToml": {
792
+
"description": "A parameter declaration for a JS activity function.",
793
+
"type": "object",
794
+
"properties": {
795
+
"name": {
796
+
"description": "Parameter name (used in WIT metadata).",
797
+
"type": "string"
798
+
},
799
+
"type": {
800
+
"description": "WIT type string, e.g. `string`, `u32`, `list<string>`, `option<u64>`.",
0 commit comments