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.
16 lines
592 B
16 lines
592 B
import { createAction } from 'redux-actions';
|
|
import * as types from './actionTypes';
|
|
import addArtistActionHandlers from './addArtistActionHandlers';
|
|
|
|
export const lookupArtist = addArtistActionHandlers[types.LOOKUP_ARTIST];
|
|
export const addArtist = addArtistActionHandlers[types.ADD_ARTIST];
|
|
export const clearAddArtist = createAction(types.CLEAR_ADD_ARTIST);
|
|
export const setAddArtistDefault = createAction(types.SET_ADD_ARTIST_DEFAULT);
|
|
|
|
export const setAddArtistValue = createAction(types.SET_ADD_ARTIST_VALUE, (payload) => {
|
|
return {
|
|
section: 'addArtist',
|
|
...payload
|
|
};
|
|
});
|