import { DataProxy } from 'apollo-cache' ; export const deleteCache = ( cache , key ) => { Object . keys ( cache . data . data ) . forEach ( key => { key . match ( key ) && cache . data . delete ( key ) ; } ) ; } ;