feat: New Courses View #467
Annotations
7 errors and 1 warning
Run ESLint
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; }[]'.
|
Run ESLint
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<...'.
|
Run ESLint
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<...'.
|
Run ESLint
Cannot find name 'courseLessons'.
|
Run ESLint
Cannot find name 'courseLessons'.
|
Run ESLint
Cannot find name 'courseLessons'.
|
Run ESLint
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading