Skip to content

chore(be): remove group from contest #12353

chore(be): remove group from contest

chore(be): remove group from contest #12353

Triggered via pull request February 4, 2025 13:13
Status Failure
Total duration 1m 23s
Artifacts

ci.yml

on: pull_request
Matrix: Build Backend
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Typecheck
Property 'groupId' is missing in type '{ id: number; createdById: number; title: string; description: string; inputDescription: string; outputDescription: string; hint: string; template: never[]; languages: "C"[]; timeLimit: number; memoryLimit: number; ... 12 more ...; engTitle: null; }' but required in type 'Problem'.
Typecheck
Object literal may only specify known properties, and 'groupId' does not exist in type 'Contest'.
Typecheck
Object literal may only specify known properties, and 'groupId' does not exist in type 'ContestWhereInput'.
Typecheck
Object literal may only specify known properties, and 'groupId' does not exist in type 'ContestWhereInput'.
Typecheck
Object literal may only specify known properties, and 'groupId' does not exist in type 'ContestWhereInput'.
Typecheck
Property 'contestProblem' does not exist on type '{ description: string; id: number; createTime: Date; updateTime: Date; createdById: number | null; title: string; isVisible: boolean; invitationCode: string | null; startTime: Date; ... 12 more ...; freezeTime: Date | null; }'.
Typecheck
Property 'announcement' does not exist on type '{ description: string; id: number; createTime: Date; updateTime: Date; createdById: number | null; title: string; isVisible: boolean; invitationCode: string | null; startTime: Date; ... 12 more ...; freezeTime: Date | null; }'.
Typecheck
Object literal may only specify known properties, and 'groupId' does not exist in type 'ContestWhereUniqueInput'.
Typecheck
Object literal may only specify known properties, and 'groupId' does not exist in type 'Without<ContestNullableScalarRelationFilter, ContestWhereInput> & ContestWhereInput'.
Typecheck
Expected 1-2 arguments, but got 3.
Test Backend
Process completed with exit code 2.
Lint: apps/backend/apps/client/src/contest/contest.service.spec.ts#L49
'ongoingContests' is assigned a value but never used
Lint: apps/backend/apps/client/src/contest/contest.service.spec.ts#L69
'upcomingContests' is assigned a value but never used
Lint: apps/backend/apps/client/src/contest/contest.service.spec.ts#L89
'finishedContests' is assigned a value but never used