Skip to content

five-on-it / packages/protocol/src/lobby / LobbyVote

Variable: LobbyVote ​

const LobbyVote: ZodObject<{ endsIn: ZodNumber; mine: ZodNullable<ZodEnum<{ game: "game"; level: "level"; replay: "replay"; same: "same"; }>>; offers: ZodArray<ZodObject<{ game: ZodString; gameTitle: ZodString; kind: ZodEnum<{ game: "game"; level: "level"; replay: "replay"; same: "same"; }>; level: ZodString; mission: ZodString; mode: ZodEnum<{ coop: "coop"; solo: "solo"; versus: "versus"; }>; players: ZodObject<{ max: ZodNumber; min: ZodNumber; }, $strip>; title: ZodString; votes: ZodNumber; }, $strip>>; }, $strip>

Defined in: packages/protocol/src/lobby.ts:201

The vote on the next mission: its offers, the seconds left, the reader's own vote.