Skip to content

Documentation / @finchart/core / index / SeamContext

Interface: SeamContext ​

Defined in: packages/core/src/data/validate.ts:20

What the consumer already holds at the seam — the x of the tail a chunk has to continue after (lastX), or of the head it has to end before (firstX). Facts, not rules: the rule is the door's — validateSeriesData answers append/prepend, validateSeriesPoint answers updateLast.

Properties ​

firstX? ​

optional firstX?: number

Defined in: packages/core/src/data/validate.ts:24

The head you hold, as the accessor reads it.


lastX? ​

optional lastX?: number

Defined in: packages/core/src/data/validate.ts:22

The tail you hold, as the accessor reads it (getX — point.x for every built-in accessor).