ConstReadonlySWITCH_CHANGE: "SWITCH_CHANGE"A toggle Switch changed; writes checked to the named setting
ReadonlyINPUT_CHANGE: "INPUT_CHANGE"A text field or Select changed; writes value to the named setting
ReadonlyBUTTON_CLICK: "BUTTON_CLICK"A button-group option was clicked (e.g. font size); writes value to the named setting
ReadonlySUPPLIER_TOGGLE: "SUPPLIER_TOGGLE"A supplier was enabled/disabled; replaces the disabled-suppliers list
ReadonlyRESTORE_DEFAULTS: "RESTORE_DEFAULTS"Resets the settings to their defaults
export const ACTION_TYPE = {
/** A toggle Switch changed; writes `checked` to the named setting */
SWITCH_CHANGE: 'SWITCH_CHANGE',
/** A text field or Select changed; writes `value` to the named setting */
INPUT_CHANGE: 'INPUT_CHANGE',
/** A button-group option was clicked (e.g. font size); writes `value` to the named setting */
BUTTON_CLICK: 'BUTTON_CLICK',
/** A supplier was enabled/disabled; replaces the disabled-suppliers list */
SUPPLIER_TOGGLE: 'SUPPLIER_TOGGLE',
/** Resets the settings to their defaults */
RESTORE_DEFAULTS: 'RESTORE_DEFAULTS',
} as const;
Action types for settings panel form state management. Used by the SettingsPanel component.