Skip to content

Add allocation ending #2111

Add allocation ending

Add allocation ending #2111

Triggered via pull request June 20, 2024 06:43
Status Failure
Total duration 2m 18s
Artifacts

pipeline.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Lint admin ui
admin-ui#tsc:check: command (/home/runner/work/tilavarauspalvelu-ui/tilavarauspalvelu-ui/apps/admin-ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run tsc:check exited (2)
Lint admin ui
Type '{ pk: number; begin: string; end: string; bufferTimeAfter: number; bufferTimeBefore: number; state: State.Confirmed; id: string; workingMemo: string; handlingDetails: string; }' is not assignable to type 'ReservationNode'.
Lint admin ui
Type '{ title: string | undefined; event: { name: string | null | undefined; id: string; reserveeName?: string | null | undefined; pk?: number | null | undefined; begin: string; end: string; state: State; ... 4 more ...; user?: { ...; } | ... 1 more ... | undefined; }; start: Date; end: Date; }[]' is not assignable to type 'CalendarEventType[]'.
Lint admin ui
Property 'Failed' does not exist on type 'typeof ApplicationSectionStatusChoice'.
Lint admin ui
Property 'Failed' does not exist on type 'typeof ApplicationSectionStatusChoice'.
Lint admin ui
Property 'Failed' does not exist on type 'typeof ApplicationSectionStatusChoice'.
Lint admin ui
Property 'Reserved' does not exist on type 'typeof ApplicationSectionStatusChoice'.
Lint admin ui
Property 'Reserved' does not exist on type 'typeof ApplicationSectionStatusChoice'.
Lint admin ui
Process completed with exit code 2.
Lint ui
ui#tsc:check: command (/home/runner/work/tilavarauspalvelu-ui/tilavarauspalvelu-ui/apps/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run tsc:check exited (2)
Lint ui
Type '{ id: string; state: State.Confirmed; price: string; bufferTimeBefore: number; bufferTimeAfter: number; begin: string; end: string; reservationUnit: ReservationUnitNode[]; handlingDetails: string; }' is not assignable to type 'ReservationNode'.
Lint ui
Argument of type 'Pick<ReservationNode, "end" | "begin" | "state" | "isHandled" | "price">' is not assignable to parameter of type 'Pick<{ id: string; name?: string | null | undefined; bufferTimeBefore: number; bufferTimeAfter: number; isBlocked?: boolean | null | undefined; pk?: number | null | undefined; taxPercentageValue?: string | ... 1 more ... | undefined; ... 5 more ...; reservationUnit: { ...; }[]; }, "begin" | ... 1 more ... | "reserva...'.
Lint ui
Argument of type 'Pick<ReservationNode, "end" | "begin" | "state" | "isHandled" | "price">' is not assignable to parameter of type 'Pick<{ id: string; name?: string | null | undefined; bufferTimeBefore: number; bufferTimeAfter: number; isBlocked?: boolean | null | undefined; pk?: number | null | undefined; taxPercentageValue?: string | ... 1 more ... | undefined; ... 5 more ...; reservationUnit: { ...; }[]; }, "begin" | ... 1 more ... | "reserva...'.
Lint ui
Argument of type '{ pk?: number | null | undefined; id: string; state: State; isBlocked?: boolean | null | undefined; begin: string; end: string; numPersons?: number | null | undefined; calendarUrl?: string | ... 1 more ... | undefined; bufferTimeBefore: number; bufferTimeAfter: number; affectedReservationUnits?: (number | null)[] | ...' is not assignable to parameter of type 'ReservationNode[]'.
Lint ui
Process completed with exit code 2.