GUI chat
This commit is contained in:
parent
f25a439804
commit
0a98d96d38
9 changed files with 6862 additions and 9 deletions
|
|
@ -1,8 +1,54 @@
|
|||
interface DataOption {
|
||||
export interface SupportIssueResponse {
|
||||
result: SupportIssue[];
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
}
|
||||
|
||||
export interface SupportIssue {
|
||||
id: string;
|
||||
createdByUserId: string;
|
||||
createdByUserName: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
title: string;
|
||||
status: string;
|
||||
category: SupportIssueCategory;
|
||||
unreadCount: number;
|
||||
}
|
||||
|
||||
export interface SupportIssueCategory {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export type {
|
||||
DataOption,
|
||||
};
|
||||
export interface SupportMessageResponse {
|
||||
result: SupportIssueWithMessage;
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
}
|
||||
|
||||
export interface SupportIssueWithMessage {
|
||||
id: string;
|
||||
createdByUserId: string;
|
||||
createdByUserName: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
title: string;
|
||||
status: string;
|
||||
message: SupportIssueMessage[];
|
||||
}
|
||||
|
||||
export interface SupportIssueMessage {
|
||||
id: string;
|
||||
fromUserId: string;
|
||||
fromUserName: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
content: string;
|
||||
read: boolean;
|
||||
issueId: string;
|
||||
}
|
||||
|
||||
export type { SupportMessageResponse, SupportIssueResponse };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue