RemoteDataSourceProps
Configuration properties for the remote data source. Extends the basic DataSourceProps with remote data operations capabilities.
Name | Type | Default | Description |
---|---|---|---|
creates? |
|
Map of created items that need to be synced with the remote source. | |
data? |
|
The current data array to be managed by the hook.
This represents the data items that are currently available in the data source.
If not provided, the | |
defaultData? |
|
The initial data array to be managed by the hook. | |
defaultFilter? |
|
The initial filter configuration. | |
defaultGroup? |
|
The initial grouping configuration. | |
defaultSkip? |
|
The initial number of records to skip (for paging). | |
defaultSort? |
|
The initial sorting configuration. | |
defaultTake? |
|
The initial number of records to take per page. | |
defaultTotal? |
|
The initial total number of records in the data source. | |
deletes? |
|
Map of items marked for deletion that need to be synced with the remote source. | |
filter? |
|
The current filter configuration. | |
filterable? |
|
|
Specifies whether filtering is enabled. |
group? |
|
The current grouping configuration. | |
groupable? |
|
|
Specifies whether grouping is enabled. |
pageable? |
|
|
Specifies whether paging is enabled. |
reads? |
|
Map of original data items read from the remote source, indexed by ID. | |
schema |
|
Schema configuration for parsing and mapping server responses. Extends the base DataSourceProps schema with additional properties for remote data. | |
serverFiltering? |
|
|
Determines if filtering operations should be performed on the server. When true, filter parameters are sent to the server during read operations. |
serverGrouping? |
|
|
Determines if grouping operations should be performed on the server. When true, group parameters are sent to the server during read operations. |
serverPaging? |
|
|
Determines if paging operations should be performed on the server. When true, skip and take parameters are sent to the server during read operations. |
serverSorting? |
|
|
Determines if sorting operations should be performed on the server. When true, sort parameters are sent to the server during read operations. |
skip? |
|
The current number of records to skip (for paging). | |
sort? |
|
The current sorting configuration. | |
sortable? |
|
|
Specifies whether sorting is enabled. |
take? |
|
The current number of records to take per page. | |
total? |
|
The total number of records in the data source. | |
transport? |
|
Configuration for CRUD operations transport. Defines how data is sent to and received from the server. | |
updates? |
|
Map of updated items that need to be synced with the remote source. |