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

    Interface PasteSpec

    System-clipboard paste of external content. Same types semantics as DropSpec — omitted or empty = matches any paste.

    interface PasteSpec {
        kind: "paste";
        mods?: Partial<
            {
                alt: boolean
                | "optional";
                ctrl: boolean | "optional";
                meta: boolean | "optional";
                mod: boolean | "optional";
                shift: boolean | "optional";
            },
        >;
        phase?: PhaseSpec;
        types?: string[];
    }
    Index

    Properties

    Properties

    kind: "paste"
    mods?: Partial<
        {
            alt: boolean
            | "optional";
            ctrl: boolean | "optional";
            meta: boolean | "optional";
            mod: boolean | "optional";
            shift: boolean | "optional";
        },
    >
    phase?: PhaseSpec
    types?: string[]