mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 03:21:23 +02:00
Auth fixes: - Update fetchInterceptor skip patterns for ManaCore auth endpoints - Fix URL matching to compare full origins instead of partial matches - Update token manager state after successful login - Remove Supabase session dependency from layouts - Use authStore for auth state in route layouts Dashboard fixes: - Add network error detection in base-client to prevent infinite retries - Update all 9 dashboard widgets to not retry on service unavailable - Add /api/v1 prefix to all backend service URLs (chat, calendar, contacts, todo, zitare, picture, manadeck) Commands: - Add dev:manacore:backends to start all 9 dashboard backends - Add dev:manacore:full to start web + all backends together - Update COMMANDS.md with new commands and backend port table Auth service: - Fix TypeScript error: crossApp → cross_app in referrals schema 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
862 B
TypeScript
24 lines
862 B
TypeScript
/**
|
|
* Referrals Module
|
|
*
|
|
* NestJS module for the referral system.
|
|
* Provides services for:
|
|
* - Referral code management
|
|
* - Referral tracking and stage progression
|
|
* - Tier calculation and bonus multipliers
|
|
*/
|
|
|
|
import { Module } from '@nestjs/common';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import { ReferralsController } from './referrals.controller';
|
|
import { ReferralCodeService } from './services/referral-code.service';
|
|
import { ReferralTierService } from './services/referral-tier.service';
|
|
import { ReferralTrackingService } from './services/referral-tracking.service';
|
|
|
|
@Module({
|
|
imports: [ConfigModule],
|
|
controllers: [ReferralsController],
|
|
providers: [ReferralCodeService, ReferralTierService, ReferralTrackingService],
|
|
exports: [ReferralCodeService, ReferralTierService, ReferralTrackingService],
|
|
})
|
|
export class ReferralsModule {}
|