Appearance
destillationapp-frontend v0.1.0
destillationapp-frontend / store/settings/mutations / default
Variable: default
default:
object
Defined in: store/settings/mutations.ts:16
Type declaration
changeValue()
changeValue<
K
>(state
,payload
):void
Mutation to change the value of a field in the settings form.
Type Parameters
K
K
extends keyof SettingsForm
Parameters
state
State
The current state object.
payload
Payload containing the input field name and its new value.
input
K
value
SettingsForm
[K
]
Returns
void
removeDistillerById()
removeDistillerById(
state
,id
):void
Mutation to remove a distiller from the distillerList by its ID.
Parameters
state
State
The current state object.
id
string
The ID of the distiller to remove.
Returns
void