managarten/services/mana-core-auth/src
Till-JS 6d918315c7 feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system
- Add FraudDetectionService with IP/device fingerprinting, velocity checks,
  email pattern detection, and review queue management
- Add ReferralCronService for retention checks (hourly), daily stats
  aggregation, rate limit cleanup, and weekly tier recalculation
- Add ReferralsAdminController with endpoints for review queue,
  fraud patterns, and user referral management
- Integrate referral initialization into user registration flow
  (auto-create referral code, initialize tier, apply referral code)
- Add @nestjs/schedule dependency for cron jobs
- Export referrals schema from db/schema/index.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 16:09:39 +01:00
..
__tests__/utils Fix wrong type 2025-12-04 23:25:25 +01:00
ai 🐛 fix(auth): remove type-only import of ConfigService in AiService 2025-12-04 19:08:37 +01:00
auth feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
common Merge branch 'dev-1' into dev 2025-12-05 17:57:26 +01:00
config 🔀 merge: auth/complete branch with Better Auth implementation 2025-12-01 15:25:38 +01:00
credits Fix wrong type 2025-12-04 23:25:25 +01:00
db feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
feedback Fix wrong type 2025-12-04 23:25:25 +01:00
health fix route 2025-12-05 00:50:23 +01:00
referrals feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
settings Fix wrong type 2025-12-04 23:25:25 +01:00
app.module.ts feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
main.ts fix(mana-core-auth): configure helmet for cross-origin requests 2025-12-05 15:30:12 +01:00