Search
Preparing search index...
The search index is not available
StoreFront
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
@storefront/flux-capacitor
PersonalizationAdapter
Module PersonalizationAdapter
Index
Interfaces
Browser
Bias
Key
Browser
Storage
State
Type aliases
Extractable
Action
Variables
DAYS_
IN_
SECONDS
Functions
convert
Bias
ToSearch
extract
Bias
extract
Refinement
generate
New
Bias
prune
Biases
transform
From
Browser
transform
ToBrowser
Type aliases
Extractable
Action
Extractable
Action
:
SelectRefinement
&
AddRefinement
Variables
Const
DAYS_
IN_
SECONDS
DAYS_
IN_
SECONDS
:
86400
= 86400
Functions
Const
convert
Bias
ToSearch
convert
Bias
ToSearch
(
state
:
State
, selectedRefinements
:
SelectedRefinement
[]
)
:
object
[]
Parameters
state:
State
selectedRefinements:
SelectedRefinement
[]
Returns
object
[]
Const
extract
Bias
extract
Bias
(
action
:
ExtractableAction
, state
:
State
)
:
object
Parameters
action:
ExtractableAction
state:
State
Returns
object
bias
:
object
last
Used
:
number
field
:
string
value
:
string
Const
extract
Refinement
extract
Refinement
(
__namedParameters
:
object
, state
:
State
)
:
object
Parameters
__namedParameters:
object
payload
:
Refinement
&
AddRefinement
type
:
"SELECT_REFINEMENT"
&
"ADD_REFINEMENT"
state:
State
Returns
object
field
:
string
value
:
string
Const
generate
New
Bias
generate
New
Bias
(
)
:
object
Returns
object
last
Used
:
number
Const
prune
Biases
prune
Biases
(
biasKeys
:
BiasKey
[]
, field
:
string
, fieldCount
:
number
, config
:
RealTimeBiasing
)
:
BiasKey
[]
Parameters
biasKeys:
BiasKey
[]
field:
string
fieldCount:
number
config:
RealTimeBiasing
Returns
BiasKey
[]
Const
transform
From
Browser
transform
From
Browser
(
incomingState
:
BrowserStorageState
, state
:
State
)
:
Biasing
Parameters
incomingState:
BrowserStorageState
state:
State
Returns
Biasing
Const
transform
ToBrowser
transform
ToBrowser
(
state
:
Biasing
, reducerKey
:
string
)
:
BrowserStorageState
Parameters
state:
Biasing
reducerKey:
string
Returns
BrowserStorageState
Globals
@storefront/flux-
capacitor
Personalization
Adapter
Personalization
Adapter
Browser
Bias
Key
Browser
Storage
State
Extractable
Action
DAYS_
IN_
SECONDS
convert
Bias
ToSearch
extract
Bias
extract
Refinement
generate
New
Bias
prune
Biases
transform
From
Browser
transform
ToBrowser
Generated using
TypeDoc