(cache: PathState, superstate: Superstate)
| 45 | space |
| 46 | |
| 47 | export const spacesFromFileCache = (cache: PathState, superstate: Superstate) => { |
| 48 | return (cache?.spaces ?? []) |
| 49 | .map((f) => superstate.spacesIndex.get(f)) |
| 50 | .filter((f) => f) |
| 51 | .map((f) => f.space); |
| 52 | }; |