API+App: powiadomienie feed o komentarzu trenera pod cwiczeniem - typ TRAINER_COMMENT (schemat + migracja), createNotification w addTraineeComment, widok w feedzie podopiecznego (swagger, testy integracyjne i e2e)

This commit is contained in:
tisachi
2026-11-05 19:31:16 +01:00
parent e21d7aac0e
commit 600c3f8c68
11 changed files with 132 additions and 2 deletions

View File

@@ -806,7 +806,7 @@ export interface ConversationThread {
}
// ---------- aktualności (feed) ----------
export type NotificationType = 'PLAN_READY' | 'PLAN_SHARED' | 'GYM_DELETED';
export type NotificationType = 'PLAN_READY' | 'PLAN_SHARED' | 'GYM_DELETED' | 'TRAINER_COMMENT';
export interface FeedNotificationItem {
source: 'notification';