diff --git a/apps/web/src/app/main/courses/components/CoursesContainer.tsx b/apps/web/src/app/main/courses/components/CoursesContainer.tsx index 47cf21a..237e8b3 100644 --- a/apps/web/src/app/main/courses/components/CoursesContainer.tsx +++ b/apps/web/src/app/main/courses/components/CoursesContainer.tsx @@ -18,7 +18,7 @@ export function CoursesContainer() { return ( <> } + renderItem={(post) => } params={{ pageSize: 12, where: { diff --git a/packages/common/src/models/post.ts b/packages/common/src/models/post.ts index bde39c9..a12c727 100755 --- a/packages/common/src/models/post.ts +++ b/packages/common/src/models/post.ts @@ -42,8 +42,12 @@ export type PostDto = Post & { }; watchableDepts: Department[]; watchableStaffs: Staff[]; - terms:TermDto[] - depts:DepartmentDto[] + terms: TermDto[] + depts: DepartmentDto[] + meta?: { + thumbnail?: string + views?: number + } }; export type LectureMeta = {