@genesislcap/foundation-comms 14.320.1 → 14.320.2-alpha-1f01931fd.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/connect/message.d.ts +3 -1
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.config.d.ts +1 -0
- package/dist/dts/datasource/datasource.config.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.d.ts +25 -0
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.types.d.ts +6 -0
- package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
- package/dist/dts/metadata/metadata.types.d.ts +4 -2
- package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +4 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/esm/datasource/datasource.config.js +1 -0
- package/dist/esm/datasource/datasource.js +54 -14
- package/dist/esm/testing/mocks/datasource/datasource.js +7 -0
- package/dist/foundation-comms.api.json +225 -3
- package/dist/foundation-comms.d.ts +42 -3
- package/docs/api/foundation-comms.datasource.dataserveronlyparams.md +13 -0
- package/docs/api/foundation-comms.datasource.md +47 -0
- package/docs/api/foundation-comms.datasource.requestonlyparams.md +13 -0
- package/docs/api/foundation-comms.datasource.updateloadmorecount.md +50 -0
- package/docs/api/foundation-comms.datasourcedefaults.default_req_rep_offset.md +11 -0
- package/docs/api/foundation-comms.datasourcedefaults.md +21 -0
- package/docs/api/foundation-comms.datasourceoptions.md +19 -0
- package/docs/api/foundation-comms.datasourceoptions.offset.md +18 -0
- package/docs/api/foundation-comms.defaultdatasource.criteriaonlyrequest.md +12 -0
- package/docs/api/foundation-comms.defaultdatasource.loadmorecount.md +13 -0
- package/docs/api/foundation-comms.defaultdatasource.md +37 -0
- package/docs/api/foundation-comms.metadata.md +1 -0
- package/docs/api/foundation-comms.requestdetailsparam.md +3 -1
- package/docs/api/foundation-comms.requestserverresult.md +3 -2
- package/docs/api-report.md.api.md +27 -3
- 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,6 +10442,33 @@
|
|
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",
|
@@ -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
|
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
|
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
|
/**
|
@@ -1662,6 +1677,12 @@ export declare interface DatasourceOptions {
|
|
1662
1677
|
* @remarks Only works with REQUEST_SERVER resources.
|
1663
1678
|
*/
|
1664
1679
|
disablePolling?: boolean;
|
1680
|
+
/**
|
1681
|
+
* The offset to use when fetching data.
|
1682
|
+
* @remarks Only works with REQUEST_SERVER resources.
|
1683
|
+
* @remarks relates to MAX_ROWS.
|
1684
|
+
*/
|
1685
|
+
offset?: number;
|
1665
1686
|
/**
|
1666
1687
|
* The polling interval to use when using request/reply.
|
1667
1688
|
* @remarks Only works with REQUEST_SERVER resources.
|
@@ -1945,6 +1966,10 @@ export declare class DefaultDatasource implements Datasource {
|
|
1945
1966
|
customRequestFields: MetadataDetail[];
|
1946
1967
|
/** {@inheritDoc DatasourceMetadata.availableIndexes} */
|
1947
1968
|
availableIndexes: IndexDetail[];
|
1969
|
+
/** {@inheritDoc DatasourceMetadata.criteriaOnlyRequest} */
|
1970
|
+
criteriaOnlyRequest: boolean;
|
1971
|
+
/** Track load more count for RequestServer temporary MAX_ROWS calculation */
|
1972
|
+
loadMoreCount: number;
|
1948
1973
|
/** {@inheritDoc Datasource.initialized} */
|
1949
1974
|
get initialized(): boolean;
|
1950
1975
|
readOnly: boolean;
|
@@ -1976,6 +2001,16 @@ export declare class DefaultDatasource implements Datasource {
|
|
1976
2001
|
* @internal
|
1977
2002
|
*/
|
1978
2003
|
get requestOnlyParams(): RequestParams;
|
2004
|
+
/**
|
2005
|
+
* @internal
|
2006
|
+
* Builds REQUEST fields object for auto-setup scenarios.
|
2007
|
+
*/
|
2008
|
+
private buildRequestFields;
|
2009
|
+
/**
|
2010
|
+
* Updates the load more count for RequestServer scenarios
|
2011
|
+
* @internal
|
2012
|
+
*/
|
2013
|
+
updateLoadMoreCount(count: number): void;
|
1979
2014
|
snapshot(overrideParams?: any): Promise<Message>;
|
1980
2015
|
snapshotFiltered(rowId?: string): Promise<any[]>;
|
1981
2016
|
private createStream;
|
@@ -3840,6 +3875,7 @@ export declare type Metadata = {
|
|
3840
3875
|
TYPE?: string;
|
3841
3876
|
INDEXES?: IndexDetail[];
|
3842
3877
|
ERROR?: string;
|
3878
|
+
CRITERIA_ONLY_REQUEST?: boolean;
|
3843
3879
|
};
|
3844
3880
|
|
3845
3881
|
/**
|
@@ -4167,8 +4203,10 @@ export declare type ReplyDetail = {
|
|
4167
4203
|
* @public
|
4168
4204
|
*/
|
4169
4205
|
export declare type RequestDetailsParam = {
|
4170
|
-
MAX_ROWS?: number;
|
4171
4206
|
CRITERIA_MATCH?: string;
|
4207
|
+
MAX_ROWS?: number;
|
4208
|
+
OFFSET?: number;
|
4209
|
+
ORDER_BY?: string;
|
4172
4210
|
VIEW_NUMBER?: number;
|
4173
4211
|
};
|
4174
4212
|
|
@@ -4187,12 +4225,13 @@ export declare type RequestParams = {
|
|
4187
4225
|
* @public
|
4188
4226
|
*/
|
4189
4227
|
export declare type RequestServerResult = {
|
4190
|
-
SOURCE_REF?: string;
|
4191
|
-
REPLY: any[];
|
4192
4228
|
MESSAGE_TYPE?: string;
|
4193
4229
|
MORE_ROWS?: boolean;
|
4230
|
+
NEXT_OFFSET?: number;
|
4194
4231
|
NEXT_VIEW?: number;
|
4195
4232
|
PARAMETRIC_TYPE?: string;
|
4233
|
+
REPLY: any[];
|
4234
|
+
SOURCE_REF?: string;
|
4196
4235
|
ROWS_COUNT?: number;
|
4197
4236
|
SEQUENCE_ID?: number;
|
4198
4237
|
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [Datasource](./foundation-comms.datasource.md) > [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) > [@genesislcap/foundation-comms](./foundation-comms.md) > [Datasource](./foundation-comms.datasource.md) > [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) > [@genesislcap/foundation-comms](./foundation-comms.md) > [Datasource](./foundation-comms.datasource.md) > [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) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DatasourceDefaults](./foundation-comms.datasourcedefaults.md) > [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
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DatasourceOptions](./foundation-comms.datasourceoptions.md) > [offset](./foundation-comms.datasourceoptions.offset.md)
|
4
|
+
|
5
|
+
## DatasourceOptions.offset property
|
6
|
+
|
7
|
+
The offset to use when fetching data.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
offset?: number;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Remarks
|
16
|
+
|
17
|
+
relates to MAX\_ROWS.
|
18
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [criteriaOnlyRequest](./foundation-comms.defaultdatasource.criteriaonlyrequest.md)
|
4
|
+
|
5
|
+
## DefaultDatasource.criteriaOnlyRequest property
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
criteriaOnlyRequest: boolean;
|
12
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [loadMoreCount](./foundation-comms.defaultdatasource.loadmorecount.md)
|
4
|
+
|
5
|
+
## DefaultDatasource.loadMoreCount property
|
6
|
+
|
7
|
+
Track load more count for RequestServer temporary MAX\_ROWS calculation
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
loadMoreCount: number;
|
13
|
+
```
|