เพิ่ม Socket เข้าสู่หน้าหลัก , เปิดห้องแซท , รับ-ส่ง ข้อความ
This commit is contained in:
parent
0a98d96d38
commit
5b081878c4
4 changed files with 131 additions and 48 deletions
|
|
@ -1,3 +1,10 @@
|
|||
export interface SupportStatusUser {
|
||||
socketId: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
role: string[];
|
||||
}
|
||||
|
||||
export interface SupportIssueResponse {
|
||||
result: SupportIssue[];
|
||||
page: number;
|
||||
|
|
@ -15,6 +22,7 @@ export interface SupportIssue {
|
|||
status: string;
|
||||
category: SupportIssueCategory;
|
||||
unreadCount: number;
|
||||
lastMessage: string;
|
||||
}
|
||||
|
||||
export interface SupportIssueCategory {
|
||||
|
|
@ -51,4 +59,4 @@ export interface SupportIssueMessage {
|
|||
issueId: string;
|
||||
}
|
||||
|
||||
export type { SupportMessageResponse, SupportIssueResponse };
|
||||
export type { SupportMessageResponse, SupportIssueResponse, SupportStatusUser };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue