Skip to content
Entangle UI v0.13.0

ChatAttachmentData

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:39

File or editor context attached to a message.

optional content?: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:59

Raw content for code/selection type


id: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:41

Unique identifier


optional meta?: Record<string, unknown>

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:61

Additional metadata (consumer-defined)


optional mimeType?: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:53

MIME type for file/image attachments


name: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:43

Display name shown in the chip


optional size?: number

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:55

File size in bytes


optional thumbnailUrl?: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:57

Thumbnail URL for image type


type: "code" | "image" | "file" | "selection"

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:51

Attachment category

  • file: Generic file (document, config, etc.)
  • image: Image with thumbnail preview
  • code: Code snippet from the editor
  • selection: Selected objects/entities from the editor scene