Cássio Souza a4d7622ade Asset API (#204)
Asset API
2017-01-10 22:23:22 -02:00

11 lines
262 B
JavaScript

export const ADD_ASSET = 'ADD_ASSET';
export const REMOVE_ASSET = 'REMOVE_ASSET';
export function addAsset(assetProxy) {
return { type: ADD_ASSET, payload: assetProxy };
}
export function removeAsset(path) {
return { type: REMOVE_ASSET, payload: path };
}