@shopgate/engage
Version:
Shopgate's ENGAGE library.
5 lines • 410 B
JavaScript
import{RECEIVE_INVENTORIES}from"../constants";/**
* Creates the dispatched RECEIVE_INVENTORIES action object.
* @param {Array} productInventories List of product inventories.
* @return {Object} The RECEIVE_INVENTORIES action.
*/var receiveInventories=function receiveInventories(productInventories){return{type:RECEIVE_INVENTORIES,productInventories:productInventories};};export default receiveInventories;