Skip to content

feat: New Courses View #467

feat: New Courses View

feat: New Courses View #467

Triggered via pull request December 12, 2024 14:09
Status Failure
Total duration 1m 8s
Artifacts

pr-backend-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
Lint
Type '{ id: string; description: string; title: string; imageUrl: any; authorId: string; author: string; authorEmail: string; category: string; enrolled: boolean; enrolledParticipantCount: number; courseLessonCount: any; completedLessonCount: number; priceInCents: number; currency: string; hasFreeLessons: boolean; }[]' is not assignable to type '{ createdAt?: string | undefined; isPublished?: boolean | undefined; enrolled?: boolean | undefined; hasFreeLessons?: boolean | undefined; id: string; description: string; title: string; ... 9 more ...; enrolledParticipantCount: number; }[]'.
Lint
Property 'imageUrl' does not exist on type 'PgTableWithColumns<{ name: "courses"; schema: undefined; columns: { title: PgColumn<{ name: "title"; tableName: "courses"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; enumValues: [...]; baseColumn: never; }, {}, {}>; ... 10 more ...; id: PgColumn<...'.
Lint
Property 'lessonsCount' does not exist on type 'PgTableWithColumns<{ name: "courses"; schema: undefined; columns: { title: PgColumn<{ name: "title"; tableName: "courses"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; enumValues: [...]; baseColumn: never; }, {}, {}>; ... 10 more ...; id: PgColumn<...'.
Lint
Cannot find name 'courseLessons'.
Lint
Cannot find name 'courseLessons'.
Lint
Cannot find name 'courseLessons'.
Lint
Process completed with exit code 2.
Build app
Process completed with exit code 1.
Jest tests
Process completed with exit code 1.
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
Jest tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636