You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readarr/frontend/src/Store/Actions/blacklistActions.js

13 lines
871 B

import { createAction } from 'redux-actions';
import * as types from './actionTypes';
import blacklistActionHandlers from './blacklistActionHandlers';
export const fetchBlacklist = blacklistActionHandlers[types.FETCH_BLACKLIST];
export const gotoBlacklistFirstPage = blacklistActionHandlers[types.GOTO_FIRST_BLACKLIST_PAGE];
export const gotoBlacklistPreviousPage = blacklistActionHandlers[types.GOTO_PREVIOUS_BLACKLIST_PAGE];
export const gotoBlacklistNextPage = blacklistActionHandlers[types.GOTO_NEXT_BLACKLIST_PAGE];
export const gotoBlacklistLastPage = blacklistActionHandlers[types.GOTO_LAST_BLACKLIST_PAGE];
export const gotoBlacklistPage = blacklistActionHandlers[types.GOTO_BLACKLIST_PAGE];
export const setBlacklistSort = blacklistActionHandlers[types.SET_BLACKLIST_SORT];
export const setBlacklistTableOption = createAction(types.SET_BLACKLIST_TABLE_OPTION);