mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-14 06:25:50 +00:00
refactor: remove unused user verification function and clean up user type definitions 🔨
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import type { ISODateString } from "next-auth";
|
||||
import type { Atoll, Island } from "../backend-types";
|
||||
|
||||
export interface Permission {
|
||||
id: number;
|
||||
@ -30,6 +31,22 @@ export interface User {
|
||||
last_login: string;
|
||||
}
|
||||
|
||||
export interface UserProfile {
|
||||
id: number;
|
||||
email: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
atoll: Atoll;
|
||||
island: Island;
|
||||
dob: string;
|
||||
verified: boolean;
|
||||
username: string;
|
||||
mobile: string;
|
||||
address: string;
|
||||
acc_no: string;
|
||||
id_card: string;
|
||||
}
|
||||
|
||||
export interface Session {
|
||||
user?: {
|
||||
token?: string;
|
||||
|
Reference in New Issue
Block a user