@genesislcap/foundation-fdc3 14.301.0 → 14.302.1-alpha-d11831b.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/dts/fdc3-channel-event.d.ts +264 -223
  2. package/dist/dts/fdc3-channel-event.d.ts.map +1 -1
  3. package/dist/dts/tsdoc-metadata.json +1 -1
  4. package/dist/dts/util/fdc3-intent-listener.d.ts +264 -223
  5. package/dist/dts/util/fdc3-intent-listener.d.ts.map +1 -1
  6. package/dist/dts/util/fdc3-raise-intent.d.ts +264 -223
  7. package/dist/dts/util/fdc3-raise-intent.d.ts.map +1 -1
  8. package/dist/dts/util/fdc3-system-channel-listener.d.ts +264 -223
  9. package/dist/dts/util/fdc3-system-channel-listener.d.ts.map +1 -1
  10. package/dist/dts/util/fdc3-util.d.ts.map +1 -1
  11. package/dist/esm/fdc3.js +4 -4
  12. package/dist/foundation-fdc3.api.json +845 -178
  13. package/dist/foundation-fdc3.d.ts +1056 -892
  14. package/docs/api/foundation-fdc3.appchannellistenerconfig.channelname.md +14 -0
  15. package/docs/api/foundation-fdc3.appchannellistenerconfig.md +62 -0
  16. package/docs/api/foundation-fdc3.fdc3.addchannellistener.md +65 -5
  17. package/docs/api/foundation-fdc3.fdc3.addintentlisteners.md +33 -3
  18. package/docs/api/foundation-fdc3.fdc3.addsystemchannellistener.md +49 -4
  19. package/docs/api/foundation-fdc3.fdc3.broadcastonchannel.md +65 -5
  20. package/docs/api/foundation-fdc3.fdc3.broadcastonchanneleventhandler.md +49 -4
  21. package/docs/api/foundation-fdc3.fdc3.broadcastoncurrentchannel.md +49 -4
  22. package/docs/api/foundation-fdc3.fdc3.findintent.md +49 -4
  23. package/docs/api/foundation-fdc3.fdc3.findintentsbycontext.md +33 -3
  24. package/docs/api/foundation-fdc3.fdc3.getorcreatechannel.md +33 -3
  25. package/docs/api/foundation-fdc3.fdc3.handlechannelcurrentcontext.md +65 -5
  26. package/docs/api/foundation-fdc3.fdc3.joinchannel.md +33 -3
  27. package/docs/api/foundation-fdc3.fdc3.md +264 -22
  28. package/docs/api/foundation-fdc3.fdc3.raiseintent.md +49 -4
  29. package/docs/api/foundation-fdc3.fdc3.raiseintentforcontext.md +33 -3
  30. package/docs/api/foundation-fdc3.fdc3contextlistener.config.md +14 -0
  31. package/docs/api/foundation-fdc3.fdc3contextlistener.md +62 -0
  32. package/docs/api/foundation-fdc3.fdc3intentlistener.fdc3.md +14 -0
  33. package/docs/api/foundation-fdc3.fdc3intentlistener.intentconfig.md +14 -0
  34. package/docs/api/foundation-fdc3.fdc3intentlistener.md +81 -0
  35. package/docs/api/foundation-fdc3.fdc3raiseintent.eventname.md +14 -0
  36. package/docs/api/foundation-fdc3.fdc3raiseintent.fdc3.md +14 -0
  37. package/docs/api/foundation-fdc3.fdc3raiseintent.intentname.md +14 -0
  38. package/docs/api/foundation-fdc3.fdc3raiseintent.intenttype.md +14 -0
  39. package/docs/api/foundation-fdc3.fdc3raiseintent.mappingfunction.md +14 -0
  40. package/docs/api/foundation-fdc3.fdc3raiseintent.md +138 -0
  41. package/docs/api/foundation-fdc3.fdc3systemchannellistener.config.md +14 -0
  42. package/docs/api/foundation-fdc3.fdc3systemchannellistener.fdc3.md +14 -0
  43. package/docs/api/foundation-fdc3.fdc3systemchannellistener.md +81 -0
  44. package/docs/api/foundation-fdc3.intentconfig.callback.md +14 -0
  45. package/docs/api/foundation-fdc3.intentconfig.intent.md +14 -0
  46. package/docs/api/foundation-fdc3.intentconfig.md +80 -0
  47. package/docs/api/foundation-fdc3.interopfoundationnotificationlistener.md +41 -1
  48. package/docs/api/foundation-fdc3.interopnotificationslistener.md +70 -6
  49. package/docs/api/foundation-fdc3.interopnotificationslistener.shownotificationtoast.md +31 -3
  50. package/docs/api/foundation-fdc3.md +236 -18
  51. package/docs/api/foundation-fdc3.systemchannellistenerconfig.callback.md +14 -0
  52. package/docs/api/foundation-fdc3.systemchannellistenerconfig.channeltype.md +14 -0
  53. package/docs/api/foundation-fdc3.systemchannellistenerconfig.md +80 -0
  54. package/docs/api/index.md +21 -3
  55. package/docs/api-report.md.api.md +281 -0
  56. package/package.json +15 -15
