Hierarchy

  • TriggerInfo

Properties

enabled: boolean
id: string

Stable address for the trigger. For single-phase triggers (active-2 / active-2d-2 / js-event-2) this equals the trigger's only responseNodeId. For passive-2 (which has distinct enter/exit responses) id is a stable identifier for the trigger as a whole; address a specific phase via responseNodeIds together with the phase argument of fire(). Both id and any value in responseNodeIds resolve a trigger for fire() / setEnabled().

name?: string

opaque stable name once a Spoke naming convention exists

responseNodeIds: Partial<Record<TriggerPhase, string>>

responseNodeId per phase. Single-phase triggers carry one entry whose value matches id; passive-2 carries separate enter and exit entries.