@mocanvas/store · constant

START_INDEX_KEY

declare const START_INDEX_KEY: IndexKey

The key a run of indices starts from when the caller names none.

a1, not ZERO_INDEX_KEY. a0 is the bottom of the key space — the thing you generate *above* — and handing it out as a real index leaves nothing underneath to insert before. Every other first-index path in this workspace settled on the a1 bucket; this was the last one that had not.

Mentioned here

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.