fix: backend TS errors — agent role type, WebSocket SocketStream, jwt.sign cast

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 23:22:20 +03:00
parent 239846c077
commit cd5b5e4c4e
3 changed files with 7 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ export interface JwtPayload {
sub: string // user.id (UUID)
email: string
name: string
role: 'hotel_admin' | 'manager' | 'housekeeper' | 'super_admin' | 'receptionist' | 'accountant' | 'security' | 'technician'
role: 'hotel_admin' | 'manager' | 'housekeeper' | 'super_admin' | 'receptionist' | 'accountant' | 'security' | 'technician' | 'agent'
hotelId: string | null
hotelSlug: string | null
}