add
This commit is contained in:
parent
408709a6a3
commit
abeeed1708
|
@ -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 & {
|
||||
|
|
Loading…
Reference in New Issue