THIS IS ARCHIVED DOCUMENTATION

FieldActions (Deprecated)

The field action creators.

Loader Function

loadFieldActions

Loads the fields reducer and returns possible action creators.

Parameters

  • engine: CoreEngine

    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.