refactor: add embedded poll reference to EventPost interface

This commit is contained in:
Thibault Pouch
2026-03-03 09:48:40 +01:00
parent 9bf759c829
commit a45e9a86cd

View File

@@ -134,6 +134,7 @@ export interface EventPost {
updatedAt?: string; updatedAt?: string;
isPublic: boolean; // whether visible to community isPublic: boolean; // whether visible to community
pollId?: string; // reference to poll if type is 'poll' pollId?: string; // reference to poll if type is 'poll'
poll?: Poll; // embedded poll from API
} }
export interface PollOption { export interface PollOption {