API reference: @salmonui/chat/smart-paste
SmartPasteRequestinterface
import type { SmartPasteRequest } from '@salmonui/chat/smart-paste';interface SmartPasteRequest {
readonly clipboardText: string;
readonly fields: readonly SmartPasteField[];
}
What the adapter receives: the pasted text and the field descriptors, never other page data.
| Name | Signature | Description |
|---|---|---|
clipboardText | readonly clipboardText: string; | |
fields | readonly fields: readonly SmartPasteField[]; |