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