openmixer — generated API reference
    Preparing search index...

    Function validateAllocationAgainstProfile

    • Validate a ConsoleAllocation against a ConsoleProfile appliance — the gate for a hand-, AI- or third-party-authored allocation that a restricting profile must never accept. Returns path-prefixed errors in the same style as validateConsole (buses.aux exceeds profile max 16, Σ paths 140 exceeds pool 128); it does not clamp — that is capAllocation's job. A per-type max of 0 means the bus type is hidden on this desk, so any count there is an error (buses.mixMinus is not offered by this profile).

      Parameters

      Returns { errors: string[]; ok: boolean }

      ok plus human-readable path-prefixed errors