foundation-comms.datasourceoptions
Home > @genesislcap/foundation-comms > DatasourceOptions
DatasourceOptions interface
Options that can be passed when initializing a datasource.
Signature:
export interface DatasourceOptions
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) The criteria used to filter data in the datasource. | ||
|
boolean |
(Optional) Whether to disable polling when using request/reply | ||
|
string |
(Optional) The fields to include in the returned data. | ||
|
boolean |
(Optional) Whether the datasource is a snapshot or not. | ||
|
number |
(Optional) The maximum number of rows to return from the datasource. | ||
|
number |
(Optional) The maximum number of rows to track as part of a client "view" | ||
|
boolean |
(Optional) Defines the behaviour of the client view when new rows are received in real time. | ||
|
number |
(Optional) The offset to use when fetching data. | ||
|
string |
(Optional) The field to use for sorting the data. | ||
|
number |
(Optional) The polling interval to use when using request/reply. | ||
|
string[] |
(Optional) Array of event names that will trigger an additional poll. | ||
|
any |
(Optional) The request to send to the server. | ||
|
boolean |
(Optional) Whether the Datasource service will setup RQUEST object based on metadata. | ||
|
string |
(Optional) The name of the resource to use for the datasource. | ||
|
boolean |
(Optional) Whether to return the data in reverse order or not. | ||
|
number |
(Optional) The current page/"view" number being displayed. |