mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-08-02 09:33:19 +08:00
Allow editing of user info
This commit is contained in:
parent
f24b84139b
commit
8de8e67070
3 changed files with 80 additions and 32 deletions
|
@ -77,6 +77,15 @@ export interface OnboardingParams {
|
|||
semester: string;
|
||||
}
|
||||
|
||||
export interface PatchStudentData {
|
||||
course?: string | null;
|
||||
first_name?: string | null;
|
||||
last_name?: string | null;
|
||||
semester?: string | null;
|
||||
subjects?: any[] | null; // To-do, replace 'any' with your actual type
|
||||
year_level?: string | null;
|
||||
}
|
||||
|
||||
export interface StudentData {
|
||||
avatar: string;
|
||||
course: string;
|
||||
|
@ -87,15 +96,6 @@ export interface StudentData {
|
|||
semester: string;
|
||||
student_id_number: string;
|
||||
subjects: any[]; // To-do
|
||||
user_status: {
|
||||
active: boolean;
|
||||
landmark: string;
|
||||
location: any; // To-do
|
||||
study_group: any[]; // To-do
|
||||
subject: string;
|
||||
timestamp: string;
|
||||
user: string;
|
||||
};
|
||||
username: string;
|
||||
year_level: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue