We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68764b commit 10dc142Copy full SHA for 10dc142
packages/chat-ui/src/chat/message-parts/types.ts
@@ -1,10 +1,8 @@
1
-import {
2
- ChatEvent,
3
- SourceData,
4
- SuggestedQuestionsData,
5
- FileData,
6
-} from '../../widgets'
7
-import { Artifact } from '../canvas/artifacts'
+import { type FileData } from '../../widgets/chat-file'
+import { type Artifact } from '../canvas/artifacts'
+import { type ChatEvent } from '../../widgets/chat-event'
+import { type SourceData } from '../../widgets/chat-sources'
+import { type SuggestedQuestionsData } from '../../widgets/suggested-questions'
8
9
export type MessagePart = TextPart | DataPart | FilePart | AnyPart
10
0 commit comments