|
75 | 75 | // These functions will throw an error if the JSON doesn't |
76 | 76 | // match the expected interface, even if the JSON is valid. |
77 | 77 |
|
78 | | -import { Intent } from '../intents/Intents'; |
79 | | - |
80 | 78 | /** |
81 | 79 | * Metadata relating to the FDC3 Desktop Agent implementation and its provider. |
82 | 80 | */ |
@@ -1772,7 +1770,7 @@ export interface FindIntentAgentRequestMeta { |
1772 | 1770 | */ |
1773 | 1771 | export interface FindIntentAgentRequestPayload { |
1774 | 1772 | context?: ContextElement; |
1775 | | - intent: Intent; |
| 1773 | + intent: string; |
1776 | 1774 | resultType?: string; |
1777 | 1775 | } |
1778 | 1776 |
|
@@ -1846,7 +1844,7 @@ export interface IntentMetadata { |
1846 | 1844 | /** |
1847 | 1845 | * The unique name of the intent that can be invoked by the raiseIntent call |
1848 | 1846 | */ |
1849 | | - name: Intent; |
| 1847 | + name: string; |
1850 | 1848 | } |
1851 | 1849 |
|
1852 | 1850 | /** |
@@ -1931,7 +1929,7 @@ export interface FindIntentBridgeRequestMeta { |
1931 | 1929 | */ |
1932 | 1930 | export interface FindIntentBridgeRequestPayload { |
1933 | 1931 | context?: ContextElement; |
1934 | | - intent: Intent; |
| 1932 | + intent: string; |
1935 | 1933 | resultType?: string; |
1936 | 1934 | } |
1937 | 1935 |
|
@@ -3699,7 +3697,7 @@ export interface RaiseIntentAgentRequestMeta { |
3699 | 3697 | export interface RaiseIntentAgentRequestPayload { |
3700 | 3698 | app: AppDestinationIdentifier; |
3701 | 3699 | context: ContextElement; |
3702 | | - intent: Intent; |
| 3700 | + intent: string; |
3703 | 3701 | } |
3704 | 3702 |
|
3705 | 3703 | /** |
@@ -3776,7 +3774,7 @@ export interface IntentResolution { |
3776 | 3774 | * The intent that was raised. May be used to determine which intent the user |
3777 | 3775 | * chose in response to `fdc3.raiseIntentForContext()`. |
3778 | 3776 | */ |
3779 | | - intent: Intent; |
| 3777 | + intent: string; |
3780 | 3778 | /** |
3781 | 3779 | * Identifier for the app instance that was selected (or started) to resolve the intent. |
3782 | 3780 | * `source.instanceId` MUST be set, indicating the specific app instance that |
@@ -3872,7 +3870,7 @@ export interface RaiseIntentBridgeRequestMeta { |
3872 | 3870 | export interface RaiseIntentBridgeRequestPayload { |
3873 | 3871 | app: AppDestinationIdentifier; |
3874 | 3872 | context: ContextElement; |
3875 | | - intent: Intent; |
| 3873 | + intent: string; |
3876 | 3874 | } |
3877 | 3875 |
|
3878 | 3876 | /** |
|
0 commit comments