feat: remove trash collection

This commit is contained in:
thecodrr
2021-02-16 16:56:06 +05:00
parent 53be480b67
commit b5a0b9e649
14 changed files with 104 additions and 71 deletions

View File

@@ -30,6 +30,10 @@ export default class CachedCollection extends IndexedCollection {
return this.map.has(id) && !this.map.get(id).deleted;
}
has(id) {
return this.map.has(id);
}
getItem(id) {
return this.map.get(id);
}