fix(api): fix api endpoint logic #3

This commit is contained in:
shafin-r
2025-08-17 14:08:17 +06:00
parent ad46bf954e
commit 4f23f357e6
7 changed files with 87 additions and 69 deletions

16
types/auth.d.ts vendored
View File

@ -1,10 +1,16 @@
export interface UserData {
name: string;
institution: string;
sscRoll: string;
hscRoll: string;
user_id: string;
username: string;
full_name: string;
email: string;
phone: 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 {