11 lines
256 B
JavaScript
Raw Normal View History

2016-06-10 00:16:01 -03:00
export const ADD_MEDIA = 'ADD_MEDIA';
2016-06-10 14:01:14 -03:00
export const REMOVE_MEDIA = 'REMOVE_MEDIA';
2016-06-10 00:16:01 -03:00
2016-06-10 14:01:14 -03:00
export function addMedia(mediaProxy) {
return {type: ADD_MEDIA, payload: mediaProxy};
}
export function removeMedia(uri) {
return {type: REMOVE_MEDIA, payload: uri};
2016-06-10 00:16:01 -03:00
}