THIS IS ARCHIVED DOCUMENTATION
(Deprecated) FieldActions
(Deprecated) FieldActions
In this article
In this article
The field action creators.
Loader Function
loadFieldActions
Parameters
-
engine:
The headless engine.
Returns FieldActionCreators
: The field action creators.
FieldActionCreators
registerFieldsToInclude
Registers the fields to include in the query response.
Parameters
-
fields:
string[]
The target fields (for example, ["field1", "field2"]).
Returns PayloadAction<string[]>
: A dispatchable action.