weasel API - v0.8.0
    Preparing search index...

    Interface ClipboardIngestCtx

    Clipboard-paste seam consumed by the kit weasel-JSON content handler (IngestCtx.clipboard). Built by <SceneCanvas> from its own synthesized adapter + the ingestion.clipboard prop; absent when the consumer set ingestion.clipboard.enabled === false or the adapter lacks commitPaste. Absence makes the handler decline inert (dwarn, nothing ingested) — its matched items were already consumed at match time and do not fall through to other handlers.

    interface ClipboardIngestCtx {
        adapter: InsertAdapter<{ id: string }>;
        reviver?: (key: string, value: unknown) => unknown;
    }
    Index

    Properties

    Properties

    adapter: InsertAdapter<{ id: string }>

    The hosting canvas's adapter — commitPaste materializes the pasted nodes (fresh ids, offset applied); insertion still goes through ops.

    reviver?: (key: string, value: unknown) => unknown

    JSON reviver for the weasel wire payload (typed arrays etc.) — from SceneCanvasProps.ingestion.clipboard.reviver.