sad
This commit is contained in:
@@ -88,10 +88,16 @@ export interface Message {
|
||||
createdAt: string;
|
||||
deleted: boolean;
|
||||
updatedAt: string;
|
||||
replyToId?: string | null;
|
||||
replies: MessageReply;
|
||||
user?: BackendUser;
|
||||
}
|
||||
|
||||
export interface MessageReply {
|
||||
id: string;
|
||||
repliesToId: string;
|
||||
repliesToText: string;
|
||||
}
|
||||
|
||||
// Enhanced fetch wrapper with auth and error handling
|
||||
export class ApiClient {
|
||||
private baseUrl: string;
|
||||
|
||||
Reference in New Issue
Block a user