()
| 81 | } |
| 82 | |
| 83 | fetchAll() { |
| 84 | const raw = this.storage.get(this.key); |
| 85 | if (raw) { |
| 86 | return JSON.parse(raw)[this.key] as Array<QueryStoreItem>; |
| 87 | } |
| 88 | return []; |
| 89 | } |
| 90 | |
| 91 | push(item: QueryStoreItem) { |
| 92 | const items = [...this.items, item]; |
no test coverage detected