Komunikator: sortowanie wg nieprzeczytanych/nazwy i grupowanie wg roli z zakładkami w topmenu (role w API rozmów)
This commit is contained in:
@@ -400,6 +400,8 @@ export interface CircumferenceSeries {
|
||||
// ---------- komunikator (messages) ----------
|
||||
export interface Conversation {
|
||||
coachingId: string;
|
||||
/** Moja rola w relacji (odwrotna dla rozmówcy: podopieczny/trener). */
|
||||
role: 'trainer' | 'trainee';
|
||||
other: { id: string; firstName: string | null; lastName: string | null; nickname: string | null };
|
||||
lastMessage: { body: string; createdAt: string; senderId: string } | null;
|
||||
unreadCount: number;
|
||||
|
||||
Reference in New Issue
Block a user