Skip to content

feat(be): change contest config nullability #6741

feat(be): change contest config nullability

feat(be): change contest config nullability #6741

Triggered via pull request February 29, 2024 07:07
Status Failure
Total duration 4m 41s
Artifacts

ci.yml

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

Annotations

8 errors
Test
Process completed with exit code 1.
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'Contest'.
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'ContestWithParticipants'.
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'CreateContestInput'.
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'UpdateContestInput'.
Typecheck
Argument of type '{ title: string; description: string; startTime: Date; endTime: Date; config: { isVisible: boolean; isRankVisible: boolean; }; }' is not assignable to parameter of type 'CreateContestInput'.
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type '{ id: number; createdById: number | null; groupId: number; title: string; description: string; startTime: Date; endTime: Date; isVisible: boolean; isRankVisible: boolean; createTime: Date; updateTime: Date; } & { ...; }'.
Typecheck
Process completed with exit code 1.