chore: Chat (client) 同步伺服器端 Bean 定義
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import ChatType from "./ChatType.ts"
|
||||
|
||||
export default class Chat {
|
||||
declare type: "paivate" | "group"
|
||||
declare type: ChatType
|
||||
declare id: string
|
||||
declare title: string
|
||||
declare avatar_file_hash?: string
|
||||
declare user_a_id?: string
|
||||
declare user_b_id?: string
|
||||
declare avatar?: string
|
||||
|
||||
[key: string]: unknown
|
||||
}
|
||||
|
||||
3
client/api/client_data/ChatType.ts
Normal file
3
client/api/client_data/ChatType.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
type ChatType = 'private' | 'group'
|
||||
|
||||
export default ChatType
|
||||
Reference in New Issue
Block a user