Skip to content

@lelantos-org/sdk / services / FmdMatchesPage

Interface: FmdMatchesPage ​

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:53

A page of matches plus the subscription's backfill watermark.

matches is filled from both ends at once: the indexer's live tick inserts rows for notes at the head while its backfill walks history upward. The highest id in a page is therefore not a safe resume cursor: rows below it may still be pending, and a cursor above the gap would skip them permanently.

backfilledThroughNoteId is the highest note id already scanned against this subscription's key; a persisted cursor must be clamped to it. Rows above it are delivered anyway and re-delivered until the watermark passes them; addHits dedupes them by cm.

Properties ​

backfilledThroughNoteId ​

ts
backfilledThroughNoteId: number;

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:55


matches ​

ts
matches: FmdMatchOut[];

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:54