Interface
The properties for data action declaration.
Properties
Property | Type | Notes |
---|---|---|
string | IconResult | The action icon, relative to | |
label inherited | string | The default label for the action. To support i18n, please define this string key in the translations/default.ts: |
name inherited | string | The action name. |
settingUri inherited | string | The action setting class URI, relative to the |
uri inherited | string | The action class URI, relative to |
label
label: string
The default label for the action. To support i18n, please define this string key in the translations/default.ts: _action_${actionName}_label
.
settingUri
settingUri: string
The action setting class URI, relative to the src
folder. Webpack uses this property to create an entry for the action.
In the builder settings, a message action may require settings or not, depending on the message or data source.
If the action does require settings, the action should define getSettingComponentUri()
method to return the setting uri or return null.