| 38 | export type ArtifactKind = (typeof artifactDefinitions)[number]['kind']; |
| 39 | |
| 40 | export interface UIArtifact { |
| 41 | title: string; |
| 42 | documentId: string; |
| 43 | kind: ArtifactKind; |
| 44 | content: string; |
| 45 | isVisible: boolean; |
| 46 | status: 'streaming' | 'idle'; |
| 47 | boundingBox: { |
| 48 | top: number; |
| 49 | left: number; |
| 50 | width: number; |
| 51 | height: number; |
| 52 | }; |
| 53 | } |
| 54 | |
| 55 | function PureArtifact({ |
| 56 | chatId, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…