Skip to main content

Interface: TextSpanTarget

Defined in: src/types/models/annotation.ts:77

Combined text span target using W3C SpecificResource pattern.

Remarks

Combines TextQuoteSelector (for resilience) with TextPositionSelector (for precise highlighting) to maximize the chances of finding the annotated text across document changes.

Properties

refinedBy?

readonly optional refinedBy: TextPositionSelector

Defined in: src/types/models/annotation.ts:83

Optional position selector for precise highlighting


selector

readonly selector: TextQuoteSelector

Defined in: src/types/models/annotation.ts:81

Primary selector using text quote matching


source

readonly source: AtUri

Defined in: src/types/models/annotation.ts:79

AT-URI of the preprint being annotated