Skip to content

fix(hooks): remove @ts-nocheck from useStudyGroups and fix underlying… #874

fix(hooks): remove @ts-nocheck from useStudyGroups and fix underlying…

fix(hooks): remove @ts-nocheck from useStudyGroups and fix underlying… #874

Triggered via pull request July 30, 2026 12:37
Status Failure
Total duration 1m 4s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
type-check
Process completed with exit code 2.
type-check: src/app/hooks/useStudyGroups.tsx#L560
Argument of type '(groupId: string) => { status: string; id: string; groupId: string; subjectUserId: string; subjectName: string; issuerId: string; issuerName: string; fingerprint: string; validFrom: string; validUntil: string; issuedAt: string; revokedAt?: string | undefined; }[]' is not assignable to parameter of type '(groupId: string) => ForumCertificate[]'.
type-check: src/app/hooks/useStudyGroups.tsx#L523
Argument of type '{ type: "info"; message: string; meta: { challengeId: string; groupId: string | undefined; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
type-check: src/app/hooks/useStudyGroups.tsx#L479
Argument of type '{ type: "success"; message: string; meta: { groupId: string; challengeId: string; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
type-check: src/app/hooks/useStudyGroups.tsx#L445
Argument of type '{ type: "success"; message: string; meta: { groupId: string; resourceId: string; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
type-check: src/app/hooks/useStudyGroups.tsx#L353
Argument of type '{ type: "info"; message: string; meta: { groupId: string; messageId: string; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
type-check: src/app/hooks/useStudyGroups.tsx#L321
Argument of type '{ type: "warning"; message: string; meta: { groupId: string; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
type-check: src/app/hooks/useStudyGroups.tsx#L293
Argument of type '{ type: "info"; message: string; meta: { groupId: string; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
type-check: src/app/hooks/useStudyGroups.tsx#L264
Argument of type '{ type: "success"; message: string; meta: { groupId: string; }; }' is not assignable to parameter of type 'Omit<AppNotification, "id" | "createdAt" | "read"> & { id?: string | undefined; }'.
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
validate
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
type-check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/