import { AUTH_LEVELS, USER_STATUS } from '~/types/auth'; // Get auth level display name (client-side version) export function getAuthLevelName(authLevel: number): string { switch (authLevel) { case AUTH_LEVELS.SUPERADMIN: return "مدير عام"; case AUTH_LEVELS.ADMIN: return "مدير"; case AUTH_LEVELS.USER: return "مستخدم"; default: return "غير محدد"; } } // Get status display name (client-side version) export function getStatusName(status: string): string { switch (status) { case USER_STATUS.ACTIVE: return "نشط"; case USER_STATUS.INACTIVE: return "غير نشط"; default: return "غير محدد"; } }