Skip to main content

Interface: Review

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

Review comment on an eprint.

Remarks

Represents a peer review comment aligned with pub.chive.review.comment lexicon. Supports rich text body with node/eprint references, threaded discussions, and optional PDF targeting.

Properties

body

readonly body: readonly RichTextItem[]

Defined in: src/types/models/review.ts:107

Rich text body (array of text/nodeRef/eprintRef items).


cid

readonly cid: CID

Defined in: src/types/models/review.ts:92

CID of this review version.


createdAt

readonly createdAt: Timestamp

Defined in: src/types/models/review.ts:136

Review creation timestamp.


eprintUri

readonly eprintUri: AtUri

Defined in: src/types/models/review.ts:97

AT URI of the eprint being reviewed.


motivationFallback?

readonly optional motivationFallback: MotivationType

Defined in: src/types/models/review.ts:122

Fallback motivation type if URI not available.


motivationUri?

readonly optional motivationUri: AtUri

Defined in: src/types/models/review.ts:117

AT URI of motivation node (from knowledge graph).


parentComment?

readonly optional parentComment: AtUri

Defined in: src/types/models/review.ts:131

Parent comment URI for threaded discussions.

Remarks

If provided, this review is a reply to another review. Null for top-level comments.


reviewer

readonly reviewer: DID

Defined in: src/types/models/review.ts:102

DID of the reviewer.


target?

readonly optional target: TextSpanTarget

Defined in: src/types/models/review.ts:112

Target span in PDF for inline comments.


updatedAt?

readonly optional updatedAt: Timestamp

Defined in: src/types/models/review.ts:141

Last update timestamp.


uri

readonly uri: AtUri

Defined in: src/types/models/review.ts:87

AT URI of the review record.