Admin: nadawanie zawieszenia/bana w wizardzie + badge statusu na liscie i w profilu

This commit is contained in:
tisachi
2026-10-17 00:53:28 +02:00
parent 50ae7346db
commit e5f7a487a8
12 changed files with 276 additions and 5 deletions

View File

@@ -33,6 +33,9 @@ export interface User {
canDoMuscles: string[];
difficultMuscles: string[];
avoidMuscles: string[];
status: 'ACTIVE' | 'SUSPENDED' | 'BANNED';
suspensionUntil: string | null;
restrictionReason: string | null;
createdAt: string;
memberships?: { gymId: string; roles: GymRole[]; gym: Gym }[];
}