From a45e9a86cd2fe4581ee99bf8f7bbd64e0acdef09 Mon Sep 17 00:00:00 2001 From: Thibault Pouch Date: Tue, 3 Mar 2026 09:48:40 +0100 Subject: [PATCH] refactor: add embedded poll reference to EventPost interface --- nest-front/src/types/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/nest-front/src/types/index.ts b/nest-front/src/types/index.ts index db9ca04..a84c183 100644 --- a/nest-front/src/types/index.ts +++ b/nest-front/src/types/index.ts @@ -134,6 +134,7 @@ export interface EventPost { updatedAt?: string; isPublic: boolean; // whether visible to community pollId?: string; // reference to poll if type is 'poll' + poll?: Poll; // embedded poll from API } export interface PollOption {