openmixer — generated API reference
    Preparing search index...

    Function selectionCarriage

    • How a whole SELECTION fares against one target — composites expanded, in the vocabulary's own order so two clients listing the same paste list it identically.

      Parameters

      • parts: readonly ChannelPart[]

        what the operator selected, composites included

      • kind:
            | "input"
            | "fxReturn"
            | "aux"
            | "mix"
            | "matrix"
            | "cue"
            | "main"
            | "fxSend"
            | "dca"
            | "muteGroup"
            | "mixMinus"

        the target channel's kind

      • capability: ChannelCapabilityState | undefined

        the target's live /capability row state, or undefined when the console holds no capability row for it — in which case only the contract's kind column can answer, and it does, rather than the paste guessing that everything is carried

      • contract: Readonly<Record<ChannelFact, ChannelFactDecl>> = CHANNEL_CONTRACT

        the table to derive from (defaults to CHANNEL_CONTRACT)

      Returns readonly PartCarriage[]

      one PartCarriage per atomic part the selection covers