Skip to main content

Type IntentResult

Type IntentResult

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


dataopen in new window

Type: any

The output of the action that was performed.

If the intent is apart of a chain of intents, the data will be passed to the next intent.

erroropen in new window

Type: Error

An error that occurred while performing the action.

If the intent is apart of a chain of intents and an error occurs, the chain will be aborted.

intentsopen in new window

Type: Intent[][]

Other intent chains to be triggered.

undoableopen in new window

Type: object

If provided, the action will be undoable.