@genesislcap/foundation-comms 14.302.1-alpha-475e82d.0 → 14.302.1-alpha-ecc0cfb.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.
- package/dist/dts/auth/loginDTOMapper.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/reconnectStrategy.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/connect/ticker.d.ts +1 -1
- package/dist/dts/connect/ticker.d.ts.map +1 -1
- package/dist/dts/connect/updateState.d.ts.map +1 -1
- package/dist/dts/credentialManager/credentialManager.types.d.ts +1 -0
- package/dist/dts/credentialManager/credentialManager.types.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.mixins.d.ts +218 -259
- package/dist/dts/datasource/datasource.mixins.d.ts.map +1 -1
- package/dist/dts/datasource/entityDatasource.d.ts.map +1 -1
- package/dist/dts/metadata/metadata.utils.d.ts.map +1 -1
- package/dist/dts/networkMonitor/service.d.ts.map +1 -1
- package/dist/dts/testing/mocks/auth/auth.d.ts +2 -1
- package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/auth/auth.js +2 -2
- package/dist/esm/connect/connect.js +8 -8
- package/dist/esm/connect/http.connect.js +7 -8
- package/dist/esm/connect/socket.js +19 -16
- package/dist/esm/connect/ticker.js +6 -8
- package/dist/esm/credentialManager/credentialManager.js +2 -2
- package/dist/esm/datasource/datasource.js +7 -7
- package/dist/esm/networkMonitor/config.js +2 -1
- package/dist/esm/resources/genesis/genesis.js +1 -1
- package/dist/esm/storage/kv/kv.service.js +3 -3
- package/dist/foundation-comms.api.json +620 -3335
- package/dist/foundation-comms.d.ts +222 -261
- package/docs/api/foundation-comms.auth.login.md +3 -33
- package/docs/api/foundation-comms.auth.md +10 -128
- package/docs/api/foundation-comms.autherror._constructor_.md +5 -63
- package/docs/api/foundation-comms.autherror.haserrorcode.md +3 -31
- package/docs/api/foundation-comms.autherror.md +15 -178
- package/docs/api/foundation-comms.authtype.md +6 -73
- package/docs/api/foundation-comms.connect.commitevent.md +4 -47
- package/docs/api/foundation-comms.connect.connect.md +3 -33
- package/docs/api/foundation-comms.connect.datalogoff.md +3 -33
- package/docs/api/foundation-comms.connect.getavailableresources.md +3 -33
- package/docs/api/foundation-comms.connect.getjsonschema.md +3 -33
- package/docs/api/foundation-comms.connect.getmetadata.md +4 -49
- package/docs/api/foundation-comms.connect.getmorecolumns.md +3 -33
- package/docs/api/foundation-comms.connect.getmorerows.md +4 -49
- package/docs/api/foundation-comms.connect.md +22 -287
- package/docs/api/foundation-comms.connect.request.md +4 -49
- package/docs/api/foundation-comms.connect.snapshot.md +4 -49
- package/docs/api/foundation-comms.connect.stream.md +6 -81
- package/docs/api/foundation-comms.connect.streamstate.md +7 -97
- package/docs/api/foundation-comms.connectconfig.md +5 -79
- package/docs/api/foundation-comms.connectevents.addcommitlistener.md +3 -33
- package/docs/api/foundation-comms.connectevents.addcommitresponselistener.md +3 -33
- package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +3 -33
- package/docs/api/foundation-comms.connectevents.addstreamlistener.md +5 -65
- package/docs/api/foundation-comms.connectevents.md +6 -56
- package/docs/api/foundation-comms.connecteventsemitter.md +8 -78
- package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +4 -49
- package/docs/api/foundation-comms.connecteventsemitter.oncommitresponseevent.md +4 -49
- package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +5 -65
- package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +4 -49
- package/docs/api/foundation-comms.connecteventsemitter.onstreamerrorevent.md +5 -65
- package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +6 -81
- package/docs/api/foundation-comms.credentialmanager.createbasiccredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.createrefreshcredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.createssocredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.getcredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.getcredentialsfromcontainer.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.md +27 -287
- package/docs/api/foundation-comms.credentialmanager.normaliselegacycredentialdata.md +4 -49
- package/docs/api/foundation-comms.credentialmanager.storecredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.storecredentialsincontainer.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.storecredentialsincookie.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.validatebasiccredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.validaterefreshcredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.validatessocredentials.md +3 -33
- package/docs/api/foundation-comms.credentialmanager.validateusercredentialdata.md +4 -49
- package/docs/api/foundation-comms.credentialmanagerconfig.md +3 -39
- package/docs/api/foundation-comms.credentialmanagercookieconfig.md +6 -92
- package/docs/api/foundation-comms.criteriafilterstofields.md +3 -33
- package/docs/api/foundation-comms.dataserverresultfilter.md +4 -49
- package/docs/api/foundation-comms.datasource.addview.md +3 -33
- package/docs/api/foundation-comms.datasource.clearfilter.md +3 -33
- package/docs/api/foundation-comms.datasource.createitem.md +3 -33
- package/docs/api/foundation-comms.datasource.datahandler.md +3 -33
- package/docs/api/foundation-comms.datasource.deleteitem.md +3 -33
- package/docs/api/foundation-comms.datasource.dropview.md +3 -33
- package/docs/api/foundation-comms.datasource.getmetadata.md +3 -33
- package/docs/api/foundation-comms.datasource.init.md +5 -65
- package/docs/api/foundation-comms.datasource.md +25 -304
- package/docs/api/foundation-comms.datasource.setfilter.md +5 -65
- package/docs/api/foundation-comms.datasource.snapshot.md +3 -33
- package/docs/api/foundation-comms.datasource.snapshotfiltered.md +3 -33
- package/docs/api/foundation-comms.datasource.updatedata.md +3 -33
- package/docs/api/foundation-comms.datasource.updateitem.md +4 -49
- package/docs/api/foundation-comms.datasource.validresourcename.md +3 -31
- package/docs/api/foundation-comms.datasourceconfig.criteriatofields.md +3 -31
- package/docs/api/foundation-comms.datasourceconfig.dataserverresultfilter.md +4 -47
- package/docs/api/foundation-comms.datasourceconfig.md +8 -88
- package/docs/api/foundation-comms.datasourcedefaults.md +8 -148
- package/docs/api/foundation-comms.datasourceeventhandler.md +219 -300
- package/docs/api/foundation-comms.datasourcemetadata.md +9 -151
- package/docs/api/foundation-comms.datasourceoptions.md +17 -307
- package/docs/api/foundation-comms.dataupdate.md +5 -79
- package/docs/api/foundation-comms.dataview.md +6 -98
- package/docs/api/foundation-comms.defaultauth._constructor_.md +7 -87
- package/docs/api/foundation-comms.defaultauth.login.md +3 -31
- package/docs/api/foundation-comms.defaultauth.md +15 -195
- package/docs/api/foundation-comms.defaultconnect._constructor_.md +7 -87
- package/docs/api/foundation-comms.defaultconnect.commitevent.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.connect.md +3 -33
- package/docs/api/foundation-comms.defaultconnect.datalogoff.md +3 -31
- package/docs/api/foundation-comms.defaultconnect.getavailableresources.md +3 -33
- package/docs/api/foundation-comms.defaultconnect.getjsonschema.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.getmetadata.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +3 -31
- package/docs/api/foundation-comms.defaultconnect.getmorerows.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.md +30 -384
- package/docs/api/foundation-comms.defaultconnect.request.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.send.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.setvalidsession.md +3 -31
- package/docs/api/foundation-comms.defaultconnect.snapshot.md +4 -47
- package/docs/api/foundation-comms.defaultconnect.stream.md +6 -75
- package/docs/api/foundation-comms.defaultconnect.streamstate.md +7 -95
- package/docs/api/foundation-comms.defaultconnect.streamwithoutautoteardown.md +6 -75
- package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +3 -33
- package/docs/api/foundation-comms.defaultconnectevents.addcommitresponselistener.md +3 -33
- package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +3 -33
- package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +5 -65
- package/docs/api/foundation-comms.defaultconnectevents.md +12 -157
- package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +4 -47
- package/docs/api/foundation-comms.defaultconnectevents.oncommitresponseevent.md +4 -49
- package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +5 -65
- package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +4 -49
- package/docs/api/foundation-comms.defaultconnectevents.onstreamerrorevent.md +5 -65
- package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +6 -81
- package/docs/api/foundation-comms.defaultcredentialmanager._constructor_.md +4 -47
- package/docs/api/foundation-comms.defaultcredentialmanager.createbasiccredentials.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.createrefreshcredentials.md +3 -33
- package/docs/api/foundation-comms.defaultcredentialmanager.createssocredentials.md +3 -33
- package/docs/api/foundation-comms.defaultcredentialmanager.getcredentials.md +3 -33
- package/docs/api/foundation-comms.defaultcredentialmanager.getcredentialsfromcontainer.md +3 -33
- package/docs/api/foundation-comms.defaultcredentialmanager.md +30 -348
- package/docs/api/foundation-comms.defaultcredentialmanager.normaliselegacycredentialdata.md +4 -49
- package/docs/api/foundation-comms.defaultcredentialmanager.storecredentials.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.storecredentialsincontainer.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.storecredentialsincookie.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.validatebasiccredentials.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.validaterefreshcredentials.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.validatessocredentials.md +3 -31
- package/docs/api/foundation-comms.defaultcredentialmanager.validateusercredentialdata.md +4 -47
- package/docs/api/foundation-comms.defaultdatasource._constructor_.md +7 -87
- package/docs/api/foundation-comms.defaultdatasource.fetchandapplymetadata.md +3 -31
- package/docs/api/foundation-comms.defaultdatasource.init.md +5 -63
- package/docs/api/foundation-comms.defaultdatasource.md +32 -488
- package/docs/api/foundation-comms.defaultdatasource.snapshot.md +3 -33
- package/docs/api/foundation-comms.defaultdatasource.snapshotfiltered.md +3 -33
- package/docs/api/foundation-comms.defaultdatasource.validresourcename.md +3 -31
- package/docs/api/foundation-comms.defaultfoundationanalytics._constructor_.md +3 -31
- package/docs/api/foundation-comms.defaultfoundationanalytics.md +7 -74
- package/docs/api/foundation-comms.defaultfoundationanalytics.trackevent.md +4 -45
- package/docs/api/foundation-comms.defaultfoundationanalytics.trackevent_1.md +4 -45
- package/docs/api/foundation-comms.defaultgenesisresources._constructor_.md +4 -45
- package/docs/api/foundation-comms.defaultgenesisresources.getresourcetypefor.md +3 -33
- package/docs/api/foundation-comms.defaultgenesisresources.isvalidresource.md +3 -33
- package/docs/api/foundation-comms.defaultgenesisresources.md +17 -230
- package/docs/api/foundation-comms.defaulthttp._constructor_.md +3 -31
- package/docs/api/foundation-comms.defaulthttp.get.md +4 -45
- package/docs/api/foundation-comms.defaulthttp.md +7 -72
- package/docs/api/foundation-comms.defaulthttp.post.md +4 -45
- package/docs/api/foundation-comms.defaulthttpconnect._constructor_.md +8 -101
- package/docs/api/foundation-comms.defaulthttpconnect.commitevent.md +4 -47
- package/docs/api/foundation-comms.defaulthttpconnect.connect.md +3 -31
- package/docs/api/foundation-comms.defaulthttpconnect.datalogoff.md +3 -31
- package/docs/api/foundation-comms.defaulthttpconnect.getavailableresources.md +3 -33
- package/docs/api/foundation-comms.defaulthttpconnect.getjsonschema.md +3 -31
- package/docs/api/foundation-comms.defaulthttpconnect.getmetadata.md +4 -47
- package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +3 -31
- package/docs/api/foundation-comms.defaulthttpconnect.getmorerows.md +3 -31
- package/docs/api/foundation-comms.defaulthttpconnect.md +30 -376
- package/docs/api/foundation-comms.defaulthttpconnect.request.md +4 -47
- package/docs/api/foundation-comms.defaulthttpconnect.send.md +4 -47
- package/docs/api/foundation-comms.defaulthttpconnect.setvalidsession.md +3 -31
- package/docs/api/foundation-comms.defaulthttpconnect.snapshot.md +4 -47
- package/docs/api/foundation-comms.defaulthttpconnect.stream.md +6 -75
- package/docs/api/foundation-comms.defaulthttpconnect.streamstate.md +7 -95
- package/docs/api/foundation-comms.defaulthttpconnect.streamwithoutautoteardown.md +6 -75
- package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +4 -45
- package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +5 -59
- package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +4 -47
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +3 -31
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +4 -47
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +5 -61
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +6 -75
- package/docs/api/foundation-comms.defaultmessagebuilder.createheartbeatpingmessage.md +3 -33
- package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +4 -47
- package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +3 -31
- package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +3 -33
- package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +4 -47
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +3 -31
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +4 -47
- package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +4 -47
- package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +3 -33
- package/docs/api/foundation-comms.defaultmessagebuilder.md +21 -240
- package/docs/api/foundation-comms.defaultmetacache.getjsonschemafor.md +3 -31
- package/docs/api/foundation-comms.defaultmetacache.getmetadatafor.md +3 -31
- package/docs/api/foundation-comms.defaultmetacache.hasjsonschemafor.md +3 -31
- package/docs/api/foundation-comms.defaultmetacache.hasmetadatafor.md +3 -31
- package/docs/api/foundation-comms.defaultmetacache.md +12 -145
- package/docs/api/foundation-comms.defaultmetacache.setjsonschemafor.md +4 -45
- package/docs/api/foundation-comms.defaultmetacache.setmetadatafor.md +4 -45
- package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +4 -49
- package/docs/api/foundation-comms.defaultnetworkmonitor.md +13 -155
- package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +3 -33
- package/docs/api/foundation-comms.defaultsession.getitem.md +4 -45
- package/docs/api/foundation-comms.defaultsession.getlocalstorageitem.md +3 -31
- package/docs/api/foundation-comms.defaultsession.getsessionstorageitem.md +3 -31
- package/docs/api/foundation-comms.defaultsession.md +18 -212
- package/docs/api/foundation-comms.defaultsession.removeitem.md +4 -45
- package/docs/api/foundation-comms.defaultsession.removelocalstorageitem.md +3 -31
- package/docs/api/foundation-comms.defaultsession.removesessionstorageitem.md +3 -31
- package/docs/api/foundation-comms.defaultsession.setauthresult.md +3 -31
- package/docs/api/foundation-comms.defaultsession.setitem.md +5 -59
- package/docs/api/foundation-comms.defaultsession.setlocalstorageitem.md +4 -45
- package/docs/api/foundation-comms.defaultsession.setsessionstorageitem.md +4 -45
- package/docs/api/foundation-comms.defaultsession.setstoragekeyprefix.md +3 -31
- package/docs/api/foundation-comms.defaultsocket._constructor_.md +9 -115
- package/docs/api/foundation-comms.defaultsocket.connect.md +5 -65
- package/docs/api/foundation-comms.defaultsocket.md +25 -373
- package/docs/api/foundation-comms.defaultsocket.send.md +4 -47
- package/docs/api/foundation-comms.defaultsocket.sendforstream.md +6 -75
- package/docs/api/foundation-comms.defaultsocket.sendforstreamwithoutteardown.md +5 -59
- package/docs/api/foundation-comms.defaultsocketstatus.md +22 -334
- package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +3 -31
- package/docs/api/foundation-comms.eventmessagetype.md +16 -213
- package/docs/api/foundation-comms.extractfielddefinitions.md +1 -44
- package/docs/api/foundation-comms.fieldtypeenum.md +10 -129
- package/docs/api/foundation-comms.foundationanalytics.md +5 -45
- package/docs/api/foundation-comms.foundationanalytics.trackevent.md +4 -49
- package/docs/api/foundation-comms.foundationanalytics.trackevent_1.md +4 -49
- package/docs/api/foundation-comms.foundationanalytics.trackevent_2.md +4 -49
- package/docs/api/foundation-comms.foundationanalyticsevent.controlclicked.md +3 -39
- package/docs/api/foundation-comms.foundationanalyticsevent.md +4 -34
- package/docs/api/foundation-comms.foundationanalyticsevent.routechanged.md +4 -58
- package/docs/api/foundation-comms.foundationanalyticseventtype.md +4 -45
- package/docs/api/foundation-comms.genesisresources.md +6 -98
- package/docs/api/foundation-comms.genesisresourcesconfig.md +4 -60
- package/docs/api/foundation-comms.genesisresourcesmock.getresourcetypefor.md +3 -33
- package/docs/api/foundation-comms.genesisresourcesmock.isvalidresource.md +3 -33
- package/docs/api/foundation-comms.genesisresourcesmock.md +11 -142
- package/docs/api/foundation-comms.getkvstorage.md +1 -1
- package/docs/api/foundation-comms.http.get.md +4 -45
- package/docs/api/foundation-comms.http.md +4 -30
- package/docs/api/foundation-comms.http.post.md +4 -45
- package/docs/api/foundation-comms.httprequestinit.md +3 -41
- package/docs/api/foundation-comms.jsonschemacache.getjsonschemafor.md +3 -31
- package/docs/api/foundation-comms.jsonschemacache.hasjsonschemafor.md +3 -31
- package/docs/api/foundation-comms.jsonschemacache.md +8 -78
- package/docs/api/foundation-comms.jsonschemacache.setjsonschemafor.md +4 -45
- package/docs/api/foundation-comms.logoutresult.md +4 -60
- package/docs/api/foundation-comms.md +189 -2081
- package/docs/api/foundation-comms.messagebuilder.createchangepasswordmessage.md +5 -65
- package/docs/api/foundation-comms.messagebuilder.createcommitmessage.md +4 -49
- package/docs/api/foundation-comms.messagebuilder.createdatalogoffmessage.md +3 -33
- package/docs/api/foundation-comms.messagebuilder.createdatalogonmessage.md +4 -49
- package/docs/api/foundation-comms.messagebuilder.createforgotpasswordmessage.md +5 -65
- package/docs/api/foundation-comms.messagebuilder.createforgotpasswordtokenmessage.md +6 -81
- package/docs/api/foundation-comms.messagebuilder.createheartbeatpingmessage.md +3 -33
- package/docs/api/foundation-comms.messagebuilder.createhttpheadersfrommessage.md +4 -49
- package/docs/api/foundation-comms.messagebuilder.createloginmessage.md +3 -33
- package/docs/api/foundation-comms.messagebuilder.createlogoutmessage.md +3 -33
- package/docs/api/foundation-comms.messagebuilder.createmetarequestmessage.md +4 -49
- package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +3 -33
- package/docs/api/foundation-comms.messagebuilder.createmorerowsmessage.md +4 -49
- package/docs/api/foundation-comms.messagebuilder.createrequestmessage.md +4 -49
- package/docs/api/foundation-comms.messagebuilder.createresourcesmessage.md +3 -33
- package/docs/api/foundation-comms.messagebuilder.md +18 -186
- package/docs/api/foundation-comms.messagecode.md +4 -45
- package/docs/api/foundation-comms.messagedetails.md +18 -188
- package/docs/api/foundation-comms.messagehaserrorcode.md +1 -58
- package/docs/api/foundation-comms.messageorthrow.md +1 -44
- package/docs/api/foundation-comms.messagetype.md +16 -213
- package/docs/api/foundation-comms.metadatacache.getmetadatafor.md +3 -33
- package/docs/api/foundation-comms.metadatacache.hasmetadatafor.md +3 -33
- package/docs/api/foundation-comms.metadatacache.md +8 -86
- package/docs/api/foundation-comms.metadatacache.setmetadatafor.md +4 -49
- package/docs/api/foundation-comms.monitoredresourcechecksresult.md +6 -94
- package/docs/api/foundation-comms.networkmonitor.addresource.md +4 -49
- package/docs/api/foundation-comms.networkmonitor.md +10 -96
- package/docs/api/foundation-comms.networkmonitor.removeresource.md +3 -33
- package/docs/api/foundation-comms.networkmonitor.runallchecks.md +4 -49
- package/docs/api/foundation-comms.networkmonitorconfig.md +13 -231
- package/docs/api/foundation-comms.normalisecriteria.md +4 -49
- package/docs/api/foundation-comms.resourcetype.md +5 -59
- package/docs/api/foundation-comms.retryinterval.md +1 -60
- package/docs/api/foundation-comms.serializedsocketstatus.md +13 -217
- package/docs/api/foundation-comms.serializer.deserialize.md +3 -33
- package/docs/api/foundation-comms.serializer.deserialize_1.md +3 -33
- package/docs/api/foundation-comms.serializer.deserialize_2.md +3 -33
- package/docs/api/foundation-comms.serializer.md +6 -56
- package/docs/api/foundation-comms.serializer.serialize.md +3 -33
- package/docs/api/foundation-comms.session.getitem.md +4 -49
- package/docs/api/foundation-comms.session.getlocalstorageitem.md +3 -33
- package/docs/api/foundation-comms.session.getsessionstorageitem.md +3 -33
- package/docs/api/foundation-comms.session.md +18 -196
- package/docs/api/foundation-comms.session.removeitem.md +4 -49
- package/docs/api/foundation-comms.session.removelocalstorageitem.md +3 -33
- package/docs/api/foundation-comms.session.removesessionstorageitem.md +3 -33
- package/docs/api/foundation-comms.session.setauthresult.md +3 -33
- package/docs/api/foundation-comms.session.setitem.md +5 -65
- package/docs/api/foundation-comms.session.setlocalstorageitem.md +4 -49
- package/docs/api/foundation-comms.session.setsessionstorageitem.md +4 -49
- package/docs/api/foundation-comms.session.setstoragekeyprefix.md +3 -33
- package/docs/api/foundation-comms.socket.connect.md +5 -63
- package/docs/api/foundation-comms.socket.md +10 -109
- package/docs/api/foundation-comms.socket.send.md +4 -47
- package/docs/api/foundation-comms.socket.sendforstream.md +6 -75
- package/docs/api/foundation-comms.socketmessagehandler._constructor_.md +6 -73
- package/docs/api/foundation-comms.socketmessagehandler.md +9 -137
- package/docs/api/foundation-comms.socketobservable._constructor_.md +3 -31
- package/docs/api/foundation-comms.socketobservable.md +3 -31
- package/docs/api/foundation-comms.socketreconnectstrategy.md +4 -45
- package/docs/api/foundation-comms.socketstatus.md +7 -69
- package/docs/api/foundation-comms.socketstatus.onclose.md +3 -31
- package/docs/api/foundation-comms.socketsubject.md +3 -31
- package/docs/api/foundation-comms.tofieldmetadata.md +1 -44
- package/docs/api/foundation-comms.until.md +4 -49
- package/docs/api/index.md +3 -21
- package/package.json +16 -14
- package/docs/api/foundation-comms.connect.streamwithoutautoteardown.md +0 -112
- package/docs/api/foundation-comms.defaultentitydatasource._initialized.md +0 -15
- package/docs/api/foundation-comms.defaultentitydatasource.cache.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.disconnect.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.entitycache.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.entitymap.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.initialize.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.initialized.md +0 -16
- package/docs/api/foundation-comms.defaultentitydatasource.isempty.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.mapper.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.md +0 -312
- package/docs/api/foundation-comms.defaultentitydatasource.rowid.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.sourceref.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.subscription.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.subscriptionloggedoff.md +0 -14
- package/docs/api/foundation-comms.defaultkvstorage._constructor_.md +0 -81
- package/docs/api/foundation-comms.defaultkvstorage.md +0 -98
- package/docs/api/foundation-comms.defaultkvstorage.user.md +0 -14
- package/docs/api/foundation-comms.defaultkvstorageconfig.md +0 -16
- package/docs/api/foundation-comms.entitydatasource.cache.md +0 -19
- package/docs/api/foundation-comms.entitydatasource.disconnect.md +0 -22
- package/docs/api/foundation-comms.entitydatasource.initialize.md +0 -57
- package/docs/api/foundation-comms.entitydatasource.isempty.md +0 -19
- package/docs/api/foundation-comms.entitydatasource.md +0 -171
- package/docs/api/foundation-comms.entitydatasourceinit.fetchmeta.md +0 -14
- package/docs/api/foundation-comms.entitydatasourceinit.mapper.md +0 -14
- package/docs/api/foundation-comms.entitydatasourceinit.md +0 -99
- package/docs/api/foundation-comms.entitydatasourceinit.options.md +0 -14
- package/docs/api/foundation-comms.keyvalue.base64.md +0 -16
- package/docs/api/foundation-comms.keyvalue.expiration.md +0 -16
- package/docs/api/foundation-comms.keyvalue.key.md +0 -16
- package/docs/api/foundation-comms.keyvalue.md +0 -137
- package/docs/api/foundation-comms.keyvalue.metadata.md +0 -18
- package/docs/api/foundation-comms.keyvalue.value.md +0 -16
- package/docs/api/foundation-comms.keyvaluetransfer.deserialize.md +0 -53
- package/docs/api/foundation-comms.keyvaluetransfer.kv.md +0 -14
- package/docs/api/foundation-comms.keyvaluetransfer.md +0 -98
- package/docs/api/foundation-comms.keyvaluetransfer.serialize.md +0 -53
- package/docs/api/foundation-comms.kveventfailureresponse.md +0 -21
- package/docs/api/foundation-comms.kveventmessagetype.md +0 -69
- package/docs/api/foundation-comms.kvmessagetype.md +0 -69
- package/docs/api/foundation-comms.kvstorage.delete.md +0 -53
- package/docs/api/foundation-comms.kvstorage.get.md +0 -18
- package/docs/api/foundation-comms.kvstorage.get_1.md +0 -53
- package/docs/api/foundation-comms.kvstorage.list.md +0 -18
- package/docs/api/foundation-comms.kvstorage.md +0 -91
- package/docs/api/foundation-comms.kvstorage.put.md +0 -53
- package/docs/api/foundation-comms.kvstorageconfig.account.md +0 -16
- package/docs/api/foundation-comms.kvstorageconfig.authemail.md +0 -21
- package/docs/api/foundation-comms.kvstorageconfig.authkey.md +0 -16
- package/docs/api/foundation-comms.kvstorageconfig.md +0 -118
- package/docs/api/foundation-comms.kvstorageconfig.namespace.md +0 -16
- package/docs/api/foundation-comms.kvvalue.md +0 -16
- package/docs/api/foundation-comms.socket.sendforstreamwithoutteardown.md +0 -91
- package/docs/api-report.md.api.md +0 -2909
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [EntityDatasource](./foundation-comms.entitydatasource.md)
|
|
4
|
-
|
|
5
|
-
## EntityDatasource 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
|
-
EntityDatasource DI interface.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
export interface EntityDatasource<TDTO, TEntity> extends Datasource
|
|
16
|
-
```
|
|
17
|
-
**Extends:** [Datasource](./foundation-comms.datasource.md)
|
|
18
|
-
|
|
19
|
-
## Remarks
|
|
20
|
-
|
|
21
|
-
A simple streaming datasource cache used mainly by services that employ DTO mappers.
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
An example service using an underlying EntityDatasource:
|
|
26
|
-
|
|
27
|
-
```ts
|
|
28
|
-
export class DefaultDomainService implements DomainService {
|
|
29
|
-
constructor(
|
|
30
|
-
@EntityDatasource protected datasource: EntityDatasource<DomainDTO, DomainEntity>,
|
|
31
|
-
@DomainDTOMapper protected mapper: DomainDTOMapper,
|
|
32
|
-
@optional(DomainServiceConfig) private config = defaultConfig
|
|
33
|
-
) {}
|
|
34
|
-
|
|
35
|
-
get initialized = () {
|
|
36
|
-
return this.datasource.initialized;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
initialize = async (init) => {
|
|
40
|
-
await this.datasource.initialize({
|
|
41
|
-
mapper: this.mapper,
|
|
42
|
-
options: {
|
|
43
|
-
resourceName: this.config.resourceName,
|
|
44
|
-
...init,
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
return this.initialized;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
list = () => this.datasource.cache;
|
|
51
|
-
|
|
52
|
-
get = async (id: string) => this.datasource.cache.find((entity) => entity.id === id);
|
|
53
|
-
|
|
54
|
-
action = async (id: string, message?: string): Promise<Message> => {
|
|
55
|
-
return this.commitEvent('EVENT_DOMAIN_ACTION', { id, message });
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
private async commitEvent(event: string, entity: Partial<DomainEntity>) {
|
|
59
|
-
const msg = await this.connect.commitEvent(event, {
|
|
60
|
-
DETAILS: this.mapper.toDTO(entity),
|
|
61
|
-
IGNORE_WARNINGS: true,
|
|
62
|
-
VALIDATE: false,
|
|
63
|
-
});
|
|
64
|
-
return messageOrThrow(msg);
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Properties
|
|
69
|
-
|
|
70
|
-
<table><thead><tr><th>
|
|
71
|
-
|
|
72
|
-
Property
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</th><th>
|
|
76
|
-
|
|
77
|
-
Modifiers
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</th><th>
|
|
81
|
-
|
|
82
|
-
Type
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</th><th>
|
|
86
|
-
|
|
87
|
-
Description
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</th></tr></thead>
|
|
91
|
-
<tbody><tr><td>
|
|
92
|
-
|
|
93
|
-
[cache](./foundation-comms.entitydatasource.cache.md)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</td><td>
|
|
97
|
-
|
|
98
|
-
`readonly`
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
</td><td>
|
|
102
|
-
|
|
103
|
-
TEntity\[\]
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
**_(ALPHA)_**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td></tr>
|
|
112
|
-
<tr><td>
|
|
113
|
-
|
|
114
|
-
[isEmpty](./foundation-comms.entitydatasource.isempty.md)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
</td><td>
|
|
118
|
-
|
|
119
|
-
`readonly`
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</td><td>
|
|
123
|
-
|
|
124
|
-
boolean
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</td><td>
|
|
128
|
-
|
|
129
|
-
**_(ALPHA)_**
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</td></tr>
|
|
133
|
-
</tbody></table>
|
|
134
|
-
|
|
135
|
-
## Methods
|
|
136
|
-
|
|
137
|
-
<table><thead><tr><th>
|
|
138
|
-
|
|
139
|
-
Method
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
</th><th>
|
|
143
|
-
|
|
144
|
-
Description
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
</th></tr></thead>
|
|
148
|
-
<tbody><tr><td>
|
|
149
|
-
|
|
150
|
-
[disconnect()](./foundation-comms.entitydatasource.disconnect.md)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
</td><td>
|
|
154
|
-
|
|
155
|
-
**_(ALPHA)_**
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</td></tr>
|
|
159
|
-
<tr><td>
|
|
160
|
-
|
|
161
|
-
[initialize(init)](./foundation-comms.entitydatasource.initialize.md)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
</td><td>
|
|
165
|
-
|
|
166
|
-
**_(ALPHA)_**
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</td></tr>
|
|
170
|
-
</tbody></table>
|
|
171
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [EntityDatasourceInit](./foundation-comms.entitydatasourceinit.md) > [fetchMeta](./foundation-comms.entitydatasourceinit.fetchmeta.md)
|
|
4
|
-
|
|
5
|
-
## EntityDatasourceInit.fetchMeta 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
|
-
fetchMeta?: boolean;
|
|
14
|
-
```
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [EntityDatasourceInit](./foundation-comms.entitydatasourceinit.md) > [mapper](./foundation-comms.entitydatasourceinit.mapper.md)
|
|
4
|
-
|
|
5
|
-
## EntityDatasourceInit.mapper 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
|
-
mapper: DTOMapper<TDTO, TEntity>;
|
|
14
|
-
```
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [EntityDatasourceInit](./foundation-comms.entitydatasourceinit.md)
|
|
4
|
-
|
|
5
|
-
## EntityDatasourceInit 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
|
-
EntityDatasourceInit interface.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
export interface EntityDatasourceInit<TDTO, TEntity>
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
<table><thead><tr><th>
|
|
21
|
-
|
|
22
|
-
Property
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
26
|
-
|
|
27
|
-
Modifiers
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th><th>
|
|
31
|
-
|
|
32
|
-
Type
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</th><th>
|
|
36
|
-
|
|
37
|
-
Description
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
</th></tr></thead>
|
|
41
|
-
<tbody><tr><td>
|
|
42
|
-
|
|
43
|
-
[fetchMeta?](./foundation-comms.entitydatasourceinit.fetchmeta.md)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</td><td>
|
|
50
|
-
|
|
51
|
-
boolean
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
**_(ALPHA)_** _(Optional)_
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td></tr>
|
|
60
|
-
<tr><td>
|
|
61
|
-
|
|
62
|
-
[mapper](./foundation-comms.entitydatasourceinit.mapper.md)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td><td>
|
|
69
|
-
|
|
70
|
-
DTOMapper<TDTO, TEntity>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
**_(ALPHA)_**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td></tr>
|
|
79
|
-
<tr><td>
|
|
80
|
-
|
|
81
|
-
[options](./foundation-comms.entitydatasourceinit.options.md)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</td><td>
|
|
88
|
-
|
|
89
|
-
Omit<[DatasourceOptions](./foundation-comms.datasourceoptions.md)<!-- -->, 'isSnapshot'>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</td><td>
|
|
93
|
-
|
|
94
|
-
**_(ALPHA)_**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</td></tr>
|
|
98
|
-
</tbody></table>
|
|
99
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [EntityDatasourceInit](./foundation-comms.entitydatasourceinit.md) > [options](./foundation-comms.entitydatasourceinit.options.md)
|
|
4
|
-
|
|
5
|
-
## EntityDatasourceInit.options 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
|
-
options: Omit<DatasourceOptions, 'isSnapshot'>;
|
|
14
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValue](./foundation-comms.keyvalue.md) > [base64](./foundation-comms.keyvalue.base64.md)
|
|
4
|
-
|
|
5
|
-
## KeyValue.base64 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
|
-
Value should be encoded.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
base64?: boolean;
|
|
16
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValue](./foundation-comms.keyvalue.md) > [expiration](./foundation-comms.keyvalue.expiration.md)
|
|
4
|
-
|
|
5
|
-
## KeyValue.expiration 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
|
-
Time key expires.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
expiration?: number;
|
|
16
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValue](./foundation-comms.keyvalue.md) > [key](./foundation-comms.keyvalue.key.md)
|
|
4
|
-
|
|
5
|
-
## KeyValue.key 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
|
-
Key
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
key: string;
|
|
16
|
-
```
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValue](./foundation-comms.keyvalue.md)
|
|
4
|
-
|
|
5
|
-
## KeyValue 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
|
-
KeyValue interface.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
export interface KeyValue<T = KVValue>
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
<table><thead><tr><th>
|
|
21
|
-
|
|
22
|
-
Property
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
26
|
-
|
|
27
|
-
Modifiers
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th><th>
|
|
31
|
-
|
|
32
|
-
Type
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</th><th>
|
|
36
|
-
|
|
37
|
-
Description
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
</th></tr></thead>
|
|
41
|
-
<tbody><tr><td>
|
|
42
|
-
|
|
43
|
-
[base64?](./foundation-comms.keyvalue.base64.md)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</td><td>
|
|
50
|
-
|
|
51
|
-
boolean
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
**_(ALPHA)_** _(Optional)_ Value should be encoded.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td></tr>
|
|
60
|
-
<tr><td>
|
|
61
|
-
|
|
62
|
-
[expiration?](./foundation-comms.keyvalue.expiration.md)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td><td>
|
|
69
|
-
|
|
70
|
-
number
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
**_(ALPHA)_** _(Optional)_ Time key expires.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td></tr>
|
|
79
|
-
<tr><td>
|
|
80
|
-
|
|
81
|
-
[key](./foundation-comms.keyvalue.key.md)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</td><td>
|
|
88
|
-
|
|
89
|
-
string
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</td><td>
|
|
93
|
-
|
|
94
|
-
**_(ALPHA)_** Key
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</td></tr>
|
|
98
|
-
<tr><td>
|
|
99
|
-
|
|
100
|
-
[metadata?](./foundation-comms.keyvalue.metadata.md)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
{ \[key: string\]: unknown; }
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td><td>
|
|
112
|
-
|
|
113
|
-
**_(ALPHA)_** _(Optional)_ Additional metadata.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</td></tr>
|
|
117
|
-
<tr><td>
|
|
118
|
-
|
|
119
|
-
[value?](./foundation-comms.keyvalue.value.md)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</td><td>
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</td><td>
|
|
126
|
-
|
|
127
|
-
T
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</td><td>
|
|
131
|
-
|
|
132
|
-
**_(ALPHA)_** _(Optional)_ Value
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
</td></tr>
|
|
136
|
-
</tbody></table>
|
|
137
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValue](./foundation-comms.keyvalue.md) > [metadata](./foundation-comms.keyvalue.metadata.md)
|
|
4
|
-
|
|
5
|
-
## KeyValue.metadata 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
|
-
Additional metadata.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
metadata?: {
|
|
16
|
-
[key: string]: unknown;
|
|
17
|
-
};
|
|
18
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValue](./foundation-comms.keyvalue.md) > [value](./foundation-comms.keyvalue.value.md)
|
|
4
|
-
|
|
5
|
-
## KeyValue.value 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
|
-
Value
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
value?: T;
|
|
16
|
-
```
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValueTransfer](./foundation-comms.keyvaluetransfer.md) > [deserialize](./foundation-comms.keyvaluetransfer.deserialize.md)
|
|
4
|
-
|
|
5
|
-
## KeyValueTransfer.deserialize() method
|
|
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
|
-
deserialize?(value: unknown): Promise<T>;
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Parameter
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Type
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Description
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th></tr></thead>
|
|
34
|
-
<tbody><tr><td>
|
|
35
|
-
|
|
36
|
-
value
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</td><td>
|
|
40
|
-
|
|
41
|
-
unknown
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td></tr>
|
|
48
|
-
</tbody></table>
|
|
49
|
-
|
|
50
|
-
**Returns:**
|
|
51
|
-
|
|
52
|
-
Promise<T>
|
|
53
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValueTransfer](./foundation-comms.keyvaluetransfer.md) > [kv](./foundation-comms.keyvaluetransfer.kv.md)
|
|
4
|
-
|
|
5
|
-
## KeyValueTransfer.kv 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
|
-
kv: KeyValue<T>;
|
|
14
|
-
```
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [KeyValueTransfer](./foundation-comms.keyvaluetransfer.md)
|
|
4
|
-
|
|
5
|
-
## KeyValueTransfer 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
|
-
KeyValueTransfer interface.
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
export interface KeyValueTransfer<T>
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
<table><thead><tr><th>
|
|
21
|
-
|
|
22
|
-
Property
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
26
|
-
|
|
27
|
-
Modifiers
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th><th>
|
|
31
|
-
|
|
32
|
-
Type
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</th><th>
|
|
36
|
-
|
|
37
|
-
Description
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
</th></tr></thead>
|
|
41
|
-
<tbody><tr><td>
|
|
42
|
-
|
|
43
|
-
[kv](./foundation-comms.keyvaluetransfer.kv.md)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</td><td>
|
|
50
|
-
|
|
51
|
-
[KeyValue](./foundation-comms.keyvalue.md)<!-- --><T>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
**_(ALPHA)_**
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td></tr>
|
|
60
|
-
</tbody></table>
|
|
61
|
-
|
|
62
|
-
## Methods
|
|
63
|
-
|
|
64
|
-
<table><thead><tr><th>
|
|
65
|
-
|
|
66
|
-
Method
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</th><th>
|
|
70
|
-
|
|
71
|
-
Description
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</th></tr></thead>
|
|
75
|
-
<tbody><tr><td>
|
|
76
|
-
|
|
77
|
-
[deserialize(value)?](./foundation-comms.keyvaluetransfer.deserialize.md)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
**_(ALPHA)_** _(Optional)_
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td></tr>
|
|
86
|
-
<tr><td>
|
|
87
|
-
|
|
88
|
-
[serialize(value)?](./foundation-comms.keyvaluetransfer.serialize.md)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</td><td>
|
|
92
|
-
|
|
93
|
-
**_(ALPHA)_** _(Optional)_
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</td></tr>
|
|
97
|
-
</tbody></table>
|
|
98
|
-
|