jensrossbach / node-red-contrib-chronos

Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
https://jensrossbach.github.io/node-red-contrib-chronos
MIT License
28 stars 1 forks source link

Rename JSONata variable $schedule to $event and reintroduce node name #158

Closed jensrossbach closed 3 months ago

jensrossbach commented 3 months ago

This pull request introduces the JSONata expression variable $node containing a node's name to all JSONata expressions (this expression variable replaces the property name which was removed by pull request #155 from scheduler and state node expressions). It also renames expression variable $schedule to $event in order to use the name $schedule for the whole schedule in future.

‼️ Breaking Changes (Update) ‼️