Files
main/rules-v0/nodejs-mongodb-cursorrules-prompt-file-tutorial/request-state-transitions.mdc
T
2025-02-27 00:04:07 +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)