interface VoteResult

Returned to the WebSocket route by castVote and removeVote. The route acks the voter with voteCount, then broadcasts it to every client, or to the dump owner's alone when isPrivate.

Properties

voteCount: number
isPrivate: boolean

Usage

import { type VoteResult } from "api/services/vote-service.ts";