Skip to content

SearchEntry

Defined in: types.ts:38

A searchable content entry with navigation information

anchor: string

Defined in: types.ts:55

Full anchor for navigation (e.g., “#intro”)


optional blockId: string

Defined in: types.ts:51

Block ID for anchor navigation (if available)


context: SearchContext

Defined in: types.ts:48

Context information for display


optional filters: object

Defined in: types.ts:58

Filter support (pluggable)

[key: string]: unknown

nodeType: string

optional sectionTitle: string


plainText: string

Defined in: types.ts:45

Plain text for search (stripped of formatting, normalized)


searchId: string

Defined in: types.ts:40

Unique search identifier for this entry


optional sectionId: string

Defined in: types.ts:53

Section ID containing this entry


optional sourcePos: SourcePos

Defined in: types.ts:65

Source position (optional, for debugging)


text: string

Defined in: types.ts:43

Searchable text with formatting