@@ -0,0 +1,14 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-fdc3](./foundation-fdc3.md) &gt; [AppChannelListenerConfig](./foundation-fdc3.appchannellistenerconfig.md) &gt; [channelName](./foundation-fdc3.appchannellistenerconfig.channelname.md)
4
+
5
+ ## AppChannelListenerConfig.channelName property
6
+
7
+ > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ **Signature:**
11
+
12
+ ```typescript
13
+ channelName: string;
14
+ ```
@@ -0,0 +1,62 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-fdc3](./foundation-fdc3.md) &gt; [AppChannelListenerConfig](./foundation-fdc3.appchannellistenerconfig.md)
4
+
5
+ ## AppChannelListenerConfig interface
6
+
7
+ > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ fdc3-context-listener listen channel config
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export interface AppChannelListenerConfig extends SystemChannelListenerConfig
16
+ ```
17
+ **Extends:** [SystemChannelListenerConfig](./foundation-fdc3.systemchannellistenerconfig.md)
18
+
19
+ ## Properties
20
+
21
+ <table><thead><tr><th>
22
+
23
+ Property
24
+
25
+
26
+ </th><th>
27
+
28
+ Modifiers
29
+
30
+
31
+ </th><th>
32
+
33
+ Type
34
+
35
+
36
+ </th><th>
37
+
38
+ Description
39
+
40
+
41
+ </th></tr></thead>
42
+ <tbody><tr><td>
43
+
44
+ [channelName](./foundation-fdc3.appchannellistenerconfig.channelname.md)
45
+
46
+
47
+ </td><td>
48
+
49
+
50
+ </td><td>
51
+
52
+ string
53
+
54
+
55
+ </td><td>
56
+
57
+ **_(ALPHA)_**
58
+
59
+
60
+ </td></tr>
61
+ </tbody></table>
62
+
@@ -14,11 +14,71 @@ addChannelListener(channelName: string, channelType: string, callback: (any: any
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | channelName | string | name of the channel |
20
- | channelType | string | type of the channel |
21
- | callback | (any: any) =&gt; void | handler to for the channel context listener |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ channelName
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ name of the channel
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ channelType
52
+
53
+
54
+ </td><td>
55
+
56
+ string
57
+
58
+
59
+ </td><td>
60
+
61
+ type of the channel
62
+
63
+
64
+ </td></tr>
65
+ <tr><td>
66
+
67
+ callback
68
+
69
+
70
+ </td><td>
71
+
72
+ (any: any) =&gt; void
73
+
74
+
75
+ </td><td>
76
+
77
+ handler to for the channel context listener
78
+
79
+
80
+ </td></tr>
81
+ </tbody></table>
22
82
 
23
83
  **Returns:**
24
84
 
@@ -14,9 +14,39 @@ addIntentListeners(listeners: Map<FDC3Intents, FDC3ContextHandler>): void;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | listeners | Map&lt;[FDC3Intents](./foundation-fdc3.fdc3intents.md)<!-- -->, [FDC3ContextHandler](./foundation-fdc3.fdc3contexthandler.md)<!-- -->&gt; | The intent listeners to add. |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ listeners
36
+
37
+
38
+ </td><td>
39
+
40
+ Map&lt;[FDC3Intents](./foundation-fdc3.fdc3intents.md)<!-- -->, [FDC3ContextHandler](./foundation-fdc3.fdc3contexthandler.md)<!-- -->&gt;
41
+
42
+
43
+ </td><td>
44
+
45
+ The intent listeners to add.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
20
50
 
21
51
  **Returns:**
22
52
 
@@ -14,10 +14,55 @@ addSystemChannelListener(channelType: string, callback: (any: any) => void): Pro
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | channelType | string | type of the channel |
20
- | callback | (any: any) =&gt; void | handler to for the channel context listener |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ channelType
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ type of the channel
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ callback
52
+
53
+
54
+ </td><td>
55
+
56
+ (any: any) =&gt; void
57
+
58
+
59
+ </td><td>
60
+
61
+ handler to for the channel context listener
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
21
66
 
22
67
  **Returns:**
23
68
 
@@ -14,11 +14,71 @@ broadcastOnChannel(channelName: string, type: string, payload: any): Promise<voi
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | channelName | string | name of the channel |
20
- | type | string | type of the channel |
21
- | payload | any | payload sent to the channel |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ channelName
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ name of the channel
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ type
52
+
53
+
54
+ </td><td>
55
+
56
+ string
57
+
58
+
59
+ </td><td>
60
+
61
+ type of the channel
62
+
63
+
64
+ </td></tr>
65
+ <tr><td>
66
+
67
+ payload
68
+
69
+
70
+ </td><td>
71
+
72
+ any
73
+
74
+
75
+ </td><td>
76
+
77
+ payload sent to the channel
78
+
79
+
80
+ </td></tr>
81
+ </tbody></table>
22
82
 
23
83
  **Returns:**
24
84
 
@@ -14,10 +14,55 @@ broadcastOnChannelEventHandler(channelName: string, type: string): Promise<(e: a
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | channelName | string | name of the channel |
20
- | type | string | type of the channel |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ channelName
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ name of the channel
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ type
52
+
53
+
54
+ </td><td>
55
+
56
+ string
57
+
58
+
59
+ </td><td>
60
+
61
+ type of the channel
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
21
66
 
22
67
  **Returns:**
23
68
 
@@ -14,10 +14,55 @@ broadcastOnCurrentChannel(payload: any, type?: string): Promise<void>;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | payload | any | payload sent to the channel |
20
- | type | string | _(Optional)_ type of the channel |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ payload
36
+
37
+
38
+ </td><td>
39
+
40
+ any
41
+
42
+
43
+ </td><td>
44
+
45
+ payload sent to the channel
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ type
52
+
53
+
54
+ </td><td>
55
+
56
+ string
57
+
58
+
59
+ </td><td>
60
+
61
+ _(Optional)_ type of the channel
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
21
66
 
22
67
  **Returns:**
23
68
 
@@ -14,10 +14,55 @@ findIntent(intent: FDC3Intents, context?: FDC3Context): Promise<FDC3AppIntent>;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | intent | [FDC3Intents](./foundation-fdc3.fdc3intents.md) | The intent to find an app for. |
20
- | context | [FDC3Context](./foundation-fdc3.fdc3context.md) | _(Optional)_ The context to use. |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ intent
36
+
37
+
38
+ </td><td>
39
+
40
+ [FDC3Intents](./foundation-fdc3.fdc3intents.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The intent to find an app for.
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ context
52
+
53
+
54
+ </td><td>
55
+
56
+ [FDC3Context](./foundation-fdc3.fdc3context.md)
57
+
58
+
59
+ </td><td>
60
+
61
+ _(Optional)_ The context to use.
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
21
66
 
22
67
  **Returns:**
23
68
 
@@ -14,9 +14,39 @@ findIntentsByContext(context: FDC3Context): Promise<FDC3AppIntent[]>;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | context | [FDC3Context](./foundation-fdc3.fdc3context.md) | The context to use. |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ context
36
+
37
+
38
+ </td><td>
39
+
40
+ [FDC3Context](./foundation-fdc3.fdc3context.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The context to use.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
20
50
 
21
51
  **Returns:**
22
52
 
@@ -14,9 +14,39 @@ getOrCreateChannel(channelId: string): Promise<FDC3Channel>;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | channelId | string | The ID of the channel to get or create. |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ channelId
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ The ID of the channel to get or create.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
20
50
 
21
51
  **Returns:**
22
52
 
@@ -14,11 +14,71 @@ handleChannelCurrentContext(channel: Channel | FDC3Channel, contextType: string,
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | channel | Channel \| [FDC3Channel](./foundation-fdc3.fdc3channel.md) | channel instance for getting for getting current context |
20
- | contextType | string | context type of the channel to listen to |
21
- | listenerCallback | (FDC3Context: any) =&gt; any | handler to for the channel context listener |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ channel
36
+
37
+
38
+ </td><td>
39
+
40
+ Channel \| [FDC3Channel](./foundation-fdc3.fdc3channel.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ channel instance for getting for getting current context
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ contextType
52
+
53
+
54
+ </td><td>
55
+
56
+ string
57
+
58
+
59
+ </td><td>
60
+
61
+ context type of the channel to listen to
62
+
63
+
64
+ </td></tr>
65
+ <tr><td>
66
+
67
+ listenerCallback
68
+
69
+
70
+ </td><td>
71
+
72
+ (FDC3Context: any) =&gt; any
73
+
74
+
75
+ </td><td>
76
+
77
+ handler to for the channel context listener
78
+
79
+
80
+ </td></tr>
81
+ </tbody></table>
22
82
 
23
83
  **Returns:**
24
84