refactor: add embedded poll reference to EventPost interface
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user