@types/fdc3-api > IntentResolution

Interface: IntentResolution

IntentResolution provides a standard format for data returned upon resolving an intent.

//resolve a "Chain" type intent
var intentR = await agent.raiseIntent("intentName", context);
//resolve a "Client-Service" type intent with data response
var intentR = await agent.raiseIntent("intentName", context);
var dataR = intentR.data;

Hierarchy

IntentResolution

Index

Properties


Properties

<Optional> data

● data: object

Defined in interface.ts:51


source

● source: string

Defined in interface.ts:50


version

● version: string

Defined in interface.ts:52