export type UserRole = 'admin' | 'operator' | 'viewer'; export interface AuthUser { id: string; username: string; displayName: string; role: UserRole; disabled: boolean; mustChangePassword: boolean; createdAt: string; updatedAt: string; lastLoginAt: string | null; } export const roleLabels: Record = { admin: 'Administrator', operator: 'Operator', viewer: 'Viewer' };