From faf594b2f6a5571e9b1d834d826ff1df9deb8ffa Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Fri, 5 Dec 2025 22:22:11 +0800 Subject: [PATCH] export All beans from client protocol main --- client-protocol/LingChairClient.ts | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/client-protocol/LingChairClient.ts b/client-protocol/LingChairClient.ts index 1962d1a..4c6d51c 100644 --- a/client-protocol/LingChairClient.ts +++ b/client-protocol/LingChairClient.ts @@ -3,18 +3,33 @@ import { io, ManagerOptions, Socket, SocketOptions } from 'socket.io-client' import crypto from 'node:crypto' import { CallMethod, ClientEvent, ClientEventCallback } from './ApiDeclare.ts' import ApiCallbackMessage from './ApiCallbackMessage.ts' -import User from "./User.ts" -import UserMySelf from "./UserMySelf.ts" -import CallbackError from "./CallbackError.ts" -import Chat from "./Chat.ts" import { CallableMethodBeforeAuth } from "lingchair-internal-shared" +import CallbackError from "./CallbackError.ts" + import Message from "./Message.ts" +import Chat from "./Chat.ts" +import User from "./User.ts" +import UserMySelf from "./UserMySelf.ts" +import UserBean from "./bean/UserBean.ts" +import ChatBean from "./bean/ChatBean.ts" +import GroupSettingsBean from "./bean/GroupSettingsBean.ts" +import JoinRequestBean from "./bean/JoinRequestBean.ts" +import MessageBean from "./bean/MessageBean.ts" +import RecentChatBean from "./bean/RecentChatBean.ts" + export { - User, Chat, + User, UserMySelf, + + UserBean, + ChatBean, + MessageBean, + RecentChatBean, + JoinRequestBean, } +export type { GroupSettingsBean } export default class LingChairClient { declare client: Socket