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