@genesislcap/foundation-comms 14.167.3-alpha-69ba23f.0 → 14.168.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/auth/auth.d.ts.map +1 -1
- package/dist/dts/connect/connect.d.ts +11 -1
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/connect.events.d.ts +173 -0
- package/dist/dts/connect/connect.events.d.ts.map +1 -0
- package/dist/dts/connect/http.connect.d.ts +1 -0
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/connect/index.d.ts +2 -0
- package/dist/dts/connect/index.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +51 -0
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts +72 -8
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/connect/socket.status.d.ts +79 -0
- package/dist/dts/connect/socket.status.d.ts.map +1 -0
- package/dist/dts/datasource/datasource.d.ts +9 -0
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/fdc3/fdc3.d.ts +17 -1
- package/dist/dts/fdc3/fdc3.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/networkMonitor/config.d.ts +56 -0
- package/dist/dts/networkMonitor/config.d.ts.map +1 -0
- package/dist/dts/networkMonitor/index.d.ts +4 -0
- package/dist/dts/networkMonitor/index.d.ts.map +1 -0
- package/dist/dts/networkMonitor/service.d.ts +193 -0
- package/dist/dts/networkMonitor/service.d.ts.map +1 -0
- package/dist/dts/networkMonitor/types.d.ts +133 -0
- package/dist/dts/networkMonitor/types.d.ts.map +1 -0
- package/dist/dts/testing/mocks/connect/connect.d.ts +1 -0
- package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +5 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +1 -0
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/user/user.d.ts +15 -0
- package/dist/dts/user/user.d.ts.map +1 -1
- package/dist/esm/auth/auth.js +5 -2
- package/dist/esm/connect/connect.events.js +113 -0
- package/dist/esm/connect/connect.js +30 -8
- package/dist/esm/connect/http.connect.js +6 -0
- package/dist/esm/connect/index.js +2 -0
- package/dist/esm/connect/message.js +25 -4
- package/dist/esm/connect/socket.js +113 -44
- package/dist/esm/connect/socket.status.js +119 -0
- package/dist/esm/datasource/datasource.js +18 -8
- package/dist/esm/fdc3/fdc3.js +4 -4
- package/dist/esm/index.js +1 -0
- package/dist/esm/networkMonitor/config.js +46 -0
- package/dist/esm/networkMonitor/index.js +3 -0
- package/dist/esm/networkMonitor/service.js +445 -0
- package/dist/esm/networkMonitor/types.js +5 -0
- package/dist/esm/testing/mocks/connect/connect.js +3 -0
- package/dist/esm/testing/mocks/connect/socket.js +1 -1
- package/dist/esm/testing/mocks/datasource/datasource.js +1 -0
- package/dist/esm/user/user.js +22 -1
- package/dist/foundation-comms.api.json +14711 -8166
- package/dist/foundation-comms.d.ts +841 -13
- package/docs/api/foundation-comms.commitevent.md +14 -0
- package/docs/api/foundation-comms.commiteventdetail.md +17 -0
- package/docs/api/foundation-comms.commiteventtype.md +12 -0
- package/docs/api/foundation-comms.connect.getmorecolumns.md +26 -0
- package/docs/api/foundation-comms.connect.md +1 -0
- package/docs/api/foundation-comms.connectevents.addcommitlistener.md +24 -0
- package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +24 -0
- package/docs/api/foundation-comms.connectevents.addstreamlistener.md +25 -0
- package/docs/api/foundation-comms.connectevents.md +22 -0
- package/docs/api/foundation-comms.connecteventsemitter.md +24 -0
- package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +25 -0
- package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +26 -0
- package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +24 -0
- package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +27 -0
- package/docs/api/foundation-comms.currentuser.md +2 -0
- package/docs/api/foundation-comms.currentuser.set.md +22 -0
- package/docs/api/foundation-comms.currentuser.unset.md +15 -0
- package/docs/api/foundation-comms.datasource.destroy.md +17 -0
- package/docs/api/foundation-comms.datasource.md +1 -0
- package/docs/api/foundation-comms.defaultconnect._constructor_.md +2 -1
- package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +22 -0
- package/docs/api/foundation-comms.defaultconnect.md +2 -1
- package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +24 -0
- package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +24 -0
- package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +25 -0
- package/docs/api/foundation-comms.defaultconnectevents.md +27 -0
- package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +25 -0
- package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +26 -0
- package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +24 -0
- package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +27 -0
- package/docs/api/foundation-comms.defaultdatasource.destroy.md +17 -0
- package/docs/api/foundation-comms.defaultdatasource.md +1 -0
- package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +22 -0
- package/docs/api/foundation-comms.defaulthttpconnect.md +1 -0
- package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +21 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +24 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +24 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +25 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md +15 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.md +41 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +23 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.create.md +16 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.destroy.md +16 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.md +31 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +22 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.runallchecks.md +11 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.status.md +12 -0
- package/docs/api/foundation-comms.defaultnetworkmonitorconfig.md +13 -0
- package/docs/api/foundation-comms.defaultsocket._constructor_.md +24 -0
- package/docs/api/foundation-comms.defaultsocket.connect.md +24 -0
- package/docs/api/foundation-comms.defaultsocket.hasvalidsession.md +13 -0
- package/docs/api/foundation-comms.defaultsocket.isconfigured.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isconnectedsubject.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isdisconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isdisconnectedbyserver.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.md +44 -0
- package/docs/api/foundation-comms.defaultsocket.reset.md +15 -0
- package/docs/api/foundation-comms.defaultsocket.send.md +23 -0
- package/docs/api/foundation-comms.defaultsocket.sendforstream.md +25 -0
- package/docs/api/foundation-comms.defaultsocket.socketmessages.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.closedclean.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.closedcode.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.closedreason.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconfigured.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedchanged.md +15 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedsubject.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnectedbyserver.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnectingchanged.md +15 -0
- package/docs/api/foundation-comms.defaultsocketstatus.md +42 -0
- package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +22 -0
- package/docs/api/foundation-comms.defaultsocketstatus.reconnectionlimitreached.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.resetclosedstate.md +15 -0
- package/docs/api/foundation-comms.defaultsocketstatus.serialize.md +15 -0
- package/docs/api/foundation-comms.genesisconnectevents.md +18 -0
- package/docs/api/foundation-comms.getnetworkmonitor.md +30 -0
- package/docs/api/foundation-comms.getsocket.md +30 -0
- package/docs/api/foundation-comms.getsocketstatus.md +30 -0
- package/docs/api/foundation-comms.md +39 -0
- package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +30 -0
- package/docs/api/foundation-comms.messagebuilder.md +1 -0
- package/docs/api/foundation-comms.messagehaserrorcode.md +13 -0
- package/docs/api/foundation-comms.messagetype.md +2 -0
- package/docs/api/foundation-comms.metadataevent.md +14 -0
- package/docs/api/foundation-comms.metadataeventdetail.md +18 -0
- package/docs/api/foundation-comms.metadataeventtype.md +12 -0
- package/docs/api/foundation-comms.monitoredresource.md +15 -0
- package/docs/api/foundation-comms.monitoredresourcechecks.md +15 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.isconnected.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastmessage.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastupdated.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.md +23 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.timeout.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcedatalogon.md +15 -0
- package/docs/api/foundation-comms.monitoredresourcemetadata.md +15 -0
- package/docs/api/foundation-comms.networklogger.md +12 -0
- package/docs/api/foundation-comms.networkmonitor.addresource.md +23 -0
- package/docs/api/foundation-comms.networkmonitor.create.md +15 -0
- package/docs/api/foundation-comms.networkmonitor.destroy.md +15 -0
- package/docs/api/foundation-comms.networkmonitor.md +34 -0
- package/docs/api/foundation-comms.networkmonitor.removeresource.md +22 -0
- package/docs/api/foundation-comms.networkmonitor.runallchecks.md +23 -0
- package/docs/api/foundation-comms.networkmonitor.status.md +11 -0
- package/docs/api/foundation-comms.networkmonitorconfig.checkinterval.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.checktimeout.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.documentevents.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.eventemitter.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.genesisconnectevents.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.md +27 -0
- package/docs/api/foundation-comms.networkmonitorconfig.resourcechecks.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.resourcedatalogon.md +18 -0
- package/docs/api/foundation-comms.networkmonitorconfig.windowevents.md +13 -0
- package/docs/api/foundation-comms.resourcehealth.md +19 -0
- package/docs/api/foundation-comms.serializedsocketstatus.closedclean.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.closedcode.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.closedreason.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isconfigured.md +13 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isconnected.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isconnecting.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnected.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.md +30 -0
- package/docs/api/foundation-comms.serializedsocketstatus.reconnectionlimitreached.md +11 -0
- package/docs/api/foundation-comms.socket.md +3 -11
- package/docs/api/foundation-comms.socket.sendforstream.md +2 -1
- package/docs/api/{foundation-comms.socket.isconnectedsubject.md → foundation-comms.socketstatus.isconnectedsubject.md} +2 -2
- package/docs/api/foundation-comms.socketstatus.md +28 -0
- package/docs/api/foundation-comms.socketstatus.onclose.md +22 -0
- package/docs/api/foundation-comms.socketstatus.serialize.md +15 -0
- package/docs/api/foundation-comms.streamcompleteevent.md +14 -0
- package/docs/api/foundation-comms.streamcompleteeventtype.md +12 -0
- package/docs/api/foundation-comms.streamevent.md +14 -0
- package/docs/api/foundation-comms.streameventdetail.md +19 -0
- package/docs/api/foundation-comms.streameventfunctions.md +19 -0
- package/docs/api/foundation-comms.streameventtype.md +12 -0
- package/docs/api/foundation-comms.systemhealthchanged.md +13 -0
- package/docs/api/foundation-comms.systemhealthchangedevent.md +15 -0
- package/docs/api/foundation-comms.systemhealthstatus.md +29 -0
- package/docs/api/foundation-comms.user.md +2 -0
- package/docs/api/foundation-comms.user.set.md +22 -0
- package/docs/api/foundation-comms.user.unset.md +15 -0
- package/docs/api-report.md +520 -16
- package/package.json +13 -11
- package/docs/api/foundation-comms.socket.hasvalidsession.md +0 -11
- package/docs/api/foundation-comms.socket.isconnected.md +0 -11
- package/docs/api/foundation-comms.socket.isreconnecting.md +0 -11
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) > [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
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) > [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
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) > [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
|
+
```
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) > [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
|
+
```
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) > [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
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [NetworkMonitorConfig](./foundation-comms.networkmonitorconfig.md) > [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
|
+
```
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [closedClean](./foundation-comms.serializedsocketstatus.closedclean.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.closedClean property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
readonly closedClean: boolean;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [closedCode](./foundation-comms.serializedsocketstatus.closedcode.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.closedCode property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
readonly closedCode: number;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [closedReason](./foundation-comms.serializedsocketstatus.closedreason.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.closedReason property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
readonly closedReason: string;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [hasValidSession](./foundation-comms.serializedsocketstatus.hasvalidsession.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.hasValidSession property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
hasValidSession: boolean;
|
11
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [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
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [isConnected](./foundation-comms.serializedsocketstatus.isconnected.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.isConnected property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
isConnected: boolean;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [isConnecting](./foundation-comms.serializedsocketstatus.isconnecting.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.isConnecting property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
isConnecting: boolean;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [isDisconnected](./foundation-comms.serializedsocketstatus.isdisconnected.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.isDisconnected property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
isDisconnected: boolean;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [isDisconnectedByServer](./foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.isDisconnectedByServer property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
isDisconnectedByServer: boolean;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [isReconnecting](./foundation-comms.serializedsocketstatus.isreconnecting.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.isReconnecting property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
isReconnecting: boolean;
|
11
|
+
```
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md) > [reconnectionLimitReached](./foundation-comms.serializedsocketstatus.reconnectionlimitreached.md)
|
4
|
+
|
5
|
+
## SerializedSocketStatus.reconnectionLimitReached property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
reconnectionLimitReached: boolean;
|
11
|
+
```
|
@@ -9,17 +9,9 @@ Represents a WebSocket used to establish a communication channel between client
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
export interface Socket
|
12
|
+
export interface Socket extends Omit<SocketStatus, 'serialize' | 'onClose' | 'reconnectionLimitReached' | 'closedCode' | 'closedReason' | 'closedClean'>
|
13
13
|
```
|
14
|
-
|
15
|
-
## Properties
|
16
|
-
|
17
|
-
| Property | Modifiers | Type | Description |
|
18
|
-
| --- | --- | --- | --- |
|
19
|
-
| [hasValidSession](./foundation-comms.socket.hasvalidsession.md) | | boolean | |
|
20
|
-
| [isConnected](./foundation-comms.socket.isconnected.md) | | boolean | |
|
21
|
-
| [isConnectedSubject](./foundation-comms.socket.isconnectedsubject.md) | | BehaviorSubject<boolean> | |
|
22
|
-
| [isReconnecting](./foundation-comms.socket.isreconnecting.md) | | boolean | |
|
14
|
+
**Extends:** Omit<[SocketStatus](./foundation-comms.socketstatus.md)<!-- -->, 'serialize' \| 'onClose' \| 'reconnectionLimitReached' \| 'closedCode' \| 'closedReason' \| 'closedClean'>
|
23
15
|
|
24
16
|
## Methods
|
25
17
|
|
@@ -28,6 +20,6 @@ export interface Socket
|
|
28
20
|
| [connect(host, options, reconnectOptions)](./foundation-comms.socket.connect.md) | |
|
29
21
|
| [reset()](./foundation-comms.socket.reset.md) | Disconnects the socket and clears all subscriptions |
|
30
22
|
| [send(message, needsHandling)](./foundation-comms.socket.send.md) | |
|
31
|
-
| [sendForStream(message, onMessage, onError)](./foundation-comms.socket.sendforstream.md) | |
|
23
|
+
| [sendForStream(message, onMessage, onError, onComplete)](./foundation-comms.socket.sendforstream.md) | |
|
32
24
|
| [socketMessages()](./foundation-comms.socket.socketmessages.md) | |
|
33
25
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function): Observable<Message>;
|
10
|
+
sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function, onComplete?: Function): Observable<Message>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
@@ -17,6 +17,7 @@ sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Functi
|
|
17
17
|
| message | [Message](./foundation-comms.message.md)<!-- --><T \| any> | |
|
18
18
|
| onMessage | Function | |
|
19
19
|
| onError | Function | |
|
20
|
+
| onComplete | Function | _(Optional)_ |
|
20
21
|
|
21
22
|
**Returns:**
|
22
23
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
2
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SocketStatus](./foundation-comms.socketstatus.md) > [isConnectedSubject](./foundation-comms.socketstatus.isconnectedsubject.md)
|
4
4
|
|
5
|
-
##
|
5
|
+
## SocketStatus.isConnectedSubject property
|
6
6
|
|
7
7
|
**Signature:**
|
8
8
|
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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<boolean> | |
|
21
|
+
|
22
|
+
## Methods
|
23
|
+
|
24
|
+
| Method | Description |
|
25
|
+
| --- | --- |
|
26
|
+
| [onClose(closeEvent)](./foundation-comms.socketstatus.onclose.md) | |
|
27
|
+
| [serialize()](./foundation-comms.socketstatus.serialize.md) | |
|
28
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SocketStatus](./foundation-comms.socketstatus.md) > [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
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SocketStatus](./foundation-comms.socketstatus.md) > [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
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [StreamCompleteEventType](./foundation-comms.streamcompleteeventtype.md)
|
4
|
+
|
5
|
+
## StreamCompleteEventType variable
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
StreamCompleteEventType = "connect-stream-complete-event"
|
12
|
+
```
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [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
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [StreamEventType](./foundation-comms.streameventtype.md)
|
4
|
+
|
5
|
+
## StreamEventType variable
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
StreamEventType = "connect-stream-event"
|
12
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SystemHealthChanged](./foundation-comms.systemhealthchanged.md)
|
4
|
+
|
5
|
+
## SystemHealthChanged variable
|
6
|
+
|
7
|
+
SystemHealthChanged.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
SystemHealthChanged = "system-health-changed"
|
13
|
+
```
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SystemHealthChangedEvent](./foundation-comms.systemhealthchangedevent.md)
|
4
|
+
|
5
|
+
## SystemHealthChangedEvent type
|
6
|
+
|
7
|
+
SystemHealthChangedEvent.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export type SystemHealthChangedEvent = CustomEvent<SystemHealthStatus>;
|
13
|
+
```
|
14
|
+
**References:** [SystemHealthStatus](./foundation-comms.systemhealthstatus.md)
|
15
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [SystemHealthStatus](./foundation-comms.systemhealthstatus.md)
|
4
|
+
|
5
|
+
## SystemHealthStatus type
|
6
|
+
|
7
|
+
SystemHealthStatus.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export type SystemHealthStatus = {
|
13
|
+
isOnline: boolean;
|
14
|
+
browserInformation?: Bowser.Parser.ParsedResult;
|
15
|
+
isAuthenticated: boolean;
|
16
|
+
username?: string;
|
17
|
+
isHealthy: boolean;
|
18
|
+
socket: SerializedSocketStatus;
|
19
|
+
resources: Record<string, ResourceHealth>;
|
20
|
+
resourcesAllConnected: boolean;
|
21
|
+
lastUpdated: number;
|
22
|
+
nextUpdate: number;
|
23
|
+
firstUpdated: number;
|
24
|
+
runAllChecks(): void;
|
25
|
+
reportStabilityToGenesis(): Promise<boolean>;
|
26
|
+
};
|
27
|
+
```
|
28
|
+
**References:** [SerializedSocketStatus](./foundation-comms.serializedsocketstatus.md)<!-- -->, [ResourceHealth](./foundation-comms.resourcehealth.md)
|
29
|
+
|
@@ -20,4 +20,6 @@ export interface User extends UserOptions
|
|
20
20
|
| [hasAdminProfile()](./foundation-comms.user.hasadminprofile.md) | |
|
21
21
|
| [hasPermission(permission)](./foundation-comms.user.haspermission.md) | |
|
22
22
|
| [hasProfile(profile)](./foundation-comms.user.hasprofile.md) | |
|
23
|
+
| [set(options)](./foundation-comms.user.set.md) | |
|
24
|
+
| [unset()](./foundation-comms.user.unset.md) | |
|
23
25
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [User](./foundation-comms.user.md) > [set](./foundation-comms.user.set.md)
|
4
|
+
|
5
|
+
## User.set() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
set(options: UserOptions): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| options | UserOptions | |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
void
|
22
|
+
|