mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
initial working version
This commit is contained in:
1 parent
b87baeb12e
commit
956070951a
23 files changed
+260
-107
No files matched your search
@@ -1,24 +1,21 @@
|
||||
export interface Message {
|
||||
id?: number;
|
||||
content: string;
|
||||
user_id: number;
|
||||
user_name?: string;
|
||||
conversation_id: number;
|
||||
user_identifier: string;
|
||||
channel_id: number;
|
||||
isRead: boolean;
|
||||
isMine: boolean;
|
||||
avatar?: string;
|
||||
phone_number?: string;
|
||||
display?: string;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
|
||||
export interface ConversationParticpant {
|
||||
id?: number;
|
||||
user_id: number;
|
||||
conversation_id: number;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
|
||||
export interface Conversation {
|
||||
participants: ConversationParticpant[];
|
||||
export interface MessageGroup {
|
||||
channelId: string;
|
||||
messages: Message[];
|
||||
channelDisplay: string;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
}
|
||||
Reference in new issue
Block a user