feat: standardize shared UI primitives across frontend #88

Merged
chihlasm merged 19 commits from frontend-standardization into main 2026-02-24 12:40:44 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 8545a123ab - Show all commits

View File

@@ -40,8 +40,8 @@ class UserLogin(BaseModel):
class UserResponse(UserBase):
id: UUID
role: str = "engineer"
account_id: UUID
account_role: str
account_id: Optional[UUID] = None
account_role: Optional[str] = None
is_super_admin: bool = False
is_active: bool = True
must_change_password: bool = False

View File

@@ -8,8 +8,8 @@ export interface User {
is_super_admin: boolean
is_active: boolean
must_change_password: boolean
account_id: string
account_role: 'owner' | 'engineer' | 'viewer'
account_id: string | null
account_role: 'owner' | 'engineer' | 'viewer' | null
created_at: string
last_login: string | null
}