Files
main/awesome-cursor-rules-mdc/nodejs-mongodb-cursorrules-prompt-file-tutorial/request-state-transitions.mdc
T
2025-02-17 17:50:15 +05:30

9 lines
408 B
Plaintext

---
description: Rules related to managing requests and implementing state transitions
globs: /requests/**/*.*
---
- Limit Requests to 3 per User per Pool
- Track Requests and Entries separately (numbered 1, 2, 3)
- Implement payment status tracking in Request model
- Create Entry only after admin approval and payment completion
- Implement state transitions (Request: pending -> approved -> Entry created)