feat: delete plan #93
Triggered via pull request
September 17, 2024 17:03
Status
Failure
Total duration
1m 16s
Artifacts
–
Annotations
13 errors and 1 warning
lint
Process completed with exit code 1.
|
lint
Process completed with exit code 1.
|
lint:
src/app/api/data/[facultyId]/route.ts#L38
'error' is of type 'unknown'.
|
lint:
src/app/api/data/[facultyId]/route.ts#L43
Type '(_request: Request, { params }: { params: { facultyId: string; }; }) => Promise<NextResponse<unknown>>' does not satisfy the constraint '(...args: unknown[]) => NextResponse<unknown> | Promise<NextResponse<unknown>>'.
|
lint:
src/app/api/registrations/route.tsx#L54
Type '{ startTime: string; endTime: string; group: string; day: string; courseName: string; lecturer: string; week: "TN"; courseType: "L"; registrationName: string; }' does not satisfy the expected type 'ClassBlockProps'.
|
lint:
src/app/api/registrations/route.tsx#L66
Type '{ startTime: string; endTime: string; day: string; group: string; courseName: string; lecturer: string; week: ""; courseType: "W"; registrationName: string; }' does not satisfy the expected type 'ClassBlockProps'.
|
lint:
src/components/SelectGroups.tsx#L56
Property 'registration' does not exist on type 'Registration'.
|
lint:
src/components/SelectGroups.tsx#L58
Property 'groups' does not exist on type 'Registration'.
|
lint:
src/components/SelectGroups.tsx#L70
Argument of type 'ClassBlockProps[]' is not assignable to parameter of type 'string'.
|
lint:
src/pages/createplan/[id].tsx#L90
Type 'string | undefined' is not assignable to type 'string'.
|
lint:
src/pages/createplan/[id].tsx#L185
'window.umami' is possibly 'undefined'.
|
lint:
src/pages/createplan/[id].tsx#L193
'window.umami' is possibly 'undefined'.
|
lint
Process completed with exit code 1.
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|