11 lines
262 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) {
2016-07-18 15:07:59 -03:00
return { type: ADD_MEDIA, payload: mediaProxy };
2016-06-10 14:01:14 -03:00
}
2016-07-19 17:11:22 -03:00
export function removeMedia(path) {
return { type: REMOVE_MEDIA, payload: path };
2016-06-10 00:16:01 -03:00
}