Implement pattern in DELETE to remove several items based on a pattern for the id. E.g:
p = dispatch({ type: 'DELETE', payload: { type: 'value', pattern: "pervious-stock:508-*"}}).then(ret => data = ret.data, console.error) // removes all item with an id starting with "pervious-stock:508-"
Implement pattern in DELETE to remove several items based on a pattern for the id. E.g:
p = dispatch({ type: 'DELETE', payload: { type: 'value', pattern: "pervious-stock:508-*"}}).then(ret => data = ret.data, console.error) // removes all item with an id starting with "pervious-stock:508-"