mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-05-17 03:48:06 +08:00
Added avatar uploading
This commit is contained in:
parent
a3b3bd887f
commit
e4d64f3656
7 changed files with 84 additions and 12 deletions
|
@ -96,6 +96,11 @@ export interface Subject {
|
|||
export type Subjects = Array<Subject>;
|
||||
export type SubjectParams = [boolean, Subjects];
|
||||
|
||||
export type avatar = {
|
||||
uri: string;
|
||||
type: string;
|
||||
name: string;
|
||||
};
|
||||
// For dropdown menu
|
||||
|
||||
export interface OnboardingParams {
|
||||
|
@ -112,6 +117,7 @@ export interface PatchStudentData {
|
|||
subjects?: any[] | null; // To-do, replace 'any' with your actual type
|
||||
year_level?: string | null;
|
||||
irregular?: boolean | null;
|
||||
avatar?: string | null;
|
||||
}
|
||||
|
||||
export interface StudentData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue