@maschinenlesbar.org/abgeordnetenwatch-cli
    Preparing search index...

    Type Alias VotingRecord

    VotingRecord:
        | Extract<Resolved, { status: "ok" }> & {
            recent: {
                fraction: string | null;
                poll: string | null;
                pollId: number | null;
                vote: string | null;
            }[];
            tally: VoteTally;
            total: number;
            truncated: boolean;
        }
        | Exclude<Resolved, { status: "ok" }>

    The answer of getVotingRecord.

    Type Declaration

    • Extract<Resolved, { status: "ok" }> & {
          recent: {
              fraction: string | null;
              poll: string | null;
              pollId: number | null;
              vote: string | null;
          }[];
          tally: VoteTally;
          total: number;
          truncated: boolean;
      }
      • recent: {
            fraction: string | null;
            poll: string | null;
            pollId: number | null;
            vote: string | null;
        }[]

        Newest first (by poll id, which grows with time), at most limit.

      • tally: VoteTally
      • total: number
      • truncated: boolean
    • Exclude<Resolved, { status: "ok" }>