@genesislcap/foundation-comms 14.379.0 → 14.380.1-TAMTECH-262.2

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.
Files changed (49) hide show
  1. package/dist/dts/connect/connect.d.ts +3 -2
  2. package/dist/dts/connect/connect.d.ts.map +1 -1
  3. package/dist/dts/connect/http.connect.d.ts +1 -1
  4. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  5. package/dist/dts/connect/index.d.ts +1 -0
  6. package/dist/dts/connect/index.d.ts.map +1 -1
  7. package/dist/dts/metadata/metadata.d.ts +17 -2
  8. package/dist/dts/metadata/metadata.d.ts.map +1 -1
  9. package/dist/dts/testing/mocks/connect/connect.d.ts +1 -1
  10. package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
  11. package/dist/esm/connect/connect.js +11 -3
  12. package/dist/esm/connect/http.connect.js +11 -3
  13. package/dist/esm/connect/index.js +1 -0
  14. package/dist/esm/metadata/metadata.js +10 -0
  15. package/dist/esm/testing/mocks/connect/connect.js +1 -1
  16. package/dist/foundation-comms.api.json +649 -15
  17. package/dist/foundation-comms.d.ts +32 -10
  18. package/docs/api/foundation-comms.connect.getavailableresources.md +17 -1
  19. package/docs/api/foundation-comms.connect.md +1 -1
  20. package/docs/api/foundation-comms.defaultconnect.getavailableresources.md +17 -1
  21. package/docs/api/foundation-comms.defaultconnect.md +1 -1
  22. package/docs/api/foundation-comms.defaulthttpconnect._constructor_.md +1 -1
  23. package/docs/api/foundation-comms.defaulthttpconnect.getavailableresources.md +17 -1
  24. package/docs/api/foundation-comms.defaulthttpconnect.md +1 -1
  25. package/docs/api/foundation-comms.defaulthttpconnectconfig.md +13 -0
  26. package/docs/api/foundation-comms.defaultmetacache.cachedresources.md +11 -0
  27. package/docs/api/foundation-comms.defaultmetacache.getresources.md +15 -0
  28. package/docs/api/foundation-comms.defaultmetacache.hasresources.md +15 -0
  29. package/docs/api/foundation-comms.defaultmetacache.md +53 -0
  30. package/docs/api/foundation-comms.defaultmetacache.setresources.md +50 -0
  31. package/docs/api/foundation-comms.httpconnectconfig.md +58 -0
  32. package/docs/api/foundation-comms.httpconnectconfig.polling.md +13 -0
  33. package/docs/api/foundation-comms.httppollingconfig.md +96 -0
  34. package/docs/api/foundation-comms.httppollingconfig.polling_frequency.md +13 -0
  35. package/docs/api/foundation-comms.httppollingconfig.polling_interval_map.md +15 -0
  36. package/docs/api/foundation-comms.httppollingconfig.polling_map.md +15 -0
  37. package/docs/api/foundation-comms.md +56 -1
  38. package/docs/api/foundation-comms.metacache.md +3 -3
  39. package/docs/api/foundation-comms.pollingconfiguration.amount_of_polls.md +18 -0
  40. package/docs/api/foundation-comms.pollingconfiguration.md +96 -0
  41. package/docs/api/foundation-comms.pollingconfiguration.queries.md +13 -0
  42. package/docs/api/foundation-comms.pollingconfiguration.temp_frequency.md +13 -0
  43. package/docs/api/foundation-comms.resourcescache.cachedresources.md +11 -0
  44. package/docs/api/foundation-comms.resourcescache.getresources.md +15 -0
  45. package/docs/api/foundation-comms.resourcescache.hasresources.md +15 -0
  46. package/docs/api/foundation-comms.resourcescache.md +98 -0
  47. package/docs/api/foundation-comms.resourcescache.setresources.md +50 -0
  48. package/docs/api-report.md.api.md +56 -6
  49. package/package.json +14 -14
