Skip to content

Feat/add pdf

Feat/add pdf #88

Triggered via pull request September 15, 2024 01:09
@unewMeunewMe
synchronize #56
feat/add_pdf
Status Failure
Total duration 59s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
lint
Process completed with exit code 1.
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#L14
Cannot find module 'html2canvas' or its corresponding type declarations.
lint: src/pages/createplan/[id].tsx#L17
Cannot find module 'jspdf' or its corresponding type declarations.
lint: src/pages/createplan/[id].tsx#L89
'input' is possibly 'null'.
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/