mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 04:00:18 -07:00
16 lines
646 B
JavaScript
16 lines
646 B
JavaScript
import { createAction } from 'redux-actions';
|
|
import * as types from './actionTypes';
|
|
import importArtistActionHandlers from './importArtistActionHandlers';
|
|
|
|
export const queueLookupArtist = importArtistActionHandlers[types.QUEUE_LOOKUP_ARTIST];
|
|
export const startLookupArtist = importArtistActionHandlers[types.START_LOOKUP_ARTIST];
|
|
export const importArtist = importArtistActionHandlers[types.IMPORT_ARTIST];
|
|
export const clearImportArtist = createAction(types.CLEAR_IMPORT_ARTIST);
|
|
|
|
export const setImportArtistValue = createAction(types.SET_IMPORT_ARTIST_VALUE, (payload) => {
|
|
return {
|
|
|
|
section: 'importArtist',
|
|
...payload
|
|
};
|
|
});
|