31 lines
554 B
JavaScript
31 lines
554 B
JavaScript
|
import * as actions from 'constants/show_action_types';
|
||
|
|
||
|
// export action creators
|
||
|
|
||
|
export function updateClaimRequest (claim) {
|
||
|
return {
|
||
|
type: actions.CLAIM_REQUEST_UPDATE,
|
||
|
claim,
|
||
|
};
|
||
|
};
|
||
|
|
||
|
export function updateChannelRequest (channel) {
|
||
|
return {
|
||
|
type: actions.CHANNEL_REQUEST_UPDATE,
|
||
|
channel,
|
||
|
};
|
||
|
};
|
||
|
|
||
|
export function updateChannelData (channelData) {
|
||
|
return {
|
||
|
type: actions.CHANNEL_DATA_UPDATE,
|
||
|
channelData,
|
||
|
};
|
||
|
};
|
||
|
|
||
|
export function updateClaimData (claimData) {
|
||
|
return {
|
||
|
type: actions.CHANNEL_DATA_UPDATE,
|
||
|
};
|
||
|
};
|