/**
 * Admin Users API
 */

export const AVAILABLE_ROLES = [
  { id: 'admin', name: 'Administrator', description: 'Full system access' },
  { id: 'editor', name: 'Editor', description: 'Can edit content' },
  { id: 'viewer', name: 'Viewer', description: 'Read-only access' },
];

export const AVAILABLE_PERMISSIONS = [
  { id: 'create', name: 'Create', description: 'Can create new items' },
  { id: 'read', name: 'Read', description: 'Can view items' },
  { id: 'update', name: 'Update', description: 'Can modify items' },
  { id: 'delete', name: 'Delete', description: 'Can remove items' },
  { id: 'manage_users', name: 'Manage Users', description: 'Can manage user accounts' },
  { id: 'manage_settings', name: 'Manage Settings', description: 'Can modify system settings' },
];

// Re-export from admin index
export {
  listUsers,
  getUser,
  createUser,
  updateUser,
  toggleUserActive,
  deleteUser,
  type AdminUser,
  type UserListParams,
  type AdminUser as User,
} from './index';
