Skip to content

indetified agenda api change #396

indetified agenda api change

indetified agenda api change #396

Triggered via pull request November 15, 2023 12:14
Status Failure
Total duration 31s
Artifacts

ci.yml

on: pull_request
Matrix: Lint and Format
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "preparing"; choices: (GetResult<{ id: number; agendaId: number; name: string; }, unknown> & {})[]; voters: { voted: number; total: number; }; user: { votable: true; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "preparing"; type: { id: number; agendaId: number; named: boolean; private: boolean; voteInfo: { voterid: number | null; choiceid: number; }[] | null; }; id: number; title: string; content: string; resolution: string; voters: { ...; }; user: { ...; }; choices: { ...; }[]; }'.
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "ongoing"; voters: { voted: number; total: number; }; user: { voted: null; votable: boolean; }; choices: ({ users: (GetResult<{ userId: number; choiceId: number; }, unknown> & {})[]; } & GetResult<...> & {})[]; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "ongoing"; type: { id: number; agendaId: number; named: boolean; private: boolean; voteInfo: { voterid: number | null; choiceid: number; }[] | null; }; id: number; title: string; content: string; resolution: string; voters: { ...; }; user: { ...; }; choices: { ...; }[]; }'.
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "terminated"; choices: { id: number; name: string; count: number; }[]; voters: { voted: number; total: number; }; user: { voted: number | null; votable: boolean; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "terminated"; type: { id: number; agendaId: number; named: boolean; private: boolean; voteInfo: { voterid: number | null; choiceid: number; }[] | null; }; id: number; title: string; content: string; resolution: string; voters: { ...; }; user: { ...; }; choices: { ...; }[]; }'.
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "preparing"; choices: { id: number; name: string; }[]; voters: { voted: number; total: number; }; user: { votable: true; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "preparing"; type: { id: number; agendaId: number; named: boolean; private: boolean; voteInfo: { voterid: number | null; choiceid: number; }[] | null; }; id: number; title: string; content: string; resolution: string; voters: { ...; }; user: { ...; }; choices: { ...; }[]; }'.
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "preparing"; choices: { id: number; name: string; count: number; }[]; voters: { voted: never[]; total: { id: number; username: string; displayName: string; }[]; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "preparing" | "ongoing" | "terminated"; type: { id: number; agendaId: number; named: boolean; private: boolean; voteInfo: { voterid: number | null; choiceid: number; }[] | null; }; id: number; ... 4 more ...; choices: { ...; }[]; }'.
Lint and Format (18.x, 8.x)
Type '{ id: number; title: string; content: string; resolution: string; status: "preparing" | "ongoing" | "terminated"; choices: { id: number; name: string; count: number; }[]; voters: { total: { id: number; username: string; displayName: string; }[]; voted: { ...; }[]; }; }[]' is not assignable to type '{ status: "preparing" | "ongoing" | "terminated"; type: { id: number; agendaId: number; named: boolean; private: boolean; voteInfo: { voterid: number | null; choiceid: number; }[] | null; }; id: number; ... 4 more ...; choices: { ...; }[]; }[]'.
Lint and Format (18.x, 8.x)
Property 'type' does not exist on type '{ voters: (GetResult<{ userId: number; agendaId: number; }, unknown> & {})[]; choices: { id: number; name: string; users: (GetResult<{ userId: number; choiceId: number; }, unknown> & {})[]; }[]; } & GetResult<...> & {}'.
Lint and Format (18.x, 8.x)
Process completed with exit code 1.