Skip to main content

Interface: AnnotationView

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:70

View of an annotation/comment

Properties

$type?

optional $type: "pub.chive.annotation.listForEprint#annotationView"

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:71


author

author: AuthorRef

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:76


body?

optional body: ($Typed<TextItem> | $Typed<NodeRefItem> | $Typed<WikidataRefItem> | $Typed<FieldRefItem> | $Typed<FacetRefItem> | $Typed<EprintRefItem> | $Typed<AnnotationRefItem> | $Typed<AuthorRefItem> | $Typed<MentionItem> | $Typed<LinkItem> | $Typed<TagItem> | $Typed<LatexItem> | $Typed<CodeBlockItem> | $Typed<HeadingItem> | $Typed<ListItem> | $Typed<BlockquoteItem> | { $type: string; })[]

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:82

Rich text body items


bodyPlainText?

optional bodyPlainText: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:102

Plain text body for search/preview


cid

cid: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:75

Content identifier


content

content: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:80

Plain text content of the annotation


createdAt

createdAt: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:123

When the annotation was created


deleted

deleted: boolean

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:127

Whether this annotation has been deleted (tombstone for thread preservation)


eprintUri

eprintUri: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:78

AT-URI of the annotated eprint


indexedAt

indexedAt: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:125

When the annotation was indexed


motivation

motivation: string & object | "commenting" | "highlighting" | "questioning" | "replying" | "assessing" | "bookmarking" | "classifying" | "describing" | "editing" | "moderating" | "tagging"

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:105

W3C Web Annotation motivation


parentAnnotationUri?

optional parentAnnotationUri: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:119

Parent annotation URI for threaded replies


replyCount

replyCount: number

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:121

Number of direct replies


target

target: TextSpanTarget

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:103


uri

uri: string

Defined in: web/lib/api/generated/types/pub/chive/annotation/listForEprint.ts:73

Annotation AT-URI