@genesislcap/foundation-comms 14.184.0 → 14.186.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/dist/dts/auth/auth.types.d.ts +1 -1
  2. package/dist/dts/auth/auth.types.d.ts.map +1 -1
  3. package/dist/dts/connect/connect.d.ts +14 -6
  4. package/dist/dts/connect/connect.d.ts.map +1 -1
  5. package/dist/dts/connect/connect.events.d.ts +28 -2
  6. package/dist/dts/connect/connect.events.d.ts.map +1 -1
  7. package/dist/dts/connect/connect.types.d.ts +5 -52
  8. package/dist/dts/connect/connect.types.d.ts.map +1 -1
  9. package/dist/dts/connect/http.connect.d.ts +4 -8
  10. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  11. package/dist/dts/connect/http.connect.types.d.ts +62 -0
  12. package/dist/dts/connect/http.connect.types.d.ts.map +1 -0
  13. package/dist/dts/connect/index.d.ts +1 -0
  14. package/dist/dts/connect/index.d.ts.map +1 -1
  15. package/dist/dts/connect/message.d.ts +6 -2
  16. package/dist/dts/connect/message.d.ts.map +1 -1
  17. package/dist/dts/connect/socket.d.ts +3 -56
  18. package/dist/dts/connect/socket.d.ts.map +1 -1
  19. package/dist/dts/connect/socket.types.d.ts +57 -0
  20. package/dist/dts/connect/socket.types.d.ts.map +1 -0
  21. package/dist/dts/connect/updateState.d.ts +3 -0
  22. package/dist/dts/connect/updateState.d.ts.map +1 -0
  23. package/dist/dts/networkMonitor/service.d.ts.map +1 -1
  24. package/dist/dts/testing/mocks/auth/auth.d.ts +1 -1
  25. package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
  26. package/dist/dts/testing/mocks/connect/connect.d.ts +3 -1
  27. package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
  28. package/dist/dts/testing/mocks/connect/socket.d.ts +1 -1
  29. package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
  30. package/dist/dts/testing/mocks/datasource/datasource.d.ts +1 -1
  31. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  32. package/dist/esm/connect/connect.events.js +21 -2
  33. package/dist/esm/connect/connect.js +26 -28
  34. package/dist/esm/connect/connect.types.js +21 -5
  35. package/dist/esm/connect/http.connect.js +11 -23
  36. package/dist/esm/connect/http.connect.types.js +24 -0
  37. package/dist/esm/connect/index.js +1 -0
  38. package/dist/esm/connect/message.js +3 -2
  39. package/dist/esm/connect/socket.js +10 -5
  40. package/dist/esm/connect/socket.types.js +1 -0
  41. package/dist/esm/connect/updateState.js +26 -0
  42. package/dist/esm/networkMonitor/service.js +18 -8
  43. package/dist/esm/testing/mocks/connect/connect.js +3 -0
  44. package/dist/esm/testing/mocks/connect/socket.js +1 -1
  45. package/dist/foundation-comms.api.json +823 -384
  46. package/dist/foundation-comms.d.ts +63 -16
  47. package/docs/api/foundation-comms.connect.md +1 -0
  48. package/docs/api/foundation-comms.connect.streamstate.md +30 -0
  49. package/docs/api/foundation-comms.connectconfig.iswebsocketexpression.md +13 -0
  50. package/docs/api/foundation-comms.connectconfig.md +1 -0
  51. package/docs/api/foundation-comms.connectevents.addstreamlistener.md +2 -1
  52. package/docs/api/foundation-comms.connectevents.md +1 -1
  53. package/docs/api/foundation-comms.connecteventsemitter.md +1 -0
  54. package/docs/api/foundation-comms.connecteventsemitter.onstreamerrorevent.md +26 -0
  55. package/docs/api/foundation-comms.defaultconnect._constructor_.md +2 -2
  56. package/docs/api/foundation-comms.defaultconnect.md +1 -0
  57. package/docs/api/foundation-comms.defaultconnect.streamstate.md +26 -0
  58. package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +2 -1
  59. package/docs/api/foundation-comms.defaultconnectevents.md +2 -1
  60. package/docs/api/foundation-comms.defaultconnectevents.onstreamerrorevent.md +26 -0
  61. package/docs/api/foundation-comms.defaulthttpconnect._constructor_.md +2 -2
  62. package/docs/api/foundation-comms.defaulthttpconnect.md +1 -0
  63. package/docs/api/foundation-comms.defaulthttpconnect.streamstate.md +26 -0
  64. package/docs/api/foundation-comms.md +3 -4
  65. package/docs/api/foundation-comms.pingmessage.md +1 -1
  66. package/docs/api/foundation-comms.streamerrorevent.md +14 -0
  67. package/docs/api/foundation-comms.streamerroreventdetail.md +16 -0
  68. package/docs/api/foundation-comms.streamerroreventtype.md +12 -0
  69. package/docs/api-report.md +36 -38
  70. package/package.json +21 -13
  71. package/docs/api/foundation-comms.defaulthttpconnectconfig.md +0 -13
  72. package/docs/api/foundation-comms.httpconnectconfig.md +0 -20
  73. package/docs/api/foundation-comms.httpconnectconfig.polling.md +0 -13
  74. package/docs/api/foundation-comms.httppollingconfig.md +0 -22
  75. package/docs/api/foundation-comms.httppollingconfig.polling_frequency.md +0 -13
  76. package/docs/api/foundation-comms.httppollingconfig.polling_interval_map.md +0 -15
  77. package/docs/api/foundation-comms.httppollingconfig.polling_map.md +0 -15
  78. package/docs/api/foundation-comms.pollingconfiguration.amount_of_polls.md +0 -18
  79. package/docs/api/foundation-comms.pollingconfiguration.md +0 -22
  80. package/docs/api/foundation-comms.pollingconfiguration.queries.md +0 -13
  81. package/docs/api/foundation-comms.pollingconfiguration.temp_frequency.md +0 -13
