SitePoll: {
    allowVoteChange: boolean;
    closesAt: string | null;
    description: string | null;
    maxChoices: number;
    opensAt: string | null;
    options: SitePollOption[];
    pollId: string;
    resultsVisibility: SitePollResultsVisibility;
    state: SitePollState;
    title: string;
}

One poll as the site shows it. Mirrors SitePollCard in Noti-v3.

Type declaration

  • allowVoteChange: boolean
  • closesAt: string | null

    ISO.

  • description: string | null

    Markdown.

  • maxChoices: number

    1 = single choice.

  • opensAt: string | null

    ISO.

  • options: SitePollOption[]

    In display order.

  • pollId: string
  • resultsVisibility: SitePollResultsVisibility
  • state: SitePollState
  • title: string