@genesislcap/foundation-comms 14.323.0 → 14.324.1-alpha-1049010.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 (37) 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 +31 -1
  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 +5 -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 +11 -0
  16. package/dist/foundation-comms.api.json +255 -6
  17. package/dist/foundation-comms.d.ts +64 -20
  18. package/docs/api/foundation-comms.datasource.dataserveronlyparams.md +13 -0
  19. package/docs/api/foundation-comms.datasource.md +49 -0
  20. package/docs/api/foundation-comms.datasource.requestonlyparams.md +13 -0
  21. package/docs/api/foundation-comms.datasource.updateloadmorecount.md +54 -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.datasourcemetadata.criteriaonlyrequest.md +11 -0
  25. package/docs/api/foundation-comms.datasourcemetadata.md +21 -0
  26. package/docs/api/foundation-comms.datasourcemetadata.startstreamrequired.md +1 -1
  27. package/docs/api/foundation-comms.datasourceoptions.md +19 -0
  28. package/docs/api/foundation-comms.datasourceoptions.offset.md +18 -0
  29. package/docs/api/foundation-comms.datasourceoptions.orderby.md +0 -5
  30. package/docs/api/foundation-comms.defaultdatasource.criteriaonlyrequest.md +12 -0
  31. package/docs/api/foundation-comms.defaultdatasource.loadmorecount.md +13 -0
  32. package/docs/api/foundation-comms.defaultdatasource.md +37 -0
  33. package/docs/api/foundation-comms.metadata.md +1 -0
  34. package/docs/api/foundation-comms.requestdetailsparam.md +3 -1
  35. package/docs/api/foundation-comms.requestserverresult.md +3 -2
  36. package/docs/api-report.md.api.md +29 -4
  37. 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": "/**\n * Updates the load more (how many times user manually requested more data) count for the datasource.\n *\n * @param count - The new load more count.\n */\n",
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",
@@ -9918,6 +10053,33 @@
9918
10053
  "endIndex": 3
9919
10054
  }
9920
10055
  },
10056
+ {
10057
+ "kind": "PropertySignature",
10058
+ "canonicalReference": "@genesislcap/foundation-comms!DatasourceMetadata#criteriaOnlyRequest:member",
10059
+ "docComment": "",
10060
+ "excerptTokens": [
10061
+ {
10062
+ "kind": "Content",
10063
+ "text": "readonly criteriaOnlyRequest: "
10064
+ },
10065
+ {
10066
+ "kind": "Content",
10067
+ "text": "boolean"
10068
+ },
10069
+ {
10070
+ "kind": "Content",
10071
+ "text": ";"
10072
+ }
10073
+ ],
10074
+ "isReadonly": true,
10075
+ "isOptional": false,
10076
+ "releaseTag": "Public",
10077
+ "name": "criteriaOnlyRequest",
10078
+ "propertyTypeTokenRange": {
10079
+ "startIndex": 1,
10080
+ "endIndex": 2
10081
+ }
10082
+ },
9921
10083
  {
9922
10084
  "kind": "PropertySignature",
9923
10085
  "canonicalReference": "@genesislcap/foundation-comms!DatasourceMetadata#customRequestFields:member",
@@ -10080,7 +10242,7 @@
10080
10242
  "excerptTokens": [
10081
10243
  {
10082
10244
  "kind": "Content",
10083
- "text": "startStreamRequired: "
10245
+ "text": "readonly startStreamRequired: "
10084
10246
  },
10085
10247
  {
10086
10248
  "kind": "Content",
@@ -10091,7 +10253,7 @@
10091
10253
  "text": ";"
10092
10254
  }
10093
10255
  ],
10094
- "isReadonly": false,
10256
+ "isReadonly": true,
10095
10257
  "isOptional": false,
10096
10258
  "releaseTag": "Public",
10097
10259
  "name": "startStreamRequired",
@@ -10307,10 +10469,37 @@
10307
10469
  "endIndex": 2
10308
10470
  }
10309
10471
  },