@@ -166,7 +166,8 @@ export interface Connect {
166
166
  setValidSession(valid: boolean): void;
167
167
  snapshot(resourceName: string, params?: any): Promise<Message>;
168
168
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
169
- // @alpha
169
+ streamState(resourceName: string, onMessage: Function, onError: Function, params?: any, initialState?: any[]): Observable<any[]>;
170
+ // @alpha @deprecated
170
171
  streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
171
172
  }
172
173
 
@@ -178,6 +179,7 @@ export const Connect: InterfaceSymbol<Connect>;
178
179
  // @public
179
180
  export interface ConnectConfig {
180
181
  connect: SocketConnectOptions;
182
+ isWebSocketExpression: RegExp;
181
183
  reconnect: SocketReconnectOptions;
182
184
  }
183
185
 
@@ -190,7 +192,7 @@ export const ConnectConfig: InterfaceSymbol<ConnectConfig>;
190
192
  export interface ConnectEvents {
191
193
  addCommitListener(listener: Listener<CommitEvent>): () => void;
192
194
  addMetadataListener(listener: Listener<MetadataEvent>): () => void;
193
- addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>): () => void;
195
+ addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>, error: Listener<StreamErrorEvent>): () => void;
194
196
  }
195
197
 
196
198
  // @internal
@@ -203,6 +205,7 @@ export interface ConnectEventsEmitter extends ConnectEvents {
203
205
  onCommitEvent(eventName: string, message: Message): void;
204
206
  onMetadataEvent(resourceName: string, message: Message<MessageDetails.MetaRequest>, error?: any): void;
205
207
  onStreamCompleteEvent(resourceName: string, stream: SocketObservable<any>): void;
208
+ onStreamErrorEvent(resourceName: string, stream: SocketObservable<any>, error: any): void;
206
209
  onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
207
210
  }
208
211
 
