Interface: TextQuoteSelector
Defined in: src/types/models/annotation.ts:34
W3C TextQuoteSelector for resilient text matching.
Remarks
Identifies text by copying the exact phrase plus surrounding context. This allows matching even if the document is slightly modified.
See
Properties
exact
readonlyexact:string
Defined in: src/types/models/annotation.ts:38
The exact text that was selected
prefix?
readonlyoptionalprefix:string
Defined in: src/types/models/annotation.ts:40
Context before the selection (up to 32 chars)
suffix?
readonlyoptionalsuffix:string
Defined in: src/types/models/annotation.ts:42
Context after the selection (up to 32 chars)
type
readonlytype:"TextQuoteSelector"
Defined in: src/types/models/annotation.ts:36
Selector type identifier