mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
updated interfaces and events
This commit is contained in:
1 parent
b37e72d168
commit
ead995eb69
9 files changed
+84
-10
No files matched your search
@@ -1,5 +1,24 @@
|
||||
export interface Message {
|
||||
id?: number;
|
||||
name: string;
|
||||
message: string;
|
||||
}
|
||||
content: string;
|
||||
user_id: number;
|
||||
user_name?: string;
|
||||
conversation_id: number;
|
||||
isRead: boolean;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
|
||||
export interface ConversationParticpant {
|
||||
id?: number;
|
||||
user_id: number;
|
||||
conversation_id: number;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
|
||||
export interface Conversation {
|
||||
participants: ConversationParticpant[];
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
Reference in new issue
Block a user