mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-23 03:25:07 +03:00
Fix everything
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user