mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-05-17 03:48:06 +08:00
Optimized homepage rendering and removed overly complicated components
This commit is contained in:
parent
19d19c3dd5
commit
1bd07f9edd
5 changed files with 129 additions and 298 deletions
|
@ -166,6 +166,17 @@ export interface StudentStatusFilterTypeFlattened {
|
|||
weight?: number;
|
||||
}
|
||||
|
||||
export interface StudyGroupType {
|
||||
name: string;
|
||||
users: string[];
|
||||
distance: number;
|
||||
landmark: string | null;
|
||||
location: LocationType;
|
||||
subject: string;
|
||||
radius: number;
|
||||
}
|
||||
export type StudyGroupReturnType = [boolean, StudyGroupType[]];
|
||||
|
||||
export type StudentStatusReturnType = [boolean, StudentStatusType];
|
||||
|
||||
export type StudentStatusListType = Array<StudentStatusFilterType>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue