@genesislcap/foundation-comms 14.321.0 → 14.321.1-alpha-ada81fd.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.
Files changed (34) hide show
  1. package/dist/dts/connect/message.d.ts +3 -1
  2. package/dist/dts/connect/message.d.ts.map +1 -1
  3. package/dist/dts/datasource/datasource.config.d.ts +1 -0
  4. package/dist/dts/datasource/datasource.config.d.ts.map +1 -1
  5. package/dist/dts/datasource/datasource.d.ts +25 -0
  6. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  7. package/dist/dts/datasource/datasource.types.d.ts +21 -16
  8. package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
  9. package/dist/dts/metadata/metadata.types.d.ts +4 -2
  10. package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
  11. package/dist/dts/testing/mocks/datasource/datasource.d.ts +4 -1
  12. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  13. package/dist/esm/datasource/datasource.config.js +1 -0
  14. package/dist/esm/datasource/datasource.js +56 -15
  15. package/dist/esm/testing/mocks/datasource/datasource.js +7 -0
  16. package/dist/foundation-comms.api.json +226 -4
  17. package/dist/foundation-comms.d.ts +57 -19
  18. package/docs/api/foundation-comms.datasource.dataserveronlyparams.md +13 -0
  19. package/docs/api/foundation-comms.datasource.md +47 -0
  20. package/docs/api/foundation-comms.datasource.requestonlyparams.md +13 -0
  21. package/docs/api/foundation-comms.datasource.updateloadmorecount.md +50 -0
  22. package/docs/api/foundation-comms.datasourcedefaults.default_req_rep_offset.md +11 -0
  23. package/docs/api/foundation-comms.datasourcedefaults.md +21 -0
  24. package/docs/api/foundation-comms.datasourceoptions.md +19 -0
  25. package/docs/api/foundation-comms.datasourceoptions.offset.md +18 -0
  26. package/docs/api/foundation-comms.datasourceoptions.orderby.md +0 -5
  27. package/docs/api/foundation-comms.defaultdatasource.criteriaonlyrequest.md +12 -0
  28. package/docs/api/foundation-comms.defaultdatasource.loadmorecount.md +13 -0
  29. package/docs/api/foundation-comms.defaultdatasource.md +37 -0
  30. package/docs/api/foundation-comms.metadata.md +1 -0
  31. package/docs/api/foundation-comms.requestdetailsparam.md +3 -1
  32. package/docs/api/foundation-comms.requestserverresult.md +3 -2
  33. package/docs/api-report.md.api.md +27 -3
  34. package/package.json +13 -13
@@ -5203,6 +5203,34 @@
5203
5203
  ],
5204
5204
  "name": "dataHandler"
5205
5205
  },
5206
+ {
5207
+ "kind": "PropertySignature",
5208
+ "canonicalReference": "@genesislcap/foundation-comms!Datasource#dataserverOnlyParams:member",
5209
+ "docComment": "/**\n * Returns the datasource parameters that are only relevant for the data server.\n *\n * @public\n */\n",
5210
+ "excerptTokens": [
5211
+ {
5212
+ "kind": "Content",
5213
+ "text": "dataserverOnlyParams: "
5214
+ },
5215
+ {
5216
+ "kind": "Reference",
5217
+ "text": "DataserverParams",
5218
+ "canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
5219
+ },
5220
+ {
5221
+ "kind": "Content",
5222
+ "text": ";"
5223
+ }
5224
+ ],
5225
+ "isReadonly": false,
5226
+ "isOptional": false,
5227
+ "releaseTag": "Public",
5228
+ "name": "dataserverOnlyParams",
5229
+ "propertyTypeTokenRange": {
5230
+ "startIndex": 1,
5231
+ "endIndex": 2
5232
+ }
5233
+ },
5206
5234
  {
5207
5235
  "kind": "MethodSignature",
5208
5236
  "canonicalReference": "@genesislcap/foundation-comms!Datasource#deleteItem:member(1)",
@@ -5532,6 +5560,34 @@
5532
5560
  "endIndex": 2
5533
5561
  }
