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

    Interface IngestionDep

    Dep for the ingest action (external-content ingestion). Sourced from <SceneCanvas> / <StandardActionsRegistrar> via useIngestionDepSource — canvas rect + current view.

    interface IngestionDep {
        clipboard?: ClipboardIngestCtx;
        resolveSrc?: (file: File) => Promise<string>;
        svg?: SvgIngestOptions;
        viewportWorldRect(): {
            height: number;
            width: number;
            x: number;
            y: number;
        };
    }
    Index

    Properties

    clipboard?: ClipboardIngestCtx

    Clipboard-paste seam for the kit weasel-JSON handler. Live accessor, same caveat as resolveSrc.

    resolveSrc?: (file: File) => Promise<string>

    Consumer file→src resolver (from SceneCanvas's ingestion prop). Live accessor — read it at use time. Destructuring (or copying the property early) snapshots the current value and won't track later prop changes across an await.

    Kit SVG-handler options (from SceneCanvas's ingestion prop). Live accessor, same caveat as resolveSrc.

    Methods