@@ -247,6 +250,8 @@ export class ConnectMock implements Connect {
247
250
  // (undocumented)
248
251
  nextJSONSchema: any;
249
252
  // (undocumented)
253
+ nextListState: any[];
254
+ // (undocumented)
250
255
  nextMessage: Message;
251
256
  // (undocumented)
252
257
  nextMetadata: Metadata;
@@ -265,6 +270,8 @@ export class ConnectMock implements Connect {
265
270
  // (undocumented)
266
271
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
267
272
  // (undocumented)
273
+ streamState(resourceName: string, onMessage: Function, onError: Function, params?: any, initialState?: any[]): Observable<any[]>;
274
+ // (undocumented)
268
275
  streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
269
276
  }
270
277
 
@@ -518,7 +525,7 @@ export class DefaultAuth implements Auth {
518
525
 
519
526
  // @public
520
527
  export class DefaultConnect implements Connect {
521
- constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache, events: ConnectEventsEmitter, config?: ConnectConfig);
528
+ constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache, events: ConnectEventsEmitter, config: ConnectConfig);
522
529
  // (undocumented)
523
530
  commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
524
531
  // (undocumented)
@@ -560,6 +567,8 @@ export class DefaultConnect implements Connect {
560
567
  // (undocumented)
561
568
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
562
569
  // (undocumented)
570
+ streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: any, initialState?: any[]): Observable<any[]>;
571
+ // (undocumented)
563
572
  streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
564
573
  }
565
574
 
@@ -579,7 +588,7 @@ export class DefaultConnectEvents implements ConnectEventsEmitter {
579
588
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEvents" has more than one declaration; you need to add a TSDoc member reference selector
580
589
  //
581
590
  // (undocumented)
582
- addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>): () => void;
591
+ addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>, error: Listener<StreamErrorEvent>): () => void;
583
592
  // @internal (undocumented)
584
593
  protected commitListeners: Observer<CommitEvent>;
585
594
  // @internal (undocumented)
@@ -599,10 +608,16 @@ export class DefaultConnectEvents implements ConnectEventsEmitter {
599
608
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEventsEmitter" has more than one declaration; you need to add a TSDoc member reference selector
600
609
  //
601
610
  // (undocumented)
611
+ onStreamErrorEvent(resourceName: string, stream: SocketObservable<any>, error: any): void;
612
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEventsEmitter" has more than one declaration; you need to add a TSDoc member reference selector
613
+ //
614
+ // (undocumented)
602
615
  onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
603
616
  // @internal (undocumented)
604
617
  protected streamCompleteListeners: Observer<StreamCompleteEvent>;
605
618
  // @internal (undocumented)
619
+ protected streamErrorListeners: Observer<StreamErrorEvent>;
620
+ // @internal (undocumented)
606
621
  protected streamListeners: Observer<StreamEvent>;
607
622
  }
608
623
 
