src/store/StoreConnection.js
function getResources(domains) {
  return store.getResources().then(rsrcs => {
    return rsrcs.filter(e => domains.includes(e.domain));
  });
}
function getResources(domains) {
  return store.getResources().then(rsrcs => {
    return rsrcs.filter(e => domains.includes(e.domain));
  });
}
API data resource on local IndexedDB