Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ui.ts

39 lines1.1 KB

1// Barrel entry for the `@tanstack/ai-solid/ui` subpath.
2export {
3 createChatUI,
4 type ChatUIComponents,
5 type ChatUIFactoryConfig,
6 type ChatUIHost,
7 type ChatUIQueueItem,
8 type InputProps,
9 type InterruptProps,
10 type LayoutProps,
11 type MessageProps,
12 type PartProps,
13 type QueueProps,
14 type ToolProps,
15} from './chat-ui/create-ui'
16export { createChatHook } from './chat-ui/create-chat-hook'
17export {
18 createChatHookContexts,
19 type ChatUIContexts,
20} from './chat-ui/create-ui-contexts'
21export { Chat, useChatContext, type ChatProps } from './chat-ui/chat'
22export { ChatMessages, type ChatMessagesProps } from './chat-ui/chat-messages'
23export {
24 ChatMessage,
25 type ChatMessageProps,
26 type ToolCallRenderProps,
27} from './chat-ui/chat-message'
28export {
29 ChatInput,
30 type ChatInputProps,
31 type ChatInputRenderProps,
32} from './chat-ui/chat-input'
33export {
34 ToolApproval,
35 type ToolApprovalProps,
36 type ToolApprovalRenderProps,
37} from './chat-ui/tool-approval'
38export { TextPart, type TextPartProps } from './chat-ui/text-part'
39export { ThinkingPart, type ThinkingPartProps } from './chat-ui/thinking-part'