2018-02-01 23:29:33 +01:00
|
|
|
import * as actions from 'constants/show_action_types';
|
|
|
|
// export action creators
|
|
|
|
|
2018-02-02 20:10:58 +01:00
|
|
|
export function updateRequestWithChannelRequest (name, id) {
|
2018-02-01 23:29:33 +01:00
|
|
|
return {
|
2018-02-02 20:10:58 +01:00
|
|
|
type: actions.REQUEST_UPDATE_CHANNEL,
|
|
|
|
name,
|
|
|
|
id,
|
2018-02-01 23:29:33 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-02 20:10:58 +01:00
|
|
|
export function updateRequestWithAssetRequest (name, id, channelName, channelId, extension) {
|
2018-02-01 23:29:33 +01:00
|
|
|
return {
|
2018-02-02 20:10:58 +01:00
|
|
|
type : actions.REQUEST_UPDATE_CLAIM,
|
|
|
|
name,
|
|
|
|
id,
|
|
|
|
channelName: null,
|
|
|
|
channelId : null,
|
|
|
|
extension,
|
2018-02-01 23:29:33 +01:00
|
|
|
};
|
|
|
|
};
|