@mocanvas/store · type

RSIndexMap

type RSIndexMap<R extends UnknownRecord, Property extends keyof R & string = keyof R & string> = Map<R[Property], Set<IdOf<R>>>

An index over one property of one record type: for each value that property takes, the ids of the records that hold it.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.