Currently when a user makes a selection it is stored in a dictionary with the value as a primitive.
type SelectionDictionary = {
[key: string]: string | number | boolean
}
Expand the value to be an object in preparation for additional fields that will be added to contextualize the selection.
type NewSelectionDictionary = {
[key: string]: { value: string | number | boolean }
}
Currently when a user makes a selection it is stored in a dictionary with the value as a primitive.
Expand the value to be an object in preparation for additional fields that will be added to contextualize the selection.