chore: 提取公共类

This commit is contained in:
CrescentLeaf
2025-11-08 23:50:43 +08:00
parent 3c5bd187b7
commit 743ccd1172
3 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
import BaseChatSettingsBean from "./BaseChatSettingsBean.ts"
import ChatType from "./ChatType.ts"
export default class ChatBean {
@@ -5,7 +6,7 @@ export default class ChatBean {
declare id: string
declare title: string
declare avatar_file_hash?: string
declare settings?: { [key: string]: unknown }
declare settings?: BaseChatSettingsBean
declare is_member: boolean
declare is_admin: boolean