mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 13:46:41 +02:00
fix(manacore): auth flow and dashboard widget API fixes
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>
This commit is contained in:
parent
ee52f6c144
commit
a6cc0b83aa
33 changed files with 2634 additions and 68 deletions
24
services/mana-core-auth/src/referrals/referrals.module.ts
Normal file
24
services/mana-core-auth/src/referrals/referrals.module.ts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/**
|
||||
* 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 {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue