Optimized homepage rendering and removed overly complicated components

This commit is contained in:
Keannu Christian Bernasol 2023-09-24 21:02:34 +08:00
parent 19d19c3dd5
commit 1bd07f9edd
5 changed files with 129 additions and 298 deletions

View file

@ -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>;