Fix everything

This commit is contained in:
2025-08-18 19:44:33 +03:00
Unverified
parent 06d183d6e4
commit a5a501e364
6 changed files with 38 additions and 28 deletions
+5 -2
View File
@@ -11,7 +11,6 @@ export interface Message {
username: string;
content: string;
is_read: boolean;
is_author: boolean;
timestamp: string;
}
@@ -20,6 +19,10 @@ export interface Messages {
}
export interface User {
id: number;
created_at: string;
last_seen: string;
online: boolean;
username: string;
}
@@ -42,7 +45,7 @@ export interface RegisterRequest {
// Responses
export interface LoginResponse {
username: string;
user: User;
token: string;
}