fix(api): fix api endpoint logic #1

This commit is contained in:
shafin-r
2025-08-10 19:25:25 +06:00
parent 0bca09f8ef
commit 713696760e
8 changed files with 138 additions and 84 deletions

14
types/auth.d.ts vendored
View File

@ -8,13 +8,17 @@ export interface UserData {
}
export interface RegisterForm {
name: string;
institution: string;
sscRoll: string;
hscRoll: string;
full_name: string;
username: string;
email: string;
phone: 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 {