simplQ-backend
simplQ-backend copied to clipboard
TechDebt: Remove overloaded status enums.
Our backend is very straightforward CRUD on two resources, queues and tokens. Both of them have two status fields, QueueStatus and TokenStatus.
These enums are a bit overloaded, a better approach would be remove them and have booleans, (isPaused
, isRemoved
) for queues, and (isRemoved
, isNotified
) for tokens.