mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
UI Action Handler Changes, Misc Fixes
This commit is contained in:
@@ -1,13 +1,29 @@
|
||||
import { createAction } from 'redux-actions';
|
||||
import * as types from './actionTypes';
|
||||
|
||||
export const set = createAction(types.SET);
|
||||
//
|
||||
// Action Types
|
||||
|
||||
export const update = createAction(types.UPDATE);
|
||||
export const updateItem = createAction(types.UPDATE_ITEM);
|
||||
export const updateServerSideCollection = createAction(types.UPDATE_SERVER_SIDE_COLLECTION);
|
||||
export const SET = 'base/set';
|
||||
|
||||
export const setSettingValue = createAction(types.SET_SETTING_VALUE);
|
||||
export const clearPendingChanges = createAction(types.CLEAR_PENDING_CHANGES);
|
||||
export const UPDATE = 'base/update';
|
||||
export const UPDATE_ITEM = 'base/updateItem';
|
||||
export const UPDATE_SERVER_SIDE_COLLECTION = 'base/updateServerSideCollection';
|
||||
|
||||
export const removeItem = createAction(types.REMOVE_ITEM);
|
||||
export const SET_SETTING_VALUE = 'base/setSettingValue';
|
||||
export const CLEAR_PENDING_CHANGES = 'base/clearPendingChanges';
|
||||
|
||||
export const REMOVE_ITEM = 'base/removeItem';
|
||||
|
||||
//
|
||||
// Action Creators
|
||||
|
||||
export const set = createAction(SET);
|
||||
|
||||
export const update = createAction(UPDATE);
|
||||
export const updateItem = createAction(UPDATE_ITEM);
|
||||
export const updateServerSideCollection = createAction(UPDATE_SERVER_SIDE_COLLECTION);
|
||||
|
||||
export const setSettingValue = createAction(SET_SETTING_VALUE);
|
||||
export const clearPendingChanges = createAction(CLEAR_PENDING_CHANGES);
|
||||
|
||||
export const removeItem = createAction(REMOVE_ITEM);
|
||||
|
||||
Reference in New Issue
Block a user