actionInputDef
actionInputDef(
input:WithMeta<ActionInputDefInput>):ActionInputModel
Create an action input definition model.
Produces a model for a single entry in the action’s inputs map.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
Input definition properties and optional metadata. |
Returns
Section titled “Returns”ActionInputModel
A branded ActionInputModel.
Example
Section titled “Example”const nameInput = actionInputDef({ description: "Name to greet", required: true, default: "World",});