This commit is contained in:
ditiqi 2025-02-27 12:27:02 +08:00
parent 408709a6a3
commit abeeed1708
1 changed files with 6 additions and 6 deletions

View File

@ -42,12 +42,12 @@ export type PostDto = Post & {
};
watchableDepts: Department[];
watchableStaffs: Staff[];
terms: TermDto[]
depts: DepartmentDto[]
terms: TermDto[];
depts: DepartmentDto[];
meta?: {
thumbnail?: string
views?: number
}
thumbnail?: string;
views?: number;
};
};
export type LectureMeta = {
@ -81,7 +81,7 @@ export type CourseMeta = {
likes?: number;
hates?: number;
};
export type Course = Post & {
export type Course = PostDto & {
meta?: CourseMeta;
};
export type CourseDto = Course & {