@raisindb/functions-types 0.1.16 → 0.1.18

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/raisin.d.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raisindb/functions-types",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "TypeScript type definitions for the RaisinDB server-side function runtime (QuickJS)",
5
5
  "license": "MIT",
6
6
  "types": "raisin.d.ts",
package/raisin.d.ts CHANGED
@@ -265,6 +265,10 @@ declare namespace raisin {
265
265
  function emit(eventType: string, data: any): Promise<void>;
266
266
  }
267
267
 
268
+ namespace flows {
269
+ function run(flowPath: string, input: any): Promise<any>;
270
+ }
271
+
268
272
  namespace functions {
269
273
  function execute(functionPath: string, arguments: any, context: any): Promise<any>;
270
274
  function call(functionPath: string, arguments: any): Promise<any>;