Files
examjam-frontend/types/auth.d.ts
2025-08-17 14:08:17 +06:00

34 lines
692 B
TypeScript

export interface UserData {
user_id: string;
username: string;
full_name: string;
email: string;
is_verified: boolean;
phone_number: string;
ssc_roll: number;
ssc_board: string;
hsc_roll: number;
hsc_board: string;
college: string;
preparation_unit: "Science" | "Arts" | "Commerce" | string;
}
export interface RegisterForm {
full_name: string;
username: string;
email: string;
password: string;
phone_number: string;
ssc_roll: number;
ssc_board: string;
hsc_roll: number;
hsc_board: string;
college: string;
preparation_unit: "Science" | "Arts" | "Commerce" | string;
}
export interface LoginForm {
identifier: string;
password: string;
}