5534
5562
  },
5563
+ {
5564
+ "kind": "PropertySignature",
5565
+ "canonicalReference": "@genesislcap/foundation-comms!Datasource#requestOnlyParams:member",
5566
+ "docComment": "/**\n * Returns the request-only parameters for the datasource.\n *\n * @public\n */\n",
5567
+ "excerptTokens": [
5568
+ {
5569
+ "kind": "Content",
5570
+ "text": "requestOnlyParams: "
5571
+ },
5572
+ {
5573
+ "kind": "Reference",
5574
+ "text": "RequestParams",
5575
+ "canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
5576
+ },
5577
+ {
5578
+ "kind": "Content",
5579
+ "text": ";"
5580
+ }
5581
+ ],
5582
+ "isReadonly": false,
5583
+ "isOptional": false,
5584
+ "releaseTag": "Public",
5585
+ "name": "requestOnlyParams",
5586
+ "propertyTypeTokenRange": {
5587
+ "startIndex": 1,
5588
+ "endIndex": 2
5589
+ }
5590
+ },
5535
5591
  {
5536
5592
  "kind": "PropertySignature",
5537
5593
  "canonicalReference": "@genesislcap/foundation-comms!Datasource#resourceType:member",
@@ -5996,6 +6052,51 @@
5996
6052
  ],
5997
6053
  "name": "updateItem"
5998
6054
  },
6055
+ {
6056
+ "kind": "MethodSignature",
6057
+ "canonicalReference": "@genesislcap/foundation-comms!Datasource#updateLoadMoreCount:member(1)",
6058
+ "docComment": "",
6059
+ "excerptTokens": [
6060
+ {
6061
+ "kind": "Content",
6062
+ "text": "updateLoadMoreCount(count: "
6063
+ },
6064
+ {
6065
+ "kind": "Content",
6066
+ "text": "number"
6067
+ },
6068
+ {
6069
+ "kind": "Content",
6070
+ "text": "): "
6071
+ },
6072
+ {
6073
+ "kind": "Content",
6074
+ "text": "void"
6075
+ },
6076
+ {
6077
+ "kind": "Content",
6078
+ "text": ";"
6079
+ }
6080
+ ],
6081
+ "isOptional": false,
6082
+ "returnTypeTokenRange": {
6083
+ "startIndex": 3,
6084
+ "endIndex": 4
6085
+ },
6086
+ "releaseTag": "Public",
6087
+ "overloadIndex": 1,
6088
+ "parameters": [
6089
+ {
6090
+ "parameterName": "count",
6091
+ "parameterTypeTokenRange": {
6092
+ "startIndex": 1,
6093
+ "endIndex": 2
6094
+ },
6095
+ "isOptional": false
6096
+ }
6097
+ ],
6098
+ "name": "updateLoadMoreCount"
6099
+ },
5999
6100
  {
6000
6101
  "kind": "MethodSignature",
6001
6102
  "canonicalReference": "@genesislcap/foundation-comms!Datasource#validResourceName:member(1)",
@@ -6320,6 +6421,40 @@
6320
6421
  "isProtected": false,
6321
6422
  "isAbstract": false
6322
6423
  },
6424
+ {
6425
+ "kind": "Property",
6426
+ "canonicalReference": "@genesislcap/foundation-comms!DatasourceDefaults.DEFAULT_REQ_REP_OFFSET:member",
6427
+ "docComment": "",
6428
+ "excerptTokens": [
6429
+ {
6430
+ "kind": "Content",
6431
+ "text": "static readonly DEFAULT_REQ_REP_OFFSET = "
6432
+ },
6433
+ {
6434
+ "kind": "Content",
6435
+ "text": "0"
6436
+ },
6437
+ {
6438
+ "kind": "Content",
6439
+ "text": ";"
6440
+ }
6441
+ ],
6442
+ "isReadonly": true,
6443
+ "isOptional": false,
6444
+ "releaseTag": "Public",
6445
+ "name": "DEFAULT_REQ_REP_OFFSET",
6446
+ "propertyTypeTokenRange": {
6447
+ "startIndex": 0,
6448
+ "endIndex": 0
6449
+ },
6450
+ "initializerTokenRange": {
6451
+ "startIndex": 1,
6452
+ "endIndex": 2
6453
+ },
6454
+ "isStatic": true,
6455
+ "isProtected": false,
6456
+ "isAbstract": false
6457
+ },
6323
6458
  {
6324
6459
  "kind": "Property",
6325
6460
  "canonicalReference": "@genesislcap/foundation-comms!DatasourceDefaults.MAX_ROWS_250:member",
@@ -10307,10 +10442,37 @@
10307
10442
  "endIndex": 2
10308
10443
  }
