Admin: panel silowni jak w apce + wyznaczanie wlasciciela (grupowane menu kontekstowe z modalami, sekcja Wlasciciele)
This commit is contained in:
@@ -152,6 +152,15 @@ export interface Gym {
|
||||
coverPhoto: string | null;
|
||||
photos?: GymPhoto[];
|
||||
_count?: { memberships: number };
|
||||
/** Właściciele (rola OWNER) — tylko odpowiedź GET /admin/gyms/:id. */
|
||||
owners?: GymOwner[];
|
||||
}
|
||||
|
||||
export interface GymOwner {
|
||||
id: string;
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
email: string;
|
||||
}
|
||||
|
||||
export type ClaimStatus = 'PENDING' | 'APPROVED' | 'REJECTED';
|
||||
|
||||
Reference in New Issue
Block a user