@@ -392,9 +392,10 @@ export declare interface Connect {
392
392
  * Sends a request to the server to get available resources.
393
393
  * @public
394
394
  * @param params - An object containing optional parameters to include in the request.
395
+ * @param useCache - Whether to use the cached resources if available. Default: true.
395
396
  * @returns A promise that resolves to a Message containing the server's response with available resources.
396
397
  */
397
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
398
+ getAvailableResources(params?: RequestParams, useCache?: boolean): Promise<ResourcesMessage>;
398
399
  /**
399
400
  * Sends a request to the server to retrieve data or perform an action.
400
401
  * @public
@@ -592,7 +593,7 @@ export declare class ConnectMock implements Connect {
592
593
  disconnect(): void;
593
594
  getMetadata(resourceName: string): Promise<Metadata>;
594
595
  request(resourceName: string, params?: RequestParams): Promise<Message>;
595
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
596
+ getAvailableResources(params?: RequestParams, useCache?: boolean): Promise<ResourcesMessage>;
596
597
  snapshot(resourceName: string, params?: any): Promise<Message>;
597
598
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
598
599
  streamState(resourceName: string, onMessage: Function, onError: Function, params?: any, initialState?: any[]): Observable<any[]>;
@@ -1852,7 +1853,7 @@ export declare class DefaultConnect implements Connect {
1852
1853
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
1853
1854
  getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
1854
1855
  request(resourceName: string, params?: RequestParams): Promise<Message>;
1855
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
1856
+ getAvailableResources(params?: RequestParams, useCache?: boolean): Promise<ResourcesMessage>;
1856
1857
  commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
1857
1858
  }
1858
1859
 
@@ -2211,7 +2212,7 @@ export declare class DefaultHttpConnect implements Connect {
2211
2212
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
2212
2213
  getJSONSchema(resourceName: string): Promise<SchemaResponse>;
2213
2214
  request(resourceName: string, params?: RequestParams): Promise<Message>;
2214
- getAvailableResources(params?: any): Promise<ResourcesMessage>;
2215
+ getAvailableResources(params?: any, useCache?: boolean): Promise<ResourcesMessage>;
2215
2216
  commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
2216
2217
  private maybeTurbo;
2217
2218
  private updateIntervals;
@@ -2220,6 +2221,12 @@ export declare class DefaultHttpConnect implements Connect {
2220
2221
  private static getUrl;
2221
2222
  }
2222
2223
 
2224
+ /**
2225
+ * The default configuration for connecting to an HTTP service.
2226
+ * @public
2227
+ */
2228
+ export declare const defaultHttpConnectConfig: HttpConnectConfig;
2229
+
2223
2230
  /**
2224
2231
  * The default implementation for the KVStorage interface.
2225
2232
  * @alpha
@@ -2340,12 +2347,16 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
2340
2347
  export declare class DefaultMetaCache implements MetaCache {
2341
2348
  cachedMetadata: Map<string, Metadata>;
2342
2349
  cachedJsonSchema: Map<string, SchemaResponse>;
2350
+ cachedResources: ResourcesMessage | null;
2343
2351
  getMetadataFor(resourceName: string): Metadata;
2344
2352
  getJsonSchemaFor(resourceName: string): SchemaResponse;
2353
+ getResources(): ResourcesMessage;
2345
2354
  hasMetadataFor(resourceName: string): boolean;
2346
2355
  hasJsonSchemaFor(resourceName: string): boolean;
2356
+ hasResources(): boolean;
2347
2357
  setMetadataFor(resourceName: string, metadata: Metadata): void;
2348
2358
  setJsonSchemaFor(resourceName: string, schemaResponse: SchemaResponse): void;
2359
+ setResources(resources: ResourcesMessage): void;
2349
2360
  }
2350
2361
 
2351
2362
  /**
@@ -3200,7 +3211,7 @@ export declare const HttpConnect: InterfaceSymbol<Connect>;
3200
3211
  * Configuration options for the Connect (HTTP) instance.
3201
3212
  * @public
3202
3213
  */
3203
- declare interface HttpConnectConfig {
3214
+ export declare interface HttpConnectConfig {
3204
3215
  /**
3205
3216
  * Configuration options for http polling.
3206
3217
  */
@@ -3211,7 +3222,7 @@ declare interface HttpConnectConfig {
3211
3222
  * Configuration options for the Connect (HTTP) instance.
3212
3223
  * @internal
3213
3224
  */
3214
- declare const HttpConnectConfig: InterfaceSymbol<HttpConnectConfig>;
3225
+ export declare const HttpConnectConfig: InterfaceSymbol<HttpConnectConfig>;
3215
3226
 
3216
3227
  /**
3217
3228
  * An error thrown when an HTTP request fails with a non-2xx status code.
@@ -3226,7 +3237,7 @@ export declare interface HttpError extends Error {
3226
3237
  * Configuration options for http connection.
3227
3238
  * @public
3228
3239
  */
3229
- declare interface HttpPollingConfig {
3240
+ export declare interface HttpPollingConfig {
3230
3241
  /**
3231
3242
  * The frequency of polling.
3232
3243
  */
@@ -3887,10 +3898,10 @@ export declare enum MessageType {
3887
3898
  }
3888
3899
 
3889
3900
  /**
3890
- * Union type of MetadataCache and JsonSchemaCache
3901
+ * Union type of MetadataCache, JsonSchemaCache and ResourcesCache
3891
3902
  * @public
3892
3903
  */
3893
- export declare type MetaCache = MetadataCache & JsonSchemaCache;
3904
+ export declare type MetaCache = MetadataCache & JsonSchemaCache & ResourcesCache;
3894
3905
 
3895
3906
  /**
3896
3907
  * The DI token for the MetaCache interface.
@@ -4172,7 +4183,7 @@ export declare type PingMessage = Pick<Message, 'MESSAGE_TYPE' | 'SOURCE_REF' |
4172
4183
  * Configuration options for http polling.
4173
4184
  * @public
4174
4185
  */
4175
- declare interface PollingConfiguration {
4186
+ export declare interface PollingConfiguration {
4176
4187
  /**
4177
4188
  * The temporary polling frequency.
4178
4189
  */
@@ -4309,6 +4320,17 @@ export declare type ResourceItem = {
4309
4320
  RESOURCE_TYPE: string;
4310
4321
  };
4311
4322
 
4323
+ /**
4324
+ * A resources cache definition
4325
+ * @public
4326
+ */
4327
+ export declare interface ResourcesCache {
4328
+ cachedResources: ResourcesMessage | null;
4329
+ getResources(): ResourcesMessage;
4330
+ hasResources(): boolean;
4331
+ setResources(resources: ResourcesMessage): void;
4332
+ }
4333
+
4312
4334
  /**
4313
4335
  * @public
4314
4336
  */
@@ -9,7 +9,7 @@ Sends a request to the server to get available resources.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
12
+ getAvailableResources(params?: RequestParams, useCache?: boolean): Promise<ResourcesMessage>;
13
13
  ```
14
14
 
15
15
  ## Parameters
@@ -45,6 +45,22 @@ params
45
45
  _(Optional)_ An object containing optional parameters to include in the request.
46
46
 
47
47
 
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ useCache
52
+
53
+
54
+ </td><td>
55
+
56
+ boolean
57
+
58
+
59
+ </td><td>
60
+
61
+ _(Optional)_ Whether to use the cached resources if available. Default: true.
62
+
63
+
48
64
  </td></tr>
49
65
  </tbody></table>
50
66
 
@@ -195,7 +195,7 @@ Disconnects from the server.
195
195
  </td></tr>
196
196
  <tr><td>
197
197
 
198
- [getAvailableResources(params)](./foundation-comms.connect.getavailableresources.md)
198
+ [getAvailableResources(params, useCache)](./foundation-comms.connect.getavailableresources.md)
199
199
 
200
200
 
201
201
  </td><td>
@@ -7,7 +7,7 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
10
+ getAvailableResources(params?: RequestParams, useCache?: boolean): Promise<ResourcesMessage>;
11
11
  ```
12
12
 
13
13
  ## Parameters
@@ -43,6 +43,22 @@ params
43
43
  _(Optional)_
44
44
 
45
45
 
46
+ </td></tr>
47
+ <tr><td>
48
+
49
+ useCache
50
+
51
+
52
+ </td><td>
53
+
54
+ boolean
55
+
56
+
57
+ </td><td>
58
+
59
+ _(Optional)_
60
+
61
+
46
62
  </td></tr>
47
63
  </tbody></table>
48
64
 
@@ -250,7 +250,7 @@ Description
250
250
  </td></tr>
251
251
  <tr><td>
252
252
 
253
- [getAvailableResources(params)](./foundation-comms.defaultconnect.getavailableresources.md)
253
+ [getAvailableResources(params, useCache)](./foundation-comms.defaultconnect.getavailableresources.md)
254
254
 
255
255
 
256
256
  </td><td>
@@ -107,7 +107,7 @@ config
107
107
 
108
108
  </td><td>
109
109
 
110
- HttpConnectConfig
110
+ [HttpConnectConfig](./foundation-comms.httpconnectconfig.md)
111
111
 
112
112
 
113
113
  </td><td>
@@ -7,7 +7,7 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- getAvailableResources(params?: any): Promise<ResourcesMessage>;
10
+ getAvailableResources(params?: any, useCache?: boolean): Promise<ResourcesMessage>;
11
11
  ```
12
12
 
13
13
  ## Parameters
@@ -43,6 +43,22 @@ any
43
43
  _(Optional)_
44
44
 
45
45
 
46
+ </td></tr>
47
+ <tr><td>
48
+
49
+ useCache
50
+
51
+
52
+ </td><td>
53
+
54
+ boolean
55
+
56
+
57
+ </td><td>
58
+
59
+ _(Optional)_
60
+
61
+
46
62
  </td></tr>
47
63
  </tbody></table>
48
64
 
@@ -242,7 +242,7 @@ Description
242
242
  </td></tr>
243
243
  <tr><td>
244
244
 
245
- [getAvailableResources(params)](./foundation-comms.defaulthttpconnect.getavailableresources.md)
245
+ [getAvailableResources(params, useCache)](./foundation-comms.defaulthttpconnect.getavailableresources.md)
246
246
 
247
247
 
248
248
  </td><td>
@@ -0,0 +1,13 @@
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
+ ```
@@ -0,0 +1,11 @@
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; [DefaultMetaCache](./foundation-comms.defaultmetacache.md) &gt; [cachedResources](./foundation-comms.defaultmetacache.cachedresources.md)
4
+
5
+ ## DefaultMetaCache.cachedResources property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ cachedResources: ResourcesMessage | null;
11
+ ```
@@ -0,0 +1,15 @@
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; [DefaultMetaCache](./foundation-comms.defaultmetacache.md) &gt; [getResources](./foundation-comms.defaultmetacache.getresources.md)
4
+
5
+ ## DefaultMetaCache.getResources() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ getResources(): ResourcesMessage;
11
+ ```
12
+ **Returns:**
13
+
14
+ [ResourcesMessage](./foundation-comms.resourcesmessage.md)
15
+
@@ -0,0 +1,15 @@
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; [DefaultMetaCache](./foundation-comms.defaultmetacache.md) &gt; [hasResources](./foundation-comms.defaultmetacache.hasresources.md)
4
+
5
+ ## DefaultMetaCache.hasResources() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ hasResources(): boolean;
11
+ ```
12
+ **Returns:**
13
+
14
+ boolean
15
+
@@ -69,6 +69,23 @@ Map&lt;string, [Metadata](./foundation-comms.metadata.md)<!-- -->&gt;
69
69
  </td><td>
70
70
 
71
71
 
72
+ </td></tr>
73
+ <tr><td>
74
+
75
+ [cachedResources](./foundation-comms.defaultmetacache.cachedresources.md)
76
+
77
+
78
+ </td><td>
79
+
80
+
81
+ </td><td>
82
+
83
+ [ResourcesMessage](./foundation-comms.resourcesmessage.md) \| null
84
+
85
+
86
+ </td><td>
87
+
88
+
72
89
  </td></tr>
73
90
  </tbody></table>
74
91
 
@@ -113,6 +130,18 @@ Description
113
130
  </td><td>
114
131
 
115
132
 
133
+ </td></tr>
134
+ <tr><td>
135
+
136
+ [getResources()](./foundation-comms.defaultmetacache.getresources.md)
137
+
138
+
139
+ </td><td>
140
+
141
+
142
+ </td><td>
143
+
144
+
116
145
  </td></tr>
117
146
  <tr><td>
118
147
 
@@ -137,6 +166,18 @@ Description
137
166
  </td><td>
138
167
 
139
168
 
169
+ </td></tr>
170
+ <tr><td>
171
+
172
+ [hasResources()](./foundation-comms.defaultmetacache.hasresources.md)
173
+
174
+
175
+ </td><td>
176
+
177
+
178
+ </td><td>
179
+
180
+
140
181
  </td></tr>
141
182
  <tr><td>
142
183
 
@@ -161,6 +202,18 @@ Description
161
202
  </td><td>
162
203
 
163
204
 
205
+ </td></tr>
206
+ <tr><td>
207
+
208
+ [setResources(resources)](./foundation-comms.defaultmetacache.setresources.md)
209
+
210
+
211
+ </td><td>
212
+
213
+
214
+ </td><td>
215
+
216
+
164
217
  </td></tr>
165
218
  </tbody></table>
166
219
 
@@ -0,0 +1,50 @@
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; [DefaultMetaCache](./foundation-comms.defaultmetacache.md) &gt; [setResources](./foundation-comms.defaultmetacache.setresources.md)
4
+
5
+ ## DefaultMetaCache.setResources() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ setResources(resources: ResourcesMessage): void;
11
+ ```
12
+
13
+ ## Parameters
14
+
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ resources
34
+
35
+
36
+ </td><td>
37
+
38
+ [ResourcesMessage](./foundation-comms.resourcesmessage.md)
39
+
40
+
41
+ </td><td>
42
+
43
+
44
+ </td></tr>
45
+ </tbody></table>
46
+
47
+ **Returns:**
48
+
49
+ void
50
+
@@ -0,0 +1,58 @@
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
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [polling](./foundation-comms.httpconnectconfig.polling.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ [HttpPollingConfig](./foundation-comms.httppollingconfig.md)
49
+
50
+
51
+ </td><td>
52
+
53
+ Configuration options for http polling.
54
+
55
+
56
+ </td></tr>
57
+ </tbody></table>
58
+
@@ -0,0 +1,13 @@
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
+ ```
@@ -0,0 +1,96 @@
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
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [POLLING\_FREQUENCY?](./foundation-comms.httppollingconfig.polling_frequency.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ number
49
+
50
+
51
+ </td><td>
52
+
53
+ _(Optional)_ The frequency of polling.
54
+
55
+
56
+ </td></tr>
57
+ <tr><td>
58
+
59
+ [POLLING\_INTERVAL\_MAP?](./foundation-comms.httppollingconfig.polling_interval_map.md)
60
+
61
+
62
+ </td><td>
63
+
64
+
65
+ </td><td>
66
+
67
+ { \[resource: string\]: number; }
68
+
69
+
70
+ </td><td>
71
+
72
+ _(Optional)_ The interval map of polling.
73
+
74
+
75
+ </td></tr>
76
+ <tr><td>
77
+
78
+ [POLLING\_MAP?](./foundation-comms.httppollingconfig.polling_map.md)
79
+
80
+
81
+ </td><td>
82
+
83
+
84
+ </td><td>
85
+
86
+ { \[key: string\]: [PollingConfiguration](./foundation-comms.pollingconfiguration.md)<!-- -->; }
87
+
88
+
89
+ </td><td>
90
+
91
+ _(Optional)_ The map of polling configuration.
92
+
93
+
94
+ </td></tr>
95
+ </tbody></table>
96
+
@@ -0,0 +1,13 @@
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
+ ```
@@ -0,0 +1,15 @@
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
+ ```
@@ -0,0 +1,15 @@
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
+ ```