UNPKG

phx-react

Version:

PHX REACT

35 lines (34 loc) 771 B
export interface UserInfo { full_name: string; userName: string; email: string; id: number; avatar: string; user_avatar: { size_small: string; }; school_id: number; school: { school_name_id: number; school_name: { group_id: number; }; }; user_roles: Array<{ role_id: number; role: { id: number; name: string; role_code: string; is_admin: boolean; is_master_role: boolean; }; }>; } export interface CookieSession { access_token?: string; user_info?: UserInfo; setting_site?: any; action_permission?: any; } export default function PHXFuncGetCookieSession(): CookieSession | null;