10309
10444
  },
10445
+ {
10446
+ "kind": "PropertySignature",
10447
+ "canonicalReference": "@genesislcap/foundation-comms!DatasourceOptions#offset:member",
10448
+ "docComment": "/**\n * The offset to use when fetching data.\n *\n * @remarks\n *\n * relates to MAX_ROWS.\n */\n",
10449
+ "excerptTokens": [
10450
+ {
10451
+ "kind": "Content",
10452
+ "text": "offset?: "
10453
+ },
10454
+ {
10455
+ "kind": "Content",
10456
+ "text": "number"
10457
+ },
10458
+ {
10459
+ "kind": "Content",
10460
+ "text": ";"
10461
+ }
10462
+ ],
10463
+ "isReadonly": false,
10464
+ "isOptional": true,
10465
+ "releaseTag": "Public",
10466
+ "name": "offset",
10467
+ "propertyTypeTokenRange": {
10468
+ "startIndex": 1,
10469
+ "endIndex": 2
10470
+ }
10471
+ },
10310
10472
  {
10311
10473
  "kind": "PropertySignature",
10312
10474
  "canonicalReference": "@genesislcap/foundation-comms!DatasourceOptions#orderBy:member",
10313
- "docComment": "/**\n * The field to use for sorting the data.\n *\n * @remarks\n *\n * Only works with DATASERVER.\n */\n",
10475
+ "docComment": "/**\n * The field to use for sorting the data.\n */\n",
10314
10476
  "excerptTokens": [
10315
10477
  {
10316
10478
  "kind": "Content",
@@ -15291,6 +15453,36 @@
15291
15453
  "isProtected": true,
15292
15454
  "isAbstract": false
15293
15455
  },
15456
+ {
15457
+ "kind": "Property",
15458
+ "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#criteriaOnlyRequest:member",
15459
+ "docComment": "/**\n * {@inheritDoc DatasourceMetadata.criteriaOnlyRequest}\n */\n",
15460
+ "excerptTokens": [
15461
+ {
15462
+ "kind": "Content",
15463
+ "text": "criteriaOnlyRequest: "
15464
+ },
15465
+ {
15466
+ "kind": "Content",
15467
+ "text": "boolean"
15468
+ },
15469
+ {
15470
+ "kind": "Content",
15471
+ "text": ";"
15472
+ }
15473
+ ],
15474
+ "isReadonly": false,
15475
+ "isOptional": false,
15476
+ "releaseTag": "Public",
15477
+ "name": "criteriaOnlyRequest",
15478
+ "propertyTypeTokenRange": {
15479
+ "startIndex": 1,
15480
+ "endIndex": 2
15481
+ },
15482
+ "isStatic": false,
15483
+ "isProtected": false,
15484
+ "isAbstract": false
15485
+ },
15294
15486
  {
15295
15487
  "kind": "Property",
15296
15488
  "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#customRequestFields:member",
@@ -15591,6 +15783,36 @@
15591
15783
  "isProtected": false,
15592
15784
  "isAbstract": false
15593
15785
  },
15786
+ {
15787
+ "kind": "Property",
15788
+ "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#loadMoreCount:member",
15789
+ "docComment": "/**\n * Track load more count for RequestServer temporary MAX_ROWS calculation\n */\n",
15790
+ "excerptTokens": [
15791
+ {
15792
+ "kind": "Content",
15793
+ "text": "loadMoreCount: "
15794
+ },
15795
+ {
15796
+ "kind": "Content",
15797
+ "text": "number"
15798
+ },
15799
+ {
15800
+ "kind": "Content",
15801
+ "text": ";"
15802
+ }
15803
+ ],
15804
+ "isReadonly": false,
15805
+ "isOptional": false,
15806
+ "releaseTag": "Public",
15807
+ "name": "loadMoreCount",
15808
+ "propertyTypeTokenRange": {
15809
+ "startIndex": 1,
15810
+ "endIndex": 2
15811
+ },
15812
+ "isStatic": false,
15813
+ "isProtected": false,
15814
+ "isAbstract": false
15815
+ },
15594
15816
  {
15595
15817
  "kind": "Property",
15596
15818
  "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#options:member",
@@ -30102,7 +30324,7 @@
30102
30324
  },
30103
30325
  {
30104
30326
  "kind": "Content",
30105
- "text": "[];\n ERROR?: string;\n}"
30327
+ "text": "[];\n ERROR?: string;\n CRITERIA_ONLY_REQUEST?: boolean;\n}"
30106
30328
  },
30107
30329
  {
30108
30330
  "kind": "Content",
@@ -31748,7 +31970,7 @@
31748
31970
  },
31749
31971
  {
31750
31972
  "kind": "Content",
31751
- "text": "{\n MAX_ROWS?: number;\n CRITERIA_MATCH?: string;\n VIEW_NUMBER?: number;\n}"
31973
+ "text": "{\n CRITERIA_MATCH?: string;\n MAX_ROWS?: number;\n OFFSET?: number;\n ORDER_BY?: string;\n VIEW_NUMBER?: number;\n}"
31752
31974
  },
31753
31975
  {
31754
31976
  "kind": "Content",
@@ -31809,7 +32031,7 @@
31809
32031
  },
31810
32032
  {
31811
32033
  "kind": "Content",
31812
- "text": "{\n SOURCE_REF?: string;\n REPLY: any[];\n MESSAGE_TYPE?: string;\n MORE_ROWS?: boolean;\n NEXT_VIEW?: number;\n PARAMETRIC_TYPE?: string;\n ROWS_COUNT?: number;\n SEQUENCE_ID?: number;\n}"
32034
+ "text": "{\n MESSAGE_TYPE?: string;\n MORE_ROWS?: boolean;\n NEXT_OFFSET?: number;\n NEXT_VIEW?: number;\n PARAMETRIC_TYPE?: string;\n REPLY: any[];\n SOURCE_REF?: string;\n ROWS_COUNT?: number;\n SEQUENCE_ID?: number;\n}"
31813
32035
  },
31814
32036
  {
31815
32037
  "kind": "Content",
@@ -1088,6 +1088,17 @@ export declare interface Datasource extends DatasourceMetadata {
1088
1088
  * @returns A promise that resolves when the item has been updated.
1089
1089
  */
1090
1090
  updateItem?(itemId: string, data: any): Promise<void>;
1091
+ /**
1092
+ * Returns the datasource parameters that are only relevant for the data server.
1093
+ * @public
1094
+ */
1095
+ dataserverOnlyParams: DataserverParams;
1096
+ /**
1097
+ * Returns the request-only parameters for the datasource.
1098
+ * @public
1099
+ */
1100
+ requestOnlyParams: RequestParams;
1101
+ updateLoadMoreCount(count: number): void;
1091
1102
  }
1092
1103
 
1093
1104
  /**
@@ -1134,6 +1145,7 @@ export declare class DatasourceDefaults {
1134
1145
  static readonly DATASERVER_ROW_ID = "ROW_REF";
1135
1146
  static readonly REQUEST_SERVER_ROW_ID = "RECORD_ID";
1136
1147
  static readonly DEFAULT_PAGINATION_PAGE_SIZE = 25;
1148
+ static readonly DEFAULT_REQ_REP_OFFSET = 0;
1137
1149
  }
1138
1150
 
1139
1151
  /**
@@ -1602,6 +1614,9 @@ export declare class DatasourceMock implements Datasource {
1602
1614
  createItem?(data: any): Promise<string>;
1603
1615
  deleteItem?(itemId: string): Promise<void>;
1604
1616
  updateItem?(itemId: string, data: any): Promise<void>;
1617
+ get dataserverOnlyParams(): DataserverParams;
1618
+ get requestOnlyParams(): RequestParams;
1619
+ updateLoadMoreCount(count: number): void;
1605
1620
  }
1606
1621
 
1607
1622
  /**
@@ -1610,23 +1625,27 @@ export declare class DatasourceMock implements Datasource {
1610
1625
  */
1611
1626
  export declare interface DatasourceOptions {
1612
1627
  /**
1613
- * The name of the resource to use for the datasource.
1628
+ * The criteria used to filter data in the datasource.
1629
+ * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
1614
1630
  */
1615
- resourceName?: string;
1631
+ criteria?: string;
1616
1632
  /**
1617
1633
  * Whether the datasource is a snapshot or not.
1618
1634
  */
1619
1635
  isSnapshot?: boolean;
1620
- /**
1621
- * The criteria used to filter data in the datasource.
1622
- * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
1623
- */
1624
- criteria?: string;
1625
1636
  /**
1626
1637
  * The maximum number of rows to return from the datasource.
1627
1638
  * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
1628
1639
  */
1629
1640
  maxRows?: number;
1641
+ /**
1642
+ * The field to use for sorting the data.
1643
+ */
1644
+ orderBy?: string;
1645
+ /**
1646
+ * The name of the resource to use for the datasource.
1647
+ */
1648
+ resourceName?: string;
1630
1649
  /**
1631
1650
  * The current page/"view" number being displayed.
1632
1651
  * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
@@ -1647,11 +1666,6 @@ export declare interface DatasourceOptions {
1647
1666
  * @remarks Only works with DATASERVER resources.
1648
1667
  */
1649
1668
  movingView?: boolean;
1650
- /**
1651
- * The field to use for sorting the data.
1652
- * @remarks Only works with DATASERVER.
1653
- */
1654
- orderBy?: string;
1655
1669
  /**
1656
1670
  * Whether to return the data in reverse order or not.
1657
1671
  * @remarks Only works with DATASERVER resources.
@@ -1662,6 +1676,12 @@ export declare interface DatasourceOptions {
1662
1676
  * @remarks Only works with REQUEST_SERVER resources.
1663
1677
  */
1664
1678
  disablePolling?: boolean;
1679
+ /**
1680
+ * The offset to use when fetching data.
1681
+ * @remarks Only works with REQUEST_SERVER resources.
1682
+ * @remarks relates to MAX_ROWS.
1683
+ */
1684
+ offset?: number;
1665
1685
  /**
1666
1686
  * The polling interval to use when using request/reply.
1667
1687
  * @remarks Only works with REQUEST_SERVER resources.
@@ -1669,15 +1689,15 @@ export declare interface DatasourceOptions {
1669
1689
  */
1670
1690
  pollingInterval?: number;
1671
1691
  /**
1672
- * The request to send to the server.
1692
+ * Array of event names that will trigger an additional poll.
1673
1693
  * @remarks Only works with REQUEST_SERVER resources.
1674
1694
  */
1675
- request?: any;
1695
+ pollTriggerEvents?: string[];
1676
1696
  /**
1677
- * Array of event names that will trigger an additional poll.
1697
+ * The request to send to the server.
1678
1698
  * @remarks Only works with REQUEST_SERVER resources.
1679
1699
  */
1680
- pollTriggerEvents?: string[];
1700
+ request?: any;
1681
1701
  /**
1682
1702
  * Whether the Datasource service will setup RQUEST object based on metadata.
1683
1703
  * @remarks Default is `true`. Only works with REQUEST_SERVER resources.
@@ -1945,6 +1965,10 @@ export declare class DefaultDatasource implements Datasource {
1945
1965
  customRequestFields: MetadataDetail[];
1946
1966
  /** {@inheritDoc DatasourceMetadata.availableIndexes} */
1947
1967
  availableIndexes: IndexDetail[];
1968
+ /** {@inheritDoc DatasourceMetadata.criteriaOnlyRequest} */
1969
+ criteriaOnlyRequest: boolean;
1970
+ /** Track load more count for RequestServer temporary MAX_ROWS calculation */
1971
+ loadMoreCount: number;
1948
1972
  /** {@inheritDoc Datasource.initialized} */
1949
1973
  get initialized(): boolean;
1950
1974
  readOnly: boolean;
@@ -1976,6 +2000,16 @@ export declare class DefaultDatasource implements Datasource {
1976
2000
  * @internal
1977
2001
  */
1978
2002
  get requestOnlyParams(): RequestParams;
2003
+ /**
2004
+ * @internal
2005
+ * Builds REQUEST fields object for auto-setup scenarios.
2006
+ */
2007
+ private buildRequestFields;
2008
+ /**
2009
+ * Updates the load more count for RequestServer scenarios
2010
+ * @internal
2011
+ */
2012
+ updateLoadMoreCount(count: number): void;
1979
2013
  snapshot(overrideParams?: any): Promise<Message>;
1980
2014
  snapshotFiltered(rowId?: string): Promise<any[]>;
1981
2015
  private createStream;
@@ -3840,6 +3874,7 @@ export declare type Metadata = {
3840
3874
  TYPE?: string;
3841
3875
  INDEXES?: IndexDetail[];
3842
3876
  ERROR?: string;
3877
+ CRITERIA_ONLY_REQUEST?: boolean;
3843
3878
  };
3844
3879
 
3845
3880
  /**
@@ -4167,8 +4202,10 @@ export declare type ReplyDetail = {
4167
4202
  * @public
4168
4203
  */
4169
4204
  export declare type RequestDetailsParam = {
4170
- MAX_ROWS?: number;
4171
4205
  CRITERIA_MATCH?: string;
4206
+ MAX_ROWS?: number;
4207
+ OFFSET?: number;
4208
+ ORDER_BY?: string;
4172
4209
  VIEW_NUMBER?: number;
4173
4210
  };
4174
4211
 
@@ -4187,12 +4224,13 @@ export declare type RequestParams = {
4187
4224
  * @public
4188
4225
  */
4189
4226
  export declare type RequestServerResult = {
4190
- SOURCE_REF?: string;
4191
- REPLY: any[];
4192
4227
  MESSAGE_TYPE?: string;
4193
4228
  MORE_ROWS?: boolean;
4229
+ NEXT_OFFSET?: number;
4194
4230
  NEXT_VIEW?: number;
4195
4231
  PARAMETRIC_TYPE?: string;
4232
+ REPLY: any[];
4233
+ SOURCE_REF?: string;
4196
4234
  ROWS_COUNT?: number;
4197
4235
  SEQUENCE_ID?: number;
4198
4236
  };
@@ -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; [Datasource](./foundation-comms.datasource.md) &gt; [dataserverOnlyParams](./foundation-comms.datasource.dataserveronlyparams.md)
4
+
5
+ ## Datasource.dataserverOnlyParams property
6
+
7
+ Returns the datasource parameters that are only relevant for the data server.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ dataserverOnlyParams: DataserverParams;
13
+ ```
@@ -42,6 +42,25 @@ Description
42
42
  </th></tr></thead>
43
43
  <tbody><tr><td>
44
44
 
45
+ [dataserverOnlyParams](./foundation-comms.datasource.dataserveronlyparams.md)
46
+
47
+
48
+ </td><td>
49
+
50
+
51
+ </td><td>
52
+
53
+ [DataserverParams](./foundation-comms.dataserverparams.md)
54
+
55
+
56
+ </td><td>
57
+
58
+ Returns the datasource parameters that are only relevant for the data server.
59
+
60
+
61
+ </td></tr>
62
+ <tr><td>
63
+
45
64
  [initialized](./foundation-comms.datasource.initialized.md)
46
65
 
47
66
 
@@ -77,6 +96,25 @@ boolean
77
96
  Indicates whether the datasource is read-only. TODO: Should have is prefix
78
97
 
79
98
 
99
+ </td></tr>
100
+ <tr><td>
101
+
102
+ [requestOnlyParams](./foundation-comms.datasource.requestonlyparams.md)
103
+
104
+
105
+ </td><td>
106
+
107
+
108
+ </td><td>
109
+
110
+ [RequestParams](./foundation-comms.requestparams.md)
111
+
112
+
113
+ </td><td>
114
+
115
+ Returns the request-only parameters for the datasource.
116
+
117
+
80
118
  </td></tr>
81
119
  <tr><td>
82
120
 
@@ -313,6 +351,15 @@ _(Optional)_ Updates the data in the datasource with the specified data.
313
351
  _(Optional)_ Updates an item in the datasource with the given ID and data.
314
352
 
315
353
 
354
+ </td></tr>
355
+ <tr><td>
356
+
357
+ [updateLoadMoreCount(count)](./foundation-comms.datasource.updateloadmorecount.md)
358
+
359
+
360
+ </td><td>
361
+
362
+
316
363
  </td></tr>
317
364
  <tr><td>
318
365
 
@@ -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; [Datasource](./foundation-comms.datasource.md) &gt; [requestOnlyParams](./foundation-comms.datasource.requestonlyparams.md)
4
+
5
+ ## Datasource.requestOnlyParams property
6
+
7
+ Returns the request-only parameters for the datasource.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ requestOnlyParams: RequestParams;
13
+ ```
@@ -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; [Datasource](./foundation-comms.datasource.md) &gt; [updateLoadMoreCount](./foundation-comms.datasource.updateloadmorecount.md)
4
+
5
+ ## Datasource.updateLoadMoreCount() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ updateLoadMoreCount(count: number): 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
+ count
34
+
35
+
36
+ </td><td>
37
+
38
+ number
39
+
40
+
41
+ </td><td>
42
+
43
+
44
+ </td></tr>
45
+ </tbody></table>
46
+
47
+ **Returns:**
48
+
49
+ void
50
+
@@ -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; [DatasourceDefaults](./foundation-comms.datasourcedefaults.md) &gt; [DEFAULT\_REQ\_REP\_OFFSET](./foundation-comms.datasourcedefaults.default_req_rep_offset.md)
4
+
5
+ ## DatasourceDefaults.DEFAULT\_REQ\_REP\_OFFSET property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ static readonly DEFAULT_REQ_REP_OFFSET = 0;
11
+ ```
@@ -76,6 +76,27 @@ Description
76
76
  </td><td>
77
77
 
78
78
 
79
+ </td></tr>
80
+ <tr><td>
81
+
82
+ [DEFAULT\_REQ\_REP\_OFFSET](./foundation-comms.datasourcedefaults.default_req_rep_offset.md)
83
+
84
+
85
+ </td><td>
86
+
87
+ `static`
88
+
89
+ `readonly`
90
+
91
+
92
+ </td><td>
93
+
94
+ (not declared)
95
+
96
+
97
+ </td><td>
98
+
99
+
79
100
  </td></tr>
80
101
  <tr><td>
81
102
 
@@ -167,6 +167,25 @@ boolean
167
167
  _(Optional)_ Defines the behaviour of the client view when new rows are received in real time.
168
168
 
169
169
 
170
+ </td></tr>
171
+ <tr><td>
172
+
173
+ [offset?](./foundation-comms.datasourceoptions.offset.md)
174
+
175
+
176
+ </td><td>
177
+
178
+
179
+ </td><td>
180
+
181
+ number
182
+
183
+
184
+ </td><td>
185
+
186
+ _(Optional)_ The offset to use when fetching data.
187
+
188
+
170
189
  </td></tr>
171
190
  <tr><td>
172
191