timgit / pg-boss

Queueing jobs in Postgres from Node.js like a boss
MIT License
2.09k stars 158 forks source link

Add a type to MonitorStates.queue #299

Closed amc6 closed 2 years ago

amc6 commented 2 years ago

This adds a more complete type to MonitorStates.queue. The top level MonitorStates type shares most of the fields in common with each entry in MonitorStates.queue So MonitorStates ends up both extending the new type MonitorState as well as having an extra field queue which is an object with string keys and MonitorState values.

timgit commented 2 years ago

Thanks!