Skip to content

validateBindings

validateBindings(bindings, validator): object

Defined in: bindings.ts:47

Check machine-rooted entries against the configured machines. Returns one message per definite mistake: an unknown machine, or a modes key that isn’t a state of it (a typo there silently yields no handlers). Modes an entry leaves uncovered without a default are deliberate gating, so they’re reported separately as uncovered rather than as problems.

ParameterType
bindingsBindingsRecord
validatorStateMachineValidator | undefined

object

problems: string[]

uncovered: string[]