Skip to main content

Interface: VoteRecord

Defined in: src/types/interfaces/graph.interface.ts:234

Vote record for field proposals.

Remarks

Records user votes on proposals for community moderation. Votes are indexed from ATProto records with role-weighted tallying.

Properties

createdAt

readonly createdAt: Date

Defined in: src/types/interfaces/graph.interface.ts:268

When the vote was cast.


proposalUri

readonly proposalUri: string

Defined in: src/types/interfaces/graph.interface.ts:243

URI of the proposal being voted on.


rationale?

readonly optional rationale: string

Defined in: src/types/interfaces/graph.interface.ts:263

Optional rationale for the vote.


uri

readonly uri: string

Defined in: src/types/interfaces/graph.interface.ts:238

Vote URI from ATProto record.


vote

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

Defined in: src/types/interfaces/graph.interface.ts:258

Vote decision.


voterDid

readonly voterDid: DID

Defined in: src/types/interfaces/graph.interface.ts:248

DID of the voter.


voterRole

readonly voterRole: "community-member" | "reviewer" | "domain-expert" | "administrator"

Defined in: src/types/interfaces/graph.interface.ts:253

Voter's role for weight calculation.