10472
+ {
10473
+ "kind": "PropertySignature",
10474
+ "canonicalReference": "@genesislcap/foundation-comms!DatasourceOptions#offset:member",
10475
+ "docComment": "/**\n * The offset to use when fetching data.\n *\n * @remarks\n *\n * relates to MAX_ROWS.\n */\n",
10476
+ "excerptTokens": [
10477
+ {
10478
+ "kind": "Content",
10479
+ "text": "offset?: "
10480
+ },
10481
+ {
10482
+ "kind": "Content",
10483
+ "text": "number"
10484
+ },
10485
+ {
10486
+ "kind": "Content",
10487
+ "text": ";"
10488
+ }
10489
+ ],
10490
+ "isReadonly": false,
10491
+ "isOptional": true,
10492
+ "releaseTag": "Public",
10493
+ "name": "offset",
10494
+ "propertyTypeTokenRange": {
10495
+ "startIndex": 1,
10496
+ "endIndex": 2
10497
+ }
10498
+ },
10310
10499
  {
10311
10500
  "kind": "PropertySignature",
10312
10501
  "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",
10502
+ "docComment": "/**\n * The field to use for sorting the data.\n */\n",
10314
10503
  "excerptTokens": [
10315
10504
  {
10316
10505
  "kind": "Content",
@@ -15291,6 +15480,36 @@
15291
15480
  "isProtected": true,
15292
15481
  "isAbstract": false
15293
15482
  },
15483
+ {
15484
+ "kind": "Property",
15485
+ "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#criteriaOnlyRequest:member",
15486
+ "docComment": "/**\n * {@inheritDoc DatasourceMetadata.criteriaOnlyRequest}\n */\n",
15487
+ "excerptTokens": [
15488
+ {
15489
+ "kind": "Content",
15490
+ "text": "criteriaOnlyRequest: "
15491
+ },
15492
+ {
15493
+ "kind": "Content",
15494
+ "text": "boolean"
15495
+ },
15496
+ {
15497
+ "kind": "Content",
15498
+ "text": ";"
15499
+ }
15500
+ ],
15501
+ "isReadonly": false,
15502
+ "isOptional": false,
15503
+ "releaseTag": "Public",
15504
+ "name": "criteriaOnlyRequest",
15505
+ "propertyTypeTokenRange": {
15506
+ "startIndex": 1,
15507
+ "endIndex": 2
15508
+ },
15509
+ "isStatic": false,
15510
+ "isProtected": false,
15511
+ "isAbstract": false
15512
+ },
15294
15513
  {
15295
15514
  "kind": "Property",
15296
15515
  "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#customRequestFields:member",
@@ -15591,6 +15810,36 @@
15591
15810
  "isProtected": false,
15592
15811
  "isAbstract": false
15593
15812
  },
15813
+ {
15814
+ "kind": "Property",
15815
+ "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#loadMoreCount:member",
15816
+ "docComment": "/**\n * Track load more count for RequestServer temporary MAX_ROWS calculation\n */\n",
15817
+ "excerptTokens": [
15818
+ {
15819
+ "kind": "Content",
15820
+ "text": "loadMoreCount: "
15821
+ },
15822
+ {
15823
+ "kind": "Content",
15824
+ "text": "number"
15825
+ },
15826
+ {
15827
+ "kind": "Content",
15828
+ "text": ";"
15829
+ }
15830
+ ],
15831
+ "isReadonly": false,
15832
+ "isOptional": false,
15833
+ "releaseTag": "Public",
15834
+ "name": "loadMoreCount",
15835
+ "propertyTypeTokenRange": {
15836
+ "startIndex": 1,
15837
+ "endIndex": 2
15838
+ },
15839
+ "isStatic": false,
15840
+ "isProtected": false,
15841
+ "isAbstract": false
15842
+ },
15594
15843
  {
15595
15844
  "kind": "Property",
15596
15845
  "canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#options:member",
@@ -30102,7 +30351,7 @@
30102
30351
  },
30103
30352
  {
30104
30353
  "kind": "Content",
30105
- "text": "[];\n ERROR?: string;\n}"
30354
+ "text": "[];\n ERROR?: string;\n CRITERIA_ONLY_REQUEST?: boolean;\n}"
30106
30355
  },
30107
30356
  {
30108
30357
  "kind": "Content",
@@ -31748,7 +31997,7 @@
31748
31997
  },
31749
31998
  {
31750
31999
  "kind": "Content",
31751
- "text": "{\n MAX_ROWS?: number;\n CRITERIA_MATCH?: string;\n VIEW_NUMBER?: number;\n}"
32000
+ "text": "{\n CRITERIA_MATCH?: string;\n MAX_ROWS?: number;\n OFFSET?: number;\n ORDER_BY?: string;\n VIEW_NUMBER?: number;\n}"
31752
32001
  },
31753
32002
  {
31754
32003
  "kind": "Content",
@@ -31809,7 +32058,7 @@
31809
32058
  },
31810
32059
  {
31811
32060
  "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}"
32061
+ "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
32062
  },
31814
32063
  {
31815
32064
  "kind": "Content",
@@ -1088,6 +1088,21 @@ 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
+ /**
1102
+ * Updates the load more (how many times user manually requested more data) count for the datasource.
1103
+ * @param count - The new load more count.
1104
+ */
1105
+ updateLoadMoreCount(count: number): void;
1091
1106
  }
1092
1107
 
1093
1108
  /**
@@ -1134,6 +1149,7 @@ export declare class DatasourceDefaults {
1134
1149
  static readonly DATASERVER_ROW_ID = "ROW_REF";
1135
1150
  static readonly REQUEST_SERVER_ROW_ID = "RECORD_ID";
1136
1151
  static readonly DEFAULT_PAGINATION_PAGE_SIZE = 25;
1152
+ static readonly DEFAULT_REQ_REP_OFFSET = 0;
1137
1153
  }
1138
1154
 
1139
1155
  /**
@@ -1553,7 +1569,8 @@ export declare interface DatasourceMetadata {
1553
1569
  readonly fieldMetadata: FieldMetadata[];
1554
1570
  readonly requestFields: MetadataDetail[];
1555
1571
  readonly customRequestFields: MetadataDetail[];
1556
- startStreamRequired: boolean;
1572
+ readonly startStreamRequired: boolean;
1573
+ readonly criteriaOnlyRequest: boolean;
1557
1574
  }
1558
1575
 
1559
1576
  /**
@@ -1568,6 +1585,7 @@ export declare class DatasourceMock implements Datasource {
1568
1585
  requestFields: MetadataDetail[];
1569
1586
  customRequestFields: MetadataDetail[];
1570
1587
  availableIndexes: IndexDetail[];
1588
+ criteriaOnlyRequest: boolean;
1571
1589
  startStreamRequired: boolean;
1572
1590
  initialized: boolean;
1573
1591
  readOnly: boolean;
@@ -1602,6 +1620,9 @@ export declare class DatasourceMock implements Datasource {
1602
1620
  createItem?(data: any): Promise<string>;
1603
1621
  deleteItem?(itemId: string): Promise<void>;
1604
1622
  updateItem?(itemId: string, data: any): Promise<void>;
1623
+ get dataserverOnlyParams(): DataserverParams;
1624
+ get requestOnlyParams(): RequestParams;
1625
+ updateLoadMoreCount(count: number): void;
1605
1626
  }
1606
1627
 
1607
1628
  /**
@@ -1610,23 +1631,27 @@ export declare class DatasourceMock implements Datasource {
1610
1631
  */
1611
1632
  export declare interface DatasourceOptions {
1612
1633
  /**
1613
- * The name of the resource to use for the datasource.
1634
+ * The criteria used to filter data in the datasource.
1635
+ * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
1614
1636
  */
1615
- resourceName?: string;
1637
+ criteria?: string;
1616
1638
  /**
1617
1639
  * Whether the datasource is a snapshot or not.
1618
1640
  */
1619
1641
  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
1642
  /**
1626
1643
  * The maximum number of rows to return from the datasource.
1627
1644
  * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
1628
1645
  */
1629
1646
  maxRows?: number;
1647
+ /**
1648
+ * The field to use for sorting the data.
1649
+ */
1650
+ orderBy?: string;
1651
+ /**
1652
+ * The name of the resource to use for the datasource.
1653
+ */
1654
+ resourceName?: string;
1630
1655
  /**
1631
1656
  * The current page/"view" number being displayed.
1632
1657
  * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
@@ -1647,11 +1672,6 @@ export declare interface DatasourceOptions {
1647
1672
  * @remarks Only works with DATASERVER resources.
1648
1673
  */
1649
1674
  movingView?: boolean;
1650
- /**
1651
- * The field to use for sorting the data.
1652
- * @remarks Only works with DATASERVER.
1653
- */
1654
- orderBy?: string;
1655
1675
  /**
1656
1676
  * Whether to return the data in reverse order or not.
1657
1677
  * @remarks Only works with DATASERVER resources.
@@ -1662,6 +1682,12 @@ export declare interface DatasourceOptions {
1662
1682
  * @remarks Only works with REQUEST_SERVER resources.
1663
1683
  */
1664
1684
  disablePolling?: boolean;
1685
+ /**
1686
+ * The offset to use when fetching data.
1687
+ * @remarks Only works with REQUEST_SERVER resources.
1688
+ * @remarks relates to MAX_ROWS.
1689
+ */
1690
+ offset?: number;
1665
1691
  /**
1666
1692
  * The polling interval to use when using request/reply.
1667
1693
  * @remarks Only works with REQUEST_SERVER resources.
@@ -1669,15 +1695,15 @@ export declare interface DatasourceOptions {
1669
1695
  */
1670
1696
  pollingInterval?: number;
1671
1697
  /**
1672
- * The request to send to the server.
1698
+ * Array of event names that will trigger an additional poll.
1673
1699
  * @remarks Only works with REQUEST_SERVER resources.
1674
1700
  */
1675
- request?: any;
1701
+ pollTriggerEvents?: string[];
1676
1702
  /**
1677
- * Array of event names that will trigger an additional poll.
1703
+ * The request to send to the server.
1678
1704
  * @remarks Only works with REQUEST_SERVER resources.
1679
1705
  */
1680
- pollTriggerEvents?: string[];
1706
+ request?: any;
1681
1707
  /**
1682
1708
  * Whether the Datasource service will setup RQUEST object based on metadata.
1683
1709
  * @remarks Default is `true`. Only works with REQUEST_SERVER resources.
@@ -1945,6 +1971,10 @@ export declare class DefaultDatasource implements Datasource {
1945
1971
  customRequestFields: MetadataDetail[];
1946
1972
  /** {@inheritDoc DatasourceMetadata.availableIndexes} */
1947
1973
  availableIndexes: IndexDetail[];
1974
+ /** {@inheritDoc DatasourceMetadata.criteriaOnlyRequest} */
1975
+ criteriaOnlyRequest: boolean;
1976
+ /** Track load more count for RequestServer temporary MAX_ROWS calculation */
1977
+ loadMoreCount: number;
1948
1978
  /** {@inheritDoc Datasource.initialized} */
1949
1979
  get initialized(): boolean;
1950
1980
  readOnly: boolean;
@@ -1976,6 +2006,16 @@ export declare class DefaultDatasource implements Datasource {
1976
2006
  * @internal
1977
2007
  */
1978
2008
  get requestOnlyParams(): RequestParams;
2009
+ /**
2010
+ * @internal
2011
+ * Builds REQUEST fields object for auto-setup scenarios.
2012
+ */
2013
+ private buildRequestFields;
2014
+ /**
2015
+ * Updates the load more count for RequestServer scenarios
2016
+ * @internal
2017
+ */
2018
+ updateLoadMoreCount(count: number): void;
1979
2019
  snapshot(overrideParams?: any): Promise<Message>;
1980
2020
  snapshotFiltered(rowId?: string): Promise<any[]>;
1981
2021
  private createStream;
@@ -3840,6 +3880,7 @@ export declare type Metadata = {
3840
3880
  TYPE?: string;
3841
3881
  INDEXES?: IndexDetail[];
3842
3882
  ERROR?: string;
3883
+ CRITERIA_ONLY_REQUEST?: boolean;
3843
3884
  };
3844
3885
 
3845
3886
  /**
@@ -4167,8 +4208,10 @@ export declare type ReplyDetail = {
4167
4208
  * @public
4168
4209
  */
4169
4210
  export declare type RequestDetailsParam = {
4170
- MAX_ROWS?: number;
4171
4211
  CRITERIA_MATCH?: string;
4212
+ MAX_ROWS?: number;
4213
+ OFFSET?: number;
4214
+ ORDER_BY?: string;
4172
4215
  VIEW_NUMBER?: number;
4173
4216
  };
4174
4217
 
@@ -4187,12 +4230,13 @@ export declare type RequestParams = {
4187
4230
  * @public
4188
4231
  */
4189
4232
  export declare type RequestServerResult = {
4190
- SOURCE_REF?: string;
4191
- REPLY: any[];
4192
4233
  MESSAGE_TYPE?: string;
4193
4234
  MORE_ROWS?: boolean;
4235
+ NEXT_OFFSET?: number;
4194
4236
  NEXT_VIEW?: number;
4195
4237
  PARAMETRIC_TYPE?: string;
4238
+ REPLY: any[];
4239
+ SOURCE_REF?: string;
4196
4240
  ROWS_COUNT?: number;
4197
4241
  SEQUENCE_ID?: number;
4198
4242
  };
@@ -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,17 @@ _(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
+ Updates the load more (how many times user manually requested more data) count for the datasource.
363
+
364
+
316
365
  </td></tr>
317
366
  <tr><td>
318
367
 
@@ -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
+ ```