(entity: StoreEntity)
| 186 | } |
| 187 | |
| 188 | function removeEntityFromIndexes(entity: StoreEntity) { |
| 189 | for (const [indexKey, index] of propIndexMap.entries()) { |
| 190 | index.remove(entity); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | const store: EntityStore<Data, View> = { |
| 195 | get all() { |