UNPKG

@kitn.ai/ui

Version:

Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.

14 lines (12 loc) 471 B
/** A message attachment descriptor. Pure type — kept JSX-free for the * framework-neutral consumers (state core, React hook typecheck). */ export interface AttachmentData { id: string; type: 'file' | 'source-document'; filename?: string; mediaType?: string; url?: string; title?: string; } export type AttachmentMediaCategory = 'image' | 'video' | 'audio' | 'document' | 'source' | 'unknown'; export type AttachmentVariant = 'grid' | 'inline' | 'list';