SitePollUpdateInput: Partial<Omit<SitePollCreateInput, "options">> & {
    force?: boolean;
    options?: {
        description?: string | null;
        feedbackPostNumber?: number | null;
        label: string;
        optionId?: string;
    }[];
}

Mirrors SitePollUpdateSchema in Noti-v3.

Type declaration

  • Optionalforce?: boolean

    Allow removing options that have votes (their votes are deleted).

  • Optionaloptions?: {
        description?: string | null;
        feedbackPostNumber?: number | null;
        label: string;
        optionId?: string;
    }[]

    Replaces the list - an option sent without feedbackPostNumber is unlinked.