UNPKG

@joshfarrant/shortcuts-js

Version:
21 lines (20 loc) 518 B
import Variable from '../interfaces/Variable'; import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction'; /** * @action Set Variable * @section Actions > Scripting > Variables * @icon Variable * * Sets the value of the specified variable to the input of this action. * * ```js * setVariable({ * variable: variable('My Variable'), * }); * ``` */ declare const setVariable: ({ variable, }: { /** The variable to set */ variable: Variable; }) => WFWorkflowAction; export default setVariable;