@xano/xanoscript-language-server 11.8.0 → 11.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lexer/tokens.js +1 -0
- package/onHover/functions.md +10 -5
- package/package.json +1 -1
package/lexer/tokens.js
CHANGED
package/onHover/functions.md
CHANGED
|
@@ -400,12 +400,17 @@ api.call "account/{account_id}" verb=POST {
|
|
|
400
400
|
|
|
401
401
|
Calls an internal Xano API endpoint from within a `workflow_test` or `test` clause. This allows you to invoke internal APIs as part of your end-to-end workflow tests or unit tests within queries, functions, and tasks.
|
|
402
402
|
|
|
403
|
-
|
|
403
|
+
# trigger.call
|
|
404
404
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
```xs
|
|
406
|
+
trigger.call "onNewOrder" {
|
|
407
|
+
input = {new: {}, old: {}, action: "", datasource: ""}
|
|
408
|
+
} as $new_order_response
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
**Note:** `trigger.call` is only available within `workflow_test`.
|
|
412
|
+
|
|
413
|
+
- `trigger.call` can call any trigger defined within your workspace, table, realtime, agentic or API triggers.
|
|
409
414
|
|
|
410
415
|
# tool.call
|
|
411
416
|
|