AdminSitePoll: SitePoll & {
    createdAt: string;
    createdBy: string;
    isPublished: boolean;
    postToDiscord: boolean;
    postedToDiscordAt: string | null;
    results: SitePollResults;
    updatedAt: string;
}

The developers' view of a poll: the public poll plus everything the public never sees. Here each option's postNumber is the linked feedback post WHATEVER its visibility (the public poll hides a private one). Send it back as feedbackPostNumber to keep the link; a link to a post that has since gone private answers post_not_public with that number - unlink that option or make the post public.

Type declaration

  • createdAt: string

    ISO.

  • createdBy: string

    Discord id of the developer who made it.

  • isPublished: boolean
  • postToDiscord: boolean
  • postedToDiscordAt: string | null

    ISO; null until it has been posted.

  • results: SitePollResults
  • updatedAt: string

    ISO.