mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
28 lines
813 B
TypeScript
28 lines
813 B
TypeScript
/**
|
|
* @file
|
|
* @copyright 2020 Aleksej Komarov
|
|
* @license MIT
|
|
*/
|
|
|
|
import { createAction } from 'common/redux';
|
|
|
|
import { createHighlightSetting } from './model';
|
|
|
|
export const updateSettings = createAction('settings/update');
|
|
export const loadSettings = createAction('settings/load');
|
|
export const changeSettingsTab = createAction('settings/changeTab');
|
|
export const toggleSettings = createAction('settings/toggle');
|
|
export const openChatSettings = createAction('settings/openChatTab');
|
|
export const addHighlightSetting = createAction(
|
|
'settings/addHighlightSetting',
|
|
() => ({
|
|
payload: createHighlightSetting(),
|
|
})
|
|
);
|
|
export const removeHighlightSetting = createAction(
|
|
'settings/removeHighlightSetting'
|
|
);
|
|
export const updateHighlightSetting = createAction(
|
|
'settings/updateHighlightSetting'
|
|
);
|