@genesislcap/foundation-comms 14.167.3-alpha-b40d1e5.0 → 14.167.3-alpha-69ba23f.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/dist/dts/auth/auth.d.ts.map +1 -1
  2. package/dist/dts/connect/connect.d.ts +1 -11
  3. package/dist/dts/connect/connect.d.ts.map +1 -1
  4. package/dist/dts/connect/http.connect.d.ts +0 -1
  5. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  6. package/dist/dts/connect/index.d.ts +0 -2
  7. package/dist/dts/connect/index.d.ts.map +1 -1
  8. package/dist/dts/connect/message.d.ts +0 -51
  9. package/dist/dts/connect/message.d.ts.map +1 -1
  10. package/dist/dts/connect/socket.d.ts +8 -72
  11. package/dist/dts/connect/socket.d.ts.map +1 -1
  12. package/dist/dts/datasource/datasource.d.ts +0 -9
  13. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  14. package/dist/dts/fdc3/fdc3.d.ts +1 -17
  15. package/dist/dts/fdc3/fdc3.d.ts.map +1 -1
  16. package/dist/dts/index.d.ts +0 -1
  17. package/dist/dts/index.d.ts.map +1 -1
  18. package/dist/dts/testing/mocks/connect/connect.d.ts +0 -1
  19. package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
  20. package/dist/dts/testing/mocks/connect/socket.d.ts +1 -5
  21. package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
  22. package/dist/dts/testing/mocks/datasource/datasource.d.ts +0 -1
  23. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  24. package/dist/dts/user/user.d.ts +0 -15
  25. package/dist/dts/user/user.d.ts.map +1 -1
  26. package/dist/esm/auth/auth.js +2 -5
  27. package/dist/esm/connect/connect.js +8 -30
  28. package/dist/esm/connect/http.connect.js +0 -6
  29. package/dist/esm/connect/index.js +0 -2
  30. package/dist/esm/connect/message.js +4 -25
  31. package/dist/esm/connect/socket.js +44 -113
  32. package/dist/esm/datasource/datasource.js +8 -18
  33. package/dist/esm/fdc3/fdc3.js +4 -4
  34. package/dist/esm/index.js +0 -1
  35. package/dist/esm/testing/mocks/connect/connect.js +0 -3
  36. package/dist/esm/testing/mocks/connect/socket.js +1 -1
  37. package/dist/esm/testing/mocks/datasource/datasource.js +0 -1
  38. package/dist/esm/user/user.js +1 -22
  39. package/dist/foundation-comms.api.json +6567 -13112
  40. package/dist/foundation-comms.d.ts +13 -841
  41. package/docs/api/foundation-comms.connect.md +0 -1
  42. package/docs/api/foundation-comms.currentuser.md +0 -2
  43. package/docs/api/foundation-comms.datasource.md +0 -1
  44. package/docs/api/foundation-comms.defaultconnect._constructor_.md +1 -2
  45. package/docs/api/foundation-comms.defaultconnect.md +1 -2
  46. package/docs/api/foundation-comms.defaultdatasource.md +0 -1
  47. package/docs/api/foundation-comms.defaulthttpconnect.md +0 -1
  48. package/docs/api/foundation-comms.md +0 -39
  49. package/docs/api/foundation-comms.messagebuilder.md +0 -1
  50. package/docs/api/foundation-comms.messagetype.md +0 -2
  51. package/docs/api/foundation-comms.socket.hasvalidsession.md +11 -0
  52. package/docs/api/foundation-comms.socket.isconnected.md +11 -0
  53. package/docs/api/{foundation-comms.socketstatus.isconnectedsubject.md → foundation-comms.socket.isconnectedsubject.md} +2 -2
  54. package/docs/api/foundation-comms.socket.isreconnecting.md +11 -0
  55. package/docs/api/foundation-comms.socket.md +11 -3
  56. package/docs/api/foundation-comms.socket.sendforstream.md +1 -2
  57. package/docs/api/foundation-comms.user.md +0 -2
  58. package/docs/api-report.md +16 -520
  59. package/package.json +11 -13
  60. package/dist/dts/connect/connect.events.d.ts +0 -173
  61. package/dist/dts/connect/connect.events.d.ts.map +0 -1
  62. package/dist/dts/connect/socket.status.d.ts +0 -79
  63. package/dist/dts/connect/socket.status.d.ts.map +0 -1
  64. package/dist/dts/networkMonitor/config.d.ts +0 -56
  65. package/dist/dts/networkMonitor/config.d.ts.map +0 -1
  66. package/dist/dts/networkMonitor/index.d.ts +0 -4
  67. package/dist/dts/networkMonitor/index.d.ts.map +0 -1
  68. package/dist/dts/networkMonitor/service.d.ts +0 -193
  69. package/dist/dts/networkMonitor/service.d.ts.map +0 -1
  70. package/dist/dts/networkMonitor/types.d.ts +0 -133
  71. package/dist/dts/networkMonitor/types.d.ts.map +0 -1
  72. package/dist/esm/connect/connect.events.js +0 -113
  73. package/dist/esm/connect/socket.status.js +0 -119
  74. package/dist/esm/networkMonitor/config.js +0 -46
  75. package/dist/esm/networkMonitor/index.js +0 -3
  76. package/dist/esm/networkMonitor/service.js +0 -432
  77. package/dist/esm/networkMonitor/types.js +0 -5
  78. package/docs/api/foundation-comms.commitevent.md +0 -14
  79. package/docs/api/foundation-comms.commiteventdetail.md +0 -17
  80. package/docs/api/foundation-comms.commiteventtype.md +0 -12
  81. package/docs/api/foundation-comms.connect.getmorecolumns.md +0 -26
  82. package/docs/api/foundation-comms.connectevents.addcommitlistener.md +0 -24
  83. package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +0 -24
  84. package/docs/api/foundation-comms.connectevents.addstreamlistener.md +0 -25
  85. package/docs/api/foundation-comms.connectevents.md +0 -22
  86. package/docs/api/foundation-comms.connecteventsemitter.md +0 -24
  87. package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +0 -25
  88. package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +0 -26
  89. package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +0 -24
  90. package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +0 -27
  91. package/docs/api/foundation-comms.currentuser.set.md +0 -22
  92. package/docs/api/foundation-comms.currentuser.unset.md +0 -15
  93. package/docs/api/foundation-comms.datasource.destroy.md +0 -17
  94. package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +0 -22
  95. package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +0 -24
  96. package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +0 -24
  97. package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +0 -25
  98. package/docs/api/foundation-comms.defaultconnectevents.md +0 -27
  99. package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +0 -25
  100. package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +0 -26
  101. package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +0 -24
  102. package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +0 -27
  103. package/docs/api/foundation-comms.defaultdatasource.destroy.md +0 -17
  104. package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +0 -22
  105. package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +0 -21
  106. package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +0 -24
  107. package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +0 -23
  108. package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +0 -22
  109. package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +0 -23
  110. package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +0 -24
  111. package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +0 -25
  112. package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +0 -23
  113. package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +0 -22
  114. package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +0 -22
  115. package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +0 -23
  116. package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +0 -22
  117. package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +0 -22
  118. package/docs/api/foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md +0 -15
  119. package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +0 -23
  120. package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +0 -22
  121. package/docs/api/foundation-comms.defaultmessagebuilder.md +0 -41
  122. package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +0 -23
  123. package/docs/api/foundation-comms.defaultnetworkmonitor.create.md +0 -16
  124. package/docs/api/foundation-comms.defaultnetworkmonitor.destroy.md +0 -16
  125. package/docs/api/foundation-comms.defaultnetworkmonitor.md +0 -31
  126. package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +0 -22
  127. package/docs/api/foundation-comms.defaultnetworkmonitor.runallchecks.md +0 -11
  128. package/docs/api/foundation-comms.defaultnetworkmonitor.status.md +0 -12
  129. package/docs/api/foundation-comms.defaultnetworkmonitorconfig.md +0 -13
  130. package/docs/api/foundation-comms.defaultsocket._constructor_.md +0 -24
  131. package/docs/api/foundation-comms.defaultsocket.connect.md +0 -24
  132. package/docs/api/foundation-comms.defaultsocket.hasvalidsession.md +0 -13
  133. package/docs/api/foundation-comms.defaultsocket.isconfigured.md +0 -11
  134. package/docs/api/foundation-comms.defaultsocket.isconnected.md +0 -11
  135. package/docs/api/foundation-comms.defaultsocket.isconnectedsubject.md +0 -11
  136. package/docs/api/foundation-comms.defaultsocket.isconnecting.md +0 -11
  137. package/docs/api/foundation-comms.defaultsocket.isdisconnected.md +0 -11
  138. package/docs/api/foundation-comms.defaultsocket.isdisconnectedbyserver.md +0 -11
  139. package/docs/api/foundation-comms.defaultsocket.isreconnecting.md +0 -11
  140. package/docs/api/foundation-comms.defaultsocket.md +0 -44
  141. package/docs/api/foundation-comms.defaultsocket.reset.md +0 -15
  142. package/docs/api/foundation-comms.defaultsocket.send.md +0 -23
  143. package/docs/api/foundation-comms.defaultsocket.sendforstream.md +0 -25
  144. package/docs/api/foundation-comms.defaultsocket.socketmessages.md +0 -11
  145. package/docs/api/foundation-comms.defaultsocketstatus.closedclean.md +0 -11
  146. package/docs/api/foundation-comms.defaultsocketstatus.closedcode.md +0 -11
  147. package/docs/api/foundation-comms.defaultsocketstatus.closedreason.md +0 -11
  148. package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +0 -11
  149. package/docs/api/foundation-comms.defaultsocketstatus.isconfigured.md +0 -11
  150. package/docs/api/foundation-comms.defaultsocketstatus.isconnected.md +0 -11
  151. package/docs/api/foundation-comms.defaultsocketstatus.isconnectedchanged.md +0 -15
  152. package/docs/api/foundation-comms.defaultsocketstatus.isconnectedsubject.md +0 -11
  153. package/docs/api/foundation-comms.defaultsocketstatus.isconnecting.md +0 -11
  154. package/docs/api/foundation-comms.defaultsocketstatus.isdisconnected.md +0 -11
  155. package/docs/api/foundation-comms.defaultsocketstatus.isdisconnectedbyserver.md +0 -11
  156. package/docs/api/foundation-comms.defaultsocketstatus.isreconnecting.md +0 -11
  157. package/docs/api/foundation-comms.defaultsocketstatus.isreconnectingchanged.md +0 -15
  158. package/docs/api/foundation-comms.defaultsocketstatus.md +0 -42
  159. package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +0 -22
  160. package/docs/api/foundation-comms.defaultsocketstatus.reconnectionlimitreached.md +0 -11
  161. package/docs/api/foundation-comms.defaultsocketstatus.resetclosedstate.md +0 -15
  162. package/docs/api/foundation-comms.defaultsocketstatus.serialize.md +0 -15
  163. package/docs/api/foundation-comms.genesisconnectevents.md +0 -18
  164. package/docs/api/foundation-comms.getnetworkmonitor.md +0 -30
  165. package/docs/api/foundation-comms.getsocket.md +0 -30
  166. package/docs/api/foundation-comms.getsocketstatus.md +0 -30
  167. package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +0 -30
  168. package/docs/api/foundation-comms.messagehaserrorcode.md +0 -13
  169. package/docs/api/foundation-comms.metadataevent.md +0 -14
  170. package/docs/api/foundation-comms.metadataeventdetail.md +0 -18
  171. package/docs/api/foundation-comms.metadataeventtype.md +0 -12
  172. package/docs/api/foundation-comms.monitoredresource.md +0 -15
  173. package/docs/api/foundation-comms.monitoredresourcechecks.md +0 -15
  174. package/docs/api/foundation-comms.monitoredresourcechecksresult.isconnected.md +0 -11
  175. package/docs/api/foundation-comms.monitoredresourcechecksresult.lastmessage.md +0 -11
  176. package/docs/api/foundation-comms.monitoredresourcechecksresult.lastupdated.md +0 -11
  177. package/docs/api/foundation-comms.monitoredresourcechecksresult.md +0 -23
  178. package/docs/api/foundation-comms.monitoredresourcechecksresult.timeout.md +0 -11
  179. package/docs/api/foundation-comms.monitoredresourcedatalogon.md +0 -15
  180. package/docs/api/foundation-comms.monitoredresourcemetadata.md +0 -15
  181. package/docs/api/foundation-comms.networklogger.md +0 -12
  182. package/docs/api/foundation-comms.networkmonitor.addresource.md +0 -23
  183. package/docs/api/foundation-comms.networkmonitor.create.md +0 -15
  184. package/docs/api/foundation-comms.networkmonitor.destroy.md +0 -15
  185. package/docs/api/foundation-comms.networkmonitor.md +0 -34
  186. package/docs/api/foundation-comms.networkmonitor.removeresource.md +0 -22
  187. package/docs/api/foundation-comms.networkmonitor.runallchecks.md +0 -23
  188. package/docs/api/foundation-comms.networkmonitor.status.md +0 -11
  189. package/docs/api/foundation-comms.networkmonitorconfig.checkinterval.md +0 -13
  190. package/docs/api/foundation-comms.networkmonitorconfig.checktimeout.md +0 -13
  191. package/docs/api/foundation-comms.networkmonitorconfig.documentevents.md +0 -13
  192. package/docs/api/foundation-comms.networkmonitorconfig.eventemitter.md +0 -13
  193. package/docs/api/foundation-comms.networkmonitorconfig.genesisconnectevents.md +0 -13
  194. package/docs/api/foundation-comms.networkmonitorconfig.md +0 -27
  195. package/docs/api/foundation-comms.networkmonitorconfig.resourcechecks.md +0 -13
  196. package/docs/api/foundation-comms.networkmonitorconfig.resourcedatalogon.md +0 -18
  197. package/docs/api/foundation-comms.networkmonitorconfig.windowevents.md +0 -13
  198. package/docs/api/foundation-comms.resourcehealth.md +0 -19
  199. package/docs/api/foundation-comms.serializedsocketstatus.closedclean.md +0 -11
  200. package/docs/api/foundation-comms.serializedsocketstatus.closedcode.md +0 -11
  201. package/docs/api/foundation-comms.serializedsocketstatus.closedreason.md +0 -11
  202. package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +0 -11
  203. package/docs/api/foundation-comms.serializedsocketstatus.isconfigured.md +0 -13
  204. package/docs/api/foundation-comms.serializedsocketstatus.isconnected.md +0 -11
  205. package/docs/api/foundation-comms.serializedsocketstatus.isconnecting.md +0 -11
  206. package/docs/api/foundation-comms.serializedsocketstatus.isdisconnected.md +0 -11
  207. package/docs/api/foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md +0 -11
  208. package/docs/api/foundation-comms.serializedsocketstatus.isreconnecting.md +0 -11
  209. package/docs/api/foundation-comms.serializedsocketstatus.md +0 -30
  210. package/docs/api/foundation-comms.serializedsocketstatus.reconnectionlimitreached.md +0 -11
  211. package/docs/api/foundation-comms.socketstatus.md +0 -28
  212. package/docs/api/foundation-comms.socketstatus.onclose.md +0 -22
  213. package/docs/api/foundation-comms.socketstatus.serialize.md +0 -15
  214. package/docs/api/foundation-comms.streamcompleteevent.md +0 -14
  215. package/docs/api/foundation-comms.streamcompleteeventtype.md +0 -12
  216. package/docs/api/foundation-comms.streamevent.md +0 -14
  217. package/docs/api/foundation-comms.streameventdetail.md +0 -19
  218. package/docs/api/foundation-comms.streameventfunctions.md +0 -19
  219. package/docs/api/foundation-comms.streameventtype.md +0 -12
  220. package/docs/api/foundation-comms.systemhealthchanged.md +0 -13
  221. package/docs/api/foundation-comms.systemhealthchangedevent.md +0 -15
  222. package/docs/api/foundation-comms.systemhealthstatus.md +0 -29
  223. package/docs/api/foundation-comms.user.set.md +0 -22
  224. package/docs/api/foundation-comms.user.unset.md +0 -15
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitor](./foundation-comms.networkmonitor.md) &gt; [destroy](./foundation-comms.networkmonitor.destroy.md)
4
-
5
- ## NetworkMonitor.destroy() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- destroy(): void;
11
- ```
12
- **Returns:**
13
-
14
- void
15
-
@@ -1,34 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitor](./foundation-comms.networkmonitor.md)
4
-
5
- ## NetworkMonitor interface
6
-
7
- `NetworkMonitor` monitors network and resource availability and health.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface NetworkMonitor
13
- ```
14
-
15
- ## Remarks
16
-
17
- UIs can listen for 'system-health-changed' events and display visual overlays to communicate status to the user.
18
-
19
- ## Properties
20
-
21
- | Property | Modifiers | Type | Description |
22
- | --- | --- | --- | --- |
23
- | [status](./foundation-comms.networkmonitor.status.md) | | [SystemHealthStatus](./foundation-comms.systemhealthstatus.md) | |
24
-
25
- ## Methods
26
-
27
- | Method | Description |
28
- | --- | --- |
29
- | [addResource(resource, metadata)](./foundation-comms.networkmonitor.addresource.md) | |
30
- | [create()](./foundation-comms.networkmonitor.create.md) | |
31
- | [destroy()](./foundation-comms.networkmonitor.destroy.md) | |
32
- | [removeResource(resource)](./foundation-comms.networkmonitor.removeresource.md) | |
33
- | [runAllChecks(source, force)](./foundation-comms.networkmonitor.runallchecks.md) | |
34
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitor](./foundation-comms.networkmonitor.md) &gt; [removeResource](./foundation-comms.networkmonitor.removeresource.md)
4
-
5
- ## NetworkMonitor.removeResource() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- removeResource(resource: MonitoredResource): void;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | resource | [MonitoredResource](./foundation-comms.monitoredresource.md) | The resource reference. |
18
-
19
- **Returns:**
20
-
21
- void
22
-
@@ -1,23 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitor](./foundation-comms.networkmonitor.md) &gt; [runAllChecks](./foundation-comms.networkmonitor.runallchecks.md)
4
-
5
- ## NetworkMonitor.runAllChecks() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- runAllChecks(source?: unknown, force?: boolean): Promise<void>;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | source | unknown | _(Optional)_ The source of the call, which may have been an event or scheduled interval. |
18
- | force | boolean | _(Optional)_ A flag to bypass abort if already in progress logic. |
19
-
20
- **Returns:**
21
-
22
- Promise&lt;void&gt;
23
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitor](./foundation-comms.networkmonitor.md) &gt; [status](./foundation-comms.networkmonitor.status.md)
4
-
5
- ## NetworkMonitor.status property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- status: SystemHealthStatus;
11
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [checkInterval](./foundation-comms.networkmonitorconfig.checkinterval.md)
4
-
5
- ## NetworkMonitorConfig.checkInterval property
6
-
7
- Periodic check internal in ms
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- checkInterval?: number;
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [checkTimeout](./foundation-comms.networkmonitorconfig.checktimeout.md)
4
-
5
- ## NetworkMonitorConfig.checkTimeout property
6
-
7
- Check timeout in ms
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- checkTimeout?: number;
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [documentEvents](./foundation-comms.networkmonitorconfig.documentevents.md)
4
-
5
- ## NetworkMonitorConfig.documentEvents property
6
-
7
- Document events that invoke checks
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- documentEvents?: (keyof DocumentEventMap)[];
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [eventEmitter](./foundation-comms.networkmonitorconfig.eventemitter.md)
4
-
5
- ## NetworkMonitorConfig.eventEmitter property
6
-
7
- The element to emit events from
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- eventEmitter?: HTMLElement;
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [genesisConnectEvents](./foundation-comms.networkmonitorconfig.genesisconnectevents.md)
4
-
5
- ## NetworkMonitorConfig.genesisConnectEvents property
6
-
7
- Genesis connect events that invoke checks
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- genesisConnectEvents?: GenesisConnectEvents[];
13
- ```
@@ -1,27 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md)
4
-
5
- ## NetworkMonitorConfig interface
6
-
7
- NetworkMonitorConfig DI interface.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface NetworkMonitorConfig
13
- ```
14
-
15
- ## Properties
16
-
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [checkInterval?](./foundation-comms.networkmonitorconfig.checkinterval.md) | | number | _(Optional)_ Periodic check internal in ms |
20
- | [checkTimeout?](./foundation-comms.networkmonitorconfig.checktimeout.md) | | number | _(Optional)_ Check timeout in ms |
21
- | [documentEvents?](./foundation-comms.networkmonitorconfig.documentevents.md) | | (keyof DocumentEventMap)\[\] | _(Optional)_ Document events that invoke checks |
22
- | [eventEmitter?](./foundation-comms.networkmonitorconfig.eventemitter.md) | | HTMLElement | _(Optional)_ The element to emit events from |
23
- | [genesisConnectEvents?](./foundation-comms.networkmonitorconfig.genesisconnectevents.md) | | [GenesisConnectEvents](./foundation-comms.genesisconnectevents.md)<!-- -->\[\] | _(Optional)_ Genesis connect events that invoke checks |
24
- | [resourceChecks?](./foundation-comms.networkmonitorconfig.resourcechecks.md) | | [MonitoredResourceChecks](./foundation-comms.monitoredresourcechecks.md) | _(Optional)_ Default resource checks function |
25
- | [resourceDataLogon?](./foundation-comms.networkmonitorconfig.resourcedatalogon.md) | | [MonitoredResourceDataLogon](./foundation-comms.monitoredresourcedatalogon.md) | _(Optional)_ Default resource data logon function |
26
- | [windowEvents?](./foundation-comms.networkmonitorconfig.windowevents.md) | | (keyof WindowEventHandlersEventMap)\[\] | _(Optional)_ Window events that invoke checks |
27
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [resourceChecks](./foundation-comms.networkmonitorconfig.resourcechecks.md)
4
-
5
- ## NetworkMonitorConfig.resourceChecks property
6
-
7
- Default resource checks function
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- resourceChecks?: MonitoredResourceChecks;
13
- ```
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [resourceDataLogon](./foundation-comms.networkmonitorconfig.resourcedatalogon.md)
4
-
5
- ## NetworkMonitorConfig.resourceDataLogon property
6
-
7
- Default resource data logon function
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- resourceDataLogon?: MonitoredResourceDataLogon;
13
- ```
14
-
15
- ## Remarks
16
-
17
- Used to re-attempt data logon on an unhealthy data server
18
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) &gt; [windowEvents](./foundation-comms.networkmonitorconfig.windowevents.md)
4
-
5
- ## NetworkMonitorConfig.windowEvents property
6
-
7
- Window events that invoke checks
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- windowEvents?: (keyof WindowEventHandlersEventMap)[];
13
- ```
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [ResourceHealth](./foundation-comms.resourcehealth.md)
4
-
5
- ## ResourceHealth type
6
-
7
- ResourceHealth.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type ResourceHealth = MonitoredResourceChecksResult & {
13
- name: string;
14
- sourceRef: string;
15
- lastError?: any;
16
- };
17
- ```
18
- **References:** [MonitoredResourceChecksResult](./foundation-comms.monitoredresourcechecksresult.md)
19
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [closedClean](./foundation-comms.serializedsocketstatus.closedclean.md)
4
-
5
- ## SerializedSocketStatus.closedClean property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly closedClean: boolean;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [closedCode](./foundation-comms.serializedsocketstatus.closedcode.md)
4
-
5
- ## SerializedSocketStatus.closedCode property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly closedCode: number;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [closedReason](./foundation-comms.serializedsocketstatus.closedreason.md)
4
-
5
- ## SerializedSocketStatus.closedReason property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- readonly closedReason: string;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [hasValidSession](./foundation-comms.serializedsocketstatus.hasvalidsession.md)
4
-
5
- ## SerializedSocketStatus.hasValidSession property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasValidSession: boolean;
11
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [isConfigured](./foundation-comms.serializedsocketstatus.isconfigured.md)
4
-
5
- ## SerializedSocketStatus.isConfigured property
6
-
7
- When the socket has been configured for use.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isConfigured: boolean;
13
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [isConnected](./foundation-comms.serializedsocketstatus.isconnected.md)
4
-
5
- ## SerializedSocketStatus.isConnected property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isConnected: boolean;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [isConnecting](./foundation-comms.serializedsocketstatus.isconnecting.md)
4
-
5
- ## SerializedSocketStatus.isConnecting property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isConnecting: boolean;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [isDisconnected](./foundation-comms.serializedsocketstatus.isdisconnected.md)
4
-
5
- ## SerializedSocketStatus.isDisconnected property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isDisconnected: boolean;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [isDisconnectedByServer](./foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md)
4
-
5
- ## SerializedSocketStatus.isDisconnectedByServer property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isDisconnectedByServer: boolean;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [isReconnecting](./foundation-comms.serializedsocketstatus.isreconnecting.md)
4
-
5
- ## SerializedSocketStatus.isReconnecting property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isReconnecting: boolean;
11
- ```
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md)
4
-
5
- ## SerializedSocketStatus interface
6
-
7
- `SerializedSocketStatus` provides the serialize state of the web socket.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface SerializedSocketStatus
13
- ```
14
-
15
- ## Properties
16
-
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [closedClean](./foundation-comms.serializedsocketstatus.closedclean.md) | <code>readonly</code> | boolean | |
20
- | [closedCode](./foundation-comms.serializedsocketstatus.closedcode.md) | <code>readonly</code> | number | |
21
- | [closedReason](./foundation-comms.serializedsocketstatus.closedreason.md) | <code>readonly</code> | string | |
22
- | [hasValidSession](./foundation-comms.serializedsocketstatus.hasvalidsession.md) | | boolean | |
23
- | [isConfigured](./foundation-comms.serializedsocketstatus.isconfigured.md) | | boolean | When the socket has been configured for use. |
24
- | [isConnected](./foundation-comms.serializedsocketstatus.isconnected.md) | | boolean | |
25
- | [isConnecting](./foundation-comms.serializedsocketstatus.isconnecting.md) | | boolean | |
26
- | [isDisconnected](./foundation-comms.serializedsocketstatus.isdisconnected.md) | | boolean | |
27
- | [isDisconnectedByServer](./foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md) | | boolean | |
28
- | [isReconnecting](./foundation-comms.serializedsocketstatus.isreconnecting.md) | | boolean | |
29
- | [reconnectionLimitReached](./foundation-comms.serializedsocketstatus.reconnectionlimitreached.md) | | boolean | |
30
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) &gt; [reconnectionLimitReached](./foundation-comms.serializedsocketstatus.reconnectionlimitreached.md)
4
-
5
- ## SerializedSocketStatus.reconnectionLimitReached property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- reconnectionLimitReached: boolean;
11
- ```
@@ -1,28 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SocketStatus](./foundation-comms.socketstatus.md)
4
-
5
- ## SocketStatus interface
6
-
7
- `SocketStatus` provides the state of the web socket.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface SocketStatus extends SerializedSocketStatus
13
- ```
14
- **Extends:** [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md)
15
-
16
- ## Properties
17
-
18
- | Property | Modifiers | Type | Description |
19
- | --- | --- | --- | --- |
20
- | [isConnectedSubject](./foundation-comms.socketstatus.isconnectedsubject.md) | | BehaviorSubject&lt;boolean&gt; | |
21
-
22
- ## Methods
23
-
24
- | Method | Description |
25
- | --- | --- |
26
- | [onClose(closeEvent)](./foundation-comms.socketstatus.onclose.md) | |
27
- | [serialize()](./foundation-comms.socketstatus.serialize.md) | |
28
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SocketStatus](./foundation-comms.socketstatus.md) &gt; [onClose](./foundation-comms.socketstatus.onclose.md)
4
-
5
- ## SocketStatus.onClose() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- onClose(closeEvent: CloseEvent): void;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | closeEvent | CloseEvent | |
18
-
19
- **Returns:**
20
-
21
- void
22
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SocketStatus](./foundation-comms.socketstatus.md) &gt; [serialize](./foundation-comms.socketstatus.serialize.md)
4
-
5
- ## SocketStatus.serialize() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- serialize(): SerializedSocketStatus;
11
- ```
12
- **Returns:**
13
-
14
- [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md)
15
-
@@ -1,14 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [StreamCompleteEvent](./foundation-comms.streamcompleteevent.md)
4
-
5
- ## StreamCompleteEvent type
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export type StreamCompleteEvent = CustomEvent<SocketObservable<any>>;
12
- ```
13
- **References:** [SocketObservable](./foundation-comms.socketobservable.md)
14
-
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [StreamCompleteEventType](./foundation-comms.streamcompleteeventtype.md)
4
-
5
- ## StreamCompleteEventType variable
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- StreamCompleteEventType = "connect-stream-complete-event"
12
- ```
@@ -1,14 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [StreamEvent](./foundation-comms.streamevent.md)
4
-
5
- ## StreamEvent type
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export type StreamEvent = CustomEvent<StreamEventDetail>;
12
- ```
13
- **References:** [StreamEventDetail](./foundation-comms.streameventdetail.md)
14
-
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [StreamEventDetail](./foundation-comms.streameventdetail.md)
4
-
5
- ## StreamEventDetail type
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export type StreamEventDetail = {
12
- functions: StreamEventFunctions;
13
- message: Message<MessageDetails.DataserverRequest>;
14
- resourceName: string;
15
- stream: SocketObservable<any>;
16
- };
17
- ```
18
- **References:** [StreamEventFunctions](./foundation-comms.streameventfunctions.md)<!-- -->, [Message](./foundation-comms.message.md)<!-- -->, [MessageDetails.DataserverRequest](./foundation-comms.messagedetails.dataserverrequest.md)<!-- -->, [SocketObservable](./foundation-comms.socketobservable.md)
19
-
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [StreamEventFunctions](./foundation-comms.streameventfunctions.md)
4
-
5
- ## StreamEventFunctions type
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export type StreamEventFunctions = {
12
- onMessage?: Function;
13
- onError?: Function;
14
- resourceChecks?: MonitoredResourceChecks;
15
- resourceDataLogon?: MonitoredResourceDataLogon;
16
- };
17
- ```
18
- **References:** [MonitoredResourceChecks](./foundation-comms.monitoredresourcechecks.md)<!-- -->, [MonitoredResourceDataLogon](./foundation-comms.monitoredresourcedatalogon.md)
19
-
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [StreamEventType](./foundation-comms.streameventtype.md)
4
-
5
- ## StreamEventType variable
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- StreamEventType = "connect-stream-event"
12
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [SystemHealthChanged](./foundation-comms.systemhealthchanged.md)
4
-
5
- ## SystemHealthChanged variable
6
-
7
- SystemHealthChanged.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- SystemHealthChanged = "system-health-changed"
13
- ```