feat: Implement chat module in sidebar

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 16:44:26 +00:00
parent 45963fa7ba
commit ff1312ae50
3 changed files with 537 additions and 1024 deletions

View File

@@ -8,6 +8,7 @@ export interface User {
avatar: string;
online: boolean;
lastSeen?: string;
serviceType?: 'taxi' | 'restaurant' | 'hotel' | 'guide' | 'politur' | 'support';
}
export interface Message {
@@ -32,6 +33,7 @@ export interface Chat {
avatar?: string;
online?: boolean;
lastActivity: string;
serviceType?: 'taxi' | 'restaurant' | 'hotel' | 'guide' | 'politur' | 'support';
}
class ChatApiService {