Added avatar uploading

This commit is contained in:
Keannu Christian Bernasol 2023-07-27 16:00:31 +08:00
parent a3b3bd887f
commit e4d64f3656
7 changed files with 84 additions and 12 deletions

View file

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