@genesislcap/foundation-comms 14.226.0 → 14.226.2-alpha-bcda968.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/datasource/datasource.mixins.d.ts +29 -45
- package/dist/dts/datasource/datasource.mixins.d.ts.map +1 -1
- package/dist/dts/testing/mocks/auth/auth.d.ts +1 -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 +5 -1
- 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/session/session.js +1 -1
- package/dist/esm/storage/kv/kv.service.js +3 -3
- package/dist/foundation-comms.api.json +2413 -4907
- package/dist/foundation-comms.d.ts +31 -47
- package/docs/api/foundation-comms.connect.md +0 -1
- package/docs/api/foundation-comms.datasourceeventhandler.md +30 -56
- package/docs/api/foundation-comms.extractfielddefinitions.md +1 -14
- package/docs/api/foundation-comms.getkvstorage.md +1 -1
- package/docs/api/foundation-comms.md +6 -19
- package/docs/api/foundation-comms.messagehaserrorcode.md +1 -13
- package/docs/api/foundation-comms.messageorthrow.md +1 -14
- package/docs/api/foundation-comms.retryinterval.md +1 -15
- package/docs/api/foundation-comms.socket.md +0 -1
- package/docs/api/foundation-comms.tofieldmetadata.md +1 -14
- package/docs/{api-report.md.api.md → api-report.md} +31 -47
- package/package.json +14 -14
- package/docs/api/foundation-comms.connect.streamwithoutautoteardown.md +0 -37
- 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 -38
- 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 -25
- package/docs/api/foundation-comms.defaultkvstorage.md +0 -30
- 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 -29
- package/docs/api/foundation-comms.entitydatasource.isempty.md +0 -19
- package/docs/api/foundation-comms.entitydatasource.md +0 -81
- 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 -25
- 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 -27
- 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 -25
- package/docs/api/foundation-comms.keyvaluetransfer.kv.md +0 -14
- package/docs/api/foundation-comms.keyvaluetransfer.md +0 -30
- package/docs/api/foundation-comms.keyvaluetransfer.serialize.md +0 -25
- package/docs/api/foundation-comms.kveventfailureresponse.md +0 -21
- package/docs/api/foundation-comms.kveventmessagetype.md +0 -24
- package/docs/api/foundation-comms.kvmessagetype.md +0 -24
- package/docs/api/foundation-comms.kvstorage.delete.md +0 -25
- package/docs/api/foundation-comms.kvstorage.get.md +0 -18
- package/docs/api/foundation-comms.kvstorage.get_1.md +0 -25
- package/docs/api/foundation-comms.kvstorage.list.md +0 -18
- package/docs/api/foundation-comms.kvstorage.md +0 -31
- package/docs/api/foundation-comms.kvstorage.put.md +0 -25
- 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 -26
- 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 -31
@@ -1,25 +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) > [KVStorage](./foundation-comms.kvstorage.md) > [get](./foundation-comms.kvstorage.get_1.md)
|
4
|
-
|
5
|
-
## KVStorage.get() 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
|
-
get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
|
14
|
-
```
|
15
|
-
|
16
|
-
## Parameters
|
17
|
-
|
18
|
-
| Parameter | Type | Description |
|
19
|
-
| --- | --- | --- |
|
20
|
-
| key | string | |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
Promise<[KeyValueTransfer](./foundation-comms.keyvaluetransfer.md)<!-- --><T>>
|
25
|
-
|
@@ -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) > [KVStorage](./foundation-comms.kvstorage.md) > [list](./foundation-comms.kvstorage.list.md)
|
4
|
-
|
5
|
-
## KVStorage.list() 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
|
-
list(): Promise<string[]>;
|
14
|
-
```
|
15
|
-
**Returns:**
|
16
|
-
|
17
|
-
Promise<string\[\]>
|
18
|
-
|
@@ -1,31 +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) > [KVStorage](./foundation-comms.kvstorage.md)
|
4
|
-
|
5
|
-
## KVStorage 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
|
-
Represents a KV (key-value) data storage and its capabilities. Provides methods to set and get items from the KV data storage.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
export interface KVStorage
|
16
|
-
```
|
17
|
-
|
18
|
-
## Remarks
|
19
|
-
|
20
|
-
Provides a key value storage api that abstracts the underlying storage technology.
|
21
|
-
|
22
|
-
## Methods
|
23
|
-
|
24
|
-
| Method | Description |
|
25
|
-
| --- | --- |
|
26
|
-
| [delete(keys)](./foundation-comms.kvstorage.delete.md) | **_(ALPHA)_** |
|
27
|
-
| [get()](./foundation-comms.kvstorage.get.md) | **_(ALPHA)_** |
|
28
|
-
| [get(key)](./foundation-comms.kvstorage.get_1.md) | **_(ALPHA)_** |
|
29
|
-
| [list()](./foundation-comms.kvstorage.list.md) | **_(ALPHA)_** |
|
30
|
-
| [put(kvs)](./foundation-comms.kvstorage.put.md) | **_(ALPHA)_** |
|
31
|
-
|
@@ -1,25 +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) > [KVStorage](./foundation-comms.kvstorage.md) > [put](./foundation-comms.kvstorage.put.md)
|
4
|
-
|
5
|
-
## KVStorage.put() 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
|
-
put(kvs: KeyValue<KVValue>[]): Promise<true | KVEventFailureResponse>;
|
14
|
-
```
|
15
|
-
|
16
|
-
## Parameters
|
17
|
-
|
18
|
-
| Parameter | Type | Description |
|
19
|
-
| --- | --- | --- |
|
20
|
-
| kvs | [KeyValue](./foundation-comms.keyvalue.md)<!-- --><[KVValue](./foundation-comms.kvvalue.md)<!-- -->>\[\] | |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
Promise<true \| [KVEventFailureResponse](./foundation-comms.kveventfailureresponse.md)<!-- -->>
|
25
|
-
|
@@ -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) > [KVStorageConfig](./foundation-comms.kvstorageconfig.md) > [account](./foundation-comms.kvstorageconfig.account.md)
|
4
|
-
|
5
|
-
## KVStorageConfig.account 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
|
-
The account id to use.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
account?: string;
|
16
|
-
```
|
@@ -1,21 +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) > [KVStorageConfig](./foundation-comms.kvstorageconfig.md) > [authEmail](./foundation-comms.kvstorageconfig.authemail.md)
|
4
|
-
|
5
|
-
## KVStorageConfig.authEmail 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
|
-
Access control auth email.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
authEmail?: string;
|
16
|
-
```
|
17
|
-
|
18
|
-
## Remarks
|
19
|
-
|
20
|
-
Part of access requirements and where to report integration issues.
|
21
|
-
|
@@ -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) > [KVStorageConfig](./foundation-comms.kvstorageconfig.md) > [authKey](./foundation-comms.kvstorageconfig.authkey.md)
|
4
|
-
|
5
|
-
## KVStorageConfig.authKey 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
|
-
Access control auth key.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
authKey?: string;
|
16
|
-
```
|
@@ -1,26 +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) > [KVStorageConfig](./foundation-comms.kvstorageconfig.md)
|
4
|
-
|
5
|
-
## KVStorageConfig 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
|
-
KVStorageConfig DI interface.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
export interface KVStorageConfig
|
16
|
-
```
|
17
|
-
|
18
|
-
## Properties
|
19
|
-
|
20
|
-
| Property | Modifiers | Type | Description |
|
21
|
-
| --- | --- | --- | --- |
|
22
|
-
| [account?](./foundation-comms.kvstorageconfig.account.md) | | string | **_(ALPHA)_** _(Optional)_ The account id to use. |
|
23
|
-
| [authEmail?](./foundation-comms.kvstorageconfig.authemail.md) | | string | **_(ALPHA)_** _(Optional)_ Access control auth email. |
|
24
|
-
| [authKey?](./foundation-comms.kvstorageconfig.authkey.md) | | string | **_(ALPHA)_** _(Optional)_ Access control auth key. |
|
25
|
-
| [namespace?](./foundation-comms.kvstorageconfig.namespace.md) | | string | **_(ALPHA)_** _(Optional)_ The namespace to use. |
|
26
|
-
|
@@ -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) > [KVStorageConfig](./foundation-comms.kvstorageconfig.md) > [namespace](./foundation-comms.kvstorageconfig.namespace.md)
|
4
|
-
|
5
|
-
## KVStorageConfig.namespace 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
|
-
The namespace to use.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
namespace?: string;
|
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) > [KVValue](./foundation-comms.kvvalue.md)
|
4
|
-
|
5
|
-
## KVValue type
|
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
|
-
KVValue type.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
export type KVValue = string | ArrayBuffer;
|
16
|
-
```
|
@@ -1,31 +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) > [Socket](./foundation-comms.socket.md) > [sendForStreamWithoutTeardown](./foundation-comms.socket.sendforstreamwithoutteardown.md)
|
4
|
-
|
5
|
-
## Socket.sendForStreamWithoutTeardown() 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
|
-
Sends a message and returns an observable that emits messages received from the server.
|
11
|
-
|
12
|
-
**Signature:**
|
13
|
-
|
14
|
-
```typescript
|
15
|
-
sendForStreamWithoutTeardown<T>(message: Message<T | any>, onMessage: Function, onError: Function): Observable<Message>;
|
16
|
-
```
|
17
|
-
|
18
|
-
## Parameters
|
19
|
-
|
20
|
-
| Parameter | Type | Description |
|
21
|
-
| --- | --- | --- |
|
22
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><T \| any> | The message to send. |
|
23
|
-
| onMessage | Function | The function to call when a message is received. |
|
24
|
-
| onError | Function | The function to call when an error is received. |
|
25
|
-
|
26
|
-
**Returns:**
|
27
|
-
|
28
|
-
Observable<[Message](./foundation-comms.message.md)<!-- -->>
|
29
|
-
|
30
|
-
An observable that emits messages received from the server.
|
31
|
-
|