1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00
This commit is contained in:
Mark McDowall
2018-01-12 18:01:27 -08:00
committed by Taloth Saldono
parent 99feff549d
commit 5894b4fd95
1183 changed files with 91622 additions and 4978 deletions
+29
View File
@@ -0,0 +1,29 @@
import { createAction } from 'redux-actions';
//
// Action Types
export const SET = 'base/set';
export const UPDATE = 'base/update';
export const UPDATE_ITEM = 'base/updateItem';
export const UPDATE_SERVER_SIDE_COLLECTION = 'base/updateServerSideCollection';
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);