Provides actions to manipulate with satellite screen.
Methods
# static clearFilter(flowId)
Resets the filter to an initial state.
Parameters:
Name | Type | Description |
---|---|---|
flowId |
string | The unique Id of opened tab |
Properties:
Name | Type | Description |
---|---|---|
type |
string | CLEAR_FILTER |
# static openSatellite(satelliteId)
Fetches the information about the satellite.
Parameters:
Name | Type | Description |
---|---|---|
satelliteId |
string | Satellite CI Id. |
Properties:
Name | Type | Description |
---|---|---|
type |
string | OPEN_SATELLITE |
# static paginate(flowId, page, resultsPerPage)
Changes the pagination configuration for fetching data
Parameters:
Name | Type | Description |
---|---|---|
flowId |
string | The unique id of the opened tab |
page |
number | |
resultsPerPage |
number | the size of the fetched page |
Properties:
Name | Type | Description |
---|---|---|
type |
string | PAGINATE |
# static sort(flowId, name, order)
Changes the filter sorting.
Parameters:
Name | Type | Description |
---|---|---|
flowId |
string | The unique Id of opened tab |
name |
string | the field name |
order |
string | ASC or DESC, the sorting direction |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SORT |
# static updateFilters(flowId, updatedFilter)
Updates query for filtering results.
Parameters:
Name | Type | Description |
---|---|---|
flowId |
string | The unique Id of opened tab |
updatedFilter |
object | The shape of the object is {[nameOfField]: valueContains}. So it means that, if field is specified, it will be searched for it. And it will search based on "contains" logic. I.e. "ap", will find from ["apple", "planet"] - ["apple"] as it contains "ap" in the word. |
Properties:
Name | Type | Description |
---|---|---|
type |
string | UPDATE_FILTERS |