Skip to main content

Interface: Review

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

Review comment on a preprint.

Remarks

Represents a peer review comment, which can be inline (attached to specific line) or general. Reviews support threaded discussions.

Properties

cid

readonly cid: CID

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

CID of this review version.


content

readonly content: string

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

Review content (Markdown).


createdAt

readonly createdAt: Timestamp

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

Review creation timestamp.


lineNumber?

readonly optional lineNumber: number

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

Line number for inline comments.

Remarks

If provided, this review is attached to a specific line in the PDF. Null for general comments.


parentReviewUri?

readonly optional parentReviewUri: AtUri

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

Parent review URI for threaded discussions.

Remarks

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


preprintUri

readonly preprintUri: AtUri

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

AT URI of the preprint being reviewed.


reviewer

readonly reviewer: DID

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

DID of the reviewer.


updatedAt?

readonly optional updatedAt: Timestamp

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

Last update timestamp.


uri

readonly uri: AtUri

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

AT URI of the review record.