Module: utils/reducerUtils

Members

(static, constant) ACTIONS :Object

A list of basic actions, which can be merged with data to create a full action
e.g const MY_FOLLOW_ACTION = { ...ACTIONS.FOLLOW_LINK, link:"1" }

Type:
  • Object
Properties:
Name Type Description
FOLLOW_LINK Object
Properties
Name Type Description
type String
link Link
PROMPT_ANSWER Object
Properties
Name Type Description
type String
key String
value String
pid Pid
UPDATE_INVENTORY Object
Properties
Name Type Description
type String
items Object
SET_DATA Object
Properties
Name Type Description
type String
data Object
Source:

(static, constant) DIVIDER :String

The string used to divide up sections of a passage

Type:
  • String
Source:

(static, constant) PROTECTED_DATA_KEYS :Array.<String>

A list of keys that should not be overwritten by in-passage data.

Type:
  • Array.<String>
Source: