Files
open-gsio/packages/client/src/stores/ClientChatStore.ts
2025-06-24 17:32:59 -04:00

20 lines
606 B
TypeScript

// ---------------------------
// stores/ClientChatStore.ts (root)
// ---------------------------
import { types, type Instance } from 'mobx-state-tree';
import { MessagesStore } from './MessagesStore';
import { ModelStore } from './ModelStore';
import { StreamStore } from './StreamStore';
import { UIStore } from './UIStore';
export const ClientChatStore = types
.compose(MessagesStore, UIStore, ModelStore, StreamStore)
.named('ClientChatStore');
const clientChatStore = ClientChatStore.create();
export type IClientChatStore = Instance<typeof ClientChatStore>;
export default clientChatStore;