improved mobile layout

This commit is contained in:
2025-12-29 10:47:36 +01:00
parent 24a460e6e2
commit 610fd74e89
19 changed files with 144 additions and 73 deletions

29
src/types.ts Normal file
View File

@@ -0,0 +1,29 @@
export interface LoginResponse {
uuid: string
token: string
}
export interface Room {
uuid: string
owner_name: number
name: string
globa: boolean
}
export interface Message {
uuid: string
sender: string
message_type: 'text'
content: string
sent_at: string
}
export interface Friend {
uuid: string
username: string
}
export interface FriendRequest {
sender_uuid: string
sender_username: string
}