Skip to main content

Type Intent

Type Intent

Declared in packages/sdk/app-framework/src/plugins/IntentPlugin/intent.ts:20open in new window

An intent is an abstract description of an operation to be performed. Intents allow actions to be performed across plugins.


actionopen in new window

Type: string

The action to perform.

dataopen in new window

Type: IntentData

Any data needed to perform the desired action.

pluginopen in new window

Type: string

Plugin ID. If specified, the intent will be sent explicitly to the plugin. Otherwise, the intent will be sent to all plugins, in order and the first to resolve a non-null value will be used.

undoopen in new window

Type: boolean

Whether or not the intent is being undone.