timgit / pg-boss

Queueing jobs in Node.js using PostgreSQL like a boss
MIT License
1.73k stars 144 forks source link

'stopping' state missing in TypeScript Types #422

Open StarpTech opened 10 months ago

StarpTech commented 10 months ago

Hi, While listening to the wip event, I saw the stopping state. This is not part of the types .Would you accept a PR?

{"level":"info","time":1693159662361,"pid":146174,"hostname":"pop-os","0":{"id":"80c6ff3c-fdb7-49b6-8849-48678955ba30","name":"queue","options":{"newJobCheckInterval":2000},"state":"active","count":1,"createdOn":1693159662343,"lastFetchedOn":1693159662361,"lastJobStartedOn":1693159662361,"lastJobEndedOn":null,"lastError":null,"lastErrorOn":null}}
timgit commented 10 months ago

Yes