Skip to main content

Interface: VoteRecord

Defined in: web/lib/atproto/record-creator.ts:223

Vote record as stored in ATProto.

Remarks​

The free-text justification is named comment on the wire because that is what the pub.chive.graph.vote lexicon defines and what the indexer reads. The UI and form schemas call it rationale; createVoteRecord maps between the two so the naming divergence stops at this boundary.

Indexable​

[key: string]: unknown

Properties​

$type​

$type: "pub.chive.graph.vote"

Defined in: web/lib/atproto/record-creator.ts:225


comment?​

optional comment: string

Defined in: web/lib/atproto/record-creator.ts:228


createdAt​

createdAt: string

Defined in: web/lib/atproto/record-creator.ts:229


proposalUri​

proposalUri: string

Defined in: web/lib/atproto/record-creator.ts:226


vote​

vote: "approve" | "reject" | "abstain" | "request-changes"

Defined in: web/lib/atproto/record-creator.ts:227