Export

NewFunction

Hierarchy

  • NewFunction

Properties

can_evaluate?: any

A JSON expression that evaluates to true if the Function is allowed to run in response to an incoming request.

Memberof

NewFunction

name: any

A unique name for the Function.

Memberof

NewFunction

private: any

If true, the function is hidden from client applications. You can still call a private function from JSON expressions and other functions, including incoming webhooks and triggers.

Memberof

NewFunction

run_as_system: any

If true, the function executes with full privileges, bypassing rules on all services.

Memberof

NewFunction

run_as_user_id?: any

An application user's account ID. If defined, endpoints will always run as the specified user. Cannot be used with run_as_user_id_script_source.

Memberof

NewFunction

run_as_user_id_script_source?: any

The stringified source code for a function that returns an application user's account ID. If defined, endpoints execute the function on every request and run as the user with the ID returned from the function. Cannot be used with run_as_user_id.

Memberof

NewFunction

source: any

The stringified source code for the function. The code must be valid ES6.

Memberof

NewFunction

Generated using TypeDoc