klevufetchfunctionreturnvalue
Ƭ KlevuFetchFunctionReturnValue: Object
What functions passed to KlevuFetch should implement
Type declaration
Name | Type | Description |
|---|---|---|
configOverride? | Pass down the if config has been overridden. | |
klevuFunctionId | KlevuFetchTypeId | Id of function. Used only internally |
modifiers? | KlevuFetchModifer[] | List of modifiers set for this function |
params? | KlevuFetchFunctionParamsKlevuFetchFunctionParams | Some of the functions pass metadata that can be used in other places |
previousResultRecords? | KlevuRecordKlevuRecord[] | Local memory cache products from previous results. Used by analytics when making page changes |
queries? | KlevuAllRecordQueriesKlevuAllRecordQueries[] | What queries should KlevuFetch do to backend |
suggestions? | KlevuSuggestionQueryKlevuSuggestionQuery[] | What suggestions queries should do to backend |