Skip to content

feat: update seed and remove nextLessonChapterId #665

feat: update seed and remove nextLessonChapterId

feat: update seed and remove nextLessonChapterId #665

Triggered via pull request January 9, 2025 02:04
Status Failure
Total duration 1m 4s
Artifacts

pr-frontend-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint
Object literal may only specify known properties, and 'state' does not exist in type 'CreateCourseBody'.
Lint
Type '{ type: string; title: string; description: string; }' is not assignable to type 'BetaUpdateLessonBody'.
Lint
Type '{ chapterId: string; type: string; title: string; description: string; }' is not assignable to type 'BetaCreateLessonBody'.
Lint
Element implicitly has an 'any' type because expression of type '"video" | "text" | "file" | "presentation" | "quiz"' can't be used to index type '{ readonly presentation: "Presentation"; readonly text: "Text"; readonly video: "Video"; readonly quiz: "Quiz"; }'.
Lint
Element implicitly has an 'any' type because expression of type '"video" | "text" | "file" | "presentation" | "quiz"' can't be used to index type '{ readonly presentation: "Presentation"; readonly text: "Text"; readonly video: "Video"; readonly quiz: "Quiz"; }'.
Lint
Element implicitly has an 'any' type because expression of type '"video" | "text" | "file" | "presentation" | "quiz"' can't be used to index type '{ readonly presentation: "Presentation"; readonly text: "Text"; readonly video: "Video"; readonly quiz: "Quiz"; }'.
Lint
'a.index' is possibly 'null'.
Lint
'b.index' is possibly 'null'.
Lint
Type '{ id: string; optionText: string | null; displayOrder: number | null; isStudentAnswer: boolean | null; studentAnswer: string | null; isCorrect: boolean | null; questionId?: string | undefined; solutionExplanation: string | null; } | undefined' is not assignable to type '{ id: string; optionText: string; displayOrder: number | null; isStudentAnswer?: boolean | null | undefined; isCorrect?: boolean | null | undefined; studentAnswerText?: string | null | undefined; } | undefined'.
Lint
Type 'string | null' is not assignable to type 'string'.
Vitest tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build app
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636