@@ -781,7 +796,8 @@ export class DefaultHttp implements Http {
781
796
 
782
797
  // @public
783
798
  export class DefaultHttpConnect implements Connect {
784
- constructor(http: Http, messageBuilder: MessageBuilder, session: Session, metaCache: MetaCache, serializer: JSONSerializer, config?: HttpConnectConfig);
799
+ // Warning: (ae-forgotten-export) The symbol "HttpConnectConfig" needs to be exported by the entry point index.d.ts
800
+ constructor(http: Http, messageBuilder: MessageBuilder, session: Session, metaCache: MetaCache, serializer: JSONSerializer, config: HttpConnectConfig);
785
801
  // (undocumented)
786
802
  commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
787
803
  // (undocumented)
@@ -826,12 +842,11 @@ export class DefaultHttpConnect implements Connect {
826
842
  // (undocumented)
827
843
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
828
844
  // (undocumented)
845
+ streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: any, initialState?: any[]): Observable<any[]>;
846
+ // (undocumented)
829
847
  streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message<any>>;
830
848
  }
831
849
 
832
- // @public
833
- export const defaultHttpConnectConfig: HttpConnectConfig;
834
-
835
850
  // @alpha
836
851
  export class DefaultKVStorage implements KVStorage {
837
852
  constructor(connect: Connect, user: User_2, kvStorageConfig?: KVStorageConfig);
@@ -1270,27 +1285,6 @@ export const Http: InterfaceSymbol<Http>;
1270
1285
  // @internal
1271
1286
  export const HttpConnect: InterfaceSymbol<Connect>;
1272
1287
 
1273
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "HttpConnectConfig" because one of its declarations is marked as @internal
1274
- //
1275
- // @public
1276
- export interface HttpConnectConfig {
1277
- polling: HttpPollingConfig;
1278
- }
1279
-
1280
- // @internal
1281
- export const HttpConnectConfig: InterfaceSymbol<HttpConnectConfig>;
1282
-
1283
- // @public
1284
- export interface HttpPollingConfig {
1285
- POLLING_FREQUENCY?: number;
1286
- POLLING_INTERVAL_MAP?: {
1287
- [resource: string]: number;
1288
- };
1289
- POLLING_MAP?: {
1290
- [key: string]: PollingConfiguration;
1291
- };
1292
- }
1293
-
1294
1288
  // @public
1295
1289
  export interface HttpRequestInit extends RequestInit {
1296
1290
  serializer?: JSONSerializer;
@@ -1716,18 +1710,11 @@ export const NetworkMonitorConfig: InterfaceSymbol<NetworkMonitorConfig>;
1716
1710
  export function normaliseCriteria(criteria: string, delimiter?: string): string;
1717
1711
 
1718
1712
  // @public (undocumented)
1719
- export type PingMessage = Pick<Message, 'MESSAGE_TYPE' | 'SOURCE_REF' | 'DETAILS'> & {
1713
+ export type PingMessage = Pick<Message, 'MESSAGE_TYPE' | 'SOURCE_REF' | 'DETAILS' | 'SESSION_AUTH_TOKEN'> & {
1720
1714
  VERBOSE?: boolean;
1721
1715
  [key: string]: any;
1722
1716
  };
1723
1717
 
1724
- // @public
1725
- export interface PollingConfiguration {
1726
- AMOUNT_OF_POLLS: number;
1727
- QUERIES: string[];
1728
- TEMP_FREQUENCY: number;
1729
- }
1730
-
1731
1718
  // @public (undocumented)
1732
1719
  export type PongMessage = Pick<Message, 'MESSAGE_TYPE' | 'SOURCE_REF' | 'USER_NAME'> & {
1733
1720
  IS_AUTHENTICATED?: boolean;
@@ -2070,6 +2057,17 @@ export type StreamCompleteEventDetail = Pick<StreamEventDetail, 'resourceName' |
2070
2057
  // @public (undocumented)
2071
2058
  export const StreamCompleteEventType = "connect-stream-complete-event";
2072
2059
 
2060
+ // @public (undocumented)
2061
+ export type StreamErrorEvent = CustomEvent<StreamErrorEventDetail>;
2062
+
2063
+ // @public (undocumented)
2064
+ export type StreamErrorEventDetail = Pick<StreamEventDetail, 'resourceName' | 'stream'> & {
2065
+ error: any;
2066
+ };
2067
+
2068
+ // @public (undocumented)
2069
+ export const StreamErrorEventType = "connect-stream-error-event";
2070
+
2073
2071
  // @public (undocumented)
2074
2072
  export type StreamEvent = CustomEvent<StreamEventDetail>;
2075
2073
 
@@ -2170,7 +2168,7 @@ export const WSConnect: InterfaceSymbol<Connect>;
2170
2168
 
2171
2169
  // Warnings were encountered during analysis:
2172
2170
  //
2173
- // src/connect/message.ts:283:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
2171
+ // src/connect/message.ts:286:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
2174
2172
 
2175
2173
  // (No @packageDocumentation comment for this package)
2176
2174
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-comms",
3
3
  "description": "Genesis Foundation UI Comms",
4
- "version": "14.184.0",
4
+ "version": "14.186.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -44,6 +44,7 @@
44
44
  "build:rollup:stats": "genx analyze -b rollup",
45
45
  "build:webpack": "genx build",
46
46
  "build:webpack:stats": "genx analyze",
47
+ "circular": "npx -y madge --extensions ts --circular ./src",
47
48
  "clean": "rimraf dist tsconfig.tsbuildinfo",
48
49
  "dev": "npm run dev:tsc",
49
50
  "dev:rollup": "genx dev -b rollup",
@@ -65,23 +66,30 @@
65
66
  "test:unit:watch": "genx test --watch",
66
67
  "test:debug": "genx test --debug"
67
68
  },
69
+ "madge": {
70
+ "detectiveOptions": {
71
+ "ts": {
72
+ "skipTypeImports": true
73
+ }
74
+ }
75
+ },
68
76
  "devDependencies": {
69
- "@genesislcap/foundation-testing": "14.184.0",
70
- "@genesislcap/genx": "14.184.0",
71
- "@genesislcap/rollup-builder": "14.184.0",
72
- "@genesislcap/ts-builder": "14.184.0",
73
- "@genesislcap/uvu-playwright-builder": "14.184.0",
74
- "@genesislcap/vite-builder": "14.184.0",
75
- "@genesislcap/webpack-builder": "14.184.0",
77
+ "@genesislcap/foundation-testing": "14.186.0",
78
+ "@genesislcap/genx": "14.186.0",
79
+ "@genesislcap/rollup-builder": "14.186.0",
80
+ "@genesislcap/ts-builder": "14.186.0",
81
+ "@genesislcap/uvu-playwright-builder": "14.186.0",
82
+ "@genesislcap/vite-builder": "14.186.0",
83
+ "@genesislcap/webpack-builder": "14.186.0",
76
84
  "@types/js-cookie": "^3.0.2",
77
85
  "@types/json-schema": "^7.0.11",
78
86
  "@types/webappsec-credential-management": "^0.6.2",
79
- "rimraf": "^3.0.2"
87
+ "rimraf": "^5.0.0"
80
88
  },
81
89
  "dependencies": {
82
- "@genesislcap/foundation-logger": "14.184.0",
83
- "@genesislcap/foundation-user": "14.184.0",
84
- "@genesislcap/foundation-utils": "14.184.0",
90
+ "@genesislcap/foundation-logger": "14.186.0",
91
+ "@genesislcap/foundation-user": "14.186.0",
92
+ "@genesislcap/foundation-utils": "14.186.0",
85
93
  "@microsoft/fast-element": "^1.12.0",
86
94
  "@microsoft/fast-foundation": "^2.49.4",
87
95
  "analytics": "^0.8.0",
@@ -101,5 +109,5 @@
101
109
  "publishConfig": {
102
110
  "access": "public"
103
111
  },
104
- "gitHead": "8aef45b63f3c8b0336b3f8cc97ad79a36e9b5381"
112
+ "gitHead": "1ebc5549ab49ef3a3e6c08c8aab0886dbebb3400"
105
113
  }
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [defaultHttpConnectConfig](./foundation-comms.defaulthttpconnectconfig.md)
4
-
5
- ## defaultHttpConnectConfig variable
6
-
7
- The default configuration for connecting to an HTTP service.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- defaultHttpConnectConfig: HttpConnectConfig
13
- ```
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [HttpConnectConfig](./foundation-comms.httpconnectconfig.md)
4
-
5
- ## HttpConnectConfig interface
6
-
7
- Configuration options for the Connect (HTTP) instance.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface HttpConnectConfig
13
- ```
14
-
15
- ## Properties
16
-
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [polling](./foundation-comms.httpconnectconfig.polling.md) | | [HttpPollingConfig](./foundation-comms.httppollingconfig.md) | Configuration options for http polling. |
20
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [HttpConnectConfig](./foundation-comms.httpconnectconfig.md) &gt; [polling](./foundation-comms.httpconnectconfig.polling.md)
4
-
5
- ## HttpConnectConfig.polling property
6
-
7
- Configuration options for http polling.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- polling: HttpPollingConfig;
13
- ```
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [HttpPollingConfig](./foundation-comms.httppollingconfig.md)
4
-
5
- ## HttpPollingConfig interface
6
-
7
- Configuration options for http connection.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface HttpPollingConfig
13
- ```
14
-
15
- ## Properties
16
-
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [POLLING\_FREQUENCY?](./foundation-comms.httppollingconfig.polling_frequency.md) | | number | _(Optional)_ The frequency of polling. |
20
- | [POLLING\_INTERVAL\_MAP?](./foundation-comms.httppollingconfig.polling_interval_map.md) | | { \[resource: string\]: number; } | _(Optional)_ The interval map of polling. |
21
- | [POLLING\_MAP?](./foundation-comms.httppollingconfig.polling_map.md) | | { \[key: string\]: [PollingConfiguration](./foundation-comms.pollingconfiguration.md)<!-- -->; } | _(Optional)_ The map of polling configuration. |
22
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [HttpPollingConfig](./foundation-comms.httppollingconfig.md) &gt; [POLLING\_FREQUENCY](./foundation-comms.httppollingconfig.polling_frequency.md)
4
-
5
- ## HttpPollingConfig.POLLING\_FREQUENCY property
6
-
7
- The frequency of polling.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- POLLING_FREQUENCY?: number;
13
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [HttpPollingConfig](./foundation-comms.httppollingconfig.md) &gt; [POLLING\_INTERVAL\_MAP](./foundation-comms.httppollingconfig.polling_interval_map.md)
4
-
5
- ## HttpPollingConfig.POLLING\_INTERVAL\_MAP property
6
-
7
- The interval map of polling.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- POLLING_INTERVAL_MAP?: {
13
- [resource: string]: number;
14
- };
15
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [HttpPollingConfig](./foundation-comms.httppollingconfig.md) &gt; [POLLING\_MAP](./foundation-comms.httppollingconfig.polling_map.md)
4
-
5
- ## HttpPollingConfig.POLLING\_MAP property
6
-
7
- The map of polling configuration.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- POLLING_MAP?: {
13
- [key: string]: PollingConfiguration;
14
- };
15
- ```
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [PollingConfiguration](./foundation-comms.pollingconfiguration.md) &gt; [AMOUNT\_OF\_POLLS](./foundation-comms.pollingconfiguration.amount_of_polls.md)
4
-
5
- ## PollingConfiguration.AMOUNT\_OF\_POLLS property
6
-
7
- The expected amount of HTTP polling attempts to be performed.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- AMOUNT_OF_POLLS: number;
13
- ```
14
-
15
- ## Remarks
16
-
17
- TEMP\_FREQUENCY \* AMOUNT\_OF\_POLLS = the total polling time/duration
18
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [PollingConfiguration](./foundation-comms.pollingconfiguration.md)
4
-
5
- ## PollingConfiguration interface
6
-
7
- Configuration options for http polling.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface PollingConfiguration
13
- ```
14
-
15
- ## Properties
16
-
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [AMOUNT\_OF\_POLLS](./foundation-comms.pollingconfiguration.amount_of_polls.md) | | number | The expected amount of HTTP polling attempts to be performed. |
20
- | [QUERIES](./foundation-comms.pollingconfiguration.queries.md) | | string\[\] | The queries to be polled. |
21
- | [TEMP\_FREQUENCY](./foundation-comms.pollingconfiguration.temp_frequency.md) | | number | The temporary polling frequency. |
22
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [PollingConfiguration](./foundation-comms.pollingconfiguration.md) &gt; [QUERIES](./foundation-comms.pollingconfiguration.queries.md)
4
-
5
- ## PollingConfiguration.QUERIES property
6
-
7
- The queries to be polled.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- QUERIES: string[];
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [PollingConfiguration](./foundation-comms.pollingconfiguration.md) &gt; [TEMP\_FREQUENCY](./foundation-comms.pollingconfiguration.temp_frequency.md)
4
-
5
- ## PollingConfiguration.TEMP\_FREQUENCY property
6
-
7
- The temporary polling frequency.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- TEMP_FREQUENCY: number;
13
- ```