mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
15 lines
275 B
TypeScript
15 lines
275 B
TypeScript
export type Poll = {
|
|
id: string;
|
|
expires_at: string | null;
|
|
expired: boolean;
|
|
multiple: boolean;
|
|
votes_count: number;
|
|
options: Array<PollOption>;
|
|
voted: boolean;
|
|
};
|
|
|
|
export type PollOption = {
|
|
title: string;
|
|
votes_count: number | null;
|
|
};
|