SearchEntry
Defined in: types.ts:38
A searchable content entry with navigation information
Properties
Section titled “Properties”anchor
Section titled “anchor”anchor:
string
Defined in: types.ts:55
Full anchor for navigation (e.g., “#intro”)
blockId?
Section titled “blockId?”
optionalblockId:string
Defined in: types.ts:51
Block ID for anchor navigation (if available)
context
Section titled “context”context:
SearchContext
Defined in: types.ts:48
Context information for display
filters?
Section titled “filters?”
optionalfilters:object
Defined in: types.ts:58
Filter support (pluggable)
Index Signature
Section titled “Index Signature”[key: string]: unknown
nodeType
Section titled “nodeType”nodeType:
string
sectionTitle?
Section titled “sectionTitle?”
optionalsectionTitle:string
plainText
Section titled “plainText”plainText:
string
Defined in: types.ts:45
Plain text for search (stripped of formatting, normalized)
searchId
Section titled “searchId”searchId:
string
Defined in: types.ts:40
Unique search identifier for this entry
sectionId?
Section titled “sectionId?”
optionalsectionId:string
Defined in: types.ts:53
Section ID containing this entry
sourcePos?
Section titled “sourcePos?”
optionalsourcePos:SourcePos
Defined in: types.ts:65
Source position (optional, for debugging)
text:
string
Defined in: types.ts:43
Searchable text with formatting