@genesislcap/foundation-comms 14.291.2-alpha-39f1157.0 → 14.292.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/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/connect.events.d.ts +0 -64
- package/dist/dts/connect/connect.events.d.ts.map +1 -1
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.config.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.d.ts +1 -9
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.types.d.ts +0 -5
- package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +0 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/esm/connect/connect.events.js +0 -42
- package/dist/esm/connect/connect.js +1 -5
- package/dist/esm/connect/http.connect.js +3 -4
- package/dist/esm/connect/http.connect.types.js +3 -3
- package/dist/esm/datasource/datasource.config.js +0 -1
- package/dist/esm/datasource/datasource.js +8 -22
- package/dist/esm/testing/mocks/datasource/datasource.js +0 -3
- package/dist/foundation-comms.api.json +100 -917
- package/dist/foundation-comms.d.ts +0 -84
- package/docs/api/foundation-comms.connectevents.md +0 -2
- package/docs/api/foundation-comms.connecteventsemitter.md +0 -2
- package/docs/api/foundation-comms.datasource.md +0 -1
- package/docs/api/foundation-comms.datasourceoptions.md +0 -1
- package/docs/api/foundation-comms.defaultconnectevents.md +0 -4
- package/docs/api/foundation-comms.defaultdatasource.md +0 -2
- package/docs/api/foundation-comms.md +0 -6
- package/docs/api-report.md +0 -56
- package/package.json +13 -13
- package/docs/api/foundation-comms.commitackevent.md +0 -14
- package/docs/api/foundation-comms.commitackeventdetail.md +0 -17
- package/docs/api/foundation-comms.commitackeventtype.md +0 -12
- package/docs/api/foundation-comms.commitresponseevent.md +0 -14
- package/docs/api/foundation-comms.commitresponseeventdetail.md +0 -17
- package/docs/api/foundation-comms.commitresponseeventtype.md +0 -12
- package/docs/api/foundation-comms.connectevents.addcommitacklistener.md +0 -24
- package/docs/api/foundation-comms.connectevents.addcommitresponselistener.md +0 -24
- package/docs/api/foundation-comms.connecteventsemitter.oncommitackevent.md +0 -25
- package/docs/api/foundation-comms.connecteventsemitter.oncommitresponseevent.md +0 -25
- package/docs/api/foundation-comms.datasource.triggerpoll.md +0 -17
- package/docs/api/foundation-comms.datasourceoptions.polltriggerevents.md +0 -18
- package/docs/api/foundation-comms.defaultconnectevents.addcommitacklistener.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.addcommitresponselistener.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.oncommitackevent.md +0 -25
- package/docs/api/foundation-comms.defaultconnectevents.oncommitresponseevent.md +0 -25
- package/docs/api/foundation-comms.defaultdatasource.connectevents.md +0 -11
- package/docs/api/foundation-comms.defaultdatasource.triggerpoll.md +0 -15
@@ -1,17 +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) > [Datasource](./foundation-comms.datasource.md) > [triggerPoll](./foundation-comms.datasource.triggerpoll.md)
|
4
|
-
|
5
|
-
## Datasource.triggerPoll() method
|
6
|
-
|
7
|
-
Triggers a manual poll of the data source.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
triggerPoll(): void;
|
13
|
-
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
void
|
17
|
-
|
@@ -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) > [DatasourceOptions](./foundation-comms.datasourceoptions.md) > [pollTriggerEvents](./foundation-comms.datasourceoptions.polltriggerevents.md)
|
4
|
-
|
5
|
-
## DatasourceOptions.pollTriggerEvents property
|
6
|
-
|
7
|
-
Array of event names that will trigger an additional poll.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
pollTriggerEvents?: string[];
|
13
|
-
```
|
14
|
-
|
15
|
-
## Remarks
|
16
|
-
|
17
|
-
Only works with REQUEST\_SERVER resources.
|
18
|
-
|
@@ -1,24 +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) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [addCommitAckListener](./foundation-comms.defaultconnectevents.addcommitacklistener.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.addCommitAckListener() method
|
6
|
-
|
7
|
-
Add a commit ack listener.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
addCommitAckListener(listener: Listener<CommitAckEvent>): () => void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| listener | Listener<[CommitAckEvent](./foundation-comms.commitackevent.md)<!-- -->> | A listener callback function. |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
() => void
|
24
|
-
|
@@ -1,24 +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) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [addCommitResponseListener](./foundation-comms.defaultconnectevents.addcommitresponselistener.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.addCommitResponseListener() method
|
6
|
-
|
7
|
-
Add a commit response listener (fires for both ack and nack).
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
addCommitResponseListener(listener: Listener<CommitResponseEvent>): () => void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| listener | Listener<[CommitResponseEvent](./foundation-comms.commitresponseevent.md)<!-- -->> | A listener callback function. |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
() => void
|
24
|
-
|
@@ -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) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onCommitAckEvent](./foundation-comms.defaultconnectevents.oncommitackevent.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.onCommitAckEvent() method
|
6
|
-
|
7
|
-
Called by Connect when a commit ack is received.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onCommitAckEvent(eventName: string, ack: Message): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| eventName | string | The name of the event. |
|
20
|
-
| ack | [Message](./foundation-comms.message.md) | The ack message from the server. |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
void
|
25
|
-
|
@@ -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) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onCommitResponseEvent](./foundation-comms.defaultconnectevents.oncommitresponseevent.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.onCommitResponseEvent() method
|
6
|
-
|
7
|
-
Called by Connect when a commit response (ack or nack) is received.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onCommitResponseEvent(eventName: string, response: Message): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| eventName | string | The name of the event. |
|
20
|
-
| response | [Message](./foundation-comms.message.md) | The response message from the server (ack or nack). |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
void
|
25
|
-
|
@@ -1,11 +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) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [connectEvents](./foundation-comms.defaultdatasource.connectevents.md)
|
4
|
-
|
5
|
-
## DefaultDatasource.connectEvents property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
protected connectEvents: ConnectEvents;
|
11
|
-
```
|
@@ -1,15 +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) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [triggerPoll](./foundation-comms.defaultdatasource.triggerpoll.md)
|
4
|
-
|
5
|
-
## DefaultDatasource.triggerPoll() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
triggerPoll(): void;
|
11
|
-
```
|
12
|
-
**Returns:**
|
13
|
-
|
14
|
-
void
|
15
|
-
|