Commit graph

5 commits

Author SHA1 Message Date
Danny Avila
20ad7d52f3
refactor(db): streamline model imports and remove unused model exports
- Removed the export of models from the database connection module to simplify the structure.
- Updated various files to import models directly from the new centralized models module.
- Ensured consistency across the codebase by replacing mongoose model references with the new import paths.
2025-05-30 13:13:10 -04:00
Danny Avila
ab5450be8b
WIP: first pass, massive refactor of model imports 2025-05-30 12:54:24 -04:00
Danny Avila
f9c0e9853f
refactor: original changes 2025-05-30 04:28:22 -04:00
Cha
4049b5572c
Move usermethods and models to data-schema 2025-05-29 14:39:27 -04:00
Danny Avila
0865bc4a72
🪙 feat: Sync Balance Config on Login (#6671)
* chore: Add deprecation warnings for environment variables in checks

* chore: Change deprecatedVariables to a const declaration in checks.js

* fix: Add date validation in checkBalanceRecord to prevent invalid date errors

* feat: Add setBalanceConfig middleware to synchronize user balance settings

* chore: Reorder middleware imports in oauth.js for better readability
2025-04-01 21:19:42 -04:00