Update carousels, card hover, and IranBay branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
export type DashboardType = "super_admin" | "business" | "customer";
|
||||
|
||||
export interface AuthUser {
|
||||
id: string;
|
||||
cellNumber: string;
|
||||
email: string | null;
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
firstNameEn: string | null;
|
||||
lastNameEn: string | null;
|
||||
roles: string[];
|
||||
dashboard: DashboardType;
|
||||
businesses: {
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
isOwner: boolean;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface LoginResponse {
|
||||
message: string;
|
||||
user: AuthUser;
|
||||
accessToken: string;
|
||||
refreshToken: string;
|
||||
}
|
||||
|
||||
export interface MeResponse {
|
||||
user: AuthUser;
|
||||
}
|
||||
Reference in New Issue
Block a user