File tree Expand file tree Collapse file tree 3 files changed +22
-40
lines changed Expand file tree Collapse file tree 3 files changed +22
-40
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ enum ResolveError {
22
22
* Intent descriptor
23
23
*/
24
24
interface IntentMetadata {
25
+ /** The unique name of the intent that can be invoked by the raiseIntent call */
25
26
name : string ;
27
+
28
+ /** A friendly display name for the intent that should be used to render UI elements */
26
29
displayName : string ;
27
30
}
28
31
@@ -35,10 +38,27 @@ interface AppIntent {
35
38
}
36
39
37
40
/**
38
- * App metadata is Desktop Agent specific - but should support a name property.
41
+ * App definition as provided by the application directory
39
42
*/
40
43
interface AppMetadata {
44
+
45
+ /** The unique app name that can be used with the open and raiseIntent calls. */
41
46
name : string ;
47
+
48
+ /** A more user-friendly application title that can be used to render UI elements */
49
+ title ?: string ;
50
+
51
+ /** A tooltip for the application that can be used to render UI elements */
52
+ tooltip ?: string ;
53
+
54
+ /** A longer, multi-paragraph description for the application that could include markup */
55
+ description ?: string ;
56
+
57
+ /** A list of icon URLs for the application that can be used to render UI elements */
58
+ icons ?: Array < string > ;
59
+
60
+ /** A list of image URLs for the application that can be used to render UI elements */
61
+ images ?: Array < string > ;
42
62
}
43
63
44
64
/**
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Intent:
22
22
type : string
23
23
description : The contexts the intent accepts. This will
24
24
typically be a set of namespaced context types, e.g.
25
- " org.symphony .contact"
25
+ " fdc3 .contact"
26
26
customConfig :
27
27
type : object
28
28
description : Custom configuration for the intent
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments